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