NWGNUspeling revision 16b55a35cff91315d261d1baa776138af465c4e4
c30ef289fe64ac7fedc44cfcc6b439f0f8458b4cgregames# Make sure all needed macro's are defined
ab8c0315521735c73ce16c8072f91e17c406ca5bnd# Get the 'head' of the build environment if necessary. This includes default
ab8c0315521735c73ce16c8072f91e17c406ca5bnd# targets and paths to tools
b9e99e0d3154bbebe3e1b8d11d6c15bde79510a5ndifndef EnvironmentDefined
b9e99e0d3154bbebe3e1b8d11d6c15bde79510a5ndinclude $(AP_WORK)\build\NWGNUhead.inc
4567cfc6a65328bd3e8dd2b758ca926b389c7058brianp# These directories will be at the beginning of the include list, followed by
3068cf5757c8bdbea77e8f6805686aa0b0241a17ndXINCDIRS += \
3068cf5757c8bdbea77e8f6805686aa0b0241a17nd $(APR)/include \
3068cf5757c8bdbea77e8f6805686aa0b0241a17nd $(APRUTIL)/include \
3068cf5757c8bdbea77e8f6805686aa0b0241a17nd $(AP_WORK)/include \
4cdc5446050c19b9d519a273a129188586e8d445jerenkrantz# These flags will come after CFLAGS
e0b93afc77decfbc0aab461b08ee224a0af89af2rederpjXCFLAGS += \
e0b93afc77decfbc0aab461b08ee224a0af89af2rederpj# These defines will come after DEFINES
f5610d5460e701dd3f3514395867a6b5241fda81bnicholesXDEFINES += \
f5610d5460e701dd3f3514395867a6b5241fda81bnicholes# These flags will be added to the link.opt file
c30ef289fe64ac7fedc44cfcc6b439f0f8458b4cgregamesXLFLAGS += \
c30ef289fe64ac7fedc44cfcc6b439f0f8458b4cgregames# These values will be appended to the correct variables based on the value of
2f408250e9111c4b85b2b4b9b8836e83987efdefstoddardifeq "$(RELEASE)" "debug"
2f408250e9111c4b85b2b4b9b8836e83987efdefstoddardXINCDIRS += \
6646a289c2d4778c8cd43d62b5a1cc966a356f85jerenkrantzXDEFINES += \
aec70520ebe1e33e0d5e83c3626649d2a41dbe68wroweXLFLAGS += \
ad451e2e428a069086d1c18c9e3372f8846ec617wroweifeq "$(RELEASE)" "noopt"
ad451e2e428a069086d1c18c9e3372f8846ec617wroweXINCDIRS += \
5c870e08d589a24283cd76a9d596120605762cbbminfrinXCFLAGS += \
47d4dfaca60aff6d3c7e591bf593b3961cafcdefminfrinXDEFINES += \
c206205e2475a7a4a192eaa7190a9894f01f0631minfrinXLFLAGS += \
304aee4b1ff85cc876570493e4ed334d42b4d9eftrawickifeq "$(RELEASE)" "release"
304aee4b1ff85cc876570493e4ed334d42b4d9eftrawickXINCDIRS += \
304aee4b1ff85cc876570493e4ed334d42b4d9eftrawickXCFLAGS += \
77582a85f880a10e8e225ecd5b303446d23d1c9atrawickXDEFINES += \
77582a85f880a10e8e225ecd5b303446d23d1c9atrawickXLFLAGS += \
111b2312c9749936ebca4f273db445820a0a703ebrianp# These are used by the link target if an NLM is being generated
111b2312c9749936ebca4f273db445820a0a703ebrianp# This is used by the link 'name' directive to name the nlm. If left blank
111b2312c9749936ebca4f273db445820a0a703ebrianp# TARGET_nlm (see below) will be used.
ad877cddc14be8c8171938ba61338c6c7b896bbdtrawickNLM_NAME = speling
ad877cddc14be8c8171938ba61338c6c7b896bbdtrawick# This is used by the link '-desc ' directive.
ad877cddc14be8c8171938ba61338c6c7b896bbdtrawick# If left blank, NLM_NAME will be used.
367cefc17f8dcfe65651c9c16cb3151589c6cecetrawickNLM_DESCRIPTION = Apache $(VERSION_STR) Speling Module
f49cf8ce86a01c90d5d843fc27e19d2802dd0f77wrowe# This is used by the '-threadname' directive. If left blank,
f49cf8ce86a01c90d5d843fc27e19d2802dd0f77wrowe# NLM_NAME Thread will be used.
f49cf8ce86a01c90d5d843fc27e19d2802dd0f77wroweNLM_THREAD_NAME = Speling Module
f49cf8ce86a01c90d5d843fc27e19d2802dd0f77wrowe# If this is specified, it will override VERSION value in
52435ceaabd1670b2c3a062acc191159a64fb7a1wrowe# $(AP_WORK)\build\NWGNUenvironment.inc
52435ceaabd1670b2c3a062acc191159a64fb7a1wroweNLM_VERSION =
52435ceaabd1670b2c3a062acc191159a64fb7a1wrowe# If this is specified, it will override the default of 64K
52435ceaabd1670b2c3a062acc191159a64fb7a1wroweNLM_STACK_SIZE = 8192
e199d79647c689a85951f19b08a08082263f4df8brianp# If this is specified it will be used by the link '-entry' directive
ad451e2e428a069086d1c18c9e3372f8846ec617wroweNLM_ENTRY_SYM = _LibCPrelude
ad451e2e428a069086d1c18c9e3372f8846ec617wrowe# If this is specified it will be used by the link '-exit' directive
ad451e2e428a069086d1c18c9e3372f8846ec617wroweNLM_EXIT_SYM = _LibCPostlude
ad451e2e428a069086d1c18c9e3372f8846ec617wrowe# If this is specified it will be used by the link '-check' directive
ad451e2e428a069086d1c18c9e3372f8846ec617wroweNLM_CHECK_SYM =
1e1e5c477f92840ffbcb8acd0003305022e5468atrawick# If these are specified it will be used by the link '-flags' directive
1e1e5c477f92840ffbcb8acd0003305022e5468atrawickNLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION
1e1e5c477f92840ffbcb8acd0003305022e5468atrawick# If this is specified it will be linked in with the XDCData option in the def
c998c5be82bf2b41f8fc27de9376ba10651c74bcrederpj# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
c998c5be82bf2b41f8fc27de9376ba10651c74bcrederpj# by setting APACHE_UNIPROC in the environment
58eb8d7cca552570577aa8b636349a695ff193datrawick# If there is an NLM target, put it here
58eb8d7cca552570577aa8b636349a695ff193datrawickTARGET_nlm = \
ecf435f0c6379df7ed83285d5597fc9aa39c6f6dbrianp# If there is an LIB target, put it here
480f2a1b2fb27a8284e66e60a5bbaee6bc1ccb04trawickTARGET_lib = \
acc9093ae1f3c97acc635bd5b2c7c0969da21183trawick# These are the OBJ files needed to create the NLM target above.
acc9093ae1f3c97acc635bd5b2c7c0969da21183trawick# Paths must all use the '/' character
2fa5f4c38890220c6ea439317e7dcb9e8b3c76f7jwoolleyFILES_nlm_objs = \
95d00ea81131488769296fa5765ed745cbf45207trawick# These are the LIB files needed to create the NLM target above.
95d00ea81131488769296fa5765ed745cbf45207trawick# These will be added as a library command in the link.opt file.
95d00ea81131488769296fa5765ed745cbf45207trawickFILES_nlm_libs = \
f08574f1098defdf1dc7e7f18a1e3664ee157150rederpj# These are the modules that the above NLM target depends on to load.
f08574f1098defdf1dc7e7f18a1e3664ee157150rederpj# These will be added as a module command in the link.opt file.
f08574f1098defdf1dc7e7f18a1e3664ee157150rederpjFILES_nlm_modules = \
84854ca5d35fb9f101da948858097c88457eece8coar# If the nlm has a msg file, put it's path here
30990c446eca5b0d16d42171a6b30da9456ff6b4trawickFILE_nlm_msg =
0fd9de72e2a1be5a6134ee70703324be80d816b7trawick# If the nlm has a hlp file put it's path here
0fd9de72e2a1be5a6134ee70703324be80d816b7trawickFILE_nlm_hlp =
2213cc395cb461faf7bfeb187ebb61d97cd457efjerenkrantz# If this is specified, it will override $(NWOS)\copyright.txt.
854c7bc4128fa2ad9fdfe0fc307d5ef30bcb5bb9wroweFILE_nlm_copyright =
854c7bc4128fa2ad9fdfe0fc307d5ef30bcb5bb9wrowe# Any additional imports go here
854c7bc4128fa2ad9fdfe0fc307d5ef30bcb5bb9wroweFILES_nlm_Ximports = \
854c7bc4128fa2ad9fdfe0fc307d5ef30bcb5bb9wrowe# Any symbols exported to here
75f8e1cae5ca3a16a7400cdddf604815ab06b5a8rederpjFILES_nlm_exports = \
75f8e1cae5ca3a16a7400cdddf604815ab06b5a8rederpj speling_module \
75f8e1cae5ca3a16a7400cdddf604815ab06b5a8rederpj# These are the OBJ files needed to create the LIB target above.
75f8e1cae5ca3a16a7400cdddf604815ab06b5a8rederpj# Paths must all use the '/' character
7f481efe04fdc4da7a447c14be62c155cbe00ddbbrianpFILES_lib_objs = \
9ed34e5219ab3506ccfd2ca58751ce4c81b263a8rederpj# implement targets and dependancies (leave this section alone)
23b36269d124e7a6aaa5221891f7ae2ef3eeb158jerenkrantzlibs :: $(OBJDIR) $(TARGET_lib)
23b36269d124e7a6aaa5221891f7ae2ef3eeb158jerenkrantznlms :: libs $(TARGET_nlm)
d401ff3af66624a7023460054519070a025d31cfwrowe# Updated this target to create necessary directories and copy files to the
d401ff3af66624a7023460054519070a025d31cfwrowe# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
e65b56dc229f063425fac589002e34c8246ad878trawickinstall :: nlms FORCE
306bd64cf6568149964abdf8ca748a617ed98500gregames# Any specialized rules here
ae3d212043d50288748fe9fdf0aa1a3e8f2ff3a6wrowe# Include the 'tail' makefile that has targets that depend on variables defined
ae3d212043d50288748fe9fdf0aa1a3e8f2ff3a6wrowe# in this makefile
ae3d212043d50288748fe9fdf0aa1a3e8f2ff3a6wroweinclude $(AP_WORK)\build\NWGNUtail.inc