]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
bachkport fix for Netware exports prefixing.
authorGuenter Knauf <fuankg@apache.org>
Fri, 17 Jul 2009 16:03:10 +0000 (16:03 +0000)
committerGuenter Knauf <fuankg@apache.org>
Fri, 17 Jul 2009 16:03:10 +0000 (16:03 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@795127 13f79535-47bb-0310-9956-ffa450edef68

build/NWGNUmakefile
build/make_nw_export.awk

index 423a73d9e1517d89466bde96d1b46c9424d29141..c99c95d86aa0901dcba8f50c712e0d75cbba8340 100644 (file)
@@ -27,7 +27,7 @@ nlms :: $(NWOS)/httpd.imp
 
 $(NWOS)/httpd.imp : make_nw_export.awk nw_export.i
        @echo Generating $(subst /,\,$@)
-       $(AWK) -f make_nw_export.awk nw_export.i | sort >$(NWOS)/httpd.imp
+       $(AWK) -v EXPPREFIX=AP$(VERSION_MAJMIN) -f $^ | sort >$@
     
 nw_export.i : nw_export.inc $(FILES_prebuild_headers) cc.opt
        @echo Generating $(subst /,\,$@)
@@ -67,7 +67,6 @@ $(PCRE)/%.h: $(subst /,\,$(PCRE))\%.hw
 # installation area
 #
 install :: nlms FORCE
-       
 
 clean ::
        $(CHK) nw_export.i                                  $(DEL) nw_export.i
@@ -77,4 +76,11 @@ clean ::
        $(CHK) $(subst /,\,$(PCRE))\pcre.h                  $(DEL) $(subst /,\,$(PCRE))\pcre.h
        $(CHK) $(subst /,\,$(NWOS))\httpd.imp               $(DEL) $(subst /,\,$(NWOS))\httpd.imp
        $(MAKE) -C $(APR) -f NWGNUmakefile clean
+
+#
+# Include the 'tail' makefile that has targets that depend on variables defined
+# in this makefile
+#
+
+include $(AP_WORK)\build\NWGNUtail.inc
     
index b958903cb22126712d8d79a6b8ec6c8833921894..ca6e6a07029c45de8301aeb82b6394b8031e5b55 100644 (file)
@@ -18,7 +18,7 @@
 # based on Ryan Bloom's make_export.pl
 
 BEGIN {
-    printf(" (APACHE2)\n")
+    printf(" ("EXPPREFIX")\n")
 }
 
 # List of functions that we don't support, yet??