NWGNUmakefile revision 5b0c702735f2049038c50c7dc5dd2606086ee110
670734c2ee137c587411795c6f82566c9d3729b7coar# Declare the sub-directories to be built here
2deb319e6b3de239f45c16a3e9e836d44f1f7108rbb $(APR_WORK) \
91a71946d0fb28c0866139edef3dd59f36ba5b9cstoddard# Get the 'head' of the build environment. This includes default targets and
91a71946d0fb28c0866139edef3dd59f36ba5b9cstoddard# paths to tools
bd929c73ef04789b7183b840d8db6e01d03a4d86rbbinclude $(AP_WORK)\build\NWGNUhead.inc
bd929c73ef04789b7183b840d8db6e01d03a4d86rbb# build this level's files
632b0b53511f3bb9c32aa2869fbc73ee35081b38rbb# Make sure all needed macro's are defined
f755f06050191550f77c825eff6b0e48a35b3e91dgaudet# These directories will be at the beginning of the include list, followed by
211bf1d44f4653bf753a15740cd5ebbf330b6e93manojXINCDIRS += \
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj $(APR)/include \
369edcdd0a9c5516c61e736ec2a6fc8fb0d92fe2manoj $(APRUTIL)/include \
369edcdd0a9c5516c61e736ec2a6fc8fb0d92fe2manoj $(AP_WORK)/include \
75960f20f88dad6bc67892c711c429946063d133stoddard# These flags will come after CFLAGS
75960f20f88dad6bc67892c711c429946063d133stoddardXCFLAGS += \
75960f20f88dad6bc67892c711c429946063d133stoddard# These defines will come after DEFINES
2a6c49cfaef5979a5a06098f3ce987cd76769409manojXDEFINES += \
a9e07e4f90adcc7bc768db3055431c3dcd560cd1manoj# These flags will be added to the link.opt file
cfc020d6d6fc9b31d8945915e65a8787a796eb73stoddardXLFLAGS += \
f824925ac58ff729289c017235eeb3bdd21ec3a2stoddard# These values will be appended to the correct variables based on the value of
2aae6faee508221efbeaba5547ca79b7a20ef047stoddardifeq "$(RELEASE)" "debug"
2aae6faee508221efbeaba5547ca79b7a20ef047stoddardXINCDIRS += \
75960f20f88dad6bc67892c711c429946063d133stoddardXCFLAGS += \
a5ed555df952c85bc1b179f5981e8a6c54ba16e6stoddardXDEFINES += \
56ca30c968906053ae61acb218420667bb58d996rbbXLFLAGS += \
70f6f32765cfaadd6da8de6f0fea97ddd72d8fadmanojifeq "$(RELEASE)" "noopt"
70f6f32765cfaadd6da8de6f0fea97ddd72d8fadmanojXINCDIRS += \
0bff2f28ef945280c17099c142126178a78e1e54manojXCFLAGS += \
1e585ba09ea32272e63c4c39c35491e975d21d98stoddardXDEFINES += \
1e585ba09ea32272e63c4c39c35491e975d21d98stoddardXLFLAGS += \
9c09943bad734ebd5c7cc10bd6d63b75c4c6e056stoddardifeq "$(RELEASE)" "release"
9c09943bad734ebd5c7cc10bd6d63b75c4c6e056stoddardXINCDIRS += \
0bff2f28ef945280c17099c142126178a78e1e54manojXCFLAGS += \
75960f20f88dad6bc67892c711c429946063d133stoddardXDEFINES += \
aa1faea36e4ae357bc603a2337b6adc54f5daec1manojXLFLAGS += \
bd929c73ef04789b7183b840d8db6e01d03a4d86rbb# These are used by the link target if an NLM is being generated
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# This is used by the link 'name' directive to name the nlm. If left blank
302dc1f7b3feee23a91ad8f3cf3cb2edd95a557bmanoj# TARGET_nlm (see below) will be used.
302dc1f7b3feee23a91ad8f3cf3cb2edd95a557bmanojNLM_NAME = Apache2
ff849e4163ed879288f0df15f78b6c9d278ec804fanf# This is used by the link '-desc ' directive.
ff849e4163ed879288f0df15f78b6c9d278ec804fanf# If left blank, NLM_NAME will be used.
ff849e4163ed879288f0df15f78b6c9d278ec804fanfNLM_DESCRIPTION = Apache Web Server $(VERSION_STR)
c03566fa0156d3a1500a42e4fe539e3e0fc8a11dgstein# This is used by the '-threadname' directive. If left blank,
c03566fa0156d3a1500a42e4fe539e3e0fc8a11dgstein# NLM_NAME Thread will be used.
c03566fa0156d3a1500a42e4fe539e3e0fc8a11dgsteinNLM_THREAD_NAME = Apache
c03566fa0156d3a1500a42e4fe539e3e0fc8a11dgstein# This is used by the '-screenname' directive. If left blank,
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# 'Apache for NetWare' Thread will be used.
2a6c49cfaef5979a5a06098f3ce987cd76769409manojNLM_SCREEN_NAME = Apache $(VERSION_STR) for NetWare
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# If this is specified, it will override VERSION value in
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# $(AP_WORK)\build\NWGNUenvironment.inc
2a6c49cfaef5979a5a06098f3ce987cd76769409manojNLM_VERSION =
0bff2f28ef945280c17099c142126178a78e1e54manoj# If this is specified, it will override the default of 64K
d6b3cb141f0667101c1bca883ad15b383402c93bfieldingNLM_STACK_SIZE = 65536
40a5b7189dbbb28e107bf008ee625f2f0142c2ccdgaudet# If this is specified it will be used by the link '-entry' directive
dbf0c7bef06259486cd2748a2d0e82f27e099d6efieldingNLM_ENTRY_SYM = _LibCPrelude
bd929c73ef04789b7183b840d8db6e01d03a4d86rbb# If this is specified it will be used by the link '-exit' directive
2a6c49cfaef5979a5a06098f3ce987cd76769409manojNLM_EXIT_SYM = _LibCPostlude
f6a6245816cd866361da8c576b1f47c7a54b6610fanf# If this is specified it will be used by the link '-check' directive
f6a6245816cd866361da8c576b1f47c7a54b6610fanfNLM_CHECK_SYM = _LibCCheckUnload
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# If these are specified it will be used by the link '-flags' directive
2a6c49cfaef5979a5a06098f3ce987cd76769409manojNLM_FLAGS = PSEUDOPREEMPTION
d6b3cb141f0667101c1bca883ad15b383402c93bfielding# If this is specified it will be linked in with the XDCData option in the def
d6b3cb141f0667101c1bca883ad15b383402c93bfielding# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
d6b3cb141f0667101c1bca883ad15b383402c93bfielding# by setting APACHE_UNIPROC in the environment
670734c2ee137c587411795c6f82566c9d3729b7coar# If there is an NLM target, put it here
670734c2ee137c587411795c6f82566c9d3729b7coarTARGET_nlm = \
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# If there is an LIB target, put it here
2a6c49cfaef5979a5a06098f3ce987cd76769409manojTARGET_lib = \
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# These are the OBJ files needed to create the NLM target above.
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# Paths must all use the '/' character
d6b3cb141f0667101c1bca883ad15b383402c93bfieldingFILES_nlm_objs = \
$(OBJDIR)/config.o \
$(OBJDIR)/connection.o \
$(OBJDIR)/core.o \
$(OBJDIR)/core_filters.o \
$(OBJDIR)/eoc_bucket.o \
$(OBJDIR)/error_bucket.o \
$(OBJDIR)/http_core.o \
$(OBJDIR)/http_protocol.o \
$(OBJDIR)/http_request.o \
$(OBJDIR)/byterange_filter.o \
$(OBJDIR)/chunk_filter.o \
$(OBJDIR)/http_etag.o \
$(OBJDIR)/http_filters.o \
$(OBJDIR)/listen.o \
$(OBJDIR)/log.o \
$(OBJDIR)/main.o \
$(OBJDIR)/mod_authz_host.o \
$(OBJDIR)/mod_alias.o \
$(OBJDIR)/mod_dir.o \
$(OBJDIR)/mod_env.o \
$(OBJDIR)/mod_include.o \
$(OBJDIR)/mod_log_config.o \
$(OBJDIR)/mod_mime.o \
$(OBJDIR)/mod_negotiation.o \
$(OBJDIR)/mod_netware.o \
$(OBJDIR)/mod_setenvif.o \
$(OBJDIR)/mod_so.o \
$(OBJDIR)/modules.o \
$(OBJDIR)/mpm_common.o \
$(OBJDIR)/mpm_netware.o \
$(OBJDIR)/pcre.o \
$(OBJDIR)/protocol.o \
$(OBJDIR)/provider.o \
$(OBJDIR)/request.o \
$(OBJDIR)/scoreboard.o \
$(OBJDIR)/util.o \
$(OBJDIR)/util_cfgtree.o \
$(OBJDIR)/util_charset.o \
$(OBJDIR)/util_debug.o \
$(OBJDIR)/util_filter.o \
$(OBJDIR)/util_md5.o \
$(OBJDIR)/util_nw.o \
$(OBJDIR)/util_pcre.o \
$(OBJDIR)/util_script.o \
$(OBJDIR)/util_time.o \
$(OBJDIR)/util_xml.o \
$(OBJDIR)/vhost.o \
FILES_nlm_objs += $(OBJDIR)/mod_nw_ssl.o \
# These will be added as a library command in the link.opt file.
# These will be added as a module command in the link.opt file.
# If this is specified, it will override $(NWOS)\copyright.txt.
@netware.imp \
@$(APR)/aprlib.imp \
@libc.imp \
FILES_nlm_Ximports += @ws2nlm.imp \
@$(NWOS)/httpd.imp \
# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
-copy $(OBJDIR)\Apache2.nlm $(INSTALL)\Apache2\*.*
-awk -f build\mkconfnw.awk docs\conf\extra\httpd-autoindex.conf.in >$(INSTALL)\Apache2\conf\extra\httpd-autoindex.conf
-awk -f build\mkconfnw.awk docs\conf\extra\httpd-dav.conf.in >$(INSTALL)\Apache2\conf\extra\httpd-dav.conf
-awk -f build\mkconfnw.awk docs\conf\extra\httpd-default.conf.in >$(INSTALL)\Apache2\conf\extra\httpd-default.conf
-awk -f build\mkconfnw.awk docs\conf\extra\httpd-info.conf.in >$(INSTALL)\Apache2\conf\extra\httpd-info.conf
-awk -f build\mkconfnw.awk docs\conf\extra\httpd-languages.conf.in >$(INSTALL)\Apache2\conf\extra\httpd-languages.conf
-awk -f build\mkconfnw.awk docs\conf\extra\httpd-manual.conf.in >$(INSTALL)\Apache2\conf\extra\httpd-manual.conf
-awk -f build\mkconfnw.awk docs\conf\extra\httpd-mpm.conf.in >$(INSTALL)\Apache2\conf\extra\httpd-mpm.conf
-awk -f build\mkconfnw.awk docs\conf\extra\httpd-multilang-errordoc.conf.in >$(INSTALL)\Apache2\conf\extra\httpd-multilang-errordoc.conf
-awk -f build\mkconfnw.awk docs\conf\extra\httpd-ssl.conf.in >$(INSTALL)\Apache2\conf\extra\httpd-ssl.conf
-awk -f build\mkconfnw.awk docs\conf\extra\httpd-userdir.conf.in >$(INSTALL)\Apache2\conf\extra\httpd-userdir.conf
-awk -f build\mkconfnw.awk docs\conf\extra\httpd-vhosts.conf.in >$(INSTALL)\Apache2\conf\extra\httpd-vhosts.conf
-copy docs\cgi-examples\printenv $(INSTALL)\Apache2\cgi-bin\printenv.pl
@echo rem copying the docs directories > xc.bat
@echo xcopy docs\error $(INSTALL)\Apache2\error $(XCOPYSW) >> xc.bat
@echo xcopy docs\docroot $(INSTALL)\Apache2\htdocs $(XCOPYSW) >> xc.bat
@echo xcopy docs\icons $(INSTALL)\Apache2\icons $(XCOPYSW) >> xc.bat
@echo xcopy docs\man $(INSTALL)\Apache2\man $(XCOPYSW) >> xc.bat
@echo xcopy docs\manual $(INSTALL)\Apache2\manual $(XCOPYSW) >> xc.bat
$(CMD) xc.bat
$(DEL) xc.bat
$(MAKE) -C srclib/pcre -f NWGNUMakefile
include $(AP_WORK)\build\NWGNUtail.inc