summaryrefslogtreecommitdiff
path: root/build/NWGNUmakefile
diff options
context:
space:
mode:
authorGuenter Knauf <fuankg@apache.org>2011-03-20 19:14:45 +0000
committerGuenter Knauf <fuankg@apache.org>2011-03-20 19:14:45 +0000
commit10b8e047534882345bc1dbabcefbd68f99543ed2 (patch)
treecefe8006a6492d7e45482f8bd4ff23b61ab1c56e /build/NWGNUmakefile
parentdb1cf0ac7ff71870c5bacc96aa3125575d98f2b1 (diff)
downloadhttpd-10b8e047534882345bc1dbabcefbd68f99543ed2.tar.gz
Create dav.imp dynamically from header to catch all exports.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1083540 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/NWGNUmakefile')
-rw-r--r--build/NWGNUmakefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/build/NWGNUmakefile b/build/NWGNUmakefile
index 30a1fd4e5c..8d730d6b29 100644
--- a/build/NWGNUmakefile
+++ b/build/NWGNUmakefile
@@ -22,10 +22,14 @@ FILES_prebuild_headers = \
$(PCRE)/pcre.h \
$(EOLIST)
-nlms :: libs $(NWOS)/httpd.imp
+nlms :: libs $(NWOS)/httpd.imp $(DAV)/main/dav.imp
libs :: chkapr $(NWOS)/chartables.c
+$(DAV)/main/dav.imp : make_nw_export.awk $(DAV)/main/mod_dav.h
+ @echo $(DL)GEN $@$(DL)
+ $(AWK) -v EXPPREFIX=AP$(VERSION_MAJMIN) -f $^ | $(SORT) >$@
+
$(NWOS)/httpd.imp : make_nw_export.awk nw_export.i
@echo $(DL)GEN $@$(DL)
$(AWK) -v EXPPREFIX=AP$(VERSION_MAJMIN) -f $^ | $(SORT) >$@
@@ -104,6 +108,7 @@ install :: nlms FORCE
clean ::
$(call DEL,$(PCRE)/config.h)
$(call DEL,$(PCRE)/pcre.h)
+ $(call DEL,$(DAV)/main/dav.imp)
$(call DEL,$(NWOS)/httpd.imp)
$(call DEL,nw_export.i)
$(call DEL,cc.opt)