]> granicus.if.org Git - apache/commitdiff
Some NetWare build tweaks: generate proxy import list.
authorGuenter Knauf <fuankg@apache.org>
Sat, 29 Oct 2011 14:30:59 +0000 (14:30 +0000)
committerGuenter Knauf <fuankg@apache.org>
Sat, 29 Oct 2011 14:30:59 +0000 (14:30 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1194896 13f79535-47bb-0310-9956-ffa450edef68

build/NWGNUmakefile
build/make_nw_export.awk

index 8e588aeae733aeea4854b4df0e6b0a07d6670c1d..684c7302f99d4f5162264a6c318dfdcddc410e24 100644 (file)
@@ -23,7 +23,7 @@ FILES_prebuild_headers = \
        $(PCRE)/pcre.h \
        $(EOLIST) 
     
-nlms :: libs $(NWOS)/httpd.imp $(DAV)/main/dav.imp
+nlms :: libs $(NWOS)/httpd.imp $(DAV)/main/dav.imp $(PROXY)/proxy.imp
 
 libs :: chkapr $(NWOS)/chartables.c
 
@@ -31,6 +31,10 @@ $(DAV)/main/dav.imp : make_nw_export.awk $(DAV)/main/mod_dav.h
        @echo $(DL)GEN  $@$(DL)
        $(AWK) -v EXPPREFIX=AP$(VERSION_MAJMIN) -f $^ >$@
 
+$(PROXY)/proxy.imp : make_nw_export.awk $(PROXY)/mod_proxy.h
+       @echo $(DL)GEN  $@$(DL)
+       $(AWK) -v EXPPREFIX=AP$(VERSION_MAJMIN) -f $^ >$@
+
 $(NWOS)/httpd.imp : make_nw_export.awk nw_export.i
        @echo $(DL)GEN  $@$(DL)
        $(AWK) -v EXPPREFIX=AP$(VERSION_MAJMIN) -f $^ >$@
@@ -115,6 +119,7 @@ clean ::
        $(call DEL,$(PCRE)/config.h)
        $(call DEL,$(PCRE)/pcre.h)
        $(call DEL,$(DAV)/main/dav.imp)
+       $(call DEL,$(PROXY)/proxy.imp)
        $(call DEL,$(NWOS)/httpd.imp)
        $(call DEL,nw_export.i)
        $(call DEL,cc.opt)
index 52f43e531c958eaa28860d5e97a425fde3343ab9..4c88c8bb67857c1a7d9e8339250cbb402d305bf9 100644 (file)
@@ -29,8 +29,8 @@ function add_symbol(sym_name) {
 #/ap_some_name/{next}
 /ap_mpm_pod_/{next}
 
-/^[ \t]*(AP|DAV)([RU]|_CORE)?_DECLARE[^(]*[(][^)]*[)]([^ ]* )*[^(]+[(]/ {
-    sub("[ \t]*(AP|DAV)([RU]|_CORE)?_DECLARE[^(]*[(][^)]*[)][ \t]*", "")
+/^[ \t]*(AP|DAV|PROXY)([RU]|_CORE)?_DECLARE[^(]*[(][^)]*[)]([^ ]* )*[^(]+[(]/ {
+    sub("[ \t]*(AP|DAV|PROXY)([RU]|_CORE)?_DECLARE[^(]*[(][^)]*[)][ \t]*", "")
     sub("[(].*", "")
     sub("([^ ]* (^([ \t]*[(])))+", "")
     add_symbol($0)