From: Bradley Nicholes Date: Tue, 26 Nov 2002 00:13:50 +0000 (+0000) Subject: Cleaning up the NetWare make files so that they detect and find the zlib X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dc8789f2b3c367f6a308ebe8310f01b479257025;p=apache Cleaning up the NetWare make files so that they detect and find the zlib source correctly git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97654 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/build/NWGNUenvironment.inc b/build/NWGNUenvironment.inc index 16bb067658..8cbea7b350 100644 --- a/build/NWGNUenvironment.inc +++ b/build/NWGNUenvironment.inc @@ -44,6 +44,11 @@ endif # LDAPSDK = C:/novell/ndk/cldapsdk # endif +# This is a placeholder +# ifndef ZLIBSDK +# ZLIBSDK = C:/novell/ndk/zlibsdk +# endif + ifndef METROWERKS METROWERKS = C:\Program Files\Metrowerks\CodeWarrior endif @@ -117,6 +122,9 @@ INCDIRS = $(NOVELLLIBC)\include;$(NOVELLLIBC)\include\nks;$(NOVELLLIBC)\include ifneq "$(LDAPSDK)" "" INCDIRS := $(INCDIRS);$(LDAPSDK)/inc endif +ifneq "$(ZLIBSDK)" "" +INCDIRS := $(INCDIRS);$(ZLIBSDK) +endif DEFINES = -DNETWARE diff --git a/modules/filters/NWGNUdeflate b/modules/filters/NWGNUdeflate index 94b80107d1..b39035d660 100644 --- a/modules/filters/NWGNUdeflate +++ b/modules/filters/NWGNUdeflate @@ -33,7 +33,6 @@ XINCDIRS += \ $(AP_WORK)/srclib/apr/include \ $(AP_WORK)/srclib/apr-util/include \ $(AP_WORK)/srclib/apr \ - $(AP_WORK)/srclib/zlib \ $(EOLIST) # @@ -265,10 +264,11 @@ install :: nlms FORCE # Any specialized rules here # -$(OBJDIR)/%.o: ../../srclib/zlib/%.c $(OBJDIR)\cc.opt +ifneq "$(ZLIBSDK)" "" +$(OBJDIR)/%.o: $(ZLIBSDK)/%.c $(OBJDIR)\cc.opt @echo Compiling $< - $(CC) ..\..\srclib\zlib\$(