NWGNUhtdigest revision 0662ed52e814f8f08ef0e09956413a792584eddf
9eb499828dd875d229531b50d05f016b8a1f1dd9vboxsync# Make sure all needed macro's are defined
9eb499828dd875d229531b50d05f016b8a1f1dd9vboxsync# Get the 'head' of the build environment if necessary. This includes default
9eb499828dd875d229531b50d05f016b8a1f1dd9vboxsync# targets and paths to tools
cc4463d266cc5b433b63b2231570a9f77c126ab6vboxsyncifndef EnvironmentDefined
cc4463d266cc5b433b63b2231570a9f77c126ab6vboxsyncinclude $(AP_WORK)/build/NWGNUhead.inc
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsync# These directories will be at the beginning of the include list, followed by
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsyncXINCDIRS += \
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsync $(APR)/include \
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsync $(APRUTIL)/include \
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsync# These flags will come after CFLAGS
bffb24521128f5183aafbef6542e7dacf20b5132vboxsyncXCFLAGS += \
1deb4de12fed2ad1932401517862e6b5dc5466a3vboxsync# These defines will come after DEFINES
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsyncXDEFINES += \
da6747c2419b9cea8b5e2c576a30a5de999a8ab3vboxsync# These flags will be added to the link.opt file
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsyncXLFLAGS += \
da6747c2419b9cea8b5e2c576a30a5de999a8ab3vboxsync# These values will be appended to the correct variables based on the value of
d02610fd604cc8ab4cccf7e3fa510c06cb728ff2vboxsyncifeq "$(RELEASE)" "debug"
c7f55daa53d5798572d767a5f9075eead91ad490vboxsyncXINCDIRS += \
1deb4de12fed2ad1932401517862e6b5dc5466a3vboxsyncXCFLAGS += \
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsyncXDEFINES += \
1deb4de12fed2ad1932401517862e6b5dc5466a3vboxsyncXLFLAGS += \
7529922bd11d7d1c38fbdc7bad6aec83eb2ec0advboxsyncifeq "$(RELEASE)" "noopt"
7529922bd11d7d1c38fbdc7bad6aec83eb2ec0advboxsyncXINCDIRS += \
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsyncXCFLAGS += \
939ffd583b0105c9cfab3570932faa41e0ccd563vboxsyncXDEFINES += \
f2ca52afeb0baed982c05e9d8591e0e4c7539dbdvboxsyncXLFLAGS += \
62f795a8cb052ea10678f54272612bb087bab1a1vboxsyncifeq "$(RELEASE)" "release"
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsyncXINCDIRS += \
2e79d47d2d6374acf3e3c06f2bb803b149c960acvboxsyncXCFLAGS += \
0bd6dc6980372bcbc72756dfd401df65640b13a7vboxsyncXDEFINES += \
2e79d47d2d6374acf3e3c06f2bb803b149c960acvboxsyncXLFLAGS += \
2e79d47d2d6374acf3e3c06f2bb803b149c960acvboxsync# These are used by the link target if an NLM is being generated
2e79d47d2d6374acf3e3c06f2bb803b149c960acvboxsync# This is used by the link 'name' directive to name the nlm. If left blank
2e79d47d2d6374acf3e3c06f2bb803b149c960acvboxsync# TARGET_nlm (see below) will be used.
c7f55daa53d5798572d767a5f9075eead91ad490vboxsyncNLM_NAME = htdigest
2e79d47d2d6374acf3e3c06f2bb803b149c960acvboxsync# This is used by the link '-desc ' directive.
2e79d47d2d6374acf3e3c06f2bb803b149c960acvboxsync# If left blank, NLM_NAME will be used.
2e79d47d2d6374acf3e3c06f2bb803b149c960acvboxsyncNLM_DESCRIPTION = Apache $(VERSION_STR) HT Digest Utility for NetWare
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsync# This is used by the '-threadname' directive. If left blank,
2e79d47d2d6374acf3e3c06f2bb803b149c960acvboxsync# NLM_NAME Thread will be used.
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsyncNLM_THREAD_NAME = htdigest
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsync# This is used by the '-screenname' directive. If left blank,
9448344dffd6329c43c735ae1ed5f45995e445e6vboxsync# 'Apache for NetWare' Thread will be used.
1deb4de12fed2ad1932401517862e6b5dc5466a3vboxsyncNLM_SCREEN_NAME = Digest Password Management
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsync# If this is specified, it will override VERSION value in
2e79d47d2d6374acf3e3c06f2bb803b149c960acvboxsyncNLM_VERSION =
24713061a674af34286ac48ad1433329cdd404f2vboxsync# If this is specified, it will override the default of 64K
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsyncNLM_STACK_SIZE = 8192
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsync# If this is specified it will be used by the link '-entry' directive
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsyncNLM_ENTRY_SYM =
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsync# If this is specified it will be used by the link '-exit' directive
7529922bd11d7d1c38fbdc7bad6aec83eb2ec0advboxsyncNLM_EXIT_SYM =
939ffd583b0105c9cfab3570932faa41e0ccd563vboxsync# If this is specified it will be used by the link '-check' directive
a0a9f39e8864357c2e1e61106958411240f5bf6bvboxsyncNLM_CHECK_SYM =
939ffd583b0105c9cfab3570932faa41e0ccd563vboxsync# If these are specified it will be used by the link '-flags' directive
2b66a097b19f31e00af3abc508a3ff8c74ca1f8avboxsyncNLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION
939ffd583b0105c9cfab3570932faa41e0ccd563vboxsync# If this is specified it will be linked in with the XDCData option in the def
f5253a692b2a71d484d5daff564934d85501ae28vboxsync# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
f5253a692b2a71d484d5daff564934d85501ae28vboxsync# by setting APACHE_UNIPROC in the environment
27efd9329f6a90f7cacf840031e5305f98975960vboxsync# If there is an NLM target, put it here
a0a9f39e8864357c2e1e61106958411240f5bf6bvboxsyncTARGET_nlm = \
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsync# If there is an LIB target, put it here
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsyncTARGET_lib = \
939ffd583b0105c9cfab3570932faa41e0ccd563vboxsync# These are the OBJ files needed to create the NLM target above.
69f57565f5243a46f1df060b63d0fd830de3be04vboxsync# Paths must all use the '/' character
60b3bb99d58c291474ef79573ae7738ce769fdbbvboxsyncFILES_nlm_objs = \
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsync# These are the LIB files needed to create the NLM target above.
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsync# These will be added as a library command in the link.opt file.
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsyncFILES_nlm_libs = \
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsync# These are the modules that the above NLM target depends on to load.
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsync# These will be added as a module command in the link.opt file.
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsyncFILES_nlm_modules = \
10aa2d962b3a99120bb34c055fd5ba35da31bbb1vboxsync# If the nlm has a msg file, put it's path here
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsyncFILE_nlm_msg =
f5253a692b2a71d484d5daff564934d85501ae28vboxsync# If the nlm has a hlp file put it's path here
f2ca52afeb0baed982c05e9d8591e0e4c7539dbdvboxsyncFILE_nlm_hlp =
f2ca52afeb0baed982c05e9d8591e0e4c7539dbdvboxsync# If this is specified, it will override $(NWOS)\copyright.txt.
f2ca52afeb0baed982c05e9d8591e0e4c7539dbdvboxsyncFILE_nlm_copyright =
60b3bb99d58c291474ef79573ae7738ce769fdbbvboxsync# Any additional imports go here
60b3bb99d58c291474ef79573ae7738ce769fdbbvboxsyncFILES_nlm_Ximports = \
cb1c9aee152f51cd97c07794ca4e0441b2444b0cvboxsync# Any symbols exported to here
20b950300ed7ebcdf78f414c3d98b20d010ff74fvboxsyncFILES_nlm_exports = \
6e2490fe643cb292ee8e37f9e1d7171e9315129cvboxsync# These are the OBJ files needed to create the LIB target above.
917d66601860f75830cb684385ba7b4d73458bcavboxsync# Paths must all use the '/' character
20b950300ed7ebcdf78f414c3d98b20d010ff74fvboxsyncFILES_lib_objs = \
9c3bee32a5fb0decbd644a998a3d37035bb9800dvboxsync# implement targets and dependancies (leave this section alone)
20b950300ed7ebcdf78f414c3d98b20d010ff74fvboxsynclibs :: $(OBJDIR) $(TARGET_lib)
c7267e77a1f8b99136cc3dd57f7c381103edc4e5vboxsyncnlms :: libs $(TARGET_nlm)
b32ffdb7bf463438d3ca07e4089957284c9908c7vboxsync# Updated this target to create necessary directories and copy files to the
aaae4f8728f4fbd3ef97b8798350ddc6abbc79f0vboxsync# correct place. (See $(AP_WORK)/build/NWGNUhead.inc for examples)
7e958a4329e4f9d83f597e26c72121969091e87bvboxsyncinstall :: nlms FORCE
1deb4de12fed2ad1932401517862e6b5dc5466a3vboxsync# Any specialized rules here
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsync# Include the 'tail' makefile that has targets that depend on variables defined
20b950300ed7ebcdf78f414c3d98b20d010ff74fvboxsync# in this makefile
939ffd583b0105c9cfab3570932faa41e0ccd563vboxsyncinclude $(APBUILD)/NWGNUtail.inc