NWGNUmakefile revision ce22ce4743d79a889dca64df4459c598e2c188c7
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding#
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding# Declare the sub-directories to be built here
8d1cf9fc1abcce38714c9f54a51d40e718774decjim#
8d1cf9fc1abcce38714c9f54a51d40e718774decjim
8d1cf9fc1abcce38714c9f54a51d40e718774decjimSUBDIRS = \
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding $(EOLIST)
8d1cf9fc1abcce38714c9f54a51d40e718774decjim
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding#
8d1cf9fc1abcce38714c9f54a51d40e718774decjim# Get the 'head' of the build environment. This includes default targets and
8d1cf9fc1abcce38714c9f54a51d40e718774decjim# paths to tools
8d1cf9fc1abcce38714c9f54a51d40e718774decjim#
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding
8d1cf9fc1abcce38714c9f54a51d40e718774decjiminclude $(AP_WORK)\build\NWGNUhead.inc
8d1cf9fc1abcce38714c9f54a51d40e718774decjim
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding#
8d1cf9fc1abcce38714c9f54a51d40e718774decjim# build this level's files
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding
8d1cf9fc1abcce38714c9f54a51d40e718774decjimFILES_prebuild_headers = \
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding $(PCRE)/config.h \
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding $(PCRE)/pcre.h \
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding $(EOLIST)
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding
0f081398cf0eef8cc7c66a535d450110a92dc8aefieldingnlms :: $(NWOS)/httpd.imp
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding
8d1cf9fc1abcce38714c9f54a51d40e718774decjim$(NWOS)/httpd.imp : make_nw_export.awk nw_export.i
8d1cf9fc1abcce38714c9f54a51d40e718774decjim @echo Generating $(subst /,\,$@)
8d1cf9fc1abcce38714c9f54a51d40e718774decjim awk -f make_nw_export.awk nw_export.i | sort >$(NWOS)/httpd.imp
8d1cf9fc1abcce38714c9f54a51d40e718774decjim
8d1cf9fc1abcce38714c9f54a51d40e718774decjimnw_export.i : nw_export.inc $(FILES_prebuild_headers) cc.opt
8d1cf9fc1abcce38714c9f54a51d40e718774decjim @echo Generating $(subst /,\,$@)
8d1cf9fc1abcce38714c9f54a51d40e718774decjim $(CC) $< @cc.opt
8d1cf9fc1abcce38714c9f54a51d40e718774decjim
8d1cf9fc1abcce38714c9f54a51d40e718774decjimcc.opt : NWGNUmakefile $(AP_WORK)\build\NWGNUenvironment.inc $(AP_WORK)\build\NWGNUtail.inc $(AP_WORK)\build\NWGNUhead.inc
8d1cf9fc1abcce38714c9f54a51d40e718774decjim $(CHK) $@ $(DEL) $@
8d1cf9fc1abcce38714c9f54a51d40e718774decjim @echo -P >> $@
8d1cf9fc1abcce38714c9f54a51d40e718774decjim @echo -EP >> $@
8d1cf9fc1abcce38714c9f54a51d40e718774decjim @echo -nosyspath >> $@
8d1cf9fc1abcce38714c9f54a51d40e718774decjim @echo -w nocmdline >> $@
8d1cf9fc1abcce38714c9f54a51d40e718774decjim @echo $(DEFINES) >> $@
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding @echo -DCORE_PRIVATE >> $@
8d1cf9fc1abcce38714c9f54a51d40e718774decjim @echo -I..\include >> $@
8d1cf9fc1abcce38714c9f54a51d40e718774decjim @echo -I..\modules\http >> $@
8d1cf9fc1abcce38714c9f54a51d40e718774decjim @echo -I..\modules\aaa >> $@
8d1cf9fc1abcce38714c9f54a51d40e718774decjim @echo -I..\os\netware >> $@
8d1cf9fc1abcce38714c9f54a51d40e718774decjim @echo -I..\server\mpm\netware >> $@
8d1cf9fc1abcce38714c9f54a51d40e718774decjim @echo -I$(APR)\include >> $@
8d1cf9fc1abcce38714c9f54a51d40e718774decjim @echo -I$(APRUTIL)\include >> $@
8d1cf9fc1abcce38714c9f54a51d40e718774decjim @echo -ir $(NOVELLLIBC) >> $@
8d1cf9fc1abcce38714c9f54a51d40e718774decjim
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding$(PCRE)/%.h: $(subst /,\,$(PCRE))\%.hw
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding @echo Creating $(subst /,\,$@)
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding copy $< $(subst /,\,$(PCRE))\$(@F)
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding
8d1cf9fc1abcce38714c9f54a51d40e718774decjim#
8d1cf9fc1abcce38714c9f54a51d40e718774decjim# You can use this target if all that is needed is to copy files to the
# installation area
#
install :: nlms FORCE
clean ::
$(CHK) $(subst /,\,$(PCRE))\config.h $(DEL) $(subst /,\,$(PCRE))\config.h
$(CHK) $(subst /,\,$(PCRE))\pcre.h $(DEL) $(subst /,\,$(PCRE))\pcre.h
$(CHK) $(subst /,\,$(NWOS))\httpd.imp $(DEL) $(subst /,\,$(NWOS))\httpd.imp
$(CHK) nw_export.i $(DEL) nw_export.i
$(CHK) cc.opt $(DEL) cc.opt
$(CHK) NWGNUversion.inc $(DEL) NWGNUversion.inc