NWGNUmakefile revision 2b32c9f6c744852dcd34344add090be19d2f6fbb
486N/A#
486N/A# Declare the sub-directories to be built here
486N/A#
486N/A
486N/ASUBDIRS = \
486N/A $(EOLIST)
486N/A
486N/A#
486N/A# Get the 'head' of the build environment. This includes default targets and
486N/A# paths to tools
486N/A#
486N/A
486N/Ainclude $(AP_WORK)\build\NWGNUhead.inc
486N/A
486N/A#
486N/A# build this level's files
486N/A
486N/AFILES_prebuild_headers = \
486N/A $(APR)/include/apr.h \
873N/A $(APRUTIL)/include/apu.h \
486N/A $(APRUTIL)/include/apr_ldap.h \
486N/A $(PCRE)/config.h \
486N/A $(PCRE)/pcre.h \
486N/A $(EOLIST)
486N/A
3233N/Anlms :: $(NWOS)/httpd.imp
5636N/A
486N/A$(NWOS)/httpd.imp : make_nw_export.awk nw_export.i
486N/A @echo Generating $(subst /,\,$@)
486N/A awk -f make_nw_export.awk nw_export.i | sort >$(NWOS)/httpd.imp
5636N/A
5636N/Anw_export.i : nw_export.inc $(FILES_prebuild_headers) cc.opt
486N/A @echo Generating $(subst /,\,$@)
2976N/A $(CC) $< @cc.opt
2976N/A
536N/Acc.opt : NWGNUmakefile $(AP_WORK)\build\NWGNUenvironment.inc $(AP_WORK)\build\NWGNUtail.inc $(AP_WORK)\build\NWGNUhead.inc
486N/A $(CHK) $@ $(DEL) $@
1194N/A @echo -P >> $@
@echo -EP >> $@
@echo -nosyspath >> $@
@echo -w nocmdline >> $@
@echo -DNETWARE >> $@
@echo -DCORE_PRIVATE >> $@
@echo -I..\include >> $@
@echo -I..\modules\http >> $@
@echo -I..\modules\aaa >> $@
@echo -I..\os\netware >> $@
@echo -I..\server\mpm\netware >> $@
@echo -I..\srclib\apr\include >> $@
@echo -I..\srclib\apr-util\include >> $@
@echo -ir $(NOVELLLIBC) >> $@
$(APR)/include/%.h: $(subst /,\,$(APR))\include\%.hnw
@echo Creating $(subst /,\,$@)
copy $< $(subst /,\,$(APR))\include\$(@F)
$(APRUTIL)/include/%.h: $(subst /,\,$(APRUTIL))\include\%.hnw
@echo Creating $(subst /,\,$@)
copy $< $(subst /,\,$(APRUTIL))\include\$(@F)
$(PCRE)/%.h: $(subst /,\,$(PCRE))\%.hw
@echo Creating $(subst /,\,$@)
copy $< $(subst /,\,$(PCRE))\$(@F)
#
# You can use this target if all that is needed is to copy files to the
# installation area
#
install :: nlms FORCE
clean ::
$(CHK) nw_export.i $(DEL) nw_export.i
$(CHK) cc.opt $(DEL) cc.opt
$(CHK) $(subst /,\,$(APR))\include\apr.h $(DEL) $(subst /,\,$(APR))\include\apr.h
$(CHK) $(subst /,\,$(APRUTIL))\include\apu.h $(DEL) $(subst /,\,$(APRUTIL))\include\apu.h
$(CHK) $(subst /,\,$(APRUTIL))\include\apr_ldap.h $(DEL) $(subst /,\,$(APRUTIL))\include\apr_ldap.h
$(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