aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile.inc')
-rw-r--r--src/Makefile.inc19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/Makefile.inc b/src/Makefile.inc
new file mode 100644
index 0000000..9faf89d
--- /dev/null
+++ b/src/Makefile.inc
@@ -0,0 +1,19 @@
+# ./src/Makefile.inc
+
+# 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.
+CURLX_ONES = $(top_srcdir)/lib/strtoofft.c \
+ $(top_srcdir)/lib/strdup.c \
+ $(top_srcdir)/lib/rawstr.c \
+ $(top_srcdir)/lib/nonblock.c
+
+CURL_SOURCES = main.c hugehelp.c urlglob.c writeout.c writeenv.c \
+ getpass.c homedir.c curlutil.c os-specific.c
+
+CURL_HFILES = hugehelp.h setup.h config-win32.h config-mac.h \
+ config-riscos.h urlglob.h version.h os-specific.h \
+ writeout.h writeenv.h getpass.h homedir.h curlutil.h
+
+curl_SOURCES = $(CURL_SOURCES) $(CURLX_ONES) $(CURL_HFILES)
+
+