NWGNUmakefile revision 5b0c702735f2049038c50c7dc5dd2606086ee110
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
670734c2ee137c587411795c6f82566c9d3729b7coar# Declare the sub-directories to be built here
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj
2a6c49cfaef5979a5a06098f3ce987cd76769409manojSUBDIRS = \
2deb319e6b3de239f45c16a3e9e836d44f1f7108rbb $(APR_WORK) \
2deb319e6b3de239f45c16a3e9e836d44f1f7108rbb build \
bd929c73ef04789b7183b840d8db6e01d03a4d86rbb support \
70f6f32765cfaadd6da8de6f0fea97ddd72d8fadmanoj modules \
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj $(EOLIST)
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj
91a71946d0fb28c0866139edef3dd59f36ba5b9cstoddard#
91a71946d0fb28c0866139edef3dd59f36ba5b9cstoddard# Get the 'head' of the build environment. This includes default targets and
91a71946d0fb28c0866139edef3dd59f36ba5b9cstoddard# paths to tools
91a71946d0fb28c0866139edef3dd59f36ba5b9cstoddard#
91a71946d0fb28c0866139edef3dd59f36ba5b9cstoddard
bd929c73ef04789b7183b840d8db6e01d03a4d86rbbinclude $(AP_WORK)\build\NWGNUhead.inc
bd929c73ef04789b7183b840d8db6e01d03a4d86rbb
bd929c73ef04789b7183b840d8db6e01d03a4d86rbb#
bd929c73ef04789b7183b840d8db6e01d03a4d86rbb# build this level's files
632b0b53511f3bb9c32aa2869fbc73ee35081b38rbb
632b0b53511f3bb9c32aa2869fbc73ee35081b38rbb#
632b0b53511f3bb9c32aa2869fbc73ee35081b38rbb# Make sure all needed macro's are defined
bd929c73ef04789b7183b840d8db6e01d03a4d86rbb#
f6a6245816cd866361da8c576b1f47c7a54b6610fanf
f755f06050191550f77c825eff6b0e48a35b3e91dgaudet#
f755f06050191550f77c825eff6b0e48a35b3e91dgaudet# These directories will be at the beginning of the include list, followed by
40a5b7189dbbb28e107bf008ee625f2f0142c2ccdgaudet# INCDIRS
211bf1d44f4653bf753a15740cd5ebbf330b6e93manoj#
211bf1d44f4653bf753a15740cd5ebbf330b6e93manojXINCDIRS += \
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj $(APR)/include \
369edcdd0a9c5516c61e736ec2a6fc8fb0d92fe2manoj $(APRUTIL)/include \
369edcdd0a9c5516c61e736ec2a6fc8fb0d92fe2manoj $(AP_WORK)/include \
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj $(AP_WORK)/modules/filters/ \
85cbdc16ac57fa68ce1358a308269abcd417f4d9stoddard $(AP_WORK)/modules/generators/ \
85cbdc16ac57fa68ce1358a308269abcd417f4d9stoddard $(AP_WORK)/modules/http/ \
85cbdc16ac57fa68ce1358a308269abcd417f4d9stoddard $(AP_WORK)/modules/loggers/ \
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddard $(AP_WORK)/modules/mappers/ \
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddard $(AP_WORK)/modules/proxy/ \
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddard $(AP_WORK)/os/NetWare \
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddard $(AP_WORK)/server/mpm/NetWare \
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddard $(AP_WORK)/srclib/pcre \
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddard $(NWOS) \
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddard $(AP_WORK)/modules/ssl \
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddard $(EOLIST)
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddard
75960f20f88dad6bc67892c711c429946063d133stoddard#
75960f20f88dad6bc67892c711c429946063d133stoddard# These flags will come after CFLAGS
75960f20f88dad6bc67892c711c429946063d133stoddard#
75960f20f88dad6bc67892c711c429946063d133stoddardXCFLAGS += \
75960f20f88dad6bc67892c711c429946063d133stoddard $(EOLIST)
75960f20f88dad6bc67892c711c429946063d133stoddard
75960f20f88dad6bc67892c711c429946063d133stoddard#
75960f20f88dad6bc67892c711c429946063d133stoddard# These defines will come after DEFINES
70f6f32765cfaadd6da8de6f0fea97ddd72d8fadmanoj#
2a6c49cfaef5979a5a06098f3ce987cd76769409manojXDEFINES += \
a9e07e4f90adcc7bc768db3055431c3dcd560cd1manoj $(EOLIST)
f6a6245816cd866361da8c576b1f47c7a54b6610fanf
f6a6245816cd866361da8c576b1f47c7a54b6610fanf#
a9e07e4f90adcc7bc768db3055431c3dcd560cd1manoj# These flags will be added to the link.opt file
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
cfc020d6d6fc9b31d8945915e65a8787a796eb73stoddardXLFLAGS += \
cfc020d6d6fc9b31d8945915e65a8787a796eb73stoddard $(EOLIST)
cfc020d6d6fc9b31d8945915e65a8787a796eb73stoddard
f824925ac58ff729289c017235eeb3bdd21ec3a2stoddard#
f824925ac58ff729289c017235eeb3bdd21ec3a2stoddard# These values will be appended to the correct variables based on the value of
f824925ac58ff729289c017235eeb3bdd21ec3a2stoddard# RELEASE
f824925ac58ff729289c017235eeb3bdd21ec3a2stoddard#
2aae6faee508221efbeaba5547ca79b7a20ef047stoddardifeq "$(RELEASE)" "debug"
2aae6faee508221efbeaba5547ca79b7a20ef047stoddardXINCDIRS += \
670734c2ee137c587411795c6f82566c9d3729b7coar $(EOLIST)
670734c2ee137c587411795c6f82566c9d3729b7coar
75960f20f88dad6bc67892c711c429946063d133stoddardXCFLAGS += \
a5ed555df952c85bc1b179f5981e8a6c54ba16e6stoddard $(EOLIST)
a5ed555df952c85bc1b179f5981e8a6c54ba16e6stoddard
a5ed555df952c85bc1b179f5981e8a6c54ba16e6stoddardXDEFINES += \
a5ed555df952c85bc1b179f5981e8a6c54ba16e6stoddard $(EOLIST)
a5ed555df952c85bc1b179f5981e8a6c54ba16e6stoddard
56ca30c968906053ae61acb218420667bb58d996rbbXLFLAGS += \
56ca30c968906053ae61acb218420667bb58d996rbb $(EOLIST)
56ca30c968906053ae61acb218420667bb58d996rbbendif
56ca30c968906053ae61acb218420667bb58d996rbb
70f6f32765cfaadd6da8de6f0fea97ddd72d8fadmanojifeq "$(RELEASE)" "noopt"
70f6f32765cfaadd6da8de6f0fea97ddd72d8fadmanojXINCDIRS += \
70f6f32765cfaadd6da8de6f0fea97ddd72d8fadmanoj $(EOLIST)
56ca30c968906053ae61acb218420667bb58d996rbb
0bff2f28ef945280c17099c142126178a78e1e54manojXCFLAGS += \
0bff2f28ef945280c17099c142126178a78e1e54manoj $(EOLIST)
0bff2f28ef945280c17099c142126178a78e1e54manoj
1e585ba09ea32272e63c4c39c35491e975d21d98stoddardXDEFINES += \
1e585ba09ea32272e63c4c39c35491e975d21d98stoddard $(EOLIST)
1e585ba09ea32272e63c4c39c35491e975d21d98stoddard
1e585ba09ea32272e63c4c39c35491e975d21d98stoddardXLFLAGS += \
1e585ba09ea32272e63c4c39c35491e975d21d98stoddard $(EOLIST)
1e585ba09ea32272e63c4c39c35491e975d21d98stoddardendif
1e585ba09ea32272e63c4c39c35491e975d21d98stoddard
9c09943bad734ebd5c7cc10bd6d63b75c4c6e056stoddardifeq "$(RELEASE)" "release"
9c09943bad734ebd5c7cc10bd6d63b75c4c6e056stoddardXINCDIRS += \
9c09943bad734ebd5c7cc10bd6d63b75c4c6e056stoddard $(EOLIST)
0bff2f28ef945280c17099c142126178a78e1e54manoj
0bff2f28ef945280c17099c142126178a78e1e54manojXCFLAGS += \
0bff2f28ef945280c17099c142126178a78e1e54manoj $(EOLIST)
9c09943bad734ebd5c7cc10bd6d63b75c4c6e056stoddard
75960f20f88dad6bc67892c711c429946063d133stoddardXDEFINES += \
1e585ba09ea32272e63c4c39c35491e975d21d98stoddard $(EOLIST)
9c09943bad734ebd5c7cc10bd6d63b75c4c6e056stoddard
aa1faea36e4ae357bc603a2337b6adc54f5daec1manojXLFLAGS += \
f03d292915be9977eaf74e9be7b0404aec226f84manoj $(EOLIST)
f03d292915be9977eaf74e9be7b0404aec226f84manojendif
f03d292915be9977eaf74e9be7b0404aec226f84manoj
aa1faea36e4ae357bc603a2337b6adc54f5daec1manoj#
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.
302dc1f7b3feee23a91ad8f3cf3cb2edd95a557bmanoj#
302dc1f7b3feee23a91ad8f3cf3cb2edd95a557bmanojNLM_NAME = Apache2
302dc1f7b3feee23a91ad8f3cf3cb2edd95a557bmanoj
ff849e4163ed879288f0df15f78b6c9d278ec804fanf#
ff849e4163ed879288f0df15f78b6c9d278ec804fanf# This is used by the link '-desc ' directive.
ff849e4163ed879288f0df15f78b6c9d278ec804fanf# If left blank, NLM_NAME will be used.
ff849e4163ed879288f0df15f78b6c9d278ec804fanf#
ff849e4163ed879288f0df15f78b6c9d278ec804fanfNLM_DESCRIPTION = Apache Web Server $(VERSION_STR)
df4a7c143b27b489dd2d865bb3f6668c8420b3a9fanf
df4a7c143b27b489dd2d865bb3f6668c8420b3a9fanf#
c03566fa0156d3a1500a42e4fe539e3e0fc8a11dgstein# This is used by the '-threadname' directive. If left blank,
c03566fa0156d3a1500a42e4fe539e3e0fc8a11dgstein# NLM_NAME Thread will be used.
c03566fa0156d3a1500a42e4fe539e3e0fc8a11dgstein#
c03566fa0156d3a1500a42e4fe539e3e0fc8a11dgsteinNLM_THREAD_NAME = Apache
c03566fa0156d3a1500a42e4fe539e3e0fc8a11dgstein
c03566fa0156d3a1500a42e4fe539e3e0fc8a11dgstein#
c03566fa0156d3a1500a42e4fe539e3e0fc8a11dgstein# This is used by the '-screenname' directive. If left blank,
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# 'Apache for NetWare' Thread will be used.
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
2a6c49cfaef5979a5a06098f3ce987cd76769409manojNLM_SCREEN_NAME = Apache $(VERSION_STR) for NetWare
d5defd5a0c5cdbaf74b85939484dc2b6c8317d19manoj
d5defd5a0c5cdbaf74b85939484dc2b6c8317d19manoj
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# If this is specified, it will override VERSION value in
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# $(AP_WORK)\build\NWGNUenvironment.inc
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
2a6c49cfaef5979a5a06098f3ce987cd76769409manojNLM_VERSION =
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj
0bff2f28ef945280c17099c142126178a78e1e54manoj#
0bff2f28ef945280c17099c142126178a78e1e54manoj# If this is specified, it will override the default of 64K
0bff2f28ef945280c17099c142126178a78e1e54manoj#
d6b3cb141f0667101c1bca883ad15b383402c93bfieldingNLM_STACK_SIZE = 65536
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
40a5b7189dbbb28e107bf008ee625f2f0142c2ccdgaudet# If this is specified it will be used by the link '-entry' directive
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
dbf0c7bef06259486cd2748a2d0e82f27e099d6efieldingNLM_ENTRY_SYM = _LibCPrelude
dbf0c7bef06259486cd2748a2d0e82f27e099d6efielding
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
bd929c73ef04789b7183b840d8db6e01d03a4d86rbb# If this is specified it will be used by the link '-exit' directive
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
2a6c49cfaef5979a5a06098f3ce987cd76769409manojNLM_EXIT_SYM = _LibCPostlude
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
f6a6245816cd866361da8c576b1f47c7a54b6610fanf# If this is specified it will be used by the link '-check' directive
f6a6245816cd866361da8c576b1f47c7a54b6610fanf#
f6a6245816cd866361da8c576b1f47c7a54b6610fanfNLM_CHECK_SYM = _LibCCheckUnload
f6a6245816cd866361da8c576b1f47c7a54b6610fanf
f6a6245816cd866361da8c576b1f47c7a54b6610fanf#
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# If these are specified it will be used by the link '-flags' directive
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
2a6c49cfaef5979a5a06098f3ce987cd76769409manojNLM_FLAGS = PSEUDOPREEMPTION
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
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
d6b3cb141f0667101c1bca883ad15b383402c93bfielding#
d6b3cb141f0667101c1bca883ad15b383402c93bfieldingXDCDATA =
d6b3cb141f0667101c1bca883ad15b383402c93bfielding
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
670734c2ee137c587411795c6f82566c9d3729b7coar# If there is an NLM target, put it here
670734c2ee137c587411795c6f82566c9d3729b7coar#
670734c2ee137c587411795c6f82566c9d3729b7coarTARGET_nlm = \
670734c2ee137c587411795c6f82566c9d3729b7coar $(OBJDIR)/Apache2.nlm \
670734c2ee137c587411795c6f82566c9d3729b7coar $(EOLIST)
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# If there is an LIB target, put it here
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
2a6c49cfaef5979a5a06098f3ce987cd76769409manojTARGET_lib = \
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj $(EOLIST)
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# These are the OBJ files needed to create the NLM target above.
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# Paths must all use the '/' character
d6b3cb141f0667101c1bca883ad15b383402c93bfielding#
d6b3cb141f0667101c1bca883ad15b383402c93bfieldingFILES_nlm_objs = \
d6b3cb141f0667101c1bca883ad15b383402c93bfielding $(OBJDIR)/buildmark.o \
$(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 \
$(EOLIST)
# Build in mod_nw_ssl if Winsock is being used
ifndef USE_STDSOCKETS
FILES_nlm_objs += $(OBJDIR)/mod_nw_ssl.o \
$(EOLIST)
endif
#
# These are the LIB files needed to create the NLM target above.
# These will be added as a library command in the link.opt file.
#
FILES_nlm_libs = \
libcpre.o \
$(EOLIST)
#
# These are the modules that the above NLM target depends on to load.
# These will be added as a module command in the link.opt file.
#
FILES_nlm_modules = \
aprlib \
Libc \
$(EOLIST)
#
# If the nlm has a msg file, put it's path here
#
FILE_nlm_msg =
#
# If the nlm has a hlp file put it's path here
#
FILE_nlm_hlp =
#
# If this is specified, it will override $(NWOS)\copyright.txt.
#
FILE_nlm_copyright =
#
# Any additional imports go here
#
FILES_nlm_Ximports = \
@netware.imp \
@$(APR)/aprlib.imp \
@libc.imp \
GetCurrentAddressSpace \
$(EOLIST)
# Don't link with Winsock if standard sockets are being used
ifndef USE_STDSOCKETS
FILES_nlm_Ximports += @ws2nlm.imp \
$(EOLIST)
endif
#
# Any symbols exported to here
#
FILES_nlm_exports = \
@$(NWOS)/httpd.imp \
$(EOLIST)
#
# These are the OBJ files needed to create the LIB target above.
# Paths must all use the '/' character
#
FILES_lib_objs = \
$(EOLIST)
#
# implement targets and dependancies (leave this section alone)
#
libs :: $(OBJDIR) $(TARGET_lib)
nlms :: libs $(TARGET_nlm)
#
# Updated this target to create necessary directories and copy files to the
# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
#
install :: nlms FORCE
-copy $(OBJDIR)\Apache2.nlm $(INSTALL)\Apache2\*.*
-copy ABOUT_APACHE $(INSTALL)\Apache2\*.*
-copy README $(INSTALL)\Apache2\*.*
-copy STATUS $(INSTALL)\Apache2\*.*
-copy LICENSE $(INSTALL)\Apache2\*.*
-copy CHANGES $(INSTALL)\Apache2\*.*
-copy support\dbmmanage.in $(INSTALL)\Apache2\bin\dbmmanage.pl
-copy support\logresolve.pl.in $(INSTALL)\Apache2\bin\logresolve.pl
ifdef USE_STDSOCKETS
-awk -f build\mkconfnw.awk docs\conf\httpd.conf.in >$(INSTALL)\Apache2\conf\httpd.conf
else
-awk -v SSL=1 -f build\mkconfnw.awk docs\conf\httpd.conf.in >$(INSTALL)\Apache2\conf\httpd.conf
endif
$(CHKNOT) $(INSTALL)\Apache2\conf\extra\nul mkdir $(INSTALL)\Apache2\conf\extra
-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\conf\magic $(INSTALL)\Apache2\conf\magic
-copy docs\conf\mime.types $(INSTALL)\Apache2\conf\mime.types
-copy docs\conf\charset.conv $(INSTALL)\Apache2\conf\charset.conv
-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
installdev :: FORCE
-copy $(subst /,\,$(AP_WORK))\include\*.h $(INSTALL)\Apache2\include\*.*
-copy $(subst /,\,$(AP_WORK))\os\netware\*.h $(INSTALL)\Apache2\include\*.*
-copy $(subst /,\,$(NWOS))\*.imp $(INSTALL)\Apache2\lib\*.*
-copy $(subst /,\,$(APR))\include\*.h $(INSTALL)\Apache2\include\*.*
-copy $(subst /,\,$(APRUTIL))\include\*.h $(INSTALL)\Apache2\include\*.*
-copy $(subst /,\,$(APR))\*.imp $(INSTALL)\Apache2\lib\*.*
-copy $(subst /,\,$(NWOS))\*.xdc $(INSTALL)\Apache2\lib\*.*
prebuild :: FORCE
$(MAKE) -C server -f NWGNUMakefile
$(MAKE) -C srclib/pcre -f NWGNUMakefile
$(MAKE) -C $(APU_WORK)/uri -f NWGNUMakefile
$(CHKNOT) $(PREBUILD_INST)\nul mkdir $(PREBUILD_INST)
-copy $(AP_WORK)\server\$(OBJDIR)\*.nlm $(PREBUILD_INST)\*.*
-copy $(AP_WORK)\srclib\pcre\$(basename $(OBJDIR))\*.nlm $(PREBUILD_INST)\*.*
-copy $(APU_WORK)\uri\$(basename $(OBJDIR))\*.nlm $(PREBUILD_INST)\*.*
#
# Any specialized rules here
#
vpath %.c server:modules/arch/netware:modules/http:modules/aaa:modules/mappers
vpath %.c modules/generators:modules/metadata:modules/filters:modules/loggers
vpath %.c os/netware:server/mpm/netware:srclib/pcre
#
# Include the 'tail' makefile that has targets that depend on variables defined
# in this makefile
#
include $(AP_WORK)\build\NWGNUtail.inc