NWGNUmod_cach revision 0a39e7683f6611d66c55712f50bb240428d832a1
d5b7ba26785d7494166d48876362ba30ff30b98awrowe#
c30ef289fe64ac7fedc44cfcc6b439f0f8458b4cgregames# Declare the sub-directories to be built here
c30ef289fe64ac7fedc44cfcc6b439f0f8458b4cgregames#
14763a0db22322626dd8cd59dfbc3a4fcc655d99trawick
2bfe4d90e1d374e14fd5db16a799e6f5e0944748ndSUBDIRS = \
2bfe4d90e1d374e14fd5db16a799e6f5e0944748nd $(EOLIST)
2bfe4d90e1d374e14fd5db16a799e6f5e0944748nd
2bfe4d90e1d374e14fd5db16a799e6f5e0944748nd#
2bfe4d90e1d374e14fd5db16a799e6f5e0944748nd# Get the 'head' of the build environment. This includes default targets and
2bfe4d90e1d374e14fd5db16a799e6f5e0944748nd# paths to tools
97789c9dcc4cc724c9b80fb9b428d128c58e3e0and#
97789c9dcc4cc724c9b80fb9b428d128c58e3e0and
97789c9dcc4cc724c9b80fb9b428d128c58e3e0andinclude $(AP_WORK)\build\NWGNUhead.inc
97789c9dcc4cc724c9b80fb9b428d128c58e3e0and
97789c9dcc4cc724c9b80fb9b428d128c58e3e0and#
56cefde0af6b8db6fda0f1d95d8cdca54f397cd0nd# build this level's files
56cefde0af6b8db6fda0f1d95d8cdca54f397cd0nd#
56cefde0af6b8db6fda0f1d95d8cdca54f397cd0nd# Make sure all needed macro's are defined
41369ed0bc7f2db6272278c27025f6aabf97fe63nd#
41369ed0bc7f2db6272278c27025f6aabf97fe63nd
41369ed0bc7f2db6272278c27025f6aabf97fe63nd#
496f8f3966319d43455675630a849bae019d2a32nd# These directories will be at the beginning of the include list, followed by
496f8f3966319d43455675630a849bae019d2a32nd# INCDIRS
c52d06f85b1d2b9e922abd0b89d2b034ec878535nd#
c52d06f85b1d2b9e922abd0b89d2b034ec878535ndXINCDIRS += \
c52d06f85b1d2b9e922abd0b89d2b034ec878535nd $(AP_WORK)/srclib/apr/include \
13ed2a88decd6dbe13b11467e7f648f2996b7a70jorton $(AP_WORK)/srclib/include/arch/NetWare \
13ed2a88decd6dbe13b11467e7f648f2996b7a70jorton $(AP_WORK)/srclib/apr-util/include \
13ed2a88decd6dbe13b11467e7f648f2996b7a70jorton $(AP_WORK)/include \
13ed2a88decd6dbe13b11467e7f648f2996b7a70jorton $(AP_WORK)/os/NetWare \
9e8c2603790f490398a0fabf97866b6815748a54ianh $(AP_WORK)/server/mpm/NetWare \
9e8c2603790f490398a0fabf97866b6815748a54ianh $(AP_WORK)/srclib/pcre \
9e8c2603790f490398a0fabf97866b6815748a54ianh $(NWOS) \
9e8c2603790f490398a0fabf97866b6815748a54ianh $(EOLIST)
a21b3b9d8ebb12fd51fa1d17e44d5644a35a9a5fnd
a21b3b9d8ebb12fd51fa1d17e44d5644a35a9a5fnd#
a21b3b9d8ebb12fd51fa1d17e44d5644a35a9a5fnd# These flags will come after CFLAGS
5fcef4390e6414ad7754c2f004974982bc33cac2nd#
5fcef4390e6414ad7754c2f004974982bc33cac2ndXCFLAGS += \
5fcef4390e6414ad7754c2f004974982bc33cac2nd $(EOLIST)
5fcef4390e6414ad7754c2f004974982bc33cac2nd
46820eca7dc57ae17c235389a0cd39140a5db8b5nd#
46820eca7dc57ae17c235389a0cd39140a5db8b5nd# These defines will come after DEFINES
46820eca7dc57ae17c235389a0cd39140a5db8b5nd#
46820eca7dc57ae17c235389a0cd39140a5db8b5ndXDEFINES += \
1fbcf7a8e7b18be1b0e77b7bc38b7b71f8dfb052nd $(EOLIST)
1fbcf7a8e7b18be1b0e77b7bc38b7b71f8dfb052nd
1fbcf7a8e7b18be1b0e77b7bc38b7b71f8dfb052nd#
e6c244ee56578707b20a86e0e938498299a93b6cnd# These flags will be added to the link.opt file
e6c244ee56578707b20a86e0e938498299a93b6cnd#
e6c244ee56578707b20a86e0e938498299a93b6cndXLFLAGS += \
e6c244ee56578707b20a86e0e938498299a93b6cnd $(EOLIST)
56d70402724e1872992bcac08b802681cf762d9and
56d70402724e1872992bcac08b802681cf762d9and#
56d70402724e1872992bcac08b802681cf762d9and# These values will be appended to the correct variables based on the value of
bfbca4e24db7fef55c0ab787aca9f89594530b45geoff# RELEASE
bfbca4e24db7fef55c0ab787aca9f89594530b45geoff#
bfbca4e24db7fef55c0ab787aca9f89594530b45geoffifeq "$(RELEASE)" "debug"
bfbca4e24db7fef55c0ab787aca9f89594530b45geoffXINCDIRS += \
f769c33501f474aed3e0f7c769477c8c4f478783geoff $(EOLIST)
f769c33501f474aed3e0f7c769477c8c4f478783geoff
f769c33501f474aed3e0f7c769477c8c4f478783geoffXCFLAGS += \
f769c33501f474aed3e0f7c769477c8c4f478783geoff $(EOLIST)
89ea31761658f422cf21cd3b0224dc5fe95cccd3nd
89ea31761658f422cf21cd3b0224dc5fe95cccd3ndXDEFINES += \
89ea31761658f422cf21cd3b0224dc5fe95cccd3nd -DDEBUG \
22e2a4e366bf541a07188005e46c88c86de56775nd $(EOLIST)
22e2a4e366bf541a07188005e46c88c86de56775nd
22e2a4e366bf541a07188005e46c88c86de56775ndXLFLAGS += \
67a4d05bab3fc19c1b87fb9042977975bf27cdbdnd $(EOLIST)
67a4d05bab3fc19c1b87fb9042977975bf27cdbdndendif
67a4d05bab3fc19c1b87fb9042977975bf27cdbdnd
210817da3118a900388980e4481e4aec6a58f101ndifeq "$(RELEASE)" "noopt"
210817da3118a900388980e4481e4aec6a58f101ndXINCDIRS += \
210817da3118a900388980e4481e4aec6a58f101nd $(EOLIST)
46c99ed700a996f84dee6b1fe42d22ce9f27b5a0nd
46c99ed700a996f84dee6b1fe42d22ce9f27b5a0ndXCFLAGS += \
46c99ed700a996f84dee6b1fe42d22ce9f27b5a0nd $(EOLIST)
d7c7669331357296719d67d1963d40d713ed455atrawick
d7c7669331357296719d67d1963d40d713ed455atrawickXDEFINES += \
d7c7669331357296719d67d1963d40d713ed455atrawick $(EOLIST)
d7c7669331357296719d67d1963d40d713ed455atrawick
781888a651637edc0b043a6787cb0c2acf30a187geoffXLFLAGS += \
781888a651637edc0b043a6787cb0c2acf30a187geoff $(EOLIST)
781888a651637edc0b043a6787cb0c2acf30a187geoffendif
781888a651637edc0b043a6787cb0c2acf30a187geoff
82418a946182d550955bde2daae409766544c544trawickifeq "$(RELEASE)" "release"
82418a946182d550955bde2daae409766544c544trawickXINCDIRS += \
82418a946182d550955bde2daae409766544c544trawick $(EOLIST)
5d3e5520c34648220ed0cd9dc01c2c203257c86fnd
5d3e5520c34648220ed0cd9dc01c2c203257c86fndXCFLAGS += \
5d3e5520c34648220ed0cd9dc01c2c203257c86fnd $(EOLIST)
15240541412d9584f72016c353296e95b7339236thommay
15240541412d9584f72016c353296e95b7339236thommayXDEFINES += \
15240541412d9584f72016c353296e95b7339236thommay $(EOLIST)
92d95be777d4365eb79444a7a558355a7a92081ajorton
92d95be777d4365eb79444a7a558355a7a92081ajortonXLFLAGS += \
92d95be777d4365eb79444a7a558355a7a92081ajorton $(EOLIST)
92d95be777d4365eb79444a7a558355a7a92081ajortonendif
af8dee354a287249dd9f3f77bbe850108e5afe43trawick
af8dee354a287249dd9f3f77bbe850108e5afe43trawick#
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.
14763a0db22322626dd8cd59dfbc3a4fcc655d99trawick#
fb82af0f0cd7b58eef19c54b086131b7e1e1e749madhumNLM_NAME = mod_cach
fb82af0f0cd7b58eef19c54b086131b7e1e1e749madhum
fb82af0f0cd7b58eef19c54b086131b7e1e1e749madhum#
bcccfc984c481af611fa4ffc3e2732400b041cfend# This is used by the link '-desc ' directive.
bcccfc984c481af611fa4ffc3e2732400b041cfend# If left blank, NLM_NAME will be used.
bcccfc984c481af611fa4ffc3e2732400b041cfend#
f78505c7d260473bf11002f5028186f27d0ed8a0geoffNLM_DESCRIPTION = Apache $(VERSION_STR) Cache module
f78505c7d260473bf11002f5028186f27d0ed8a0geoff
f78505c7d260473bf11002f5028186f27d0ed8a0geoff#
f78505c7d260473bf11002f5028186f27d0ed8a0geoff# This is used by the '-threadname' directive. If left blank,
f78505c7d260473bf11002f5028186f27d0ed8a0geoff# NLM_NAME Thread will be used.
f78505c7d260473bf11002f5028186f27d0ed8a0geoff#
5317df0c9398c362b856b205fa810dfdbca60671trawickNLM_THREAD_NAME = mod_cach
5317df0c9398c362b856b205fa810dfdbca60671trawick
5317df0c9398c362b856b205fa810dfdbca60671trawick#
5317df0c9398c362b856b205fa810dfdbca60671trawick# If this is specified, it will override VERSION value in
a8a509c9b67eea07a4a239e7f36c9f3de6022585trawick# $(AP_WORK)\build\NWGNUenvironment.inc
a8a509c9b67eea07a4a239e7f36c9f3de6022585trawick#
a8a509c9b67eea07a4a239e7f36c9f3de6022585trawickNLM_VERSION =
464f9b8ffadf219501efd5536bb7e7ccdc8c01f9trawick
a8a509c9b67eea07a4a239e7f36c9f3de6022585trawick#
464f9b8ffadf219501efd5536bb7e7ccdc8c01f9trawick# If this is specified, it will override the default of 64K
ea981941b1e5ecfb1a27b9e9aff32b9c98640ed9nd#
ea981941b1e5ecfb1a27b9e9aff32b9c98640ed9ndNLM_STACK_SIZE = 65536
ea981941b1e5ecfb1a27b9e9aff32b9c98640ed9nd
ea981941b1e5ecfb1a27b9e9aff32b9c98640ed9nd
ced699ca391a4fb7d70cfeb995c58d4bf62f00a8trawick#
ced699ca391a4fb7d70cfeb995c58d4bf62f00a8trawick# If this is specified it will be used by the link '-entry' directive
ced699ca391a4fb7d70cfeb995c58d4bf62f00a8trawick#
d57b793ddd42a997c2cb3bd389bbcf1161226fd8trawickNLM_ENTRY_SYM = _LibCPrelude
d57b793ddd42a997c2cb3bd389bbcf1161226fd8trawick
d57b793ddd42a997c2cb3bd389bbcf1161226fd8trawick#
f881e72fe4f91fd1445c5d81c95f66d6a4a3ee5btrawick# If this is specified it will be used by the link '-exit' directive
f881e72fe4f91fd1445c5d81c95f66d6a4a3ee5btrawick#
f881e72fe4f91fd1445c5d81c95f66d6a4a3ee5btrawickNLM_EXIT_SYM = _LibCPostlude
d11bf78168abbb07d8ed9f54d7ea0953d46aad83nd
d11bf78168abbb07d8ed9f54d7ea0953d46aad83nd#
d11bf78168abbb07d8ed9f54d7ea0953d46aad83nd# If this is specified it will be used by the link '-check' directive
d11bf78168abbb07d8ed9f54d7ea0953d46aad83nd#
bf28a00d8218aa76a56eddabca308e8d0e691626ndNLM_CHECK_SYM =
bf28a00d8218aa76a56eddabca308e8d0e691626nd
bf28a00d8218aa76a56eddabca308e8d0e691626nd#
bf28a00d8218aa76a56eddabca308e8d0e691626nd# If this is specified it will be used by the link '-flags' directive
bf28a00d8218aa76a56eddabca308e8d0e691626nd#
70f665a8945f3bdfe8bbeaa063de2aa722fc9b29ndNLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION
70f665a8945f3bdfe8bbeaa063de2aa722fc9b29nd
70f665a8945f3bdfe8bbeaa063de2aa722fc9b29nd#
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
c08f5a0cf2b8903255186ba998a4481dfac9c796nd#
eea521297270de3f9ae70d8822f8665c513de574ndXDCDATA =
eea521297270de3f9ae70d8822f8665c513de574nd
eea521297270de3f9ae70d8822f8665c513de574nd#
5bcdf2cd27ab0c91a3c7eaffbff4cb8505389dc1nd# Declare all target files (you must add your files here)
5bcdf2cd27ab0c91a3c7eaffbff4cb8505389dc1nd#
5bcdf2cd27ab0c91a3c7eaffbff4cb8505389dc1nd
02b0660d7f44ff8106bd5095653e9c19e39ec37dnd#
02b0660d7f44ff8106bd5095653e9c19e39ec37dnd# If there is an NLM target, put it here
02b0660d7f44ff8106bd5095653e9c19e39ec37dnd#
5b8e35ad88268c0210d93288dad57c2f1d3e8811ndTARGET_nlm = \
5b8e35ad88268c0210d93288dad57c2f1d3e8811nd $(OBJDIR)/mod_cach.nlm \
5b8e35ad88268c0210d93288dad57c2f1d3e8811nd $(EOLIST)
a9ee8e9bd3dffd23ca49be8d0bdf0e33cd0bcce2jorton
a9ee8e9bd3dffd23ca49be8d0bdf0e33cd0bcce2jorton#
a9ee8e9bd3dffd23ca49be8d0bdf0e33cd0bcce2jorton# If there is an LIB target, put it here
3b86be5b30d5cbacc1f942b05dff8a9365449d30jorton#
8d9494af6ddb7a9c998b1b622e0bcd8d17cac50ejortonTARGET_lib = \
3b86be5b30d5cbacc1f942b05dff8a9365449d30jorton $(EOLIST)
8aad5258d3ecde3751559bc685a3185e63cbde9aianh
8aad5258d3ecde3751559bc685a3185e63cbde9aianh#
8aad5258d3ecde3751559bc685a3185e63cbde9aianh# These are the OBJ files needed to create the NLM target above.
8aad5258d3ecde3751559bc685a3185e63cbde9aianh# Paths must all use the '/' character
71f3601de4983bc2a6aaffcf37dc1d35c8674a34coar#
71f3601de4983bc2a6aaffcf37dc1d35c8674a34coarFILES_nlm_objs = \
71f3601de4983bc2a6aaffcf37dc1d35c8674a34coar $(OBJDIR)/cache_util.o \
71f3601de4983bc2a6aaffcf37dc1d35c8674a34coar $(OBJDIR)/cache_storage.o \
49a82db11388cff9b29ff861b4241bbce69c76fdtrawick $(OBJDIR)/mod_cache.o \
49a82db11388cff9b29ff861b4241bbce69c76fdtrawick $(EOLIST)
49a82db11388cff9b29ff861b4241bbce69c76fdtrawick
49a82db11388cff9b29ff861b4241bbce69c76fdtrawick# $(OBJDIR)/mod_mem_cache.o \
f23c50b3628a8571da2ff3277ae58ef1d675554ftrawick#
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.
f23c50b3628a8571da2ff3277ae58ef1d675554ftrawick#
8dc154408549195c828b823e9dc7396f107f2512jortonFILES_nlm_libs = \
8dc154408549195c828b823e9dc7396f107f2512jorton libcpre.o \
8dc154408549195c828b823e9dc7396f107f2512jorton $(EOLIST)
ca2504b59d48a926af23f6b18af550c1e892d8a6jorton
ca2504b59d48a926af23f6b18af550c1e892d8a6jorton#
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.
6126fad8adeca94e9813812c691747afeca164dftrawick#
6126fad8adeca94e9813812c691747afeca164dftrawickFILES_nlm_modules = \
7ed5992392d5babab20be4ce4029ad17ae062b5aianh Apache2 \
7ed5992392d5babab20be4ce4029ad17ae062b5aianh Libc \
7ed5992392d5babab20be4ce4029ad17ae062b5aianh $(EOLIST)
b7973a1e572a3ff7cdedb48ed1f9481ece700bf9trawick
36f2369ee230c310fed3b600e9e99cf5770804a3wrowe#
b7973a1e572a3ff7cdedb48ed1f9481ece700bf9trawick# If the nlm has a msg file, put it's path here
5c4e29c5f77fbc967d78886ab378b9500267b0fbtrawick#
5c4e29c5f77fbc967d78886ab378b9500267b0fbtrawickFILE_nlm_msg =
5c4e29c5f77fbc967d78886ab378b9500267b0fbtrawick
1fbf6ba0f5207e6637b49f9a9dfcc779bbe952a9trawick#
1fbf6ba0f5207e6637b49f9a9dfcc779bbe952a9trawick# If the nlm has a hlp file put it's path here
6c4c113ce85934b11c9e78399e1bb8ec7a568af9nd#
6c4c113ce85934b11c9e78399e1bb8ec7a568af9ndFILE_nlm_hlp =
679cafe33462d8c6bd0a74cc4359e561d19a0aafnd
679cafe33462d8c6bd0a74cc4359e561d19a0aafnd#
6c4c113ce85934b11c9e78399e1bb8ec7a568af9nd# If this is specified, it will override $(NWOS)\copyright.txt.
81ef3d132c8f335006465f297c42319f8734825dnd#
81ef3d132c8f335006465f297c42319f8734825dndFILE_nlm_copyright =
81ef3d132c8f335006465f297c42319f8734825dnd
73291de2e17c97d3549f2f8aa085ca43d27e108and#
73291de2e17c97d3549f2f8aa085ca43d27e108and# Any additional imports go here
73291de2e17c97d3549f2f8aa085ca43d27e108and#
73291de2e17c97d3549f2f8aa085ca43d27e108andFILES_nlm_Ximports = \
3caed8f01e7d67f3ad5d47cb28bb4e43131652fdjerenkrantz @libc.imp \
3caed8f01e7d67f3ad5d47cb28bb4e43131652fdjerenkrantz @$(APR)/aprlib.imp \
3caed8f01e7d67f3ad5d47cb28bb4e43131652fdjerenkrantz @httpd.imp \
238e707c9022eaa8332a702dd6913dd0d1fb3df8jerenkrantz @netware.imp \
36f2369ee230c310fed3b600e9e99cf5770804a3wrowe $(EOLIST)
3caed8f01e7d67f3ad5d47cb28bb4e43131652fdjerenkrantz
e127d82e8afc2f885fe2183b68d4a110580d21dfjwoolley#
e127d82e8afc2f885fe2183b68d4a110580d21dfjwoolley# Any symbols exported to here
e127d82e8afc2f885fe2183b68d4a110580d21dfjwoolley#
e127d82e8afc2f885fe2183b68d4a110580d21dfjwoolleyFILES_nlm_exports = \
fd99717a52886f7d9f9f73be2080d3fdc2ec4bd6nd @mod_cache.imp \
fd99717a52886f7d9f9f73be2080d3fdc2ec4bd6nd cache_module \
fd99717a52886f7d9f9f73be2080d3fdc2ec4bd6nd $(EOLIST)
5fb2e8564729922524cd011b11e2d4f5d76f5a8dnd
5fb2e8564729922524cd011b11e2d4f5d76f5a8dnd#
5fb2e8564729922524cd011b11e2d4f5d76f5a8dnd# These are the OBJ files needed to create the LIB target above.
987c2c2ff2f19f306357f79d3280b347d96c470fnd# Paths must all use the '/' character
987c2c2ff2f19f306357f79d3280b347d96c470fnd#
987c2c2ff2f19f306357f79d3280b347d96c470fndFILES_lib_objs = \
987c2c2ff2f19f306357f79d3280b347d96c470fnd $(EOLIST)
a4dd3688dd6645faf0c1c1bfb22017c8f03d5b24nd
a4dd3688dd6645faf0c1c1bfb22017c8f03d5b24nd#
a4dd3688dd6645faf0c1c1bfb22017c8f03d5b24nd# implement targets and dependancies (leave this section alone)
f2fe083bb9fabd2af7eb39d4f154f27a451bb5a4nd#
f2fe083bb9fabd2af7eb39d4f154f27a451bb5a4nd
f2fe083bb9fabd2af7eb39d4f154f27a451bb5a4ndlibs :: $(OBJDIR) $(TARGET_lib)
f2fe083bb9fabd2af7eb39d4f154f27a451bb5a4nd
7de6cb79f71a9007ba2b1e786cbad8b84f05d101ndnlms :: libs $(TARGET_nlm)
7de6cb79f71a9007ba2b1e786cbad8b84f05d101nd
7de6cb79f71a9007ba2b1e786cbad8b84f05d101nd#
7de6cb79f71a9007ba2b1e786cbad8b84f05d101nd# Updated this target to create necessary directories and copy files to the
aa9b03a5f32732c0caaef03a7ed78ffb290e29e4trawick# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
36f2369ee230c310fed3b600e9e99cf5770804a3wrowe#
aa9b03a5f32732c0caaef03a7ed78ffb290e29e4trawickinstall :: nlms FORCE
ab56518227d474ee08f039e4c5540011c1b8a913trawick
36f2369ee230c310fed3b600e9e99cf5770804a3wrowe#
ab56518227d474ee08f039e4c5540011c1b8a913trawick# Any specialized rules here
a18a308d7a942230edcde1bf00d7ae9b4b143c90trawick#
36f2369ee230c310fed3b600e9e99cf5770804a3wrowe
a18a308d7a942230edcde1bf00d7ae9b4b143c90trawick#
3b872593fd5f61981d9dd69a4b0b5d5f5f668929trawick# Include the 'tail' makefile that has targets that depend on variables defined
3b872593fd5f61981d9dd69a4b0b5d5f5f668929trawick# in this makefile
3b872593fd5f61981d9dd69a4b0b5d5f5f668929trawick#
fc25339741311efd7d460f18b6287ef38d76bbe6madhum
fc25339741311efd7d460f18b6287ef38d76bbe6madhuminclude $(AP_WORK)\build\NWGNUtail.inc
36f2369ee230c310fed3b600e9e99cf5770804a3wrowe
fc25339741311efd7d460f18b6287ef38d76bbe6madhum
fcdca175a52fe517f2317ba0e2b6e6d14522b869madhum
19fdbc5566bf67dde644be9e8d38d62db4dd0ba5jerenkrantz