aboutsummaryrefslogtreecommitdiff
path: root/ares/Makefile.dj
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2009-07-14 13:38:50 +0000
committerGunter Knauf <gk@gknw.de>2009-07-14 13:38:50 +0000
commit35c91f6ea939f9445e0b7905e48a32d86a066dd9 (patch)
treec31b8aef8f0c754fa782cc0a126c8613105c4ffc /ares/Makefile.dj
parentf5f93540933db0508f7d1831d0b20c2bf6aa2594 (diff)
renamed generated config.h to ares_config.h in order to avoid clashes when libcurl is used with other projects which also have a config.h.
Diffstat (limited to 'ares/Makefile.dj')
-rw-r--r--ares/Makefile.dj6
1 files changed, 3 insertions, 3 deletions
diff --git a/ares/Makefile.dj b/ares/Makefile.dj
index 9c965eafa..aa16e5c9f 100644
--- a/ares/Makefile.dj
+++ b/ares/Makefile.dj
@@ -37,13 +37,13 @@ EX_LIBS += $(WATT32_ROOT)/lib/libwatt.a
OBJECTS = $(addprefix $(OBJ_DIR)/, $(CSOURCES:.c=.o))
-all: $(OBJ_DIR) config.h libcares.a ahost.exe adig.exe acountry.exe
+all: $(OBJ_DIR) ares_config.h libcares.a ahost.exe adig.exe acountry.exe
@echo Welcome to c-ares.
libcares.a: $(OBJECTS)
ar rs $@ $?
-config.h: config.dos
+ares_config.h: config.dos
$(COPY) $^ $@
ahost.exe: ahost.c $(OBJ_DIR)/ares_getopt.o $(OBJ_HACK)
@@ -58,7 +58,7 @@ acountry.exe: acountry.c $(OBJ_DIR)/ares_getopt.o $(OBJ_HACK)
# clean generated files
#
genclean:
- - $(DELETE) config.h
+ - $(DELETE) ares_config.h
# clean object files and subdir
#