# 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 \
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)