NWGNUmod_cach revision 0a39e7683f6611d66c55712f50bb240428d832a1
c30ef289fe64ac7fedc44cfcc6b439f0f8458b4cgregames# Declare the sub-directories to be built here
2bfe4d90e1d374e14fd5db16a799e6f5e0944748ndSUBDIRS = \
2bfe4d90e1d374e14fd5db16a799e6f5e0944748nd# Get the 'head' of the build environment. This includes default targets and
2bfe4d90e1d374e14fd5db16a799e6f5e0944748nd# paths to tools
97789c9dcc4cc724c9b80fb9b428d128c58e3e0andinclude $(AP_WORK)\build\NWGNUhead.inc
56cefde0af6b8db6fda0f1d95d8cdca54f397cd0nd# build this level's files
56cefde0af6b8db6fda0f1d95d8cdca54f397cd0nd# Make sure all needed macro's are defined
496f8f3966319d43455675630a849bae019d2a32nd# These directories will be at the beginning of the include list, followed by
c52d06f85b1d2b9e922abd0b89d2b034ec878535ndXINCDIRS += \
13ed2a88decd6dbe13b11467e7f648f2996b7a70jorton $(AP_WORK)/include \
a21b3b9d8ebb12fd51fa1d17e44d5644a35a9a5fnd# These flags will come after CFLAGS
5fcef4390e6414ad7754c2f004974982bc33cac2ndXCFLAGS += \
46820eca7dc57ae17c235389a0cd39140a5db8b5nd# These defines will come after DEFINES
46820eca7dc57ae17c235389a0cd39140a5db8b5ndXDEFINES += \
e6c244ee56578707b20a86e0e938498299a93b6cnd# These flags will be added to the link.opt file
e6c244ee56578707b20a86e0e938498299a93b6cndXLFLAGS += \
56d70402724e1872992bcac08b802681cf762d9and# These values will be appended to the correct variables based on the value of
bfbca4e24db7fef55c0ab787aca9f89594530b45geoffifeq "$(RELEASE)" "debug"
bfbca4e24db7fef55c0ab787aca9f89594530b45geoffXINCDIRS += \
f769c33501f474aed3e0f7c769477c8c4f478783geoffXCFLAGS += \
89ea31761658f422cf21cd3b0224dc5fe95cccd3ndXDEFINES += \
22e2a4e366bf541a07188005e46c88c86de56775ndXLFLAGS += \
210817da3118a900388980e4481e4aec6a58f101ndifeq "$(RELEASE)" "noopt"
210817da3118a900388980e4481e4aec6a58f101ndXINCDIRS += \
46c99ed700a996f84dee6b1fe42d22ce9f27b5a0ndXCFLAGS += \
d7c7669331357296719d67d1963d40d713ed455atrawickXDEFINES += \
781888a651637edc0b043a6787cb0c2acf30a187geoffXLFLAGS += \
82418a946182d550955bde2daae409766544c544trawickifeq "$(RELEASE)" "release"
82418a946182d550955bde2daae409766544c544trawickXINCDIRS += \
5d3e5520c34648220ed0cd9dc01c2c203257c86fndXCFLAGS += \
15240541412d9584f72016c353296e95b7339236thommayXDEFINES += \
92d95be777d4365eb79444a7a558355a7a92081ajortonXLFLAGS += \
af8dee354a287249dd9f3f77bbe850108e5afe43trawick# These are used by the link target if an NLM is being generated
af8dee354a287249dd9f3f77bbe850108e5afe43trawick# This is used by the link 'name' directive to name the nlm. If left blank
af8dee354a287249dd9f3f77bbe850108e5afe43trawick# TARGET_nlm (see below) will be used.
fb82af0f0cd7b58eef19c54b086131b7e1e1e749madhumNLM_NAME = mod_cach
bcccfc984c481af611fa4ffc3e2732400b041cfend# This is used by the link '-desc ' directive.
bcccfc984c481af611fa4ffc3e2732400b041cfend# If left blank, NLM_NAME will be used.
f78505c7d260473bf11002f5028186f27d0ed8a0geoffNLM_DESCRIPTION = Apache $(VERSION_STR) Cache module
f78505c7d260473bf11002f5028186f27d0ed8a0geoff# This is used by the '-threadname' directive. If left blank,
f78505c7d260473bf11002f5028186f27d0ed8a0geoff# NLM_NAME Thread will be used.
5317df0c9398c362b856b205fa810dfdbca60671trawickNLM_THREAD_NAME = mod_cach
5317df0c9398c362b856b205fa810dfdbca60671trawick# If this is specified, it will override VERSION value in
a8a509c9b67eea07a4a239e7f36c9f3de6022585trawick# $(AP_WORK)\build\NWGNUenvironment.inc
a8a509c9b67eea07a4a239e7f36c9f3de6022585trawickNLM_VERSION =
464f9b8ffadf219501efd5536bb7e7ccdc8c01f9trawick# If this is specified, it will override the default of 64K
ea981941b1e5ecfb1a27b9e9aff32b9c98640ed9ndNLM_STACK_SIZE = 65536
ced699ca391a4fb7d70cfeb995c58d4bf62f00a8trawick# If this is specified it will be used by the link '-entry' directive
d57b793ddd42a997c2cb3bd389bbcf1161226fd8trawickNLM_ENTRY_SYM = _LibCPrelude
f881e72fe4f91fd1445c5d81c95f66d6a4a3ee5btrawick# If this is specified it will be used by the link '-exit' directive
f881e72fe4f91fd1445c5d81c95f66d6a4a3ee5btrawickNLM_EXIT_SYM = _LibCPostlude
d11bf78168abbb07d8ed9f54d7ea0953d46aad83nd# If this is specified it will be used by the link '-check' directive
bf28a00d8218aa76a56eddabca308e8d0e691626ndNLM_CHECK_SYM =
bf28a00d8218aa76a56eddabca308e8d0e691626nd# If this is specified it will be used by the link '-flags' directive
70f665a8945f3bdfe8bbeaa063de2aa722fc9b29ndNLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION
c08f5a0cf2b8903255186ba998a4481dfac9c796nd# If this is specified it will be linked in with the XDCData option in the def
c08f5a0cf2b8903255186ba998a4481dfac9c796nd# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
c08f5a0cf2b8903255186ba998a4481dfac9c796nd# by setting APACHE_UNIPROC in the environment
5bcdf2cd27ab0c91a3c7eaffbff4cb8505389dc1nd# Declare all target files (you must add your files here)
02b0660d7f44ff8106bd5095653e9c19e39ec37dnd# If there is an NLM target, put it here
5b8e35ad88268c0210d93288dad57c2f1d3e8811ndTARGET_nlm = \
a9ee8e9bd3dffd23ca49be8d0bdf0e33cd0bcce2jorton# If there is an LIB target, put it here
8d9494af6ddb7a9c998b1b622e0bcd8d17cac50ejortonTARGET_lib = \
8aad5258d3ecde3751559bc685a3185e63cbde9aianh# These are the OBJ files needed to create the NLM target above.
8aad5258d3ecde3751559bc685a3185e63cbde9aianh# Paths must all use the '/' character
71f3601de4983bc2a6aaffcf37dc1d35c8674a34coarFILES_nlm_objs = \
f23c50b3628a8571da2ff3277ae58ef1d675554ftrawick# These are the LIB files needed to create the NLM target above.
f23c50b3628a8571da2ff3277ae58ef1d675554ftrawick# These will be added as a library command in the link.opt file.
8dc154408549195c828b823e9dc7396f107f2512jortonFILES_nlm_libs = \
ca2504b59d48a926af23f6b18af550c1e892d8a6jorton# These are the modules that the above NLM target depends on to load.
6126fad8adeca94e9813812c691747afeca164dftrawick# These will be added as a module command in the link.opt file.
6126fad8adeca94e9813812c691747afeca164dftrawickFILES_nlm_modules = \
b7973a1e572a3ff7cdedb48ed1f9481ece700bf9trawick# If the nlm has a msg file, put it's path here
5c4e29c5f77fbc967d78886ab378b9500267b0fbtrawickFILE_nlm_msg =
1fbf6ba0f5207e6637b49f9a9dfcc779bbe952a9trawick# If the nlm has a hlp file put it's path here
6c4c113ce85934b11c9e78399e1bb8ec7a568af9ndFILE_nlm_hlp =
6c4c113ce85934b11c9e78399e1bb8ec7a568af9nd# If this is specified, it will override $(NWOS)\copyright.txt.
81ef3d132c8f335006465f297c42319f8734825dndFILE_nlm_copyright =
73291de2e17c97d3549f2f8aa085ca43d27e108and# Any additional imports go here
73291de2e17c97d3549f2f8aa085ca43d27e108andFILES_nlm_Ximports = \
e127d82e8afc2f885fe2183b68d4a110580d21dfjwoolley# Any symbols exported to here
e127d82e8afc2f885fe2183b68d4a110580d21dfjwoolleyFILES_nlm_exports = \
fd99717a52886f7d9f9f73be2080d3fdc2ec4bd6nd cache_module \
5fb2e8564729922524cd011b11e2d4f5d76f5a8dnd# These are the OBJ files needed to create the LIB target above.
987c2c2ff2f19f306357f79d3280b347d96c470fnd# Paths must all use the '/' character
987c2c2ff2f19f306357f79d3280b347d96c470fndFILES_lib_objs = \
a4dd3688dd6645faf0c1c1bfb22017c8f03d5b24nd# implement targets and dependancies (leave this section alone)
f2fe083bb9fabd2af7eb39d4f154f27a451bb5a4ndlibs :: $(OBJDIR) $(TARGET_lib)
7de6cb79f71a9007ba2b1e786cbad8b84f05d101ndnlms :: libs $(TARGET_nlm)
7de6cb79f71a9007ba2b1e786cbad8b84f05d101nd# Updated this target to create necessary directories and copy files to the
aa9b03a5f32732c0caaef03a7ed78ffb290e29e4trawick# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
aa9b03a5f32732c0caaef03a7ed78ffb290e29e4trawickinstall :: nlms FORCE
ab56518227d474ee08f039e4c5540011c1b8a913trawick# Any specialized rules here
3b872593fd5f61981d9dd69a4b0b5d5f5f668929trawick# Include the 'tail' makefile that has targets that depend on variables defined
3b872593fd5f61981d9dd69a4b0b5d5f5f668929trawick# in this makefile
fc25339741311efd7d460f18b6287ef38d76bbe6madhuminclude $(AP_WORK)\build\NWGNUtail.inc