xref: /aosp_15_r20/external/curl/src/Makefile.inc (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1*6236dae4SAndroid Build Coastguard Worker#***************************************************************************
2*6236dae4SAndroid Build Coastguard Worker#                                  _   _ ____  _
3*6236dae4SAndroid Build Coastguard Worker#  Project                     ___| | | |  _ \| |
4*6236dae4SAndroid Build Coastguard Worker#                             / __| | | | |_) | |
5*6236dae4SAndroid Build Coastguard Worker#                            | (__| |_| |  _ <| |___
6*6236dae4SAndroid Build Coastguard Worker#                             \___|\___/|_| \_\_____|
7*6236dae4SAndroid Build Coastguard Worker#
8*6236dae4SAndroid Build Coastguard Worker# Copyright (C) Daniel Stenberg, <[email protected]>, et al.
9*6236dae4SAndroid Build Coastguard Worker#
10*6236dae4SAndroid Build Coastguard Worker# This software is licensed as described in the file COPYING, which
11*6236dae4SAndroid Build Coastguard Worker# you should have received as part of this distribution. The terms
12*6236dae4SAndroid Build Coastguard Worker# are also available at https://curl.se/docs/copyright.html.
13*6236dae4SAndroid Build Coastguard Worker#
14*6236dae4SAndroid Build Coastguard Worker# You may opt to use, copy, modify, merge, publish, distribute and/or sell
15*6236dae4SAndroid Build Coastguard Worker# copies of the Software, and permit persons to whom the Software is
16*6236dae4SAndroid Build Coastguard Worker# furnished to do so, under the terms of the COPYING file.
17*6236dae4SAndroid Build Coastguard Worker#
18*6236dae4SAndroid Build Coastguard Worker# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19*6236dae4SAndroid Build Coastguard Worker# KIND, either express or implied.
20*6236dae4SAndroid Build Coastguard Worker#
21*6236dae4SAndroid Build Coastguard Worker# SPDX-License-Identifier: curl
22*6236dae4SAndroid Build Coastguard Worker#
23*6236dae4SAndroid Build Coastguard Worker###########################################################################
24*6236dae4SAndroid Build Coastguard Worker# ./src/Makefile.inc
25*6236dae4SAndroid Build Coastguard Worker# Using the backslash as line continuation character might be problematic with
26*6236dae4SAndroid Build Coastguard Worker# some make flavours. If we ever want to change this in a portable manner then
27*6236dae4SAndroid Build Coastguard Worker# we should consider this idea :
28*6236dae4SAndroid Build Coastguard Worker# CSRC1 = file1.c file2.c file3.c
29*6236dae4SAndroid Build Coastguard Worker# CSRC2 = file4.c file5.c file6.c
30*6236dae4SAndroid Build Coastguard Worker# CSOURCES = $(CSRC1) $(CSRC2)
31*6236dae4SAndroid Build Coastguard Worker
32*6236dae4SAndroid Build Coastguard Worker# libcurl sources to include in curltool lib we use for test binaries
33*6236dae4SAndroid Build Coastguard WorkerCURLTOOL_LIBCURL_CFILES = \
34*6236dae4SAndroid Build Coastguard Worker  ../lib/base64.c \
35*6236dae4SAndroid Build Coastguard Worker  ../lib/dynbuf.c
36*6236dae4SAndroid Build Coastguard Worker
37*6236dae4SAndroid Build Coastguard Worker# libcurl has sources that provide functions named curlx_* that are not part of
38*6236dae4SAndroid Build Coastguard Worker# the official API, but we reuse the code here to avoid duplication.
39*6236dae4SAndroid Build Coastguard WorkerCURLX_CFILES = \
40*6236dae4SAndroid Build Coastguard Worker  ../lib/base64.c \
41*6236dae4SAndroid Build Coastguard Worker  ../lib/curl_multibyte.c \
42*6236dae4SAndroid Build Coastguard Worker  ../lib/dynbuf.c \
43*6236dae4SAndroid Build Coastguard Worker  ../lib/nonblock.c \
44*6236dae4SAndroid Build Coastguard Worker  ../lib/strtoofft.c \
45*6236dae4SAndroid Build Coastguard Worker  ../lib/timediff.c \
46*6236dae4SAndroid Build Coastguard Worker  ../lib/version_win32.c \
47*6236dae4SAndroid Build Coastguard Worker  ../lib/warnless.c
48*6236dae4SAndroid Build Coastguard Worker
49*6236dae4SAndroid Build Coastguard WorkerCURLX_HFILES = \
50*6236dae4SAndroid Build Coastguard Worker  ../lib/curl_ctype.h \
51*6236dae4SAndroid Build Coastguard Worker  ../lib/curl_multibyte.h \
52*6236dae4SAndroid Build Coastguard Worker  ../lib/curl_setup.h \
53*6236dae4SAndroid Build Coastguard Worker  ../lib/dynbuf.h \
54*6236dae4SAndroid Build Coastguard Worker  ../lib/nonblock.h \
55*6236dae4SAndroid Build Coastguard Worker  ../lib/strtoofft.h \
56*6236dae4SAndroid Build Coastguard Worker  ../lib/timediff.h \
57*6236dae4SAndroid Build Coastguard Worker  ../lib/version_win32.h \
58*6236dae4SAndroid Build Coastguard Worker  ../lib/warnless.h
59*6236dae4SAndroid Build Coastguard Worker
60*6236dae4SAndroid Build Coastguard WorkerCURL_CFILES = \
61*6236dae4SAndroid Build Coastguard Worker  slist_wc.c \
62*6236dae4SAndroid Build Coastguard Worker  terminal.c \
63*6236dae4SAndroid Build Coastguard Worker  tool_binmode.c \
64*6236dae4SAndroid Build Coastguard Worker  tool_bname.c \
65*6236dae4SAndroid Build Coastguard Worker  tool_cb_dbg.c \
66*6236dae4SAndroid Build Coastguard Worker  tool_cb_hdr.c \
67*6236dae4SAndroid Build Coastguard Worker  tool_cb_prg.c \
68*6236dae4SAndroid Build Coastguard Worker  tool_cb_rea.c \
69*6236dae4SAndroid Build Coastguard Worker  tool_cb_see.c \
70*6236dae4SAndroid Build Coastguard Worker  tool_cb_soc.c \
71*6236dae4SAndroid Build Coastguard Worker  tool_cb_wrt.c \
72*6236dae4SAndroid Build Coastguard Worker  tool_cfgable.c \
73*6236dae4SAndroid Build Coastguard Worker  tool_dirhie.c \
74*6236dae4SAndroid Build Coastguard Worker  tool_doswin.c \
75*6236dae4SAndroid Build Coastguard Worker  tool_easysrc.c \
76*6236dae4SAndroid Build Coastguard Worker  tool_filetime.c \
77*6236dae4SAndroid Build Coastguard Worker  tool_findfile.c \
78*6236dae4SAndroid Build Coastguard Worker  tool_formparse.c \
79*6236dae4SAndroid Build Coastguard Worker  tool_getparam.c \
80*6236dae4SAndroid Build Coastguard Worker  tool_getpass.c \
81*6236dae4SAndroid Build Coastguard Worker  tool_help.c \
82*6236dae4SAndroid Build Coastguard Worker  tool_helpers.c \
83*6236dae4SAndroid Build Coastguard Worker  tool_hugehelp.c \
84*6236dae4SAndroid Build Coastguard Worker  tool_ipfs.c \
85*6236dae4SAndroid Build Coastguard Worker  tool_libinfo.c \
86*6236dae4SAndroid Build Coastguard Worker  tool_listhelp.c \
87*6236dae4SAndroid Build Coastguard Worker  tool_main.c \
88*6236dae4SAndroid Build Coastguard Worker  tool_msgs.c \
89*6236dae4SAndroid Build Coastguard Worker  tool_operate.c \
90*6236dae4SAndroid Build Coastguard Worker  tool_operhlp.c \
91*6236dae4SAndroid Build Coastguard Worker  tool_paramhlp.c \
92*6236dae4SAndroid Build Coastguard Worker  tool_parsecfg.c \
93*6236dae4SAndroid Build Coastguard Worker  tool_progress.c \
94*6236dae4SAndroid Build Coastguard Worker  tool_setopt.c \
95*6236dae4SAndroid Build Coastguard Worker  tool_sleep.c \
96*6236dae4SAndroid Build Coastguard Worker  tool_stderr.c \
97*6236dae4SAndroid Build Coastguard Worker  tool_strdup.c \
98*6236dae4SAndroid Build Coastguard Worker  tool_urlglob.c \
99*6236dae4SAndroid Build Coastguard Worker  tool_util.c \
100*6236dae4SAndroid Build Coastguard Worker  tool_vms.c \
101*6236dae4SAndroid Build Coastguard Worker  tool_writeout.c \
102*6236dae4SAndroid Build Coastguard Worker  tool_writeout_json.c \
103*6236dae4SAndroid Build Coastguard Worker  tool_xattr.c \
104*6236dae4SAndroid Build Coastguard Worker  var.c
105*6236dae4SAndroid Build Coastguard Worker
106*6236dae4SAndroid Build Coastguard WorkerCURL_HFILES = \
107*6236dae4SAndroid Build Coastguard Worker  slist_wc.h \
108*6236dae4SAndroid Build Coastguard Worker  terminal.h \
109*6236dae4SAndroid Build Coastguard Worker  tool_binmode.h \
110*6236dae4SAndroid Build Coastguard Worker  tool_bname.h \
111*6236dae4SAndroid Build Coastguard Worker  tool_cb_dbg.h \
112*6236dae4SAndroid Build Coastguard Worker  tool_cb_hdr.h \
113*6236dae4SAndroid Build Coastguard Worker  tool_cb_prg.h \
114*6236dae4SAndroid Build Coastguard Worker  tool_cb_rea.h \
115*6236dae4SAndroid Build Coastguard Worker  tool_cb_see.h \
116*6236dae4SAndroid Build Coastguard Worker  tool_cb_soc.h \
117*6236dae4SAndroid Build Coastguard Worker  tool_cb_wrt.h \
118*6236dae4SAndroid Build Coastguard Worker  tool_cfgable.h \
119*6236dae4SAndroid Build Coastguard Worker  tool_dirhie.h \
120*6236dae4SAndroid Build Coastguard Worker  tool_doswin.h \
121*6236dae4SAndroid Build Coastguard Worker  tool_easysrc.h \
122*6236dae4SAndroid Build Coastguard Worker  tool_filetime.h \
123*6236dae4SAndroid Build Coastguard Worker  tool_findfile.h \
124*6236dae4SAndroid Build Coastguard Worker  tool_formparse.h \
125*6236dae4SAndroid Build Coastguard Worker  tool_getparam.h \
126*6236dae4SAndroid Build Coastguard Worker  tool_getpass.h \
127*6236dae4SAndroid Build Coastguard Worker  tool_help.h \
128*6236dae4SAndroid Build Coastguard Worker  tool_helpers.h \
129*6236dae4SAndroid Build Coastguard Worker  tool_hugehelp.h \
130*6236dae4SAndroid Build Coastguard Worker  tool_ipfs.h \
131*6236dae4SAndroid Build Coastguard Worker  tool_libinfo.h \
132*6236dae4SAndroid Build Coastguard Worker  tool_main.h \
133*6236dae4SAndroid Build Coastguard Worker  tool_msgs.h \
134*6236dae4SAndroid Build Coastguard Worker  tool_operate.h \
135*6236dae4SAndroid Build Coastguard Worker  tool_operhlp.h \
136*6236dae4SAndroid Build Coastguard Worker  tool_paramhlp.h \
137*6236dae4SAndroid Build Coastguard Worker  tool_parsecfg.h \
138*6236dae4SAndroid Build Coastguard Worker  tool_progress.h \
139*6236dae4SAndroid Build Coastguard Worker  tool_sdecls.h \
140*6236dae4SAndroid Build Coastguard Worker  tool_setopt.h \
141*6236dae4SAndroid Build Coastguard Worker  tool_setup.h \
142*6236dae4SAndroid Build Coastguard Worker  tool_sleep.h \
143*6236dae4SAndroid Build Coastguard Worker  tool_stderr.h \
144*6236dae4SAndroid Build Coastguard Worker  tool_strdup.h \
145*6236dae4SAndroid Build Coastguard Worker  tool_urlglob.h \
146*6236dae4SAndroid Build Coastguard Worker  tool_util.h \
147*6236dae4SAndroid Build Coastguard Worker  tool_version.h \
148*6236dae4SAndroid Build Coastguard Worker  tool_vms.h \
149*6236dae4SAndroid Build Coastguard Worker  tool_writeout.h \
150*6236dae4SAndroid Build Coastguard Worker  tool_writeout_json.h \
151*6236dae4SAndroid Build Coastguard Worker  tool_xattr.h \
152*6236dae4SAndroid Build Coastguard Worker  var.h
153*6236dae4SAndroid Build Coastguard Worker
154*6236dae4SAndroid Build Coastguard WorkerCURL_RCFILES = curl.rc
155*6236dae4SAndroid Build Coastguard Worker
156*6236dae4SAndroid Build Coastguard Worker# curl_SOURCES is special and gets assigned in src/Makefile.am
157*6236dae4SAndroid Build Coastguard WorkerCURL_FILES = $(CURL_CFILES) $(CURLX_CFILES) $(CURL_HFILES)
158