]> granicus.if.org Git - apache/commitdiff
Fixing up a dependancy problem and making sure that the platform header
authorBradley Nicholes <bnicholes@apache.org>
Mon, 12 Aug 2002 15:47:32 +0000 (15:47 +0000)
committerBradley Nicholes <bnicholes@apache.org>
Mon, 12 Aug 2002 15:47:32 +0000 (15:47 +0000)
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

srclib/pcre/NWGNUmakefile

index 4d995adbce181b293dd5e113e45a8c18d0261bf3..27dcce5b2c2a90072ac8f3e941f254b36bf48217 100644 (file)
@@ -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)