comparison mupdf-source/thirdparty/curl/packages/TPF/curl.mak @ 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 # MAKEFILE NAME..... curl.mak #
4 # #
5 # DESCRIPTION..... This is the makefile for libcurl. #
6 # #
7 #######################################################################
8
9 APP := CURL
10
11 TPF_RUN_TPFSOCHK := NO
12
13 #######################################################################
14 # Define any additional libs needed to link
15 #######################################################################
16
17 LIBS := CRYP CSSL
18
19 #######################################################################
20 # Define the envs needed to build this module
21 #######################################################################
22
23 maketpf_env := curllib
24 maketpf_env += openssl
25 maketpf_env += base_rt
26 maketpf_env += system
27
28 #######################################################################
29 # Segments to be compiled with gcc compiler
30 #######################################################################
31 #
32 ### lib directory:
33 include $(word 1,$(wildcard $(foreach d,$(TPF_ROOT),$d/opensource/curl/lib/Makefile.inc)) Makefile.inc_not_found)
34 C_SRC := $(CSOURCES)
35
36 #######################################################################
37 # Additions and overrides for gcc compiler flags
38 #######################################################################
39
40 # suppress expected warnings in the ported code:
41 CFLAGS_CURL += -w
42
43 # use SSL
44 # (overrides Curl's lib/config-tpf.h file)
45 CFLAGS_CURL += -DUSE_OPENSSL
46
47 # disable all protocols except FTP and HTTP
48 # (overrides Curl's lib/config-tpf.h file)
49 CFLAGS_CURL += -DCURL_DISABLE_DICT
50 CFLAGS_CURL += -DCURL_DISABLE_FILE
51 CFLAGS_CURL += -DCURL_DISABLE_LDAP
52 CFLAGS_CURL += -DCURL_DISABLE_TELNET
53 CFLAGS_CURL += -DCURL_DISABLE_TFTP
54
55 #######################################################################
56 # Include the maketpf.rules
57 #######################################################################
58
59 include maketpf.rules