NWGNUmodlogio revision 70953fb44a7140fe206c3a5f011e24209c8c5c6a
7bf77d70b6830636bc36e6b76a228c301be23ff7brianp# Declare the sub-directories to be built here
185b73b1f914e5d8f99f31225cc656b882dcbf73ianhSUBDIRS = \
cef5cb47e2ea4c174c01762d4430613db0f41e5cstoddard# Get the 'head' of the build environment. This includes default targets and
1eb1f02a23de724c105b2c6c9fbd469a611059c6trawick# paths to tools
ca47a2b6bcea23e8af185c68f256dcbbfd2a0f9dtrawickinclude $(AP_WORK)\build\NWGNUhead.inc
6ef713e25735887d4a59a879b97a68bd575ecb92trawick# build this level's files
26d590c0e5338f66ca1aad6f925374843fac5121stoddard# Make sure all needed macro's are defined
2b31ac2c6342d2afcf67b7b0f08c928a87f98c74wrowe# These directories will be at the beginning of the include list, followed by
d472f67198d6b15dd1270136f180cca9c9263243trawickXINCDIRS += \
d472f67198d6b15dd1270136f180cca9c9263243trawick $(AP_WORK)/include \
d472f67198d6b15dd1270136f180cca9c9263243trawick $(APR)/include \
a3bb95a3600153c7f09f62749e32093658943c32brianp $(APRUTIL)/include \
b760518cc17e7124ba546ed63063603f1ab82a40aaron# These flags will come after CFLAGS
b760518cc17e7124ba546ed63063603f1ab82a40aaronXCFLAGS += \
23d8f62856c1531526042e1c5edf44557cadd2e5trawick# These defines will come after DEFINES
705c8ed3ef608706c91ca12483d7b54ff9007cc9jerenkrantzXDEFINES += \
ef154948c97c53cdc1ad5329cb83c32ad26cf416aaron# These flags will be added to the link.opt file
c6741d11357aace4c9ba39535d3cb2d751f46114trawickXLFLAGS += \
7230f1eb017a35b7d20e0e9ec0d234766f2a732dtrawick# These values will be appended to the correct variables based on the value of
86a5d34400b7f586ad2cca97c8b33b2f55bac61btrawickifeq "$(RELEASE)" "debug"
86a5d34400b7f586ad2cca97c8b33b2f55bac61btrawickXINCDIRS += \
86a5d34400b7f586ad2cca97c8b33b2f55bac61btrawickXCFLAGS += \
6b477c0a238733ca8fd156629310513d29dc7e02trawickXDEFINES += \
2b31ac2c6342d2afcf67b7b0f08c928a87f98c74wroweXLFLAGS += \
557eb8d48357657fa898250560f089c65539c634gregamesifeq "$(RELEASE)" "noopt"
adb8c5e5291be5943122bbff404bc1018c79d555ianhXINCDIRS += \
25b715e9687f82ea055fdea2a9761c7e5f1ac6eetrawickXCFLAGS += \
51ced3b28ef430a96586284d4320f7dbdaf7225ebrianpXDEFINES += \
a222035458f89e2db231450ba6d5fae8052da5f5aaronXLFLAGS += \
4a872628ca5bf20847f442a625c255b643120db0wroweifeq "$(RELEASE)" "release"
4a872628ca5bf20847f442a625c255b643120db0wroweXINCDIRS += \
74528257888620220641cd28366731539a37e1f3ianhXCFLAGS += \
855e263a93fde2e30d10a48a9ffc047039bfc9d9brianpXDEFINES += \
855e263a93fde2e30d10a48a9ffc047039bfc9d9brianpXLFLAGS += \
54b3b7946d22324cea615d7c8a4ff0c9eadd1f8crbb# These are used by the link target if an NLM is being generated
e28c02dc08247d3fcb71e81791cac2311a248dfdrbb# This is used by the link 'name' directive to name the nlm. If left blank
e28c02dc08247d3fcb71e81791cac2311a248dfdrbb# TARGET_nlm (see below) will be used.
e28c02dc08247d3fcb71e81791cac2311a248dfdrbbNLM_NAME = logio
e28c02dc08247d3fcb71e81791cac2311a248dfdrbb# This is used by the link '-desc ' directive.
f9f506f0686ad065b4c6fe14dd962cdd478350dbianh# If left blank, NLM_NAME will be used.
f9f506f0686ad065b4c6fe14dd962cdd478350dbianhNLM_DESCRIPTION = Apache $(VERSION_STR) IO Logging Module
9d0665da83d1e22c0ea0e5f6f940f70f75bf5237ianh# This is used by the '-threadname' directive. If left blank,
9d0665da83d1e22c0ea0e5f6f940f70f75bf5237ianh# NLM_NAME Thread will be used.
47c2fb4c1f155ddb6954e46e7f6d125eef78b3bbaaronNLM_THREAD_NAME = Logio Module
47c2fb4c1f155ddb6954e46e7f6d125eef78b3bbaaron# If this is specified, it will override VERSION value in
9ca934cec0a1cc3c425fde5dc51956bce6cd3183brianp# $(AP_WORK)\build\NWGNUenvironment.inc
9ca934cec0a1cc3c425fde5dc51956bce6cd3183brianpNLM_VERSION =
0cdca1e056a05a09fe16fe736abcf79969c9767ejerenkrantz# If this is specified, it will override the default of 64K
f2afeedf074acc1a698a9527154eacd138e6c5a1trawickNLM_STACK_SIZE = 8192
2a20a2f8432a15b530e0a6b0998c32f40aef82a8gregames# If this is specified it will be used by the link '-entry' directive
06461d67f387ea068187e6dfa036875a8205c04cjerenkrantzNLM_ENTRY_SYM = _LibCPrelude
1a6a0072a95887164091e366ba0e89c2b39a954abrianp# If this is specified it will be used by the link '-exit' directive
1a6a0072a95887164091e366ba0e89c2b39a954abrianpNLM_EXIT_SYM = _LibCPostlude
6f4c27ba6e152792f3729069e8d8313ebc87cc60jwoolley# If this is specified it will be used by the link '-check' directive
23ce412bd50a47accab4dd26019b78810bbf46ebtrawickNLM_CHECK_SYM =
6865813dee5d3c1ebf12dd810368171792a0190atrawick# If these are specified it will be used by the link '-flags' directive
97719ad970d779ac48af9364ab0ea9fdcc27470ajwoolleyNLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION
5ad238c42b1e159ee8f164515e0c4ee6c727c2fdtrawick# If this is specified it will be linked in with the XDCData option in the def
5ad238c42b1e159ee8f164515e0c4ee6c727c2fdtrawick# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
5ad238c42b1e159ee8f164515e0c4ee6c727c2fdtrawick# by setting APACHE_UNIPROC in the environment
ba00c3b7c20f00ce631b89ae3b1cd3bae8d1b165rbb# If there is an NLM target, put it here
6e954603b02f2b7d4ad80af17d9b3cc6f0bacf69rbbTARGET_nlm = \
6e954603b02f2b7d4ad80af17d9b3cc6f0bacf69rbb# If there is an LIB target, put it here
6e954603b02f2b7d4ad80af17d9b3cc6f0bacf69rbbTARGET_lib = \
fa449f5bc87c5d87c4c60e778c9c882e7254de7ejwoolley# These are the OBJ files needed to create the NLM target above.
fa449f5bc87c5d87c4c60e778c9c882e7254de7ejwoolley# Paths must all use the '/' character
227d23a7db41dd89f52391c9356dbb1adcd675e0jwoolleyFILES_nlm_objs = \
227d23a7db41dd89f52391c9356dbb1adcd675e0jwoolley# These are the LIB files needed to create the NLM target above.
1c0b7c3bdace07946457fa7ba04b7f97b6599792rbb# These will be added as a library command in the link.opt file.
17bc0e8f2e3816e25bc8fd3fadf39357340aebd0jerenkrantzFILES_nlm_libs = \
e6cc28a5eb3371ba0c38e941855e71ff0054f50erbb# These are the modules that the above NLM target depends on to load.
e6cc28a5eb3371ba0c38e941855e71ff0054f50erbb# These will be added as a module command in the link.opt file.
e6cc28a5eb3371ba0c38e941855e71ff0054f50erbbFILES_nlm_modules = \
cf233fb4b439415a2bf7bab7e622afd994e0bebftrawick# If the nlm has a msg file, put it's path here
ae64f3e7385f21ca9d4f30cc7f8702a9ac1034b6trawickFILE_nlm_msg =
2a20a2f8432a15b530e0a6b0998c32f40aef82a8gregames# If the nlm has a hlp file put it's path here
2a20a2f8432a15b530e0a6b0998c32f40aef82a8gregamesFILE_nlm_hlp =
2a20a2f8432a15b530e0a6b0998c32f40aef82a8gregames# If this is specified, it will override $(NWOS)\copyright.txt.
2a20a2f8432a15b530e0a6b0998c32f40aef82a8gregamesFILE_nlm_copyright =
f99bffd6087564cf9c05cc29d1c6b38d94e0ed30gregames# Any additional imports go here
270609308f247c5e934b400b5f1691c2cca16c61jerenkrantzFILES_nlm_Ximports = \
644be6f54749d2d9950d2c4d2ac448f7af016d26martin# Any symbols exported to here
644be6f54749d2d9950d2c4d2ac448f7af016d26martinFILES_nlm_exports = \
644be6f54749d2d9950d2c4d2ac448f7af016d26martin logio_module \
b30b04f639d479b96cc08c43ffa34c92ba275676ianh# These are the OBJ files needed to create the LIB target above.
c4fbc4018fd2b6716673a38ee27eeb36cba41c5djwoolley# Paths must all use the '/' character
c4fbc4018fd2b6716673a38ee27eeb36cba41c5djwoolleyFILES_lib_objs = \
f4e4643c309e5b5da60e13f9a25984d54b307caawrowe# implement targets and dependancies (leave this section alone)
2548497d480c4f3e9b3fe14711bd510aa2157434gregameslibs :: $(OBJDIR) $(TARGET_lib)
0e58e92812f2f679d6bf2ff66cbcfa6c1d1e14bbjerenkrantznlms :: libs $(TARGET_nlm)
da6e93dca0222159650783802e23172e3160605egregames# Updated this target to create necessary directories and copy files to the
c927e13f298c42251296d33cc1fa3eb8232b843daaron# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
c927e13f298c42251296d33cc1fa3eb8232b843daaroninstall :: nlms FORCE
c927e13f298c42251296d33cc1fa3eb8232b843daaron copy $(OBJDIR)\*.nlm $(INSTALL)\Apache2\modules\*.*
9126ed10455a2a98a3a51c68ed1b356e1873e8e6aaron# Any specialized rules here
fa3ca21e09bac0dbc2045e9f53963ba46cfed5b1trawick# Include the 'tail' makefile that has targets that depend on variables defined
fa3ca21e09bac0dbc2045e9f53963ba46cfed5b1trawick# in this makefile
18acb2c0df442ead1d075a1a2207cbb197725b14coarinclude $(AP_WORK)\build\NWGNUtail.inc