fixed rule to build libcares when needed.

This commit is contained in:
Gunter Knauf
2007-07-03 00:50:40 +00:00
parent a7513a8521
commit 70f8068d4d
2 changed files with 6 additions and 3 deletions

View File

@@ -539,7 +539,7 @@ else
@echo ipv6 support: no
endif
$(LIBCARES):
$(ARES_LIB)/libcares.$(LIBEXT):
$(MAKE) -C $(ARES_LIB) -f Makefile.netware lib

View File

@@ -204,7 +204,7 @@ OBJS := $(patsubst %.c,$(OBJDIR)/%.o,$(strip $(CURL_SOURCES))) $(OBJX)
vpath %.c $(CURL_LIB)
all: prebuild $(TARGET).nlm
all: prebuild $(TARGET).nlm
prebuild: $(OBJDIR) $(OBJDIR)/version.inc config.h
@@ -465,4 +465,7 @@ hugehelp.c:
@echo Creating $@
@$(CP) hugehelp.c.cvs $@
$(ARES_LIB)/libcares.$(LIBEXT):
$(MAKE) -C $(ARES_LIB) -f Makefile.netware lib