NWGNUhtdigest revision 0a39e7683f6611d66c55712f50bb240428d832a1
5a17fe2916ce37793c12b243ab08c16095a59cf7Evan Hunt# Make sure all needed macro's are defined
5a17fe2916ce37793c12b243ab08c16095a59cf7Evan Hunt# Get the 'head' of the build environment if necessary. This includes default
5a17fe2916ce37793c12b243ab08c16095a59cf7Evan Hunt# targets and paths to tools
c72279e756e6578dc8f09ceac5158d80a8a61ce5Evan Huntifndef EnvironmentDefined
c72279e756e6578dc8f09ceac5158d80a8a61ce5Evan Huntinclude $(AP_WORK)\build\NWGNUhead.inc
0415ca35ada2cac6a86127eaca64f3a997aea121Evan Hunt# These directories will be at the beginning of the include list, followed by
69ec1b7eb3be37f06b53f572f6c33622e95a7935Evan HuntXINCDIRS += \
229442301442890aee044a0df54d3787acd68e65Mark Andrews# These flags will come after CFLAGS
2284b84d74cdfd62ecb962feb850de981bbc2196Evan Hunt# These defines will come after DEFINES
2284b84d74cdfd62ecb962feb850de981bbc2196Evan HuntXDEFINES += \
00c93a6214214772d4952cd4327aa34670c763bcMichael Graff# These flags will be added to the link.opt file
52cb865cf00db3437c33b57de0a17c807f9ba67eMark Andrews# These values will be appended to the correct variables based on the value of
0f4a4d46abe13df2c367aa8dffaad685c20eaadaMark Andrewsifeq "$(RELEASE)" "debug"
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark AndrewsXINCDIRS += \
68cd13fff2b45c8a941ed8ac3efa0698798dcc96Mark AndrewsXDEFINES += \
db30f4bdcb66afb7eb1ab0c6882cc70be9a53d79Mark Andrewsifeq "$(RELEASE)" "noopt"
db30f4bdcb66afb7eb1ab0c6882cc70be9a53d79Mark AndrewsXINCDIRS += \
07555e64d9102eae058efd58f872b4a3b9ddff61Mark AndrewsXDEFINES += \
2a31bd531072824ef252c18303859d6af7451b00Francis Dupontifeq "$(RELEASE)" "release"
cffe96e26744abcf33494837b234219046a631d8Mark AndrewsXDEFINES += \
a95a9de45ca739dab17ec1263186dbaaaba50d97Tatuya JINMEI 神明達哉# These are used by the link target if an NLM is being generated
a95a9de45ca739dab17ec1263186dbaaaba50d97Tatuya JINMEI 神明達哉# This is used by the link 'name' directive to name the nlm. If left blank
a95a9de45ca739dab17ec1263186dbaaaba50d97Tatuya JINMEI 神明達哉# TARGET_nlm (see below) will be used.
ea8564f68adbacd904e55e47668fe1bbf65ddd1dMark AndrewsNLM_NAME = htdigest
55f580c7fc4b99316a54ef54ed79c58efca5fff1Mark Andrews# This is used by the link '-desc ' directive.
d9936b218d9d0fd7c6a1a418e5b91b356190ea12Mark Andrews# If left blank, NLM_NAME will be used.
4074b8e7342618ff38ffe3773a2699ee1734f1adMark AndrewsNLM_DESCRIPTION = Apache $(VERSION_STR) HT Digest Utility for NetWare
664e11f0b14c78cef7cf6b8c70323a1da494e351Mark Andrews# This is used by the '-threadname' directive. If left blank,
664e11f0b14c78cef7cf6b8c70323a1da494e351Mark Andrews# NLM_NAME Thread will be used.
016c4317500eb565b82b27d00ba6b621c6e29110Mark AndrewsNLM_THREAD_NAME = htdigest
ce9c1558a6c81b49a5cedf55d168f889aeb5d310Mark Andrews# This is used by the '-screenname' directive. If left blank,
ce9c1558a6c81b49a5cedf55d168f889aeb5d310Mark Andrews# 'Apache for NetWare' Thread will be used.
0f3264c8d1b66de8dedd137d53615b8a8556adfaMark AndrewsNLM_SCREEN_NAME = Digest Password Management
0e30609d7b3e31e3ff249d185041b9140b5410baMark Andrews# If this is specified, it will override VERSION value in
0e30609d7b3e31e3ff249d185041b9140b5410baMark Andrews# $(AP_WORK)\build\NWGNUenvironment.inc
9e8947d9e606b967d0792d0ab1ee7afac5e5f39dMark AndrewsNLM_VERSION =
3cff31d890bf0815b6b2c7603d1e5c37dc3f26b7Mark Andrews# If this is specified, it will override the default of 64K
aef875b27e94586a1f3644d53705e6f5ea4b5dafMark AndrewsNLM_STACK_SIZE = 8192
9a7d202077fae00fbdca610d8a8d90689e30f331Mark Andrews# If this is specified it will be used by the link '-entry' directive
9a7d202077fae00fbdca610d8a8d90689e30f331Mark AndrewsNLM_ENTRY_SYM = _LibCPrelude
9a7d202077fae00fbdca610d8a8d90689e30f331Mark Andrews# If this is specified it will be used by the link '-exit' directive
4a5b30c24ca7ceefec4ca142069b886f3d4ab9f9Mark AndrewsNLM_EXIT_SYM = _LibCPostlude
f1d6c77eccf502398ae5954fb884bde70764a047Mark Andrews# If this is specified it will be used by the link '-check' directive
f1d6c77eccf502398ae5954fb884bde70764a047Mark AndrewsNLM_CHECK_SYM =
7adca0ea2fcd44641861523b718d6980c0666103Mark Andrews# If these are specified it will be used by the link '-flags' directive
5badfc7e00b2ec2c7b93657906b8609114ee00ccMark AndrewsNLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION
dc2a0aa7aaa8b85398ae183c7274c0eeec5009afMark Andrews# If this is specified it will be linked in with the XDCData option in the def
dc2a0aa7aaa8b85398ae183c7274c0eeec5009afMark Andrews# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
2005c3b37bb39a37dc0b034bb2149006df7e3759Mark Andrews# by setting APACHE_UNIPROC in the environment
7ae2fa27e921ff5a2de4b0bb3aef5013315e92a8Tatuya JINMEI 神明達哉# If there is an NLM target, put it here
7fe86a54252bab063030512a0e4150e1b7814effMark AndrewsTARGET_nlm = \
e951a79d901cc9b72a4882c38f02b568eed6bf24Mark Andrews# If there is an LIB target, put it here
e951a79d901cc9b72a4882c38f02b568eed6bf24Mark AndrewsTARGET_lib = \
4462e590791925b6a5efceacbff054a6b5fe35edMark Andrews# These are the OBJ files needed to create the NLM target above.
9925249931480c9e422b70c948b2665264ec46f5Mark Andrews# Paths must all use the '/' character
9925249931480c9e422b70c948b2665264ec46f5Mark AndrewsFILES_nlm_objs = \
cef715b6556ca1207b85aa1eac6ce817af2be44eMark Andrews# These are the LIB files needed to create the NLM target above.
cef715b6556ca1207b85aa1eac6ce817af2be44eMark Andrews# These will be added as a library command in the link.opt file.
5497de6931b5ac26f65c2343b0318614f73933baMark AndrewsFILES_nlm_libs = \
262c39b2366bf79062f7f86b218947523dd1cbacEvan Hunt# These are the modules that the above NLM target depends on to load.
262c39b2366bf79062f7f86b218947523dd1cbacEvan Hunt# These will be added as a module command in the link.opt file.
1ff207c2fa4182156932f3f5c982170385a19225Mark AndrewsFILES_nlm_modules = \
546c2bf791782df1077217bdaf1865235fa95a93Mark Andrews# If the nlm has a msg file, put it's path here
546c2bf791782df1077217bdaf1865235fa95a93Mark AndrewsFILE_nlm_msg =
fcc2a57e13fbecf085e9d11702709b3d5a49b043Mark Andrews# If the nlm has a hlp file put it's path here
fcc2a57e13fbecf085e9d11702709b3d5a49b043Mark AndrewsFILE_nlm_hlp =
f1263d2aa405087e74caf001cd443079f50ee903Mark Andrews# If this is specified, it will override $(NWOS)\copyright.txt.
f1263d2aa405087e74caf001cd443079f50ee903Mark AndrewsFILE_nlm_copyright =
b1d21f6c93c93bd27492fc41f1c3205c39ab2167Mark Andrews# Any additional imports go here
efb3fa669f00ccfd9aada997b426616b6b0ce044Mark AndrewsFILES_nlm_Ximports = \
80f20cb452989a423ed0ab84cfbf67d258b92247Mark Andrews# Any symbols exported to here
93ee06cbe34294c300834d383ff89162ad5c241aMark AndrewsFILES_nlm_exports = \
494143860bbe118050f46ecac3d196c779d4b7b0Mark Andrews# These are the OBJ files needed to create the LIB target above.
400a1b6604ede895cc8d67a7aa66796a5dbc75e4Mark Andrews# Paths must all use the '/' character
400a1b6604ede895cc8d67a7aa66796a5dbc75e4Mark AndrewsFILES_lib_objs = \
48fa5940280d65a83b020cca12769b4cd0422e91Mark Andrews# implement targets and dependancies (leave this section alone)
bfcc5ae79a46c5c55e6cf1a9fe4d70a957712d2bTatuya JINMEI 神明達哉libs :: $(OBJDIR) $(TARGET_lib)
bfcc5ae79a46c5c55e6cf1a9fe4d70a957712d2bTatuya JINMEI 神明達哉nlms :: libs $(TARGET_nlm)
20837e74f5e68a8108c25bb341a3ef1c1ca22711Tatuya JINMEI 神明達哉# Updated this target to create necessary directories and copy files to the
1c9f629c181dfd14bb429a6699d22c3c023aa218Mark Andrews# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
f61a7c87bf36b189d8f04ea4c8ab3ec55778355cMark Andrewsinstall :: nlms FORCE
f61a7c87bf36b189d8f04ea4c8ab3ec55778355cMark Andrews# Any specialized rules here
2678fccde3453facce53f857d95fec30ca4a284fMark Andrews# Include the 'tail' makefile that has targets that depend on variables defined
2678fccde3453facce53f857d95fec30ca4a284fMark Andrews# in this makefile
562460463b6f4c4d6f815c58c129451c82d66823Mark Andrewsinclude $(AP_WORK)\build\NWGNUtail.inc