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_memrchr.c
43 C_SRC += curl_threads.c
51 C_SRC += ftplistparser.c
65 C_SRC += http_chunks.c
66 C_SRC += http_digest.c
67 C_SRC += http_negotiate.c
100 C_SRC += socks_gssapi.c
101 C_SRC += socks_sspi.c
102 C_SRC += speedcheck.c
121 #######################################################################
122 # Additions and overrides for gcc compiler flags
123 #######################################################################
125 # suppress expected warnings in the ported code:
129 # (overrides Curl's lib/config-tpf.h file)
130 CFLAGS_CURL += -DUSE_OPENSSL
131 CFLAGS_CURL += -DUSE_SSLEAY
133 # disable all protocols except FTP and HTTP
134 # (overrides Curl's lib/config-tpf.h file)
135 CFLAGS_CURL += -DCURL_DISABLE_DICT
136 CFLAGS_CURL += -DCURL_DISABLE_FILE
137 CFLAGS_CURL += -DCURL_DISABLE_LDAP
138 CFLAGS_CURL += -DCURL_DISABLE_TELNET
139 CFLAGS_CURL += -DCURL_DISABLE_TFTP
141 #######################################################################
142 # Include the maketpf.rules
143 #######################################################################
145 include maketpf.rules