2004-07-03 13:49:40 -04:00
|
|
|
# ./src/Makefile.inc
|
2010-07-29 03:06:55 -04:00
|
|
|
# Using the backslash as line continuation character might be problematic
|
|
|
|
# with some make flavours, as Watcom's wmake showed us already. If we
|
|
|
|
# ever want to change this in a portable manner then we should consider
|
|
|
|
# this idea (posted to the libcurl list by Adam Kellas):
|
|
|
|
# CSRC1 = file1.c file2.c file3.c
|
|
|
|
# CSRC2 = file4.c file5.c file6.c
|
|
|
|
# CSOURCES = $(CSRC1) $(CSRC2)
|
2010-02-14 14:40:18 -05:00
|
|
|
|
2004-07-03 13:49:40 -04:00
|
|
|
# libcurl has sources that provide functions named curlx_* that aren't part of
|
|
|
|
# the official API, but we re-use the code here to avoid duplication.
|
2010-08-01 19:50:53 -04:00
|
|
|
CURLX_ONES = $(top_srcdir)/lib/strtoofft.c \
|
2008-10-16 14:02:46 -04:00
|
|
|
$(top_srcdir)/lib/strdup.c \
|
2009-07-09 17:47:24 -04:00
|
|
|
$(top_srcdir)/lib/rawstr.c \
|
|
|
|
$(top_srcdir)/lib/nonblock.c
|
2004-07-03 13:49:40 -04:00
|
|
|
|
2010-08-02 06:24:54 -04:00
|
|
|
CURL_CFILES = main.c hugehelp.c urlglob.c writeout.c writeenv.c \
|
2010-11-05 07:39:46 -04:00
|
|
|
getpass.c homedir.c curlutil.c os-specific.c xattr.c
|
2004-07-03 13:49:40 -04:00
|
|
|
|
2004-07-28 14:40:18 -04:00
|
|
|
CURL_HFILES = hugehelp.h setup.h config-win32.h config-mac.h \
|
2009-06-05 12:14:50 -04:00
|
|
|
config-riscos.h urlglob.h version.h os-specific.h \
|
2010-11-05 07:39:46 -04:00
|
|
|
writeout.h writeenv.h getpass.h homedir.h curlutil.h \
|
|
|
|
xattr.h
|
2004-07-03 13:49:40 -04:00
|
|
|
|
2010-08-02 06:24:54 -04:00
|
|
|
curl_SOURCES = $(CURL_CFILES) $(CURLX_ONES) $(CURL_HFILES)
|
2004-07-03 13:49:40 -04:00
|
|
|
|