NWGNUmakefile revision 34a74d61abaed4080bd369454c1f2f9730aeabae
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Declare the sub-directories to be built here
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesSUBDIRS = \
8998b084404674cc3f4e3f23a11933cd1c03a631fuankg $(APR_WORK)\build \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Get the 'head' of the build environment. This includes default targets and
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# paths to tools
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesinclude $(AP_WORK)\build\NWGNUhead.inc
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# build this level's files
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesFILES_prebuild_headers = \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(PCRE)/config.h \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(PCRE)/pcre.h \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
fc6b42a7c93753249b9b6ceb5186a804bf314c22fuankgnlms :: chkapr $(NWOS)/httpd.imp
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes$(NWOS)/httpd.imp : make_nw_export.awk nw_export.i
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes @echo Generating $(subst /,\,$@)
34a74d61abaed4080bd369454c1f2f9730aeabaefuankg $(AWK) -v EXPPREFIX=AP$(VERSION_MAJMIN) -f $^ | sort >$@
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesnw_export.i : nw_export.inc $(FILES_prebuild_headers) cc.opt
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes @echo Generating $(subst /,\,$@)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(CC) $< @cc.opt
b73cd3195994247cfba2842f4b794058384114cdfuankg
bb2b38cd44b032118359afbc743efbea12f48e61bnicholescc.opt : NWGNUmakefile $(AP_WORK)\build\NWGNUenvironment.inc $(AP_WORK)\build\NWGNUtail.inc $(AP_WORK)\build\NWGNUhead.inc
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(CHK) $@ $(DEL) $@
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes @echo -P >> $@
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes @echo -EP >> $@
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes @echo -nosyspath >> $@
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes @echo -w nocmdline >> $@
9558e9fdb620dd6f42ca93beac6c3ab734086706bnicholes @echo $(DEFINES) >> $@
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes @echo -DCORE_PRIVATE >> $@
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes @echo -I..\include >> $@
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes @echo -I..\modules\http >> $@
2b32c9f6c744852dcd34344add090be19d2f6fbbbnicholes @echo -I..\modules\aaa >> $@
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes @echo -I..\os\netware >> $@
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes @echo -I..\server\mpm\netware >> $@
c5ef27ed1cf15c6b6345335c51416d2ea36198bfbnicholes @echo -I$(APR)\include >> $@
70953fb44a7140fe206c3a5f011e24209c8c5c6abnicholes @echo -I$(APRUTIL)\include >> $@
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes @echo -ir $(NOVELLLIBC) >> $@
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes$(PCRE)/%.h: $(subst /,\,$(PCRE))\%.hw
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes @echo Creating $(subst /,\,$@)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes copy $< $(subst /,\,$(PCRE))\$(@F)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
fc6b42a7c93753249b9b6ceb5186a804bf314c22fuankg#
fc6b42a7c93753249b9b6ceb5186a804bf314c22fuankg# Check for minimum APR version
fc6b42a7c93753249b9b6ceb5186a804bf314c22fuankg#
fc6b42a7c93753249b9b6ceb5186a804bf314c22fuankgchkapr: $(APR)\build\nw_ver.awk $(APR)\include\apr_version.h
fc6b42a7c93753249b9b6ceb5186a804bf314c22fuankg @echo Checking for APR version...
fc6b42a7c93753249b9b6ceb5186a804bf314c22fuankg @$(AWK) -v WANTED=$(APR_WANTED) -f $^
fc6b42a7c93753249b9b6ceb5186a804bf314c22fuankg
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# You can use this target if all that is needed is to copy files to the
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# installation area
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesinstall :: nlms FORCE
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesclean ::
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(CHK) $(subst /,\,$(PCRE))\config.h $(DEL) $(subst /,\,$(PCRE))\config.h
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(CHK) $(subst /,\,$(PCRE))\pcre.h $(DEL) $(subst /,\,$(PCRE))\pcre.h
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(CHK) $(subst /,\,$(NWOS))\httpd.imp $(DEL) $(subst /,\,$(NWOS))\httpd.imp
b73cd3195994247cfba2842f4b794058384114cdfuankg $(CHK) nw_export.i $(DEL) nw_export.i
b73cd3195994247cfba2842f4b794058384114cdfuankg $(CHK) cc.opt $(DEL) cc.opt
b73cd3195994247cfba2842f4b794058384114cdfuankg $(CHK) NWGNUversion.inc $(DEL) NWGNUversion.inc
b73cd3195994247cfba2842f4b794058384114cdfuankg
34a74d61abaed4080bd369454c1f2f9730aeabaefuankg#
34a74d61abaed4080bd369454c1f2f9730aeabaefuankg# Include the 'tail' makefile that has targets that depend on variables defined
34a74d61abaed4080bd369454c1f2f9730aeabaefuankg# in this makefile
34a74d61abaed4080bd369454c1f2f9730aeabaefuankg#
34a74d61abaed4080bd369454c1f2f9730aeabaefuankg
34a74d61abaed4080bd369454c1f2f9730aeabaefuankginclude $(AP_WORK)\build\NWGNUtail.inc
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes