NWGNUproxycon revision 0a39e7683f6611d66c55712f50bb240428d832a1
bf52162f2d05c1fb1a107c7ef108de73f739b3edpquerna# Make sure all needed macro's are defined
86bb763be5d87c295c8844d30078da2ddb964f73rpluem# Get the 'head' of the build environment if necessary. This includes default
ba217dc41cebc0976010ee177f8fedac782d1f6fminfrin# targets and paths to tools
86bb763be5d87c295c8844d30078da2ddb964f73rpluemifndef EnvironmentDefined
ba217dc41cebc0976010ee177f8fedac782d1f6fminfrininclude $(AP_WORK)\build\NWGNUhead.inc
17d64c884a44f5ca72f6901afd3e50991bfc1c63sf# These directories will be at the beginning of the include list, followed by
a6e4caaa97e433cc2ef78d957bc32756d9c49f79sfXINCDIRS += \
a6e4caaa97e433cc2ef78d957bc32756d9c49f79sf $(AP_WORK)/include \
4f133508c93204c06e1acba9774ff184e5812606niq# These flags will come after CFLAGS
87587593f1a53030e840acc0dec6cc881022ea40covenerXCFLAGS += \
52071e4b9f49c3a1c2c767c7ea80ec92cf9032c9covener# These defines will come after DEFINES
89b8bbc89404e7071e573c4f0a17f528996e855djortonXDEFINES += \
e1d4c4e8366f46dc5dc1e6e24b4c7ac448dfa061sf# These flags will be added to the link.opt file
6bc4f334a04802bab835893d0c42af8bfb9c3c41sfXLFLAGS += \
79e3f2f950745953fff4a6a8dfe1f7cce31ce287sf# These values will be appended to the correct variables based on the value of
ab2b977442827214b1d884decf3e3f1579fd45e1rpluemifeq "$(RELEASE)" "debug"
195edf54eccd8c5a436c7dd17f5f604e7074d5d1sfXINCDIRS += \
3709b26f3370ae89c5324a3c03fab56a93b09ecdsfXCFLAGS += \
03577bc320125eaa2b27ee7af78b894ee6dfe121takashiXDEFINES += \
f5119c5d7cfe8c6d53cb29d43f8746684068ed82minfrinXLFLAGS += \
f74d35a61a835e15412b99b8aebe4958fe4e94a5takashiifeq "$(RELEASE)" "noopt"
94713632faf403489b3f8b4e0ed65e1011ac4991takashiXINCDIRS += \
20216b769716c4346cce373f2028d7dbebf03886poirierXCFLAGS += \
7317a32e0c621c9a28f6f10e83e6c5dc63e3f3bdsfXDEFINES += \
ecc6e723b804fb4b8f858910eff3f88242ec56fasfXLFLAGS += \
ecc6e723b804fb4b8f858910eff3f88242ec56fasfifeq "$(RELEASE)" "release"
727d68c6009030f56a350b4603384ce4fb844341minfrinXINCDIRS += \
ed6dfb7d7057dc4f42348f12d7bff9fe98fc73cfminfrinXCFLAGS += \
4dee28b6fc8fff5efde4e7821aeb6defed3fb84dsfXDEFINES += \
23247a8f748077bc788a5fbaf91d5fad34d0b7d1sfXLFLAGS += \
58015652ffe00f004c6404a0631474f23dadc7dasf# These are used by the link target if an NLM is being generated
58015652ffe00f004c6404a0631474f23dadc7dasf# This is used by the link 'name' directive to name the nlm. If left blank
2af38cc44e48753913565b38a7a9f325f898a293minfrin# TARGET_nlm (see below) will be used.
745417156908df54538ca284b382ce8d27b30066minfrinNLM_NAME = proxycon
fc2f0972572614b50523bc5ddb3f866ca4acd2f0sf# This is used by the link '-desc ' directive.
fc2f0972572614b50523bc5ddb3f866ca4acd2f0sf# If left blank, NLM_NAME will be used.
251430bcaff1fa6a77953bfe56475eb6cc7abc78sfNLM_DESCRIPTION = Apache $(VERSION_STR) Proxy Connection Sub-Module
7b467aa53854c95318a1c709709c1619a4f47118minfrin# This is used by the '-threadname' directive. If left blank,
7b467aa53854c95318a1c709709c1619a4f47118minfrin# NLM_NAME Thread will be used.
7ba7402d405dc9e3c1083e34049ed933472ca910poirierNLM_THREAD_NAME = Proxy Conn Module
7ba7402d405dc9e3c1083e34049ed933472ca910poirier# If this is specified, it will override VERSION value in
7ba7402d405dc9e3c1083e34049ed933472ca910poirier# $(AP_WORK)\build\NWGNUenvironment.inc
4286d2e267e788d856092bf2ccf461e7ca99570frpluemNLM_VERSION =
43563ad04e4bae7b42f7a34a87b7c60dc69c0c3fpoirier# If this is specified, it will override the default of 64K
5357892a1e367372dc2d4a315156e3e44dc5d56dpoirierNLM_STACK_SIZE = 8192
49cea03e96dc4707bce15d6318eb013cb8668d96minfrin# If this is specified it will be used by the link '-entry' directive
49cea03e96dc4707bce15d6318eb013cb8668d96minfrinNLM_ENTRY_SYM = _LibCPrelude
63eaa8ed62d63de0a44346b8af48e08e562db01eminfrin# If this is specified it will be used by the link '-exit' directive
847b3922f7dcde6830f4aad49d29c84b4569c260minfrinNLM_EXIT_SYM = _LibCPostlude
1af2b28846e2647963db788b081676884fb7df8crpluem# If this is specified it will be used by the link '-check' directive
845258fbf5102b8b09fe9b7f4cb4ea4c089344c3poirierNLM_CHECK_SYM =
5d36cddfe00d5c6ad18845fcc04e6f7662050fafminfrin# If these are specified it will be used by the link '-flags' directive
20aa41f86a5b451529d26d9b901eea69989e5c0aminfrinNLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION
8c92aeeb75b1b393f61a3e01c495484737a0ff8cminfrin# If this is specified it will be linked in with the XDCData option in the def
8c92aeeb75b1b393f61a3e01c495484737a0ff8cminfrin# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
8c92aeeb75b1b393f61a3e01c495484737a0ff8cminfrin# by setting APACHE_UNIPROC in the environment
e5db2522dbe503cbf5399094b6239c88c246a8c5poirier# If there is an NLM target, put it here
ad7e5e9fb8f63a5155bb392114162997505ff772minfrinTARGET_nlm = \
ad7e5e9fb8f63a5155bb392114162997505ff772minfrin# If there is an LIB target, put it here
59cb8d601b8c44476e59310f68b9c373d8fc62a6minfrinTARGET_lib = \
ec8b1faa56744b338f6d6421144b56c2bb3faae6poirier# These are the OBJ files needed to create the NLM target above.
10abdcbd7b30d957d15c61ea8100ba97a627ac95minfrin# Paths must all use the '/' character
87e0bf269cc3386ee8e6ab561ff00770151f4f53niqFILES_nlm_objs = \
3c67b7956d44501360506a9f13a5011be73b30ecminfrin# These are the LIB files needed to create the NLM target above.
97d20d37d21b8d427a920e211858172f0a82427epoirier# These will be added as a library command in the link.opt file.
97d20d37d21b8d427a920e211858172f0a82427epoirierFILES_nlm_libs = \
53c999a82fcca729dabc8a512b3fb996d61fd814niq# These are the modules that the above NLM target depends on to load.
53c999a82fcca729dabc8a512b3fb996d61fd814niq# These will be added as a module command in the link.opt file.
25d0f8adcab13255494a3572edff1a25f6fbeea3rpluemFILES_nlm_modules = \
dd9ae259e1578c4388739c880ede97c55cec543frpluem# If the nlm has a msg file, put it's path here
0938450cadc9a083d112a86bc7dd7ae34f791364trawickFILE_nlm_msg =
8bed7ee6d97933b958e97e222f37154d83e384e5jorton# If the nlm has a hlp file put it's path here
8bed7ee6d97933b958e97e222f37154d83e384e5jortonFILE_nlm_hlp =
c7d46b58052fe666c74a47bd26b6cb1e351492adrpluem# If this is specified, it will override $(NWOS)\copyright.txt.
7a25b029b69f169bd22718165dff3b271114f92eniqFILE_nlm_copyright =
43d051c8401a1f3b4f7853cd897d3565ab814ea7poirier# Any additional imports go here
2f34374f6e04b9094a1d13a5ed823f331ba841a3rpluemFILES_nlm_Ximports = \
7a25b029b69f169bd22718165dff3b271114f92eniq proxy_module \
2f34374f6e04b9094a1d13a5ed823f331ba841a3rpluem proxy_hook_scheme_handler \
3e6a46d2fecf446daf0e280a49fa5565f5f635eajorton proxy_hook_canon_handler \
0df8f79d2324b131c36955d7e474a735a762f9eeniq# Any symbols exported to here
0df8f79d2324b131c36955d7e474a735a762f9eeniqFILES_nlm_exports = \
30e3e760b737f13ce800fa02c5930ade7659ba66niq proxy_connect_module \
e991c6fc032c59eb6cb751d9d382e933a53a2866niq# These are the OBJ files needed to create the LIB target above.
e991c6fc032c59eb6cb751d9d382e933a53a2866niq# Paths must all use the '/' character
9a00e2d46c44c111d6952e553a2f1a61b7594eb3rpluemFILES_lib_objs = \
9a00e2d46c44c111d6952e553a2f1a61b7594eb3rpluem# implement targets and dependancies (leave this section alone)
172e83c0f024fe6396dd1f3ca3492fd83c304db5jimlibs :: $(OBJDIR) $(TARGET_lib)
45932a847f237b4d8f0667b138bd3f8a15fb53ffniqnlms :: libs $(TARGET_nlm)
186e9d990f453d16826ab87a87df7b87e6e05921rpluem# Updated this target to create necessary directories and copy files to the
186e9d990f453d16826ab87a87df7b87e6e05921rpluem# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
186e9d990f453d16826ab87a87df7b87e6e05921rplueminstall :: nlms FORCE
6861702c2d883e5c0744d5f7528d2060671ad24dtakashi# Any specialized rules here
f1f779c42f76118102fdecbe8777b47a1fc693a7rjung# Include the 'tail' makefile that has targets that depend on variables defined
f1f779c42f76118102fdecbe8777b47a1fc693a7rjung# in this makefile
292cb7b720095e7bb434d79ae53b02d332aeb99acovenerinclude $(AP_WORK)\build\NWGNUtail.inc