xref: /curl/lib/Makefile.inc (revision eb77297c)
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/curl_path.c \
101  vssh/wolfssh.c
102
103LIB_VSSH_HFILES =    \
104  vssh/curl_path.h   \
105  vssh/ssh.h
106
107LIB_CFILES =         \
108  altsvc.c           \
109  amigaos.c          \
110  asyn-ares.c        \
111  asyn-thread.c      \
112  base64.c           \
113  bufq.c             \
114  bufref.c           \
115  c-hyper.c          \
116  cf-h1-proxy.c      \
117  cf-h2-proxy.c      \
118  cf-haproxy.c       \
119  cf-https-connect.c \
120  cf-socket.c        \
121  cfilters.c         \
122  conncache.c        \
123  connect.c          \
124  content_encoding.c \
125  cookie.c           \
126  curl_addrinfo.c    \
127  curl_des.c         \
128  curl_endian.c      \
129  curl_fnmatch.c     \
130  curl_get_line.c    \
131  curl_gethostname.c \
132  curl_gssapi.c      \
133  curl_memrchr.c     \
134  curl_multibyte.c   \
135  curl_ntlm_core.c   \
136  curl_range.c       \
137  curl_rtmp.c        \
138  curl_sasl.c        \
139  curl_sha512_256.c  \
140  curl_sspi.c        \
141  curl_threads.c     \
142  curl_trc.c         \
143  cw-out.c           \
144  dict.c             \
145  dllmain.c          \
146  doh.c              \
147  dynbuf.c           \
148  dynhds.c           \
149  easy.c             \
150  easygetopt.c       \
151  easyoptions.c      \
152  escape.c           \
153  file.c             \
154  fileinfo.c         \
155  fopen.c            \
156  formdata.c         \
157  ftp.c              \
158  ftplistparser.c    \
159  getenv.c           \
160  getinfo.c          \
161  gopher.c           \
162  hash.c             \
163  headers.c          \
164  hmac.c             \
165  hostasyn.c         \
166  hostip.c           \
167  hostip4.c          \
168  hostip6.c          \
169  hostsyn.c          \
170  hsts.c             \
171  http.c             \
172  http1.c            \
173  http2.c            \
174  http_aws_sigv4.c   \
175  http_chunks.c      \
176  http_digest.c      \
177  http_negotiate.c   \
178  http_ntlm.c        \
179  http_proxy.c       \
180  idn.c              \
181  if2ip.c            \
182  imap.c             \
183  inet_ntop.c        \
184  inet_pton.c        \
185  krb5.c             \
186  ldap.c             \
187  llist.c            \
188  macos.c            \
189  md4.c              \
190  md5.c              \
191  memdebug.c         \
192  mime.c             \
193  mprintf.c          \
194  mqtt.c             \
195  multi.c            \
196  netrc.c            \
197  nonblock.c         \
198  noproxy.c          \
199  openldap.c         \
200  parsedate.c        \
201  pingpong.c         \
202  pop3.c             \
203  progress.c         \
204  psl.c              \
205  rand.c             \
206  rename.c           \
207  request.c          \
208  rtsp.c             \
209  select.c           \
210  sendf.c            \
211  setopt.c           \
212  sha256.c           \
213  share.c            \
214  slist.c            \
215  smb.c              \
216  smtp.c             \
217  socketpair.c       \
218  socks.c            \
219  socks_gssapi.c     \
220  socks_sspi.c       \
221  speedcheck.c       \
222  splay.c            \
223  strcase.c          \
224  strdup.c           \
225  strerror.c         \
226  strtok.c           \
227  strtoofft.c        \
228  system_win32.c     \
229  telnet.c           \
230  tftp.c             \
231  timediff.c         \
232  timeval.c          \
233  transfer.c         \
234  url.c              \
235  urlapi.c           \
236  version.c          \
237  version_win32.c    \
238  warnless.c         \
239  ws.c
240
241LIB_HFILES =         \
242  altsvc.h           \
243  amigaos.h          \
244  arpa_telnet.h      \
245  asyn.h             \
246  bufq.h             \
247  bufref.h           \
248  c-hyper.h          \
249  cf-h1-proxy.h      \
250  cf-h2-proxy.h      \
251  cf-haproxy.h       \
252  cf-https-connect.h \
253  cf-socket.h        \
254  cfilters.h         \
255  conncache.h        \
256  connect.h          \
257  content_encoding.h \
258  cookie.h           \
259  curl_addrinfo.h    \
260  curl_base64.h      \
261  curl_ctype.h       \
262  curl_des.h         \
263  curl_endian.h      \
264  curl_fnmatch.h     \
265  curl_get_line.h    \
266  curl_gethostname.h \
267  curl_gssapi.h      \
268  curl_hmac.h        \
269  curl_krb5.h        \
270  curl_ldap.h        \
271  curl_md4.h         \
272  curl_md5.h         \
273  curl_memory.h      \
274  curl_memrchr.h     \
275  curl_multibyte.h   \
276  curl_ntlm_core.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