$(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 /,\,$@)
$(CHK) cc.opt $(DEL) cc.opt
$(CHK) NWGNUversion.inc $(DEL) NWGNUversion.inc
+#
+# Include the 'tail' makefile that has targets that depend on variables defined
+# in this makefile
+#
+
+include $(AP_WORK)\build\NWGNUtail.inc
$(EOLIST)
ifeq "$(words $(strip $(TARGET_lib)))" "1"
-LIB_NAME = $(basename $(notdir $(TARGET_lib)))
+LIB_NAME = $(basename $(notdir $(TARGET_lib)))
$(LIB_NAME)_LIBLST_DEPENDS = \
$(FILES_lib_objs) \
$(AP_WORK)\build\NWGNUenvironment.inc \
# Generic compiler rules
#
-$(AP_WORK)\build\NWGNUversion.inc : $(AP_WORK)\include\ap_release.h $(AP_WORK)\build\nw_ver.awk
+ifneq ($(MAKECMDGOALS),clean)
+$(AP_WORK)/build/NWGNUversion.inc : $(AP_WORK)/build/nw_ver.awk $(AP_WORK)/include/ap_release.h
@echo Generating $(subst /,\,$@)
- $(AWK) -f $(AP_WORK)\build\nw_ver.awk $(AP_WORK)\include\ap_release.h > $(AP_WORK)\build\NWGNUversion.inc
+ $(AWK) -f $^ > $@
-include $(AP_WORK)\build\NWGNUversion.inc
ifneq "$(strip $(VERSION_STR))" ""
VERSION_INC = $(AP_WORK)\build\NWGNUversion.inc
else
-VERSION = 2,0,0
-VERSION_STR = 2.0.0
+VERSION = 2,3,0
+VERSION_STR = 2.3.0
+endif
+VERSION_MAJMIN = 23
endif
# based on Ryan Bloom's make_export.pl
BEGIN {
- printf(" (APACHE2)\n")
+ printf(" ("EXPPREFIX")\n")
}
# List of functions that we don't support, yet??