NWGNUmakefile revision 72a9c5f539fe583767651852c0b53ce81a9054b5
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Declare the sub-directories to be built here
8492a2583e10c69f40de92f9d5da884b64d9f379fuankg $(APR_WORK)/build \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Get the 'head' of the build environment. This includes default targets and
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# paths to tools
8492a2583e10c69f40de92f9d5da884b64d9f379fuankginclude $(AP_WORK)/build/NWGNUhead.inc
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# build this level's files
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesFILES_prebuild_headers = \
72a9c5f539fe583767651852c0b53ce81a9054b5fuankgnlms :: libs $(NWOS)/httpd.imp $(DAV)/main/dav.imp $(STDMOD)/cache/mod_cache.imp
8d6e239d0e0aa0593fd93b4fef193d8c51b61b3cfuankglibs :: chkapr $(NWOS)/chartables.c
943fe3052a481f6980c5a489ff767c6effb581e2fuankg$(DAV)/main/dav.imp : make_nw_export.awk $(DAV)/main/mod_dav.h
943fe3052a481f6980c5a489ff767c6effb581e2fuankg @echo $(DL)GEN $@$(DL)
9b761068843e8072da6d00a5d59972bdba793426fuankg $(AWK) -v EXPPREFIX=AP$(VERSION_MAJMIN) -f $^ >$@
72a9c5f539fe583767651852c0b53ce81a9054b5fuankg$(STDMOD)/cache/mod_cache.imp: make_nw_export.awk $(STDMOD)/cache/mod_cache.h $(STDMOD)/cache/cache_util.h
72a9c5f539fe583767651852c0b53ce81a9054b5fuankg @echo $(DL)GEN $@$(DL)
72a9c5f539fe583767651852c0b53ce81a9054b5fuankg $(AWK) -v EXPPREFIX=AP$(VERSION_MAJMIN) -f $^ >$@
0662ed52e814f8f08ef0e09956413a792584eddffuankg @echo $(DL)GEN $@$(DL)
9b761068843e8072da6d00a5d59972bdba793426fuankg $(AWK) -v EXPPREFIX=AP$(VERSION_MAJMIN) -f $^ >$@
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesnw_export.i : nw_export.inc $(FILES_prebuild_headers) cc.opt
0662ed52e814f8f08ef0e09956413a792584eddffuankg @echo $(DL)GEN $@$(DL)
0662ed52e814f8f08ef0e09956413a792584eddffuankgcc.opt : NWGNUmakefile $(APBUILD)/NWGNUenvironment.inc $(APBUILD)/NWGNUtail.inc $(APBUILD)/NWGNUhead.inc
0662ed52e814f8f08ef0e09956413a792584eddffuankg @echo $(DL)-P$(DL)> $@
0662ed52e814f8f08ef0e09956413a792584eddffuankg @echo $(DL)-EP$(DL)>> $@
0662ed52e814f8f08ef0e09956413a792584eddffuankg @echo $(DL)-nosyspath$(DL)>> $@
0662ed52e814f8f08ef0e09956413a792584eddffuankg @echo $(DL)-w nocmdline$(DL)>> $@
0662ed52e814f8f08ef0e09956413a792584eddffuankg @echo $(DL)$(DEFINES)$(DL)>> $@
0662ed52e814f8f08ef0e09956413a792584eddffuankg @echo $(DL)-I$(SRC)/include$(DL)>> $@
0662ed52e814f8f08ef0e09956413a792584eddffuankg @echo $(DL)-I$(HTTPD)$(DL)>> $@
0662ed52e814f8f08ef0e09956413a792584eddffuankg @echo $(DL)-I$(STDMOD)/aaa$(DL)>> $@
0662ed52e814f8f08ef0e09956413a792584eddffuankg @echo $(DL)-I$(STDMOD)/core$(DL)>> $@
0662ed52e814f8f08ef0e09956413a792584eddffuankg @echo $(DL)-I$(NWOS)$(DL)>> $@
0662ed52e814f8f08ef0e09956413a792584eddffuankg @echo $(DL)-I$(SERVER)/mpm/netware$(DL)>> $@
0662ed52e814f8f08ef0e09956413a792584eddffuankg @echo $(DL)-I$(APR)/include$(DL)>> $@
0662ed52e814f8f08ef0e09956413a792584eddffuankg @echo $(DL)-I$(APRUTIL)/include$(DL)>> $@
0662ed52e814f8f08ef0e09956413a792584eddffuankg @echo $(DL)-ir $(NOVELLLIBC)$(DL)>> $@
a98bbfa5321ae1a34a6cdfb3881bd6e4cee73f60fuankg$(SRC)/include/ap_config_layout.h: $(NWOS)/netware_config_layout.h
a98bbfa5321ae1a34a6cdfb3881bd6e4cee73f60fuankg @echo Creating $@
a98bbfa5321ae1a34a6cdfb3881bd6e4cee73f60fuankg $(call COPY,$<,$@)
0662ed52e814f8f08ef0e09956413a792584eddffuankg$(PCRE)/%.h: $(PCRE)/%.h.generic
0662ed52e814f8f08ef0e09956413a792584eddffuankg @echo Creating $@
0662ed52e814f8f08ef0e09956413a792584eddffuankg $(call COPY,$<,$@)
0662ed52e814f8f08ef0e09956413a792584eddffuankg$(PCRE)/%.h: $(PCRE)/%.hw
0662ed52e814f8f08ef0e09956413a792584eddffuankg @echo Creating $@
0662ed52e814f8f08ef0e09956413a792584eddffuankg $(call COPY,$<,$@)
cc319b1efed8edecf2e68e4109406f48ca5af6effuankgifneq "$(BUILDTOOL_AS_NLM)" "1"
0662ed52e814f8f08ef0e09956413a792584eddffuankg @echo $(DL)GEN $@$(DL)
0662ed52e814f8f08ef0e09956413a792584eddffuankg @echo $(DL)Creating Build Helper $@$(DL)
5d1d3e66e568daceb3277ca49475a4f469baf426fuankg $(HOST_CC) $(HOST_CFLAGS) -DHAVE_CONFIG_H $< -o $@
0662ed52e814f8f08ef0e09956413a792584eddffuankg$(NWOS)/test_char.h: gen_test_char.exe $(SERVER)/gen_test_char.c
0662ed52e814f8f08ef0e09956413a792584eddffuankg @echo $(DL)GEN $@$(DL)
0662ed52e814f8f08ef0e09956413a792584eddffuankg%.exe: $(SERVER)/%.c
0662ed52e814f8f08ef0e09956413a792584eddffuankg @echo $(DL)Creating Build Helper $@$(DL)
5d1d3e66e568daceb3277ca49475a4f469baf426fuankg $(HOST_CC) $(HOST_CFLAGS) -DCROSS_COMPILE $< -o $@
cc319b1efed8edecf2e68e4109406f48ca5af6effuankgifneq "$(wildcard $(NWOS)/chartables.c)" "$(NWOS)/chartables.c"
7995fdac78f2c72195ecd6472b39c889ebc71fe7fuankg$(error Error: required source $(NWOS)/chartables.c not found!)
cc319b1efed8edecf2e68e4109406f48ca5af6effuankgifneq "$(wildcard $(NWOS)/test_char.h)" "$(NWOS)/test_char.h"
7995fdac78f2c72195ecd6472b39c889ebc71fe7fuankg$(error Error: required header $(NWOS)/test_char.h not found!)
fc6b42a7c93753249b9b6ceb5186a804bf314c22fuankg# Check for minimum APR version
0662ed52e814f8f08ef0e09956413a792584eddffuankgchkapr: $(APR)/build/nw_ver.awk $(APR)/include/apr_version.h
0662ed52e814f8f08ef0e09956413a792584eddffuankg @echo $(DL)Checking for APR version...$(DL)
5d1d3e66e568daceb3277ca49475a4f469baf426fuankg $(AWK) -v WANTED=$(APR_WANTED) -f $^
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# You can use this target if all that is needed is to copy files to the
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# installation area
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesinstall :: nlms FORCE
a98bbfa5321ae1a34a6cdfb3881bd6e4cee73f60fuankg $(call DEL,$(SRC)/include/ap_config_layout.h)
0662ed52e814f8f08ef0e09956413a792584eddffuankg $(call DEL,$(PCRE)/config.h)
0662ed52e814f8f08ef0e09956413a792584eddffuankg $(call DEL,$(PCRE)/pcre.h)
72a9c5f539fe583767651852c0b53ce81a9054b5fuankg $(call DEL,$(STDMOD)/cache/mod_cache.imp)
943fe3052a481f6980c5a489ff767c6effb581e2fuankg $(call DEL,$(DAV)/main/dav.imp)
0662ed52e814f8f08ef0e09956413a792584eddffuankg $(call DEL,$(NWOS)/httpd.imp)
0662ed52e814f8f08ef0e09956413a792584eddffuankg $(call DEL,cc.opt)
cc319b1efed8edecf2e68e4109406f48ca5af6effuankgifneq "$(BUILDTOOL_AS_NLM)" "1"
0662ed52e814f8f08ef0e09956413a792584eddffuankg $(call DEL,$(NWOS)/chartables.c)
0662ed52e814f8f08ef0e09956413a792584eddffuankg $(call DEL,$(NWOS)/test_char.h)
34a74d61abaed4080bd369454c1f2f9730aeabaefuankg# Include the 'tail' makefile that has targets that depend on variables defined
34a74d61abaed4080bd369454c1f2f9730aeabaefuankg# in this makefile
0662ed52e814f8f08ef0e09956413a792584eddffuankginclude $(APBUILD)/NWGNUtail.inc