add missing new files to non-configure target build files
[platform/upstream/curl.git] / packages / TPF / curl.mak
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 C_SRC := base64.c
34 C_SRC += connect.c
35 C_SRC += content_encoding.c
36 C_SRC += cookie.c
37 C_SRC += curl_addrinfo.c
38 C_SRC += curl_fnmatch.c
39 C_SRC += curl_memrchr.c
40 C_SRC += curl_rand.c
41 C_SRC += curl_rtmp.c
42 C_SRC += curl_sspi.c
43 C_SRC += curl_threads.c
44 C_SRC += dict.c
45 C_SRC += easy.c
46 C_SRC += escape.c
47 C_SRC += file.c
48 C_SRC += fileinfo.c
49 C_SRC += formdata.c
50 C_SRC += ftp.c
51 C_SRC += ftplistparser.c
52 C_SRC += getenv.c
53 C_SRC += getinfo.c
54 C_SRC += gtls.c
55 C_SRC += hash.c
56 C_SRC += hmac.c
57 C_SRC += hostares.c
58 C_SRC += hostasyn.c
59 C_SRC += hostip4.c
60 C_SRC += hostip6.c
61 C_SRC += hostip.c
62 C_SRC += hostsyn.c
63 C_SRC += hostthre.c
64 C_SRC += http.c
65 C_SRC += http_chunks.c
66 C_SRC += http_digest.c
67 C_SRC += http_negotiate.c
68 C_SRC += http_ntlm.c
69 C_SRC += if2ip.c
70 C_SRC += imap.c
71 C_SRC += inet_ntop.c
72 C_SRC += inet_pton.c
73 C_SRC += krb4.c
74 C_SRC += krb5.c
75 C_SRC += ldap.c
76 C_SRC += llist.c
77 C_SRC += md5.c
78 C_SRC += memdebug.c
79 C_SRC += mprintf.c
80 C_SRC += multi.c
81 C_SRC += netrc.c
82 C_SRC += nonblock.c
83 C_SRC += nss.c
84 C_SRC += openldap.c
85 C_SRC += parsedate.c
86 C_SRC += pingpong.c
87 C_SRC += polarssl.c
88 C_SRC += pop3.c
89 C_SRC += progress.c
90 C_SRC += qssl.c
91 C_SRC += rawstr.c
92 C_SRC += rtsp.c
93 C_SRC += security.c
94 C_SRC += select.c
95 C_SRC += sendf.c
96 C_SRC += share.c
97 C_SRC += slist.c
98 C_SRC += smtp.c
99 C_SRC += socks.c
100 C_SRC += socks_gssapi.c
101 C_SRC += socks_sspi.c
102 C_SRC += speedcheck.c
103 C_SRC += splay.c
104 C_SRC += ssh.c
105 C_SRC += sslgen.c
106 C_SRC += ssluse.c
107 C_SRC += strdup.c
108 C_SRC += strequal.c
109 C_SRC += strerror.c
110 C_SRC += strtok.c
111 C_SRC += strtoofft.c
112 C_SRC += telnet.c
113 C_SRC += tftp.c
114 C_SRC += timeval.c
115 C_SRC += transfer.c
116 C_SRC += url.c
117 C_SRC += version.c
118 C_SRC += warnless.c
119 C_SRC += wildcard.c
120
121 #######################################################################
122 # Additions and overrides for gcc compiler flags
123 #######################################################################
124
125 # suppress expected warnings in the ported code:
126 CFLAGS_CURL += -w
127
128 # use SSL
129 # (overrides Curl's lib/config-tpf.h file)
130 CFLAGS_CURL += -DUSE_OPENSSL
131 CFLAGS_CURL += -DUSE_SSLEAY
132
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
140
141 #######################################################################
142 # Include the maketpf.rules
143 #######################################################################
144
145 include maketpf.rules
146