From: Gunter Knauf Date: Tue, 3 Jul 2007 00:50:40 +0000 (+0000) Subject: fixed rule to build libcares when needed. X-Git-Tag: curl-7_16_4~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=70f8068d4d83121c816dea4fd8d0ec4fcf0c980f;p=curl fixed rule to build libcares when needed. --- diff --git a/lib/Makefile.netware b/lib/Makefile.netware index 9ff6abf56..f484f5eaf 100644 --- a/lib/Makefile.netware +++ b/lib/Makefile.netware @@ -539,7 +539,7 @@ else @echo ipv6 support: no endif -$(LIBCARES): +$(ARES_LIB)/libcares.$(LIBEXT): $(MAKE) -C $(ARES_LIB) -f Makefile.netware lib diff --git a/src/Makefile.netware b/src/Makefile.netware index 8bcaa76dd..bb172690b 100644 --- a/src/Makefile.netware +++ b/src/Makefile.netware @@ -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 + +