xref: /curl/lib/Makefile.inc (revision fc3e1cbc)
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/vtls_scache.c        \
60  vtls/wolfssl.c            \
61  vtls/x509asn1.c
62
63LIB_VTLS_HFILES =           \
64  vtls/bearssl.h            \
65  vtls/cipher_suite.h       \
66  vtls/gtls.h               \
67  vtls/hostcheck.h          \
68  vtls/keylog.h             \
69  vtls/mbedtls.h            \
70  vtls/mbedtls_threadlock.h \
71  vtls/openssl.h            \
72  vtls/rustls.h             \
73  vtls/schannel.h           \
74  vtls/schannel_int.h       \
75  vtls/sectransp.h          \
76  vtls/vtls.h               \
77  vtls/vtls_int.h           \
78  vtls/vtls_scache.h        \
79  vtls/wolfssl.h            \
80  vtls/x509asn1.h
81
82LIB_VQUIC_CFILES = \
83  vquic/curl_msh3.c   \
84  vquic/curl_ngtcp2.c   \
85  vquic/curl_osslq.c   \
86  vquic/curl_quiche.c   \
87  vquic/vquic.c \
88  vquic/vquic-tls.c
89
90LIB_VQUIC_HFILES = \
91  vquic/curl_msh3.h   \
92  vquic/curl_ngtcp2.h   \
93  vquic/curl_osslq.h   \
94  vquic/curl_quiche.h   \
95  vquic/vquic.h    \
96  vquic/vquic_int.h \
97  vquic/vquic-tls.h
98
99LIB_VSSH_CFILES =  \
100  vssh/libssh.c    \
101  vssh/libssh2.c   \
102  vssh/curl_path.c \
103  vssh/wolfssh.c
104
105LIB_VSSH_HFILES =    \
106  vssh/curl_path.h   \
107  vssh/ssh.h
108
109LIB_CFILES =         \
110  altsvc.c           \
111  amigaos.c          \
112  asyn-ares.c        \
113  asyn-thread.c      \
114  base64.c           \
115  bufq.c             \
116  bufref.c           \
117  cf-h1-proxy.c      \
118  cf-h2-proxy.c      \
119  cf-haproxy.c       \
120  cf-https-connect.c \
121  cf-socket.c        \
122  cfilters.c         \
123  conncache.c        \
124  connect.c          \
125  content_encoding.c \
126  cookie.c           \
127  curl_addrinfo.c    \
128  curl_des.c         \
129  curl_endian.c      \
130  curl_fnmatch.c     \
131  curl_get_line.c    \
132  curl_gethostname.c \
133  curl_gssapi.c      \
134  curl_memrchr.c     \
135  curl_multibyte.c   \
136  curl_ntlm_core.c   \
137  curl_range.c       \
138  curl_rtmp.c        \
139  curl_sasl.c        \
140  curl_sha512_256.c  \
141  curl_sspi.c        \
142  curl_threads.c     \
143  curl_trc.c         \
144  cw-out.c           \
145  dict.c             \
146  dllmain.c          \
147  doh.c              \
148  dynbuf.c           \
149  dynhds.c           \
150  easy.c             \
151  easygetopt.c       \
152  easyoptions.c      \
153  escape.c           \
154  file.c             \
155  fileinfo.c         \
156  fopen.c            \
157  formdata.c         \
158  ftp.c              \
159  ftplistparser.c    \
160  getenv.c           \
161  getinfo.c          \
162  gopher.c           \
163  hash.c             \
164  headers.c          \
165  hmac.c             \
166  hostasyn.c         \
167  hostip.c           \
168  hostip4.c          \
169  hostip6.c          \
170  hostsyn.c          \
171  hsts.c             \
172  http.c             \
173  http1.c            \
174  http2.c            \
175  http_aws_sigv4.c   \
176  http_chunks.c      \
177  http_digest.c      \
178  http_negotiate.c   \
179  http_ntlm.c        \
180  http_proxy.c       \
181  idn.c              \
182  if2ip.c            \
183  imap.c             \
184  inet_ntop.c        \
185  inet_pton.c        \
186  krb5.c             \
187  ldap.c             \
188  llist.c            \
189  macos.c            \
190  md4.c              \
191  md5.c              \
192  memdebug.c         \
193  mime.c             \
194  mprintf.c          \
195  mqtt.c             \
196  multi.c            \
197  netrc.c            \
198  nonblock.c         \
199  noproxy.c          \
200  openldap.c         \
201  parsedate.c        \
202  pingpong.c         \
203  pop3.c             \
204  progress.c         \
205  psl.c              \
206  rand.c             \
207  rename.c           \
208  request.c          \
209  rtsp.c             \
210  select.c           \
211  sendf.c            \
212  setopt.c           \
213  sha256.c           \
214  share.c            \
215  slist.c            \
216  smb.c              \
217  smtp.c             \
218  socketpair.c       \
219  socks.c            \
220  socks_gssapi.c     \
221  socks_sspi.c       \
222  speedcheck.c       \
223  splay.c            \
224  strcase.c          \
225  strdup.c           \
226  strerror.c         \
227  strparse.c         \
228  strtok.c           \
229  strtoofft.c        \
230  system_win32.c     \
231  telnet.c           \
232  tftp.c             \
233  timediff.c         \
234  timeval.c          \
235  transfer.c         \
236  url.c              \
237  urlapi.c           \
238  version.c          \
239  version_win32.c    \
240  warnless.c         \
241  ws.c
242
243LIB_HFILES =         \
244  altsvc.h           \
245  amigaos.h          \
246  arpa_telnet.h      \
247  asyn.h             \
248  bufq.h             \
249  bufref.h           \
250  cf-h1-proxy.h      \
251  cf-h2-proxy.h      \
252  cf-haproxy.h       \
253  cf-https-connect.h \
254  cf-socket.h        \
255  cfilters.h         \
256  conncache.h        \
257  connect.h          \
258  content_encoding.h \
259  cookie.h           \
260  curl_addrinfo.h    \
261  curl_base64.h      \
262  curl_ctype.h       \
263  curl_des.h         \
264  curl_endian.h      \
265  curl_fnmatch.h     \
266  curl_get_line.h    \
267  curl_gethostname.h \
268  curl_gssapi.h      \
269  curl_hmac.h        \
270  curl_krb5.h        \
271  curl_ldap.h        \
272  curl_md4.h         \
273  curl_md5.h         \
274  curl_memory.h      \
275  curl_memrchr.h     \
276  curl_multibyte.h   \
277  curl_ntlm_core.h   \
278  curl_printf.h      \
279  curl_range.h       \
280  curl_rtmp.h        \
281  curl_sasl.h        \
282  curl_setup.h       \
283  curl_setup_once.h  \
284  curl_sha256.h      \
285  curl_sha512_256.h  \
286  curl_sspi.h        \
287  curl_threads.h     \
288  curl_trc.h         \
289  curlx.h            \
290  cw-out.h           \
291  dict.h             \
292  doh.h              \
293  dynbuf.h           \
294  dynhds.h           \
295  easy_lock.h        \
296  easyif.h           \
297  easyoptions.h      \
298  escape.h           \
299  file.h             \
300  fileinfo.h         \
301  fopen.h            \
302  formdata.h         \
303  ftp.h              \
304  ftplistparser.h    \
305  functypes.h        \
306  getinfo.h          \
307  gopher.h           \
308  hash.h             \
309  headers.h          \
310  hostip.h           \
311  hsts.h             \
312  http.h             \
313  http1.h            \
314  http2.h            \
315  http_aws_sigv4.h   \
316  http_chunks.h      \
317  http_digest.h      \
318  http_negotiate.h   \
319  http_ntlm.h        \
320  http_proxy.h       \
321  idn.h              \
322  if2ip.h            \
323  imap.h             \
324  inet_ntop.h        \
325  inet_pton.h        \
326  llist.h            \
327  macos.h            \
328  memdebug.h         \
329  mime.h             \
330  mqtt.h             \
331  multihandle.h      \
332  multiif.h          \
333  netrc.h            \
334  nonblock.h         \
335  noproxy.h          \
336  parsedate.h        \
337  pingpong.h         \
338  pop3.h             \
339  progress.h         \
340  psl.h              \
341  rand.h             \
342  rename.h           \
343  request.h          \
344  rtsp.h             \
345  select.h           \
346  sendf.h            \
347  setopt.h           \
348  setup-vms.h        \
349  share.h            \
350  sigpipe.h          \
351  slist.h            \
352  smb.h              \
353  smtp.h             \
354  sockaddr.h         \
355  socketpair.h       \
356  socks.h            \
357  speedcheck.h       \
358  splay.h            \
359  strcase.h          \
360  strdup.h           \
361  strerror.h         \
362  strparse.h         \
363  strtok.h           \
364  strtoofft.h        \
365  system_win32.h     \
366  telnet.h           \
367  tftp.h             \
368  timediff.h         \
369  timeval.h          \
370  transfer.h         \
371  url.h              \
372  urlapi-int.h       \
373  urldata.h          \
374  version_win32.h    \
375  warnless.h         \
376  ws.h
377
378LIB_RCFILES = libcurl.rc
379
380CSOURCES = $(LIB_CFILES) $(LIB_VAUTH_CFILES) $(LIB_VTLS_CFILES) \
381  $(LIB_VQUIC_CFILES) $(LIB_VSSH_CFILES)
382HHEADERS = $(LIB_HFILES) $(LIB_VAUTH_HFILES) $(LIB_VTLS_HFILES) \
383  $(LIB_VQUIC_HFILES) $(LIB_VSSH_HFILES)
384