summaryrefslogtreecommitdiffstats
path: root/rubbos/app/httpd-2.0.64/srclib/apr/build/NWGNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'rubbos/app/httpd-2.0.64/srclib/apr/build/NWGNUmakefile')
-rw-r--r--rubbos/app/httpd-2.0.64/srclib/apr/build/NWGNUmakefile107
1 files changed, 107 insertions, 0 deletions
diff --git a/rubbos/app/httpd-2.0.64/srclib/apr/build/NWGNUmakefile b/rubbos/app/httpd-2.0.64/srclib/apr/build/NWGNUmakefile
new file mode 100644
index 00000000..b097bcb0
--- /dev/null
+++ b/rubbos/app/httpd-2.0.64/srclib/apr/build/NWGNUmakefile
@@ -0,0 +1,107 @@
+#
+# Declare the sub-directories to be built here
+#
+
+SUBDIRS = \
+ $(EOLIST)
+
+#
+# Get the 'head' of the build environment. This includes default targets and
+# paths to tools
+#
+
+include $(APR_WORK)\build\NWGNUhead.inc
+
+#
+# build this level's files
+
+FILES_prebuild_headers = \
+ $(APR)/include/apr.h \
+ $(APRUTIL)/include/apu.h \
+ $(APRUTIL)/include/apu_want.h \
+ $(APRUTIL)/include/apr_ldap.h \
+ $(APRUTIL)/include/private/apu_config.h \
+ $(APRUTIL)/include/private/apu_select_dbm.h \
+ $(APRUTIL)/xml/expat/lib/expat_config.h \
+ $(APRUTIL)/uri/uri_delims.h \
+ $(EOLIST)
+
+nlms :: $(APR)/aprlib.imp
+
+$(APR)/aprlib.imp : make_nw_export.awk nw_export.i
+ @echo Generating $(subst /,\,$@)
+ awk -f make_nw_export.awk nw_export.i | sort >$(APR)/aprlib.imp
+
+nw_export.i : nw_export.inc $(FILES_prebuild_headers) $(NLM_NAME)_cc.opt
+ @echo Generating $(subst /,\,$@)
+ $(CC) $< @$(NLM_NAME)_cc.opt
+
+$(NLM_NAME)_cc.opt : NWGNUmakefile $(APR_WORK)\build\NWGNUenvironment.inc $(APR_WORK)\build\NWGNUhead.inc $(APR_WORK)\build\NWGNUtail.inc $(CUSTOM_INI)
+ $(CHK) $@ $(DEL) $@
+ @echo -P >> $@
+ @echo -EP >> $@
+ @echo -nosyspath >> $@
+ @echo -w nocmdline >> $@
+ @echo -DNETWARE >> $@
+ @echo -I..\include >> $@
+ @echo -I..\include\arch\netware >> $@
+ @echo -I..\include\arch\unix >> $@
+ @echo -I$(APRUTIL)\include >> $@
+ @echo -ir $(NOVELLLIBC)\include >> $@
+
+$(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)
+
+$(APRUTIL)/include/private/%.h: $(subst /,\,$(APRUTIL))\include\private\%.hw
+ @echo Creating $(subst /,\,$@)
+ copy $< $(subst /,\,$(APRUTIL))\include\private\$(@F)
+
+$(APRUTIL)/xml/expat/lib/%.h: $(subst /,\,$(APRUTIL))\xml\expat\lib\%.hnw
+ @echo Creating $(subst /,\,$@)
+ copy $< $(subst /,\,$(APRUTIL))\xml\expat\lib\$(@F)
+
+ifneq "$(BUILDTOOL_AS_NLM)" "1"
+
+$(APRUTIL)/uri/uri_delims.h: gen_uri_delims.exe $(APRUTIL)/uri/gen_uri_delims.c
+ @echo Creating $(subst /,\,$@)
+ @$< > $@
+
+%.exe: $(APRUTIL)/uri/%.c
+ @echo Creating $@
+ @$(WIN_CC) $(WIN_CFLAGS) $< -o $@
+
+else
+
+ifneq "$(wildcard $(APRUTIL)/uri/uri_delims.h)" "$(APRUTIL)/uri/uri_delims.h"
+$(error Error: required header $(abspath $(APRUTIL)/uri/uri_delims.h) not found!)
+endif
+
+endif
+
+#
+# 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) $(NLM_NAME)_cc.opt $(DEL) $(NLM_NAME)_cc.opt
+ $(CHK) NWGNUversion.inc $(DEL) NWGNUversion.inc
+ $(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 /,\,$(APRUTIL))\include\private\apu_config.h $(DEL) $(subst /,\,$(APRUTIL))\include\private\apu_config.h
+ $(CHK) $(subst /,\,$(APRUTIL))\include\private\apu_select_dbm.h $(DEL) $(subst /,\,$(APRUTIL))\include\private\apu_select_dbm.h
+ $(CHK) $(subst /,\,$(APRUTIL))\xml\expat\lib\expat_config.h $(DEL) $(subst /,\,$(APRUTIL))\xml\expat\lib\expat_config.h
+ $(CHK) $(subst /,\,$(APR))\aprlib.imp $(DEL) $(subst /,\,$(APR))\aprlib.imp
+ifneq "$(BUILDTOOL_AS_NLM)" "1"
+ $(CHK) $(subst /,\,$(APRUTIL))\uri\uri_delims.h $(DEL) $(subst /,\,$(APRUTIL))\uri\uri_delims.h
+ $(CHK) gen_uri_delims.exe $(DEL) gen_uri_delims.exe
+endif
+