2 # Declare the sub-directories to be built here
10 # Get the 'head' of the build environment. This includes default targets and
14 include $(AP_WORK)\build\NWGNUhead.inc
17 # build this level's files
19 FILES_prebuild_headers = \
24 nlms :: chkapr $(NWOS)/httpd.imp
26 $(NWOS)/httpd.imp : make_nw_export.awk nw_export.i
27 @echo Generating $(subst /,\,$@)
28 $(AWK) -f make_nw_export.awk nw_export.i | sort >$(NWOS)/httpd.imp
30 nw_export.i : nw_export.inc $(FILES_prebuild_headers) cc.opt
31 @echo Generating $(subst /,\,$@)
34 cc.opt : NWGNUmakefile $(AP_WORK)\build\NWGNUenvironment.inc $(AP_WORK)\build\NWGNUtail.inc $(AP_WORK)\build\NWGNUhead.inc
38 @echo -nosyspath >> $@
39 @echo -w nocmdline >> $@
40 @echo $(DEFINES) >> $@
41 @echo -DCORE_PRIVATE >> $@
42 @echo -I..\include >> $@
43 @echo -I..\modules\http >> $@
44 @echo -I..\modules\aaa >> $@
45 @echo -I..\os\netware >> $@
46 @echo -I..\server\mpm\netware >> $@
47 @echo -I$(APR)\include >> $@
48 @echo -I$(APRUTIL)\include >> $@
49 @echo -ir $(NOVELLLIBC) >> $@
51 $(PCRE)/%.h: $(subst /,\,$(PCRE))\%.hw
52 @echo Creating $(subst /,\,$@)
53 copy $< $(subst /,\,$(PCRE))\$(@F)
56 # Check for minimum APR version
58 chkapr: $(APR)\build\nw_ver.awk $(APR)\include\apr_version.h
59 @echo Checking for APR version...
60 @$(AWK) -v WANTED=$(APR_WANTED) -f $^
63 # You can use this target if all that is needed is to copy files to the
69 $(CHK) $(subst /,\,$(PCRE))\config.h $(DEL) $(subst /,\,$(PCRE))\config.h
70 $(CHK) $(subst /,\,$(PCRE))\pcre.h $(DEL) $(subst /,\,$(PCRE))\pcre.h
71 $(CHK) $(subst /,\,$(NWOS))\httpd.imp $(DEL) $(subst /,\,$(NWOS))\httpd.imp
72 $(CHK) nw_export.i $(DEL) nw_export.i
73 $(CHK) cc.opt $(DEL) cc.opt
74 $(CHK) NWGNUversion.inc $(DEL) NWGNUversion.inc