NWGNUauthndbm revision 0662ed52e814f8f08ef0e09956413a792584eddf
80833bb9a1bf25dcf19e814438a4b311d2e1f4cffuankg# Make sure all needed macro's are defined
5716f9c6daa92dde5f2f9d11ed63f7c9549c223atrawick# Get the 'head' of the build environment if necessary. This includes default
5716f9c6daa92dde5f2f9d11ed63f7c9549c223atrawick# targets and paths to tools
54d750a84a175d8e338880514d440773eb986b50covenerifndef EnvironmentDefined
54d750a84a175d8e338880514d440773eb986b50covenerinclude $(AP_WORK)/build/NWGNUhead.inc
54d750a84a175d8e338880514d440773eb986b50covener# These directories will be at the beginning of the include list, followed by
54d750a84a175d8e338880514d440773eb986b50covenerXINCDIRS += \
83b50288fa7d306324bba68832011ea08f5c7832covener $(APR)/include \
4e30ef014533a7e93c92d88306291f5e49c9692ftrawick $(APRUTIL)/include \
83b50288fa7d306324bba68832011ea08f5c7832covener $(AP_WORK)/include \
f628b0e7cb9bf51de44af6b4355bc520fda84f4ecovener# These flags will come after CFLAGS
f628b0e7cb9bf51de44af6b4355bc520fda84f4ecovenerXCFLAGS += \
5f066f496cd9f20a2a701255bc67d44e7cb46daetrawick# These defines will come after DEFINES
2e15620d724fb8e3a5be183b917359a2fd6e9468covenerXDEFINES += \
b3a6e12c9577d9dfc6529bc5ad908f2073810df1kbrand# These flags will be added to the link.opt file
b3a6e12c9577d9dfc6529bc5ad908f2073810df1kbrandXLFLAGS += \
7b82bb697a4957f302e43df708dda478dea80e05trawick# These values will be appended to the correct variables based on the value of
1b988c41ee505962781d110a3e4c2c90f1ea0aa4covenerifeq "$(RELEASE)" "debug"
1b988c41ee505962781d110a3e4c2c90f1ea0aa4covenerXINCDIRS += \
b352b6577c91eee28506a1d7db4b6951a45b8faekbrandXCFLAGS += \
b352b6577c91eee28506a1d7db4b6951a45b8faekbrandXDEFINES += \
e42e58d225104194ba5e894eb616be1ce2258e13jailletcXLFLAGS += \
10b01707470385065764d144de9bb5297fe8ecf2ylavicifeq "$(RELEASE)" "noopt"
10b01707470385065764d144de9bb5297fe8ecf2ylavicXINCDIRS += \
b8efdc95bec9cf089aa1be0bfd07d46aa1137a7acovenerXCFLAGS += \
c12b284247f00b5696adabb0b855ce0669465764ylavicXDEFINES += \
6029353b43240f5fa7feede018ce0e3ab1600c96covenerXLFLAGS += \
8861e3760584fe7f451b3519163502a63c406eb3humbedoohifeq "$(RELEASE)" "release"
e1f43cac62f6960a6945e1fb6e3288ef7082ac53rpluemXINCDIRS += \
e1f43cac62f6960a6945e1fb6e3288ef7082ac53rpluemXCFLAGS += \
f06e7c4b1bce6b6491e5de0b7998d3f5696b293dchrisdXDEFINES += \
179565be4043d7e5f9161aa75271fa0a001866d9covenerXLFLAGS += \
fce4949fb0b309a5744afcd503c6ed2d35621ee2covener# These are used by the link target if an NLM is being generated
7b7430e701e9a31ce809da7c220bb8dfcf68c86etrawick# This is used by the link 'name' directive to name the nlm. If left blank
7b7430e701e9a31ce809da7c220bb8dfcf68c86etrawick# TARGET_nlm (see below) will be used.
ccc20788c1e5fc973f36df634399c89acb70deaejerenkrantzNLM_NAME = authndbm
d522f82d7ada07a0cedb8dc6b71eacf3477d7188trawick# This is used by the link '-desc ' directive.
d522f82d7ada07a0cedb8dc6b71eacf3477d7188trawick# If left blank, NLM_NAME will be used.
1e1539a1e7d64b1af92636b81aac5aa50ee3163bminfrinNLM_DESCRIPTION = Apache $(VERSION_STR) Database Authentication Module
273e512f20f262e5e2aa8e0e83371d1929fb76adjkaluza# This is used by the '-threadname' directive. If left blank,
273e512f20f262e5e2aa8e0e83371d1929fb76adjkaluza# NLM_NAME Thread will be used.
efe780dcf13b2b95effabf897d694d8f23feac74trawickNLM_THREAD_NAME = AuthnDBM Module
81849cd8925f6ffaf57412aaaac8a6df0d33cbb6covener# If this is specified, it will override VERSION value in
c8e4ae58e7b9eb27e5158d6980770d5064c50ba7trawickNLM_VERSION =
fe83f60b41477b14a37edcfcd1f7f5c5a1ebfe44minfrin# If this is specified, it will override the default of 64K
fe83f60b41477b14a37edcfcd1f7f5c5a1ebfe44minfrinNLM_STACK_SIZE = 8192
ba050a6f942b9fa0e81ed73437588005c569655ccovener# If this is specified it will be used by the link '-entry' directive
ba050a6f942b9fa0e81ed73437588005c569655ccovenerNLM_ENTRY_SYM =
ba050a6f942b9fa0e81ed73437588005c569655ccovener# If this is specified it will be used by the link '-exit' directive
135ddda3a989215d2bedbcf1529bfb269c3eda23niqNLM_EXIT_SYM =
1122585e1e00bb81e9d0f054bf5c318cec23aa7dminfrin# If this is specified it will be used by the link '-check' directive
1122585e1e00bb81e9d0f054bf5c318cec23aa7dminfrinNLM_CHECK_SYM =
001a44c352f89c9ec332ffd3e0a6927dcd19432chumbedooh# If these are specified it will be used by the link '-flags' directive
33124689065ade0dfc8c54d8ebb734f9439cb89btrawick# If this is specified it will be linked in with the XDCData option in the def
33124689065ade0dfc8c54d8ebb734f9439cb89btrawick# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
9b0076ddd1103e5fa9c1f9bafde4b06ce244fbaecovener# by setting APACHE_UNIPROC in the environment
249d09d51808cb7981af99762c3b3736ca126cd5jkaluza# If there is an NLM target, put it here
56589be3d7a3e9343370df240010c6928cc78b39jkaluzaTARGET_nlm = \
652bacc79dd7f980249784cc8c4838e8f1de7e8acovener# If there is an LIB target, put it here
77ca16c5676da23155311e13cee61e7eaba9fa3ejailletcTARGET_lib = \
50cfe8bbbaf4279375802531268e2bf0155215fetrawick# These are the OBJ files needed to create the NLM target above.
50cfe8bbbaf4279375802531268e2bf0155215fetrawick# Paths must all use the '/' character
50cfe8bbbaf4279375802531268e2bf0155215fetrawickFILES_nlm_objs = \
4d12805e6c18253040223ea637acd6b3b3c18f60jorton# These are the LIB files needed to create the NLM target above.
4d12805e6c18253040223ea637acd6b3b3c18f60jorton# These will be added as a library command in the link.opt file.
4d12805e6c18253040223ea637acd6b3b3c18f60jortonFILES_nlm_libs = \
cb666b29f81df1d11d65002250153353568021fccovener# These are the modules that the above NLM target depends on to load.
cb666b29f81df1d11d65002250153353568021fccovener# These will be added as a module command in the link.opt file.
6a80c3c6f4b8ea7ba5e89402b8b779b09ce020e0covenerFILES_nlm_modules = \
1f50dc34ae069adeed20b2986e5ffdefa5c410e0covener# If the nlm has a msg file, put it's path here
1f50dc34ae069adeed20b2986e5ffdefa5c410e0covenerFILE_nlm_msg =
63a5ea80bddcc84a462e40f402b4f330e0e05411covener# If the nlm has a hlp file put it's path here
986f3ea2c314d4d4b3b937149853a0f23f6119aaminfrinFILE_nlm_hlp =
65a4e663b82f8bce28ac22ab2edfd7502de36998sf# If this is specified, it will override $(NWOS)\copyright.txt.
65a4e663b82f8bce28ac22ab2edfd7502de36998sfFILE_nlm_copyright =
74e7f6c55fd67b10cb400b3f6d1dc718a303d944minfrin# Any additional imports go here
74e7f6c55fd67b10cb400b3f6d1dc718a303d944minfrinFILES_nlm_Ximports = \
63921358ef93fcb41bc71d9894221ba3d7fbb87bminfrin# Any symbols exported to here
63921358ef93fcb41bc71d9894221ba3d7fbb87bminfrinFILES_nlm_exports = \
deec48c67d4786bc77112ffbf3a4e70b931097edminfrin authn_dbm_module \
6d601599d3d65df0410eae6e573e75b2dbfb1fb4minfrin# These are the OBJ files needed to create the LIB target above.
4c02bab56a528a180bbe394d8b6e6fd9c1a3ac1esf# Paths must all use the '/' character
4c02bab56a528a180bbe394d8b6e6fd9c1a3ac1esfFILES_lib_objs = \
684e0cfc200f66287a93bbd1708d1dd8a92a7eefcovener# implement targets and dependancies (leave this section alone)
05a5a9c3e16f21566e1b61f4bd68025ce1b741ccjoeslibs :: $(OBJDIR) $(TARGET_lib)
26c5829347f6a355c00f1ba0301d575056b69536niqnlms :: libs $(TARGET_nlm)
ef82e8fa164e0a1f8b813f7deb6b7ead96018c94niq# Updated this target to create necessary directories and copy files to the
ef82e8fa164e0a1f8b813f7deb6b7ead96018c94niq# correct place. (See $(AP_WORK)/build/NWGNUhead.inc for examples)
ef82e8fa164e0a1f8b813f7deb6b7ead96018c94niqinstall :: nlms FORCE
c12917da693bae4028a1d5a5e8224bceed8c739dsf# Any specialized rules here
eafcc0ebf263d0ba69855b6e10958c4c1a2361bdsf# Include the 'tail' makefile that has targets that depend on variables defined
eafcc0ebf263d0ba69855b6e10958c4c1a2361bdsf# in this makefile
d7ffd2da16d58b1a0de212e4d56f7aebb72bef26sfinclude $(APBUILD)/NWGNUtail.inc