From 70f8068d4d83121c816dea4fd8d0ec4fcf0c980f Mon Sep 17 00:00:00 2001 From: Gunter Knauf Date: Tue, 3 Jul 2007 00:50:40 +0000 Subject: fixed rule to build libcares when needed. --- lib/Makefile.netware | 2 +- src/Makefile.netware | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) 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 + + -- cgit v1.2.3