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 #######################################################################
33 include $(word 1,$(wildcard $(foreach d,$(TPF_ROOT),$d/opensource/curl/lib/Makefile.inc)) Makefile.inc_not_found)
36 #######################################################################
37 # Additions and overrides for gcc compiler flags
38 #######################################################################
40 # suppress expected warnings in the ported code:
44 # (overrides Curl's lib/config-tpf.h file)
45 CFLAGS_CURL += -DUSE_OPENSSL
46 CFLAGS_CURL += -DUSE_SSLEAY
48 # disable all protocols except FTP and HTTP
49 # (overrides Curl's lib/config-tpf.h file)
50 CFLAGS_CURL += -DCURL_DISABLE_DICT
51 CFLAGS_CURL += -DCURL_DISABLE_FILE
52 CFLAGS_CURL += -DCURL_DISABLE_LDAP
53 CFLAGS_CURL += -DCURL_DISABLE_TELNET
54 CFLAGS_CURL += -DCURL_DISABLE_TFTP
56 #######################################################################
57 # Include the maketpf.rules
58 #######################################################################