Moved strdup replacement from src/main.c into src/strdup.c so it's available
[platform/upstream/curl.git] / src / Makefile.inc
1 # ./src/Makefile.inc
2  
3 # libcurl has sources that provide functions named curlx_* that aren't part of
4 # the official API, but we re-use the code here to avoid duplication.
5 CURLX_ONES =  $(top_srcdir)/lib/strtoofft.c $(top_srcdir)/lib/timeval.c \
6         $(top_srcdir)/lib/strdup.c 
7
8 CURL_SOURCES = main.c hugehelp.c urlglob.c writeout.c writeenv.c \
9         getpass.c homedir.c
10
11 CURL_HFILES = hugehelp.h setup.h config-win32.h config-mac.h \
12         config-riscos.h urlglob.h version.h \
13         writeout.h writeenv.h getpass.h homedir.h
14
15 curl_SOURCES = $(CURL_SOURCES) $(CURLX_ONES) $(CURL_HFILES)
16
17