Mercurial > hgrepos > Python2 > PyMuPDF
comparison mupdf-source/thirdparty/curl/src/makefile.dj @ 2:b50eed0cc0ef upstream
ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4.
The directory name has changed: no version number in the expanded directory now.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 15 Sep 2025 11:43:07 +0200 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 1:1d09e1dec1d9 | 2:b50eed0cc0ef |
|---|---|
| 1 #*************************************************************************** | |
| 2 # _ _ ____ _ | |
| 3 # Project ___| | | | _ \| | | |
| 4 # / __| | | | |_) | | | |
| 5 # | (__| |_| | _ <| |___ | |
| 6 # \___|\___/|_| \_\_____| | |
| 7 # | |
| 8 # Copyright (C) 2003 - 2007, Gisle Vanem <gvanem@yahoo.no>. | |
| 9 # Copyright (C) 2003 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al. | |
| 10 # | |
| 11 # This software is licensed as described in the file COPYING, which | |
| 12 # you should have received as part of this distribution. The terms | |
| 13 # are also available at https://curl.haxx.se/docs/copyright.html. | |
| 14 # | |
| 15 # You may opt to use, copy, modify, merge, publish, distribute and/or sell | |
| 16 # copies of the Software, and permit persons to whom the Software is | |
| 17 # furnished to do so, under the terms of the COPYING file. | |
| 18 # | |
| 19 # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | |
| 20 # KIND, either express or implied. | |
| 21 # | |
| 22 #*************************************************************************** | |
| 23 | |
| 24 # | |
| 25 # Adapted for djgpp2 / Watt-32 / DOS | |
| 26 # | |
| 27 | |
| 28 DEPEND_PREREQ = # tool_hugehelp.c | |
| 29 | |
| 30 TOPDIR = .. | |
| 31 | |
| 32 include ../packages/DOS/common.dj | |
| 33 include Makefile.inc | |
| 34 | |
| 35 CSOURCES = $(CURL_CFILES) | |
| 36 | |
| 37 ifeq ($(USE_SSL),1) | |
| 38 EX_LIBS += $(OPENSSL_ROOT)/lib/libssl.a $(OPENSSL_ROOT)/lib/libcrypt.a | |
| 39 endif | |
| 40 | |
| 41 ifeq ($(USE_ARES),1) | |
| 42 EX_LIBS += $(ARES_ROOT)/libcares.a | |
| 43 endif | |
| 44 | |
| 45 ifeq ($(USE_ZLIB),1) | |
| 46 EX_LIBS += $(ZLIB_ROOT)/libz.a | |
| 47 CFLAGS += -DUSE_MANUAL | |
| 48 endif | |
| 49 | |
| 50 ifeq ($(USE_IDNA),1) | |
| 51 EX_LIBS += $(LIBIDN_ROOT)/lib/dj_obj/libidn.a -liconv | |
| 52 endif | |
| 53 | |
| 54 EX_LIBS += $(WATT32_ROOT)/lib/libwatt.a | |
| 55 | |
| 56 PROGRAM = curl.exe | |
| 57 OBJECTS += $(addprefix $(OBJ_DIR)/, $(CSOURCES:.c=.o)) | |
| 58 | |
| 59 all: $(OBJ_DIR) $(PROGRAM) | |
| 60 @echo Welcome to curl | |
| 61 | |
| 62 $(PROGRAM): $(OBJECTS) ../lib/libcurl.a | |
| 63 $(CC) -o $@ $^ $(LDFLAGS) $(EX_LIBS) | |
| 64 | |
| 65 # | |
| 66 # groff 1.18+ requires "-P -c" | |
| 67 # | |
| 68 tool_hugehelp.c: ../docs/MANUAL ../docs/curl.1 mkhelp.pl | |
| 69 groff -Tascii -man ../docs/curl.1 | \ | |
| 70 perl -w mkhelp.pl ../docs/MANUAL > $@ | |
| 71 | |
| 72 # clean generated files | |
| 73 # | |
| 74 genclean: | |
| 75 - $(DELETE) tool_hugehelp.c | |
| 76 | |
| 77 # clean object files and subdir | |
| 78 # | |
| 79 objclean: genclean | |
| 80 - $(DELETE) $(OBJ_DIR)$(DS)*.o | |
| 81 - $(RMDIR) $(OBJ_DIR) | |
| 82 | |
| 83 # clean without removing built program | |
| 84 # | |
| 85 clean: objclean | |
| 86 - $(DELETE) depend.dj | |
| 87 | |
| 88 # clean everything | |
| 89 # | |
| 90 realclean vclean: clean | |
| 91 - $(DELETE) $(PROGRAM) | |
| 92 | |
| 93 -include depend.dj |
