NWGNUmakefile revision b73cd3195994247cfba2842f4b794058384114cd
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Declare the sub-directories to be built here
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesSUBDIRS = \
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
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesnlms :: $(NWOS)/httpd.imp
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes$(NWOS)/httpd.imp : make_nw_export.awk nw_export.i
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes @echo Generating $(subst /,\,$@)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes awk -f make_nw_export.awk nw_export.i | sort >$(NWOS)/httpd.imp
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
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
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes