aboutsummaryrefslogtreecommitdiff
path: root/packages/TPF/curl.mak
blob: c1b40b3497caa5dbe1035f02c9b47afeae22a990 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
#######################################################################
#                                                                     #
#  MAKEFILE NAME.....  curl.mak                                       #
#                                                                     #
#  DESCRIPTION.....    This is the makefile for libcurl.              #
#                                                                     #
#######################################################################

APP := CURL

TPF_RUN_TPFSOCHK := NO

#######################################################################
# Define any additional libs needed to link
#######################################################################

LIBS := CRYP CSSL

#######################################################################
# Define the envs needed to build this module
#######################################################################

maketpf_env := curllib
maketpf_env += openssl
maketpf_env += base_rt
maketpf_env += system

#######################################################################
# Segments to be compiled with gcc compiler
#######################################################################
#
### lib directory:
C_SRC := base64.c
C_SRC += connect.c
C_SRC += content_encoding.c
C_SRC += cookie.c
C_SRC += curl_addrinfo.c
C_SRC += curl_memrchr.c
C_SRC += curl_rand.c
C_SRC += curl_sspi.c
C_SRC += curl_threads.c
C_SRC += dict.c
C_SRC += easy.c
C_SRC += escape.c
C_SRC += file.c
C_SRC += formdata.c
C_SRC += ftp.c
C_SRC += getenv.c
C_SRC += getinfo.c
C_SRC += gtls.c
C_SRC += hash.c
C_SRC += hmac.c
C_SRC += hostares.c
C_SRC += hostasyn.c
C_SRC += hostip.c
C_SRC += hostip4.c
C_SRC += hostip6.c
C_SRC += hostsyn.c
C_SRC += hostthre.c
C_SRC += http.c
C_SRC += http_chunks.c
C_SRC += http_digest.c
C_SRC += http_negotiate.c
C_SRC += http_ntlm.c
C_SRC += if2ip.c
C_SRC += imap.c
C_SRC += inet_ntop.c
C_SRC += inet_pton.c
C_SRC += krb4.c
C_SRC += krb5.c
C_SRC += ldap.c
C_SRC += llist.c
C_SRC += md5.c
C_SRC += memdebug.c
C_SRC += mprintf.c
C_SRC += multi.c
C_SRC += netrc.c
C_SRC += nonblock.c
C_SRC += nss.c
C_SRC += parsedate.c
C_SRC += pop3.c
C_SRC += pingpong.c
C_SRC += progress.c
C_SRC += qssl.c
C_SRC += rawstr.c
C_SRC += rtsp.c
C_SRC += security.c
C_SRC += select.c
C_SRC += sendf.c
C_SRC += share.c
C_SRC += slist.c
C_SRC += smtp.c
C_SRC += socks.c
C_SRC += socks_gssapi.c
C_SRC += socks_sspi.c
C_SRC += speedcheck.c
C_SRC += splay.c
C_SRC += ssh.c
C_SRC += ssluse.c
C_SRC += sslgen.c
C_SRC += strdup.c
C_SRC += strequal.c
C_SRC += strerror.c
C_SRC += strtok.c
C_SRC += strtoofft.c
C_SRC += telnet.c
C_SRC += tftp.c
C_SRC += timeval.c
C_SRC += transfer.c
C_SRC += url.c
C_SRC += version.c
C_SRC += warnless.c

#######################################################################
# Additions and overrides for gcc compiler flags
#######################################################################

# suppress expected warnings in the ported code:
CFLAGS_CURL += -w

# use SSL
# (overrides Curl's lib/config-tpf.h file)
CFLAGS_CURL += -DUSE_OPENSSL
CFLAGS_CURL += -DUSE_SSLEAY

# disable all protocols except FTP and HTTP
# (overrides Curl's lib/config-tpf.h file)
CFLAGS_CURL += -DCURL_DISABLE_DICT
CFLAGS_CURL += -DCURL_DISABLE_FILE
CFLAGS_CURL += -DCURL_DISABLE_LDAP
CFLAGS_CURL += -DCURL_DISABLE_TELNET
CFLAGS_CURL += -DCURL_DISABLE_TFTP

#######################################################################
# Include the maketpf.rules
#######################################################################

include maketpf.rules