summaryrefslogtreecommitdiffstats
path: root/srclib
diff options
context:
space:
mode:
authorBradley Nicholes <bnicholes@apache.org>2002-08-12 17:47:32 +0200
committerBradley Nicholes <bnicholes@apache.org>2002-08-12 17:47:32 +0200
commite197d0cf24102a57660be155f8be3df386da6fd5 (patch)
treeca7358f45ab086263e7409f3a67a99de69368c52 /srclib
parentFix support references in binbuild README. (diff)
downloadapache2-e197d0cf24102a57660be155f8be3df386da6fd5.tar.xz
apache2-e197d0cf24102a57660be155f8be3df386da6fd5.zip
Fixing up a dependancy problem and making sure that the platform header
files have been properly renamed before building. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96358 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'srclib')
-rw-r--r--srclib/pcre/NWGNUmakefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/srclib/pcre/NWGNUmakefile b/srclib/pcre/NWGNUmakefile
index 4d995adbce..27dcce5b2c 100644
--- a/srclib/pcre/NWGNUmakefile
+++ b/srclib/pcre/NWGNUmakefile
@@ -12,9 +12,20 @@ SUBDIRS = \
include $(APR_WORK)\build\NWGNUhead.inc
+PCRE = $(AP_WORK)/srclib/pcre
+
#
# build this level's files
+FILES_prebuild_headers = \
+ $(PCRE)/config.h \
+ $(PCRE)/pcre.h \
+ $(EOLIST)
+
+$(PCRE)/%.h: $(subst /,\,$(PCRE))\%.hw
+ @echo Creating $(subst /,\,$@)
+ copy $< $(subst /,\,$(PCRE))\$(@F)
+
#
# Make sure all needed macro's are defined
#
@@ -105,7 +116,7 @@ NLM_NAME = dftables
#
NLM_DESCRIPTION = Generate character tables
-#
+#$(FILES_prebuild_headers)
# This is used by the '-threadname' directive. If left blank,
# NLM_NAME Thread will be used.
#
@@ -171,6 +182,7 @@ TARGET_lib = \
# Paths must all use the '/' character
#
FILES_nlm_objs = \
+ $(FILES_prebuild_headers) \
$(OBJDIR)/dftables.o \
$(EOLIST)