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.

This commit is contained in:
Gunter Knauf
2009-07-14 13:38:50 +00:00
parent f474f738a5
commit e391db0ef9
8 changed files with 19 additions and 15 deletions
+3 -3
View File
@@ -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
#