build: make use of 93 lib/*.c renamed files
[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_ONES = \
13         $(top_srcdir)/lib/curl_nonblock.c \
14         $(top_srcdir)/lib/curl_rawstr.c \
15         $(top_srcdir)/lib/curl_strdup.c \
16         $(top_srcdir)/lib/curl_strtoofft.c
17
18 CURL_CFILES = \
19         tool_binmode.c \
20         tool_bname.c \
21         tool_cb_dbg.c \
22         tool_cb_hdr.c \
23         tool_cb_prg.c \
24         tool_cb_rea.c \
25         tool_cb_see.c \
26         tool_cb_wrt.c \
27         tool_cfgable.c \
28         tool_convert.c \
29         tool_dirhie.c \
30         tool_doswin.c \
31         tool_easysrc.c \
32         tool_formparse.c \
33         tool_getparam.c \
34         tool_getpass.c \
35         tool_help.c \
36         tool_helpers.c \
37         tool_homedir.c \
38         tool_hugehelp.c \
39         tool_libinfo.c \
40         tool_main.c \
41         tool_metalink.c \
42         tool_mfiles.c \
43         tool_msgs.c \
44         tool_operate.c \
45         tool_operhlp.c \
46         tool_panykey.c \
47         tool_paramhlp.c \
48         tool_parsecfg.c \
49         tool_setopt.c \
50         tool_sleep.c \
51         tool_urlglob.c \
52         tool_util.c \
53         tool_vms.c \
54         tool_writeenv.c \
55         tool_writeout.c \
56         tool_xattr.c
57
58 CURL_HFILES = \
59         tool_binmode.h \
60         tool_bname.h \
61         tool_cb_dbg.h \
62         tool_cb_hdr.h \
63         tool_cb_prg.h \
64         tool_cb_rea.h \
65         tool_cb_see.h \
66         tool_cb_wrt.h \
67         tool_cfgable.h \
68         tool_convert.h \
69         tool_dirhie.h \
70         tool_doswin.h \
71         tool_easysrc.h \
72         tool_formparse.h \
73         tool_getparam.h \
74         tool_getpass.h \
75         tool_help.h \
76         tool_helpers.h \
77         tool_homedir.h \
78         tool_hugehelp.h \
79         tool_libinfo.h \
80         tool_main.h \
81         tool_metalink.h \
82         tool_mfiles.h \
83         tool_msgs.h \
84         tool_operate.h \
85         tool_operhlp.h \
86         tool_panykey.h \
87         tool_paramhlp.h \
88         tool_parsecfg.h \
89         tool_sdecls.h \
90         tool_setopt.h \
91         tool_setup.h \
92         tool_sleep.h \
93         tool_urlglob.h \
94         tool_util.h \
95         tool_version.h \
96         tool_vms.h \
97         tool_writeenv.h \
98         tool_writeout.h \
99         tool_xattr.h
100
101 curl_SOURCES = $(CURL_CFILES) $(CURLX_ONES) $(CURL_HFILES)
102