mirror of
https://frontier.innolan.net/rainlance/c-ares.git
synced 2026-10-15 10:43:36 +00:00
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:
+3
-3
@@ -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
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user