xref: /curl/lib/Makefile.inc (revision fba9afeb)
1#***************************************************************************
2#                                  _   _ ____  _
3#  Project                     ___| | | |  _ \| |
4#                             / __| | | | |_) | |
5#                            | (__| |_| |  _ <| |___
6#                             \___|\___/|_| \_\_____|
7#
8# Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
9#
10# This software is licensed as described in the file COPYING, which
11# you should have received as part of this distribution. The terms
12# are also available at https://curl.se/docs/copyright.html.
13#
14# You may opt to use, copy, modify, merge, publish, distribute and/or sell
15# copies of the Software, and permit persons to whom the Software is
16# furnished to do so, under the terms of the COPYING file.
17#
18# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19# KIND, either express or implied.
20#
21# SPDX-License-Identifier: curl
22#
23###########################################################################
24
25LIB_VAUTH_CFILES =      \
26  vauth/cleartext.c     \
27  vauth/cram.c          \
28  vauth/digest.c        \
29  vauth/digest_sspi.c   \
30  vauth/gsasl.c         \
31  vauth/krb5_gssapi.c   \
32  vauth/krb5_sspi.c     \
33  vauth/ntlm.c          \
34  vauth/ntlm_sspi.c     \
35  vauth/oauth2.c        \
36  vauth/spnego_gssapi.c \
37  vauth/spnego_sspi.c   \
38  vauth/vauth.c
39
40LIB_VAUTH_HFILES =      \
41  vauth/digest.h        \
42  vauth/ntlm.h          \
43  vauth/vauth.h
44
45LIB_VTLS_CFILES =           \
46  vtls/bearssl.c            \
47  vtls/cipher_suite.c       \
48  vtls/gtls.c               \
49  vtls/hostcheck.c          \
50  vtls/keylog.c             \
51  vtls/mbedtls.c            \
52  vtls/mbedtls_threadlock.c \
53  vtls/openssl.c            \
54  vtls/rustls.c             \
55  vtls/schannel.c           \
56  vtls/schannel_verify.c    \
57  vtls/sectransp.c          \
58  vtls/vtls.c               \
59  vtls/wolfssl.c            \
60  vtls/x509asn1.c
61
62LIB_VTLS_HFILES =           \
63  vtls/bearssl.h            \
64  vtls/cipher_suite.h       \
65  vtls/gtls.h               \
66  vtls/hostcheck.h          \
67  vtls/keylog.h             \
68  vtls/mbedtls.h            \
69  vtls/mbedtls_threadlock.h \
70  vtls/openssl.h            \
71  vtls/rustls.h             \
72  vtls/schannel.h           \
73  vtls/schannel_int.h       \
74  vtls/sectransp.h          \
75  vtls/vtls.h               \
76  vtls/vtls_int.h           \
77  vtls/wolfssl.h            \
78  vtls/x509asn1.h
79
80LIB_VQUIC_CFILES = \
81  vquic/curl_msh3.c   \
82  vquic/curl_ngtcp2.c   \
83  vquic/curl_osslq.c   \
84  vquic/curl_quiche.c   \
85  vquic/vquic.c \
86  vquic/vquic-tls.c
87
88LIB_VQUIC_HFILES = \
89  vquic/curl_msh3.h   \
90  vquic/curl_ngtcp2.h   \
91  vquic/curl_osslq.h   \
92  vquic/curl_quiche.h   \
93  vquic/vquic.h    \
94  vquic/vquic_int.h \
95  vquic/vquic-tls.h
96
97LIB_VSSH_CFILES =  \
98  vssh/libssh.c    \
99  vssh/libssh2.c   \
100  vssh/wolfssh.c
101
102LIB_VSSH_HFILES =  \
103  vssh/ssh.h
104
105LIB_CFILES =         \
106  altsvc.c           \
107  amigaos.c          \
108  asyn-ares.c        \
109  asyn-thread.c      \
110  base64.c           \
111  bufq.c             \
112  bufref.c           \
113  c-hyper.c          \
114  cf-h1-proxy.c      \
115  cf-h2-proxy.c      \
116  cf-haproxy.c       \
117  cf-https-connect.c \
118  cf-socket.c        \
119  cfilters.c         \
120  conncache.c        \
121  connect.c          \
122  content_encoding.c \
123  cookie.c           \
124  curl_addrinfo.c    \
125  curl_des.c         \
126  curl_endian.c      \
127  curl_fnmatch.c     \
128  curl_get_line.c    \
129  curl_gethostname.c \
130  curl_gssapi.c      \
131  curl_memrchr.c     \
132  curl_multibyte.c   \
133  curl_ntlm_core.c   \
134  curl_path.c        \
135  curl_range.c       \
136  curl_rtmp.c        \
137  curl_sasl.c        \
138  curl_sha512_256.c  \
139  curl_sspi.c        \
140  curl_threads.c     \
141  curl_trc.c         \
142  cw-out.c           \
143  dict.c             \
144  dllmain.c          \
145  doh.c              \
146  dynbuf.c           \
147  dynhds.c           \
148  easy.c             \
149  easygetopt.c       \
150  easyoptions.c      \
151  escape.c           \
152  file.c             \
153  fileinfo.c         \
154  fopen.c            \
155  formdata.c         \
156  ftp.c              \
157  ftplistparser.c    \
158  getenv.c           \
159  getinfo.c          \
160  gopher.c           \
161  hash.c             \
162  headers.c          \
163  hmac.c             \
164  hostasyn.c         \
165  hostip.c           \
166  hostip4.c          \
167  hostip6.c          \
168  hostsyn.c          \
169  hsts.c             \
170  http.c             \
171  http1.c            \
172  http2.c            \
173  http_aws_sigv4.c   \
174  http_chunks.c      \
175  http_digest.c      \
176  http_negotiate.c   \
177  http_ntlm.c        \
178  http_proxy.c       \
179  idn.c              \
180  if2ip.c            \
181  imap.c             \
182  inet_ntop.c        \
183  inet_pton.c        \
184  krb5.c             \
185  ldap.c             \
186  llist.c            \
187  macos.c            \
188  md4.c              \
189  md5.c              \
190  memdebug.c         \
191  mime.c             \
192  mprintf.c          \
193  mqtt.c             \
194  multi.c            \
195  netrc.c            \
196  nonblock.c         \
197  noproxy.c          \
198  openldap.c         \
199  parsedate.c        \
200  pingpong.c         \
201  pop3.c             \
202  progress.c         \
203  psl.c              \
204  rand.c             \
205  rename.c           \
206  request.c          \
207  rtsp.c             \
208  select.c           \
209  sendf.c            \
210  setopt.c           \
211  sha256.c           \
212  share.c            \
213  slist.c            \
214  smb.c              \
215  smtp.c             \
216  socketpair.c       \
217  socks.c            \
218  socks_gssapi.c     \
219  socks_sspi.c       \
220  speedcheck.c       \
221  splay.c            \
222  strcase.c          \
223  strdup.c           \
224  strerror.c         \
225  strtok.c           \
226  strtoofft.c        \
227  system_win32.c     \
228  telnet.c           \
229  tftp.c             \
230  timediff.c         \
231  timeval.c          \
232  transfer.c         \
233  url.c              \
234  urlapi.c           \
235  version.c          \
236  version_win32.c    \
237  warnless.c         \
238  ws.c
239
240LIB_HFILES =         \
241  altsvc.h           \
242  amigaos.h          \
243  arpa_telnet.h      \
244  asyn.h             \
245  bufq.h             \
246  bufref.h           \
247  c-hyper.h          \
248  cf-h1-proxy.h      \
249  cf-h2-proxy.h      \
250  cf-haproxy.h       \
251  cf-https-connect.h \
252  cf-socket.h        \
253  cfilters.h         \
254  conncache.h        \
255  connect.h          \
256  content_encoding.h \
257  cookie.h           \
258  curl_addrinfo.h    \
259  curl_base64.h      \
260  curl_ctype.h       \
261  curl_des.h         \
262  curl_endian.h      \
263  curl_fnmatch.h     \
264  curl_get_line.h    \
265  curl_gethostname.h \
266  curl_gssapi.h      \
267  curl_hmac.h        \
268  curl_krb5.h        \
269  curl_ldap.h        \
270  curl_md4.h         \
271  curl_md5.h         \
272  curl_memory.h      \
273  curl_memrchr.h     \
274  curl_multibyte.h   \
275  curl_ntlm_core.h   \
276  curl_path.h        \
277  curl_printf.h      \
278  curl_range.h       \
279  curl_rtmp.h        \
280  curl_sasl.h        \
281  curl_setup.h       \
282  curl_setup_once.h  \
283  curl_sha256.h      \
284  curl_sha512_256.h  \
285  curl_sspi.h        \
286  curl_threads.h     \
287  curl_trc.h         \
288  curlx.h            \
289  cw-out.h           \
290  dict.h             \
291  doh.h              \
292  dynbuf.h           \
293  dynhds.h           \
294  easy_lock.h        \
295  easyif.h           \
296  easyoptions.h      \
297  escape.h           \
298  file.h             \
299  fileinfo.h         \
300  fopen.h            \
301  formdata.h         \
302  ftp.h              \
303  ftplistparser.h    \
304  functypes.h        \
305  getinfo.h          \
306  gopher.h           \
307  hash.h             \
308  headers.h          \
309  hostip.h           \
310  hsts.h             \
311  http.h             \
312  http1.h            \
313  http2.h            \
314  http_aws_sigv4.h   \
315  http_chunks.h      \
316  http_digest.h      \
317  http_negotiate.h   \
318  http_ntlm.h        \
319  http_proxy.h       \
320  idn.h              \
321  if2ip.h            \
322  imap.h             \
323  inet_ntop.h        \
324  inet_pton.h        \
325  llist.h            \
326  macos.h            \
327  memdebug.h         \
328  mime.h             \
329  mqtt.h             \
330  multihandle.h      \
331  multiif.h          \
332  netrc.h            \
333  nonblock.h         \
334  noproxy.h          \
335  parsedate.h        \
336  pingpong.h         \
337  pop3.h             \
338  progress.h         \
339  psl.h              \
340  rand.h             \
341  rename.h           \
342  request.h          \
343  rtsp.h             \
344  select.h           \
345  sendf.h            \
346  setopt.h           \
347  setup-vms.h        \
348  share.h            \
349  sigpipe.h          \
350  slist.h            \
351  smb.h              \
352  smtp.h             \
353  sockaddr.h         \
354  socketpair.h       \
355  socks.h            \
356  speedcheck.h       \
357  splay.h            \
358  strcase.h          \
359  strdup.h           \
360  strerror.h         \
361  strtok.h           \
362  strtoofft.h        \
363  system_win32.h     \
364  telnet.h           \
365  tftp.h             \
366  timediff.h         \
367  timeval.h          \
368  transfer.h         \
369  url.h              \
370  urlapi-int.h       \
371  urldata.h          \
372  version_win32.h    \
373  warnless.h         \
374  ws.h
375
376LIB_RCFILES = libcurl.rc
377
378CSOURCES = $(LIB_CFILES) $(LIB_VAUTH_CFILES) $(LIB_VTLS_CFILES) \
379  $(LIB_VQUIC_CFILES) $(LIB_VSSH_CFILES)
380HHEADERS = $(LIB_HFILES) $(LIB_VAUTH_HFILES) $(LIB_VTLS_HFILES) \
381  $(LIB_VQUIC_HFILES) $(LIB_VSSH_HFILES)
382