2 # Declare the sub-directories to be built here
9 # Get the 'head' of the build environment. This includes default targets and
13 include $(AP_WORK)\build\NWGNUhead.inc
16 # build this level's files
18 FILES_prebuild_headers = \
23 nlms :: $(NWOS)/httpd.imp
25 $(NWOS)/httpd.imp : make_nw_export.awk nw_export.i
26 @echo Generating $(subst /,\,$@)
27 $(AWK) -f make_nw_export.awk nw_export.i | sort >$(NWOS)/httpd.imp
29 nw_export.i : nw_export.inc $(FILES_prebuild_headers) cc.opt
30 @echo Generating $(subst /,\,$@)
33 cc.opt : NWGNUmakefile $(AP_WORK)\build\NWGNUenvironment.inc $(AP_WORK)\build\NWGNUtail.inc $(AP_WORK)\build\NWGNUhead.inc
37 @echo -nosyspath >> $@
38 @echo -w nocmdline >> $@
39 @echo $(DEFINES) >> $@
40 @echo -DCORE_PRIVATE >> $@
41 @echo -I..\include >> $@
42 @echo -I..\modules\http >> $@
43 @echo -I..\modules\aaa >> $@
44 @echo -I..\os\netware >> $@
45 @echo -I..\server\mpm\netware >> $@
46 @echo -I$(APR)\include >> $@
47 @echo -I$(APRUTIL)\include >> $@
48 @echo -ir $(NOVELLLIBC) >> $@
50 $(PCRE)/%.h: $(subst /,\,$(PCRE))\%.hw
51 @echo Creating $(subst /,\,$@)
52 copy $< $(subst /,\,$(PCRE))\$(@F)
55 # You can use this target if all that is needed is to copy files to the
61 $(CHK) $(subst /,\,$(PCRE))\config.h $(DEL) $(subst /,\,$(PCRE))\config.h
62 $(CHK) $(subst /,\,$(PCRE))\pcre.h $(DEL) $(subst /,\,$(PCRE))\pcre.h
63 $(CHK) $(subst /,\,$(NWOS))\httpd.imp $(DEL) $(subst /,\,$(NWOS))\httpd.imp
64 $(CHK) nw_export.i $(DEL) nw_export.i
65 $(CHK) cc.opt $(DEL) cc.opt
66 $(CHK) NWGNUversion.inc $(DEL) NWGNUversion.inc