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 = \
19 $(APR)/include/apr.h \
20 $(APRUTIL)/include/apu.h \
21 $(APRUTIL)/include/apr_ldap.h \
26 nlms :: $(NWOS)/httpd.imp
28 $(NWOS)/httpd.imp : make_nw_export.awk nw_export.i
29 @echo Generating $(subst /,\,$@)
30 awk -f make_nw_export.awk nw_export.i | sort >$(NWOS)/httpd.imp
32 nw_export.i : nw_export.inc $(FILES_prebuild_headers) cc.opt
33 @echo Generating $(subst /,\,$@)
36 cc.opt : NWGNUmakefile $(AP_WORK)\build\NWGNUenvironment.inc $(AP_WORK)\build\NWGNUtail.inc $(AP_WORK)\build\NWGNUhead.inc
40 @echo -nosyspath >> $@
41 @echo -w nocmdline >> $@
42 @echo $(DEFINES) >> $@
43 @echo -DCORE_PRIVATE >> $@
44 @echo -I..\include >> $@
45 @echo -I..\modules\http >> $@
46 @echo -I..\modules\aaa >> $@
47 @echo -I..\os\netware >> $@
48 @echo -I..\server\mpm\netware >> $@
49 @echo -I$(APR)\include >> $@
50 @echo -I$(APRUTIL)\include >> $@
51 @echo -ir $(NOVELLLIBC) >> $@
53 $(APR)/include/%.h: $(subst /,\,$(APR))\include\%.hnw
54 @echo Creating $(subst /,\,$@)
55 copy $< $(subst /,\,$(APR))\include\$(@F)
57 $(APRUTIL)/include/%.h: $(subst /,\,$(APRUTIL))\include\%.hnw
58 @echo Creating $(subst /,\,$@)
59 copy $< $(subst /,\,$(APRUTIL))\include\$(@F)
61 $(PCRE)/%.h: $(subst /,\,$(PCRE))\%.hw
62 @echo Creating $(subst /,\,$@)
63 copy $< $(subst /,\,$(PCRE))\$(@F)
66 # You can use this target if all that is needed is to copy files to the
73 $(CHK) nw_export.i $(DEL) nw_export.i
74 $(CHK) cc.opt $(DEL) cc.opt
75 $(CHK) NWGNUversion.inc $(DEL) NWGNUversion.inc
76 $(CHK) $(subst /,\,$(APR))\include\apr.h $(DEL) $(subst /,\,$(APR))\include\apr.h
77 $(CHK) $(subst /,\,$(APRUTIL))\include\apu.h $(DEL) $(subst /,\,$(APRUTIL))\include\apu.h
78 $(CHK) $(subst /,\,$(APRUTIL))\include\apr_ldap.h $(DEL) $(subst /,\,$(APRUTIL))\include\apr_ldap.h
79 $(CHK) $(subst /,\,$(PCRE))\config.h $(DEL) $(subst /,\,$(PCRE))\config.h
80 $(CHK) $(subst /,\,$(PCRE))\pcre.h $(DEL) $(subst /,\,$(PCRE))\pcre.h
81 $(CHK) $(subst /,\,$(NWOS))\httpd.imp $(DEL) $(subst /,\,$(NWOS))\httpd.imp