summaryrefslogtreecommitdiff
path: root/src/makefile.dj
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2012-04-06 23:35:15 +0200
committerYang Tse <yangsita@gmail.com>2012-04-06 23:37:05 +0200
commit919c97fa65a5c00f7044e849eeb0095408413505 (patch)
tree12b5005946b744b178cf1fecd310941074cffa45 /src/makefile.dj
parent376b4d48feea9da98eda15ddf05c86729d9dc3f1 (diff)
downloadcurl-919c97fa65a5c00f7044e849eeb0095408413505.tar.gz
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.
Diffstat (limited to 'src/makefile.dj')
-rw-r--r--src/makefile.dj12
1 files changed, 2 insertions, 10 deletions
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 <gvanem@broadpark.no>
#
-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