NWGNUmakefile revision 509d30fddc88d129f9ba0f6000b802afa021fe52
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
3e17185356213124b2e18ecaf1678a676f8e9ba5rbb# Declare the sub-directories to be built here
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj
2a6c49cfaef5979a5a06098f3ce987cd76769409manojSUBDIRS = \
cf6bf6c34c936e6a6fe731dbce4a5c3c8bf8e9a3gstein $(APR_WORK) \
cf6bf6c34c936e6a6fe731dbce4a5c3c8bf8e9a3gstein build \
35330e0d79ceb8027223bbb8330a381b1f989d6etrawick support \
6f6f4a4bca281779d196acbdd5c017bb90858305trawick modules \
8dd4618c4709236b4ea297d7250d282e463ce2d8rbb $(EOLIST)
09bd86d0db1114ee23eda0a6eb76ca055877a1cftrawick
2deb319e6b3de239f45c16a3e9e836d44f1f7108rbb#
bd929c73ef04789b7183b840d8db6e01d03a4d86rbb# Get the 'head' of the build environment. This includes default targets and
70f6f32765cfaadd6da8de6f0fea97ddd72d8fadmanoj# paths to tools
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj
1bed1439cc86cac95cdbd16a0342e3b5362f7d0crbbinclude $(AP_WORK)\build\NWGNUhead.inc
1bed1439cc86cac95cdbd16a0342e3b5362f7d0crbb
1bed1439cc86cac95cdbd16a0342e3b5362f7d0crbb#
1bed1439cc86cac95cdbd16a0342e3b5362f7d0crbb# build this level's files
1bed1439cc86cac95cdbd16a0342e3b5362f7d0crbb
4a81c8eb2a61b43a9dd0879a65feb834a6dde1d5stoddard#
447c6ce3ff08073c44f6785d5256271fcb877512wrowe# Make sure all needed macro's are defined
447c6ce3ff08073c44f6785d5256271fcb877512wrowe#
447c6ce3ff08073c44f6785d5256271fcb877512wrowe
447c6ce3ff08073c44f6785d5256271fcb877512wrowe#
52feb4fc246900d2999f6a038c5a750d23bd544brbb# These directories will be at the beginning of the include list, followed by
52feb4fc246900d2999f6a038c5a750d23bd544brbb# INCDIRS
52feb4fc246900d2999f6a038c5a750d23bd544brbb#
52feb4fc246900d2999f6a038c5a750d23bd544brbbXINCDIRS += \
52feb4fc246900d2999f6a038c5a750d23bd544brbb $(APR)/include \
cf6bf6c34c936e6a6fe731dbce4a5c3c8bf8e9a3gstein $(APRUTIL)/include \
a9de2fcc94b1c6eebb717fe14b80d066598cb8d3trawick $(AP_WORK)/include \
73cbcafbe4c5ce51e6ba8043d33235fde09b6e94trawick $(AP_WORK)/modules/filters/ \
73cbcafbe4c5ce51e6ba8043d33235fde09b6e94trawick $(AP_WORK)/modules/generators/ \
73cbcafbe4c5ce51e6ba8043d33235fde09b6e94trawick $(AP_WORK)/modules/http/ \
bfb62a96023822c56c9120e4ee627d4091cc59c2rbb $(AP_WORK)/modules/loggers/ \
85cbdc16ac57fa68ce1358a308269abcd417f4d9stoddard $(AP_WORK)/modules/mappers/ \
85cbdc16ac57fa68ce1358a308269abcd417f4d9stoddard $(AP_WORK)/modules/proxy/ \
85cbdc16ac57fa68ce1358a308269abcd417f4d9stoddard $(AP_WORK)/os/NetWare \
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddard $(AP_WORK)/server/mpm/NetWare \
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddard $(AP_WORK)/srclib/pcre \
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddard $(NWOS) \
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddard $(EOLIST)
10b386767f6c87b45937244371cb751f0b454d16wrowe
10b386767f6c87b45937244371cb751f0b454d16wrowe#
863ec32e13d6c9619414c48b51109f3dca99cbc6wrowe# These flags will come after CFLAGS
863ec32e13d6c9619414c48b51109f3dca99cbc6wrowe#
75960f20f88dad6bc67892c711c429946063d133stoddardXCFLAGS += \
75960f20f88dad6bc67892c711c429946063d133stoddard $(EOLIST)
75960f20f88dad6bc67892c711c429946063d133stoddard
75960f20f88dad6bc67892c711c429946063d133stoddard#
75960f20f88dad6bc67892c711c429946063d133stoddard# These defines will come after DEFINES
75960f20f88dad6bc67892c711c429946063d133stoddard#
75960f20f88dad6bc67892c711c429946063d133stoddardXDEFINES += \
10b386767f6c87b45937244371cb751f0b454d16wrowe $(EOLIST)
10b386767f6c87b45937244371cb751f0b454d16wrowe
10b386767f6c87b45937244371cb751f0b454d16wrowe#
10b386767f6c87b45937244371cb751f0b454d16wrowe# These flags will be added to the link.opt file
10b386767f6c87b45937244371cb751f0b454d16wrowe#
10b386767f6c87b45937244371cb751f0b454d16wroweXLFLAGS += \
10b386767f6c87b45937244371cb751f0b454d16wrowe $(EOLIST)
10b386767f6c87b45937244371cb751f0b454d16wrowe
a9e07e4f90adcc7bc768db3055431c3dcd560cd1manoj#
f6a6245816cd866361da8c576b1f47c7a54b6610fanf# These values will be appended to the correct variables based on the value of
f6a6245816cd866361da8c576b1f47c7a54b6610fanf# RELEASE
97b758d0b174d7b7c5a1de1a583f5840ec3fc910trawick#
db3ccce11afac4fc1d4f51a65424412f7480c46cgsteinifeq "$(RELEASE)" "debug"
641cb23141f2238ed09e3b9fa79189225f8a2bcbrbbXINCDIRS += \
641cb23141f2238ed09e3b9fa79189225f8a2bcbrbb $(EOLIST)
641cb23141f2238ed09e3b9fa79189225f8a2bcbrbb
79d5106a9b65b956d646f5daae4b94bc79e315b8trawickXCFLAGS += \
79d5106a9b65b956d646f5daae4b94bc79e315b8trawick $(EOLIST)
79d5106a9b65b956d646f5daae4b94bc79e315b8trawick
79d5106a9b65b956d646f5daae4b94bc79e315b8trawickXDEFINES += \
79d5106a9b65b956d646f5daae4b94bc79e315b8trawick $(EOLIST)
79d5106a9b65b956d646f5daae4b94bc79e315b8trawick
2a6c49cfaef5979a5a06098f3ce987cd76769409manojXLFLAGS += \
b187d568e1507d75139ebc13ca945b38fc05d55cstoddard $(EOLIST)
b187d568e1507d75139ebc13ca945b38fc05d55cstoddardendif
b187d568e1507d75139ebc13ca945b38fc05d55cstoddard
1c6fb1e726ce22694de0e9a957adb67b929e5d4fstoddardifeq "$(RELEASE)" "noopt"
1c6fb1e726ce22694de0e9a957adb67b929e5d4fstoddardXINCDIRS += \
1c6fb1e726ce22694de0e9a957adb67b929e5d4fstoddard $(EOLIST)
1c6fb1e726ce22694de0e9a957adb67b929e5d4fstoddard
1c6fb1e726ce22694de0e9a957adb67b929e5d4fstoddardXCFLAGS += \
8bed76428f56e5c643174a2d6807c3f18016af5cbjh $(EOLIST)
8bed76428f56e5c643174a2d6807c3f18016af5cbjh
8bed76428f56e5c643174a2d6807c3f18016af5cbjhXDEFINES += \
8bed76428f56e5c643174a2d6807c3f18016af5cbjh $(EOLIST)
8bed76428f56e5c643174a2d6807c3f18016af5cbjh
2aae6faee508221efbeaba5547ca79b7a20ef047stoddardXLFLAGS += \
2aae6faee508221efbeaba5547ca79b7a20ef047stoddard $(EOLIST)
10b386767f6c87b45937244371cb751f0b454d16wroweendif
10b386767f6c87b45937244371cb751f0b454d16wrowe
10b386767f6c87b45937244371cb751f0b454d16wroweifeq "$(RELEASE)" "release"
10b386767f6c87b45937244371cb751f0b454d16wroweXINCDIRS += \
10b386767f6c87b45937244371cb751f0b454d16wrowe $(EOLIST)
10b386767f6c87b45937244371cb751f0b454d16wrowe
75960f20f88dad6bc67892c711c429946063d133stoddardXCFLAGS += \
a5ed555df952c85bc1b179f5981e8a6c54ba16e6stoddard $(EOLIST)
d2f8b010487ffa990a9c268df5a25579e7291bcdrbb
d2f8b010487ffa990a9c268df5a25579e7291bcdrbbXDEFINES += \
a5ed555df952c85bc1b179f5981e8a6c54ba16e6stoddard $(EOLIST)
0bff2f28ef945280c17099c142126178a78e1e54manoj
0bff2f28ef945280c17099c142126178a78e1e54manojXLFLAGS += \
0bff2f28ef945280c17099c142126178a78e1e54manoj $(EOLIST)
1e585ba09ea32272e63c4c39c35491e975d21d98stoddardendif
0bff2f28ef945280c17099c142126178a78e1e54manoj
35330e0d79ceb8027223bbb8330a381b1f989d6etrawick#
0bff2f28ef945280c17099c142126178a78e1e54manoj# These are used by the link target if an NLM is being generated
9c09943bad734ebd5c7cc10bd6d63b75c4c6e056stoddard# This is used by the link 'name' directive to name the nlm. If left blank
75960f20f88dad6bc67892c711c429946063d133stoddard# TARGET_nlm (see below) will be used.
f03d292915be9977eaf74e9be7b0404aec226f84manoj#
302dc1f7b3feee23a91ad8f3cf3cb2edd95a557bmanojNLM_NAME = Apache2
302dc1f7b3feee23a91ad8f3cf3cb2edd95a557bmanoj
302dc1f7b3feee23a91ad8f3cf3cb2edd95a557bmanoj#
302dc1f7b3feee23a91ad8f3cf3cb2edd95a557bmanoj# This is used by the link '-desc ' directive.
ff849e4163ed879288f0df15f78b6c9d278ec804fanf# If left blank, NLM_NAME will be used.
ff849e4163ed879288f0df15f78b6c9d278ec804fanf#
9805ac88e1befa6dea11d8513023f150d8f8e807fanfNLM_DESCRIPTION = Apache Web Server $(VERSION_STR)
9805ac88e1befa6dea11d8513023f150d8f8e807fanf
9805ac88e1befa6dea11d8513023f150d8f8e807fanf#
9805ac88e1befa6dea11d8513023f150d8f8e807fanf# This is used by the '-threadname' directive. If left blank,
cf6bf6c34c936e6a6fe731dbce4a5c3c8bf8e9a3gstein# NLM_NAME Thread will be used.
df4a7c143b27b489dd2d865bb3f6668c8420b3a9fanf#
447c6ce3ff08073c44f6785d5256271fcb877512wroweNLM_THREAD_NAME = Apache
447c6ce3ff08073c44f6785d5256271fcb877512wrowe
447c6ce3ff08073c44f6785d5256271fcb877512wrowe#
447c6ce3ff08073c44f6785d5256271fcb877512wrowe# This is used by the '-screenname' directive. If left blank,
447c6ce3ff08073c44f6785d5256271fcb877512wrowe# 'Apache for NetWare' Thread will be used.
447c6ce3ff08073c44f6785d5256271fcb877512wrowe#
cf6bf6c34c936e6a6fe731dbce4a5c3c8bf8e9a3gsteinNLM_SCREEN_NAME = Apache $(VERSION_STR) for NetWare
cf6bf6c34c936e6a6fe731dbce4a5c3c8bf8e9a3gstein
c03566fa0156d3a1500a42e4fe539e3e0fc8a11dgstein
db3ccce11afac4fc1d4f51a65424412f7480c46cgstein#
dd4713dc5b186f4d1be7b88f86608fdb84cbe5d5gstein# If this is specified, it will override VERSION value in
0eb7ca6cf812d98c534661ac474e873a32bf6325gstein# $(AP_WORK)\build\NWGNUenvironment.inc
cf6bf6c34c936e6a6fe731dbce4a5c3c8bf8e9a3gstein#
8d07897b52e3b7055874501f8a499e75800db206gsteinNLM_VERSION =
8d07897b52e3b7055874501f8a499e75800db206gstein
db3ccce11afac4fc1d4f51a65424412f7480c46cgstein#
79d5106a9b65b956d646f5daae4b94bc79e315b8trawick# If this is specified, it will override the default of 64K
79d5106a9b65b956d646f5daae4b94bc79e315b8trawick#
79d5106a9b65b956d646f5daae4b94bc79e315b8trawickNLM_STACK_SIZE = 65536
cf6bf6c34c936e6a6fe731dbce4a5c3c8bf8e9a3gstein
cf6bf6c34c936e6a6fe731dbce4a5c3c8bf8e9a3gstein
cf6bf6c34c936e6a6fe731dbce4a5c3c8bf8e9a3gstein#
6fa71a1bd8c61518b05f5798a7a1594c270e78afrbb# If this is specified it will be used by the link '-entry' directive
93c5cba06b623ebe8e4372e886eece12d9a80c3egstein#
14cccaddba3a9263cf0d0ddc311e18f3e3dc9b0fgsteinNLM_ENTRY_SYM = _LibCPrelude
14cccaddba3a9263cf0d0ddc311e18f3e3dc9b0fgstein
14cccaddba3a9263cf0d0ddc311e18f3e3dc9b0fgstein#
14cccaddba3a9263cf0d0ddc311e18f3e3dc9b0fgstein# If this is specified it will be used by the link '-exit' directive
14cccaddba3a9263cf0d0ddc311e18f3e3dc9b0fgstein#
14cccaddba3a9263cf0d0ddc311e18f3e3dc9b0fgsteinNLM_EXIT_SYM = _LibCPostlude
eb3def494ba5580320dfe1dd47b4d8b05519cb74gstein
eb3def494ba5580320dfe1dd47b4d8b05519cb74gstein#
eb3def494ba5580320dfe1dd47b4d8b05519cb74gstein# If this is specified it will be used by the link '-check' directive
cf6bf6c34c936e6a6fe731dbce4a5c3c8bf8e9a3gstein#
eb3def494ba5580320dfe1dd47b4d8b05519cb74gsteinNLM_CHECK_SYM = _LibCCheckUnload
1e088f9182ba67f39713fcb850e11934be5f6d17gstein
1e088f9182ba67f39713fcb850e11934be5f6d17gstein#
823c303d33c9e637a83d82208bcbafaf5f532d7bgstein# If these are specified it will be used by the link '-flags' directive
823c303d33c9e637a83d82208bcbafaf5f532d7bgstein#
64ad864fa0f4493eebb181e393b40a8a90beccb9coarNLM_FLAGS = PSEUDOPREEMPTION
64ad864fa0f4493eebb181e393b40a8a90beccb9coar
64ad864fa0f4493eebb181e393b40a8a90beccb9coar#
64ad864fa0f4493eebb181e393b40a8a90beccb9coar# If this is specified it will be linked in with the XDCData option in the def
64ad864fa0f4493eebb181e393b40a8a90beccb9coar# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
28d1da9ca818f831ea491f110dafcc10f7f07050coar# by setting APACHE_UNIPROC in the environment
64ad864fa0f4493eebb181e393b40a8a90beccb9coar#
64ad864fa0f4493eebb181e393b40a8a90beccb9coarXDCDATA =
64ad864fa0f4493eebb181e393b40a8a90beccb9coar
28d1da9ca818f831ea491f110dafcc10f7f07050coar#
64ad864fa0f4493eebb181e393b40a8a90beccb9coar# If there is an NLM target, put it here
64ad864fa0f4493eebb181e393b40a8a90beccb9coar#
64ad864fa0f4493eebb181e393b40a8a90beccb9coarTARGET_nlm = \
28d1da9ca818f831ea491f110dafcc10f7f07050coar $(OBJDIR)/Apache2.nlm \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(EOLIST)
64ad864fa0f4493eebb181e393b40a8a90beccb9coar
64ad864fa0f4493eebb181e393b40a8a90beccb9coar#
28d1da9ca818f831ea491f110dafcc10f7f07050coar# If there is an LIB target, put it here
64ad864fa0f4493eebb181e393b40a8a90beccb9coar#
64ad864fa0f4493eebb181e393b40a8a90beccb9coarTARGET_lib = \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(EOLIST)
64ad864fa0f4493eebb181e393b40a8a90beccb9coar
28d1da9ca818f831ea491f110dafcc10f7f07050coar#
64ad864fa0f4493eebb181e393b40a8a90beccb9coar# These are the OBJ files needed to create the NLM target above.
64ad864fa0f4493eebb181e393b40a8a90beccb9coar# Paths must all use the '/' character
64ad864fa0f4493eebb181e393b40a8a90beccb9coar#
28d1da9ca818f831ea491f110dafcc10f7f07050coarFILES_nlm_objs = \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(OBJDIR)/buildmark.o \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(OBJDIR)/config.o \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(OBJDIR)/connection.o \
28d1da9ca818f831ea491f110dafcc10f7f07050coar $(OBJDIR)/core.o \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(OBJDIR)/core_filters.o \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(OBJDIR)/eoc_bucket.o \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(OBJDIR)/error_bucket.o \
28d1da9ca818f831ea491f110dafcc10f7f07050coar $(OBJDIR)/http_core.o \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(OBJDIR)/http_protocol.o \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(OBJDIR)/http_request.o \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(OBJDIR)/byterange_filter.o \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(OBJDIR)/chunk_filter.o \
28d1da9ca818f831ea491f110dafcc10f7f07050coar $(OBJDIR)/http_etag.o \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(OBJDIR)/http_filters.o \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(OBJDIR)/listen.o \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(OBJDIR)/log.o \
28d1da9ca818f831ea491f110dafcc10f7f07050coar $(OBJDIR)/main.o \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(OBJDIR)/mod_authz_host.o \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(OBJDIR)/mod_alias.o \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(OBJDIR)/mod_dir.o \
28d1da9ca818f831ea491f110dafcc10f7f07050coar $(OBJDIR)/mod_env.o \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(OBJDIR)/mod_include.o \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(OBJDIR)/mod_log_config.o \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(OBJDIR)/mod_mime.o \
28d1da9ca818f831ea491f110dafcc10f7f07050coar $(OBJDIR)/mod_negotiation.o \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(OBJDIR)/mod_netware.o \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(OBJDIR)/mod_nw_ssl.o \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(OBJDIR)/mod_setenvif.o \
28d1da9ca818f831ea491f110dafcc10f7f07050coar $(OBJDIR)/mod_so.o \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(OBJDIR)/modules.o \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(OBJDIR)/mpm_common.o \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(OBJDIR)/mpm_netware.o \
28d1da9ca818f831ea491f110dafcc10f7f07050coar $(OBJDIR)/pcre.o \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(OBJDIR)/protocol.o \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(OBJDIR)/provider.o \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(OBJDIR)/request.o \
28d1da9ca818f831ea491f110dafcc10f7f07050coar $(OBJDIR)/scoreboard.o \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(OBJDIR)/util.o \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(OBJDIR)/util_cfgtree.o \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(OBJDIR)/util_charset.o \
28d1da9ca818f831ea491f110dafcc10f7f07050coar $(OBJDIR)/util_debug.o \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(OBJDIR)/util_filter.o \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(OBJDIR)/util_md5.o \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(OBJDIR)/util_nw.o \
28d1da9ca818f831ea491f110dafcc10f7f07050coar $(OBJDIR)/util_pcre.o \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(OBJDIR)/util_script.o \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(OBJDIR)/util_time.o \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(OBJDIR)/util_xml.o \
28d1da9ca818f831ea491f110dafcc10f7f07050coar $(OBJDIR)/vhost.o \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(EOLIST)
64ad864fa0f4493eebb181e393b40a8a90beccb9coar
64ad864fa0f4493eebb181e393b40a8a90beccb9coar#
64ad864fa0f4493eebb181e393b40a8a90beccb9coar# These are the LIB files needed to create the NLM target above.
28d1da9ca818f831ea491f110dafcc10f7f07050coar# These will be added as a library command in the link.opt file.
64ad864fa0f4493eebb181e393b40a8a90beccb9coar#
64ad864fa0f4493eebb181e393b40a8a90beccb9coarFILES_nlm_libs = \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar libcpre.o \
28d1da9ca818f831ea491f110dafcc10f7f07050coar $(EOLIST)
64ad864fa0f4493eebb181e393b40a8a90beccb9coar
64ad864fa0f4493eebb181e393b40a8a90beccb9coar#
64ad864fa0f4493eebb181e393b40a8a90beccb9coar# These are the modules that the above NLM target depends on to load.
28d1da9ca818f831ea491f110dafcc10f7f07050coar# These will be added as a module command in the link.opt file.
64ad864fa0f4493eebb181e393b40a8a90beccb9coar#
64ad864fa0f4493eebb181e393b40a8a90beccb9coarFILES_nlm_modules = \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar aprlib \
28d1da9ca818f831ea491f110dafcc10f7f07050coar Libc \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(EOLIST)
64ad864fa0f4493eebb181e393b40a8a90beccb9coar
64ad864fa0f4493eebb181e393b40a8a90beccb9coar#
28d1da9ca818f831ea491f110dafcc10f7f07050coar# If the nlm has a msg file, put it's path here
64ad864fa0f4493eebb181e393b40a8a90beccb9coar#
64ad864fa0f4493eebb181e393b40a8a90beccb9coarFILE_nlm_msg =
64ad864fa0f4493eebb181e393b40a8a90beccb9coar
28d1da9ca818f831ea491f110dafcc10f7f07050coar#
64ad864fa0f4493eebb181e393b40a8a90beccb9coar# If the nlm has a hlp file put it's path here
64ad864fa0f4493eebb181e393b40a8a90beccb9coar#
64ad864fa0f4493eebb181e393b40a8a90beccb9coarFILE_nlm_hlp =
28d1da9ca818f831ea491f110dafcc10f7f07050coar
64ad864fa0f4493eebb181e393b40a8a90beccb9coar#
64ad864fa0f4493eebb181e393b40a8a90beccb9coar# If this is specified, it will override $(NWOS)\copyright.txt.
64ad864fa0f4493eebb181e393b40a8a90beccb9coar#
28d1da9ca818f831ea491f110dafcc10f7f07050coarFILE_nlm_copyright =
64ad864fa0f4493eebb181e393b40a8a90beccb9coar
64ad864fa0f4493eebb181e393b40a8a90beccb9coar#
64ad864fa0f4493eebb181e393b40a8a90beccb9coar# Any additional imports go here
28d1da9ca818f831ea491f110dafcc10f7f07050coar#
64ad864fa0f4493eebb181e393b40a8a90beccb9coarFILES_nlm_Ximports = \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar @netware.imp \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar @$(APR)/aprlib.imp \
28d1da9ca818f831ea491f110dafcc10f7f07050coar @libc.imp \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar @ws2nlm.imp \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar GetCurrentAddressSpace \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(EOLIST)
28d1da9ca818f831ea491f110dafcc10f7f07050coar
64ad864fa0f4493eebb181e393b40a8a90beccb9coar#
64ad864fa0f4493eebb181e393b40a8a90beccb9coar# Any symbols exported to here
64ad864fa0f4493eebb181e393b40a8a90beccb9coar#
28d1da9ca818f831ea491f110dafcc10f7f07050coarFILES_nlm_exports = \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar @$(NWOS)/httpd.imp \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(EOLIST)
64ad864fa0f4493eebb181e393b40a8a90beccb9coar
28d1da9ca818f831ea491f110dafcc10f7f07050coar#
64ad864fa0f4493eebb181e393b40a8a90beccb9coar# These are the OBJ files needed to create the LIB target above.
64ad864fa0f4493eebb181e393b40a8a90beccb9coar# Paths must all use the '/' character
64ad864fa0f4493eebb181e393b40a8a90beccb9coar#
28d1da9ca818f831ea491f110dafcc10f7f07050coarFILES_lib_objs = \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(EOLIST)
64ad864fa0f4493eebb181e393b40a8a90beccb9coar
64ad864fa0f4493eebb181e393b40a8a90beccb9coar#
28d1da9ca818f831ea491f110dafcc10f7f07050coar# implement targets and dependancies (leave this section alone)
64ad864fa0f4493eebb181e393b40a8a90beccb9coar#
64ad864fa0f4493eebb181e393b40a8a90beccb9coar
64ad864fa0f4493eebb181e393b40a8a90beccb9coarlibs :: $(OBJDIR) $(TARGET_lib)
28d1da9ca818f831ea491f110dafcc10f7f07050coar
64ad864fa0f4493eebb181e393b40a8a90beccb9coarnlms :: libs $(TARGET_nlm)
64ad864fa0f4493eebb181e393b40a8a90beccb9coar
64ad864fa0f4493eebb181e393b40a8a90beccb9coar#
28d1da9ca818f831ea491f110dafcc10f7f07050coar# Updated this target to create necessary directories and copy files to the
64ad864fa0f4493eebb181e393b40a8a90beccb9coar# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
64ad864fa0f4493eebb181e393b40a8a90beccb9coar#
64ad864fa0f4493eebb181e393b40a8a90beccb9coarinstall :: nlms FORCE
28d1da9ca818f831ea491f110dafcc10f7f07050coar -copy $(OBJDIR)\Apache2.nlm $(INSTALL)\Apache2\*.*
64ad864fa0f4493eebb181e393b40a8a90beccb9coar -copy ABOUT_APACHE $(INSTALL)\Apache2\*.*
64ad864fa0f4493eebb181e393b40a8a90beccb9coar -copy README $(INSTALL)\Apache2\*.*
64ad864fa0f4493eebb181e393b40a8a90beccb9coar -copy STATUS $(INSTALL)\Apache2\*.*
28d1da9ca818f831ea491f110dafcc10f7f07050coar -copy LICENSE $(INSTALL)\Apache2\*.*
64ad864fa0f4493eebb181e393b40a8a90beccb9coar -copy CHANGES $(INSTALL)\Apache2\*.*
64ad864fa0f4493eebb181e393b40a8a90beccb9coar -copy support\dbmmanage.in $(INSTALL)\Apache2\bin\dbmmanage.pl
64ad864fa0f4493eebb181e393b40a8a90beccb9coar -copy support\logresolve.pl.in $(INSTALL)\Apache2\bin\logresolve.pl
28d1da9ca818f831ea491f110dafcc10f7f07050coar -awk -f build\mkconfnw.awk docs\conf\httpd.conf.in >$(INSTALL)\Apache2\conf\httpd.conf
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(CHKNOT) $(INSTALL)\Apache2\conf\extra\nul mkdir $(INSTALL)\Apache2\conf\extra
64ad864fa0f4493eebb181e393b40a8a90beccb9coar -awk -f build\mkconfnw.awk docs\conf\extra\httpd-autoindex.conf.in >$(INSTALL)\Apache2\conf\extra\httpd-autoindex.conf
64ad864fa0f4493eebb181e393b40a8a90beccb9coar -awk -f build\mkconfnw.awk docs\conf\extra\httpd-dav.conf.in >$(INSTALL)\Apache2\conf\extra\httpd-dav.conf
28d1da9ca818f831ea491f110dafcc10f7f07050coar -awk -f build\mkconfnw.awk docs\conf\extra\httpd-default.conf.in >$(INSTALL)\Apache2\conf\extra\httpd-default.conf
64ad864fa0f4493eebb181e393b40a8a90beccb9coar -awk -f build\mkconfnw.awk docs\conf\extra\httpd-info.conf.in >$(INSTALL)\Apache2\conf\extra\httpd-info.conf
64ad864fa0f4493eebb181e393b40a8a90beccb9coar -awk -f build\mkconfnw.awk docs\conf\extra\httpd-languages.conf.in >$(INSTALL)\Apache2\conf\extra\httpd-languages.conf
64ad864fa0f4493eebb181e393b40a8a90beccb9coar -awk -f build\mkconfnw.awk docs\conf\extra\httpd-manual.conf.in >$(INSTALL)\Apache2\conf\extra\httpd-manual.conf
28d1da9ca818f831ea491f110dafcc10f7f07050coar -awk -f build\mkconfnw.awk docs\conf\extra\httpd-mpm.conf.in >$(INSTALL)\Apache2\conf\extra\httpd-mpm.conf
64ad864fa0f4493eebb181e393b40a8a90beccb9coar -awk -f build\mkconfnw.awk docs\conf\extra\httpd-multilang-errordoc.conf.in >$(INSTALL)\Apache2\conf\extra\httpd-multilang-errordoc.conf
64ad864fa0f4493eebb181e393b40a8a90beccb9coar -awk -v SSL=1 -f build\mkconfnw.awk <nul >$(INSTALL)\Apache2\conf\extra\httpd-ssl.conf
64ad864fa0f4493eebb181e393b40a8a90beccb9coar -awk -f build\mkconfnw.awk docs\conf\extra\httpd-userdir.conf.in >$(INSTALL)\Apache2\conf\extra\httpd-userdir.conf
64ad864fa0f4493eebb181e393b40a8a90beccb9coar -awk -f build\mkconfnw.awk docs\conf\extra\httpd-vhosts.conf.in >$(INSTALL)\Apache2\conf\extra\httpd-vhosts.conf
28d1da9ca818f831ea491f110dafcc10f7f07050coar -copy docs\conf\magic $(INSTALL)\Apache2\conf\magic
64ad864fa0f4493eebb181e393b40a8a90beccb9coar -copy docs\conf\mime.types $(INSTALL)\Apache2\conf\mime.types
64ad864fa0f4493eebb181e393b40a8a90beccb9coar -copy docs\conf\charset.conv $(INSTALL)\Apache2\conf\charset.conv
64ad864fa0f4493eebb181e393b40a8a90beccb9coar -copy docs\cgi-examples\printenv $(INSTALL)\Apache2\cgi-bin\printenv.pl
64ad864fa0f4493eebb181e393b40a8a90beccb9coar @echo rem copying the docs directories > xc.bat
28d1da9ca818f831ea491f110dafcc10f7f07050coar @echo xcopy docs\error $(INSTALL)\Apache2\error $(XCOPYSW) >> xc.bat
64ad864fa0f4493eebb181e393b40a8a90beccb9coar @echo xcopy docs\docroot $(INSTALL)\Apache2\htdocs $(XCOPYSW) >> xc.bat
64ad864fa0f4493eebb181e393b40a8a90beccb9coar @echo xcopy docs\icons $(INSTALL)\Apache2\icons $(XCOPYSW) >> xc.bat
64ad864fa0f4493eebb181e393b40a8a90beccb9coar @echo xcopy docs\man $(INSTALL)\Apache2\man $(XCOPYSW) >> xc.bat
28d1da9ca818f831ea491f110dafcc10f7f07050coar @echo xcopy docs\manual $(INSTALL)\Apache2\manual $(XCOPYSW) >> xc.bat
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(CMD) xc.bat
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(DEL) xc.bat
64ad864fa0f4493eebb181e393b40a8a90beccb9coar
28d1da9ca818f831ea491f110dafcc10f7f07050coar
64ad864fa0f4493eebb181e393b40a8a90beccb9coar
64ad864fa0f4493eebb181e393b40a8a90beccb9coarinstalldev :: FORCE
64ad864fa0f4493eebb181e393b40a8a90beccb9coar -copy $(subst /,\,$(AP_WORK))\include\*.h $(INSTALL)\Apache2\include\*.*
28d1da9ca818f831ea491f110dafcc10f7f07050coar -copy $(subst /,\,$(AP_WORK))\os\netware\*.h $(INSTALL)\Apache2\include\*.*
64ad864fa0f4493eebb181e393b40a8a90beccb9coar -copy $(subst /,\,$(NWOS))\*.imp $(INSTALL)\Apache2\lib\*.*
64ad864fa0f4493eebb181e393b40a8a90beccb9coar -copy $(subst /,\,$(APR))\include\*.h $(INSTALL)\Apache2\include\*.*
64ad864fa0f4493eebb181e393b40a8a90beccb9coar -copy $(subst /,\,$(APRUTIL))\include\*.h $(INSTALL)\Apache2\include\*.*
28d1da9ca818f831ea491f110dafcc10f7f07050coar -copy $(subst /,\,$(APR))\*.imp $(INSTALL)\Apache2\lib\*.*
64ad864fa0f4493eebb181e393b40a8a90beccb9coar -copy $(subst /,\,$(NWOS))\*.xdc $(INSTALL)\Apache2\lib\*.*
64ad864fa0f4493eebb181e393b40a8a90beccb9coar
64ad864fa0f4493eebb181e393b40a8a90beccb9coarprebuild :: FORCE
28d1da9ca818f831ea491f110dafcc10f7f07050coar $(MAKE) -C server -f NWGNUMakefile
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(MAKE) -C srclib/pcre -f NWGNUMakefile
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(MAKE) -C $(APU_WORK)/uri -f NWGNUMakefile
64ad864fa0f4493eebb181e393b40a8a90beccb9coar $(CHKNOT) $(PREBUILD_INST)\nul mkdir $(PREBUILD_INST)
64ad864fa0f4493eebb181e393b40a8a90beccb9coar -copy $(AP_WORK)\server\$(OBJDIR)\*.nlm $(PREBUILD_INST)\*.*
28d1da9ca818f831ea491f110dafcc10f7f07050coar -copy $(AP_WORK)\srclib\pcre\$(basename $(OBJDIR))\*.nlm $(PREBUILD_INST)\*.*
64ad864fa0f4493eebb181e393b40a8a90beccb9coar -copy $(APU_WORK)\uri\$(basename $(OBJDIR))\*.nlm $(PREBUILD_INST)\*.*
64ad864fa0f4493eebb181e393b40a8a90beccb9coar
64ad864fa0f4493eebb181e393b40a8a90beccb9coar
28d1da9ca818f831ea491f110dafcc10f7f07050coar#
64ad864fa0f4493eebb181e393b40a8a90beccb9coar# Any specialized rules here
64ad864fa0f4493eebb181e393b40a8a90beccb9coar#
64ad864fa0f4493eebb181e393b40a8a90beccb9coar
28d1da9ca818f831ea491f110dafcc10f7f07050coarvpath %.c server:modules/arch/netware:modules/http:modules/aaa:modules/mappers
64ad864fa0f4493eebb181e393b40a8a90beccb9coarvpath %.c modules/generators:modules/metadata:modules/filters:modules/loggers
64ad864fa0f4493eebb181e393b40a8a90beccb9coarvpath %.c os/netware:server/mpm/netware:srclib/pcre
64ad864fa0f4493eebb181e393b40a8a90beccb9coar
64ad864fa0f4493eebb181e393b40a8a90beccb9coar#
28d1da9ca818f831ea491f110dafcc10f7f07050coar# Include the 'tail' makefile that has targets that depend on variables defined
64ad864fa0f4493eebb181e393b40a8a90beccb9coar# in this makefile
64ad864fa0f4493eebb181e393b40a8a90beccb9coar#
64ad864fa0f4493eebb181e393b40a8a90beccb9coar
28d1da9ca818f831ea491f110dafcc10f7f07050coarinclude $(AP_WORK)\build\NWGNUtail.inc
64ad864fa0f4493eebb181e393b40a8a90beccb9coar
64ad864fa0f4493eebb181e393b40a8a90beccb9coar