1 #######################################################################
3 # MAKEFILE NAME..... curl.mak #
5 # DESCRIPTION..... This is the makefile for libcurl. #
7 #######################################################################
11 TPF_RUN_TPFSOCHK := NO
13 #######################################################################
14 # Define any additional libs needed to link
15 #######################################################################
19 #######################################################################
20 # Define the envs needed to build this module
21 #######################################################################
23 maketpf_env := curllib
24 maketpf_env += openssl
25 maketpf_env += base_rt
28 #######################################################################
29 # Segments to be compiled with gcc compiler
30 #######################################################################
35 C_SRC += content_encoding.c
37 C_SRC += curl_addrinfo.c
38 C_SRC += curl_fnmatch.c
39 C_SRC += curl_gethostname.c
40 C_SRC += curl_memrchr.c
44 C_SRC += curl_threads.c
52 C_SRC += ftplistparser.c
66 C_SRC += http_chunks.c
67 C_SRC += http_digest.c
68 C_SRC += http_negotiate.c
102 C_SRC += socks_gssapi.c
103 C_SRC += socks_sspi.c
104 C_SRC += speedcheck.c
123 #######################################################################
124 # Additions and overrides for gcc compiler flags
125 #######################################################################
127 # suppress expected warnings in the ported code:
131 # (overrides Curl's lib/config-tpf.h file)
132 CFLAGS_CURL += -DUSE_OPENSSL
133 CFLAGS_CURL += -DUSE_SSLEAY
135 # disable all protocols except FTP and HTTP
136 # (overrides Curl's lib/config-tpf.h file)
137 CFLAGS_CURL += -DCURL_DISABLE_DICT
138 CFLAGS_CURL += -DCURL_DISABLE_FILE
139 CFLAGS_CURL += -DCURL_DISABLE_LDAP
140 CFLAGS_CURL += -DCURL_DISABLE_TELNET
141 CFLAGS_CURL += -DCURL_DISABLE_TFTP
143 #######################################################################
144 # Include the maketpf.rules
145 #######################################################################
147 include maketpf.rules