Revert "Update to 7.40.1"
[platform/upstream/curl.git] / src / Makefile.inc
index 4e1d427..64d55ec 100644 (file)
@@ -9,11 +9,20 @@
 
 # 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/curl_nonblock.c \
-       $(top_srcdir)/lib/curl_rawstr.c \
-       $(top_srcdir)/lib/curl_strdup.c \
-       $(top_srcdir)/lib/curl_strtoofft.c
+CURLX_CFILES = \
+       ../lib/strtoofft.c \
+       ../lib/strdup.c \
+       ../lib/rawstr.c \
+       ../lib/nonblock.c \
+       ../lib/warnless.c
+
+CURLX_HFILES = \
+       ../lib/curl_setup.h \
+       ../lib/strtoofft.h \
+       ../lib/strdup.h \
+       ../lib/rawstr.h \
+       ../lib/nonblock.h \
+       ../lib/warnless.h
 
 CURL_CFILES = \
        tool_binmode.c \
@@ -98,5 +107,7 @@ CURL_HFILES = \
        tool_writeout.h \
        tool_xattr.h
 
-curl_SOURCES = $(CURL_CFILES) $(CURLX_ONES) $(CURL_HFILES)
+CURL_RCFILES = curl.rc
+
+curl_SOURCES = $(CURL_CFILES) $(CURLX_CFILES) $(CURL_HFILES)