renamed generated config.h to curl_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:25:14 +00:00
parent 100f6b7703
commit f671d0513c
33 changed files with 68 additions and 68 deletions

View File

@@ -241,7 +241,7 @@ nlm: prebuild $(TARGET).nlm
lib: prebuild $(TARGET).$(LIBEXT)
prebuild: $(OBJDIR) $(CURL_INC)/curl/curlbuild.h $(OBJDIR)/version.inc config.h
prebuild: $(OBJDIR) $(CURL_INC)/curl/curlbuild.h $(OBJDIR)/version.inc curl_config.h
$(OBJDIR)/%.o: %.c
# @echo Compiling $<
@@ -263,7 +263,7 @@ ifdef WITH_SSL
endif
clean:
-$(RM) config.h
-$(RM) curl_config.h
-$(RM) -r $(OBJDIR)
distclean: clean
@@ -373,7 +373,7 @@ ifeq ($(findstring nlmconv,$(LD)),nlmconv)
@echo $(DL)output $(TARGET).nlm$(DL) >> $@
endif
config.h: Makefile.netware
curl_config.h: Makefile.netware
@echo Creating $@
@echo $(DL)/* $@ for NetWare target.$(DL) > $@
@echo $(DL)** Do not edit this file - it is created by make!$(DL) >> $@