1aa153c8ca40d71cc441e62fe3edfa15359b30d5
[platform/upstream/curl.git] / src / Makefile.inc
1 # ./src/Makefile.inc
2 # Using the backslash as line continuation character might be problematic
3 # with some make flavours, as Watcom's wmake showed us already. If we
4 # ever want to change this in a portable manner then we should consider
5 # this idea (posted to the libcurl list by Adam Kellas):
6 # CSRC1 = file1.c file2.c file3.c
7 # CSRC2 = file4.c file5.c file6.c
8 # CSOURCES = $(CSRC1) $(CSRC2)
9
10 # libcurl has sources that provide functions named curlx_* that aren't part of
11 # the official API, but we re-use the code here to avoid duplication.
12 CURLX_CFILES = \
13         ../lib/strtoofft.c \
14         ../lib/rawstr.c \
15         ../lib/nonblock.c \
16         ../lib/warnless.c
17
18 CURLX_HFILES = \
19         ../lib/curl_setup.h \
20         ../lib/strtoofft.h \
21         ../lib/rawstr.h \
22         ../lib/nonblock.h \
23         ../lib/warnless.h
24
25 CURL_CFILES = \
26         slist_wc.c \
27         tool_binmode.c \
28         tool_bname.c \
29         tool_cb_dbg.c \
30         tool_cb_hdr.c \
31         tool_cb_prg.c \
32         tool_cb_rea.c \
33         tool_cb_see.c \
34         tool_cb_wrt.c \
35         tool_cfgable.c \
36         tool_convert.c \
37         tool_dirhie.c \
38         tool_doswin.c \
39         tool_easysrc.c \
40         tool_formparse.c \
41         tool_getparam.c \
42         tool_getpass.c \
43         tool_help.c \
44         tool_helpers.c \
45         tool_homedir.c \
46         tool_hugehelp.c \
47         tool_libinfo.c \
48         tool_main.c \
49         tool_metalink.c \
50         tool_mfiles.c \
51         tool_msgs.c \
52         tool_operate.c \
53         tool_operhlp.c \
54         tool_panykey.c \
55         tool_paramhlp.c \
56         tool_parsecfg.c \
57         tool_strdup.c \
58         tool_setopt.c \
59         tool_sleep.c \
60         tool_urlglob.c \
61         tool_util.c \
62         tool_vms.c \
63         tool_writeenv.c \
64         tool_writeout.c \
65         tool_xattr.c
66
67 CURL_HFILES = \
68         slist_wc.h \
69         tool_binmode.h \
70         tool_bname.h \
71         tool_cb_dbg.h \
72         tool_cb_hdr.h \
73         tool_cb_prg.h \
74         tool_cb_rea.h \
75         tool_cb_see.h \
76         tool_cb_wrt.h \
77         tool_cfgable.h \
78         tool_convert.h \
79         tool_dirhie.h \
80         tool_doswin.h \
81         tool_easysrc.h \
82         tool_formparse.h \
83         tool_getparam.h \
84         tool_getpass.h \
85         tool_help.h \
86         tool_helpers.h \
87         tool_homedir.h \
88         tool_hugehelp.h \
89         tool_libinfo.h \
90         tool_main.h \
91         tool_metalink.h \
92         tool_mfiles.h \
93         tool_msgs.h \
94         tool_operate.h \
95         tool_operhlp.h \
96         tool_panykey.h \
97         tool_paramhlp.h \
98         tool_parsecfg.h \
99         tool_sdecls.h \
100         tool_setopt.h \
101         tool_setup.h \
102         tool_sleep.h \
103         tool_strdup.h \
104         tool_urlglob.h \
105         tool_util.h \
106         tool_version.h \
107         tool_vms.h \
108         tool_writeenv.h \
109         tool_writeout.h \
110         tool_xattr.h
111
112 CURL_RCFILES = curl.rc
113
114 # curl_SOURCES is special and gets assigned in src/Makefile.am
115 CURL_FILES = $(CURL_CFILES) $(CURLX_CFILES) $(CURL_HFILES)