From 919c97fa65a5c00f7044e849eeb0095408413505 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Fri, 6 Apr 2012 23:35:15 +0200 Subject: curl tool: use configuration files from lib directory Configuration files such as curl_config.h and all config-*.h no longer exist nor are generated/copied into 'src' directory, now these only exist in 'lib' directory from where curl tool sources uses them. Additionally old src/setup.h has been refactored into src/tool_setup.h which now pulls lib/setup.h The possibility of a makefile needing an include path adjustment exists. --- src/makefile.dj | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'src/makefile.dj') diff --git a/src/makefile.dj b/src/makefile.dj index 29e958693..094ef665a 100644 --- a/src/makefile.dj +++ b/src/makefile.dj @@ -3,7 +3,7 @@ # Gisle Vanem # -DEPEND_PREREQ = curl_config.h # hugehelp.c +DEPEND_PREREQ = # hugehelp.c top_srcdir = .. TOPDIR = .. @@ -37,19 +37,12 @@ CFLAGS += -DUSE_ENVIRONMENT PROGRAM = curl.exe OBJECTS += $(addprefix $(OBJ_DIR)/, $(CSOURCES:.c=.o)) -all: $(OBJ_DIR) curl_config.h $(PROGRAM) +all: $(OBJ_DIR) $(PROGRAM) @echo Welcome to cURL $(PROGRAM): $(OBJECTS) ../lib/libcurl.a $(CC) -o $@ $^ $(LDFLAGS) $(EX_LIBS) -curl_config.h: -ifeq ($(IS_UNIX_SHELL),1) - @echo '#include "../lib/config-dos.h"' > $@ -else - @echo #include "../lib/config-dos.h" > $@ -endif - # # groff 1.18+ requires "-P -c" # @@ -60,7 +53,6 @@ hugehelp.c: ../docs/MANUAL ../docs/curl.1 mkhelp.pl # clean generated files # genclean: - - $(DELETE) curl_config.h - $(DELETE) hugehelp.c # clean object files and subdir -- cgit v1.2.3