NWGNUauthdbm revision bb2b38cd44b032118359afbc743efbea12f48e61
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny Donnelly# Make sure all needed macro's are defined
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny Donnelly# Get the 'head' of the build environment if necessary. This includes default
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny Donnelly# targets and paths to tools
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny Donnellyifndef EnvironmentDefined
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny Donnellyinclude $(AP_WORK)\build\NWGNUhead.inc
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny Donnelly# These directories will be at the beginning of the include list, followed by
a1e26dba97702175f8ab0531c41214d8f4704e0cLuke SmithXINCDIRS += \
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny Donnelly $(AP_WORK)/include \
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny Donnelly# These flags will come after CFLAGS
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny Donnelly# These defines will come after DEFINES
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny Donnelly# These flags will be added to the link.opt file
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny Donnelly# These values will be appended to the correct variables based on the value of
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny Donnellyifeq "$(RELEASE)" "debug"
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny Donnellyifeq "$(RELEASE)" "noopt"
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny Donnellyifeq "$(RELEASE)" "release"
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny Donnelly# These are used by the link target if an NLM is being generated
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny Donnelly# This is used by the link 'name' directive to name the nlm. If left blank
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny Donnelly# TARGET_nlm (see below) will be used.
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny DonnellyNLM_NAME = authdbm
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny Donnelly# This is used by the link '-desc ' directive.
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny Donnelly# If left blank, NLM_NAME will be used.
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny DonnellyNLM_DESCRIPTION = Database Authentication Module
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny Donnelly# This is used by the '-threadname' directive. If left blank,
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny Donnelly# NLM_NAME Thread will be used.
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny DonnellyNLM_THREAD_NAME = AuthDBM Module
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny Donnelly# If this is specified, it will override VERSION value in
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny Donnelly# $(AP_WORK)\build\NWGNUenvironment.inc
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny Donnelly# If this is specified, it will override the default of 64K
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny DonnellyNLM_STACK_SIZE = 8192
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny Donnelly# If this is specified it will be used by the link '-entry' directive
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny DonnellyNLM_ENTRY_SYM = _LibCPrelude
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny Donnelly# If this is specified it will be used by the link '-exit' directive
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny DonnellyNLM_EXIT_SYM = _LibCPostlude
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny Donnelly# If this is specified it will be used by the link '-check' directive
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny DonnellyNLM_CHECK_SYM =
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny Donnelly# If these are specified it will be used by the link '-flags' directive
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny DonnellyNLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny Donnelly# If this is specified it will be linked in with the XDCData option in the def
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny Donnelly# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny Donnelly# by setting APACHE_UNIPROC in the environment
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny Donnelly# If there is an NLM target, put it here
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny DonnellyTARGET_nlm = \
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny Donnelly# If there is an LIB target, put it here
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny DonnellyTARGET_lib = \
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny Donnelly# These are the OBJ files needed to create the NLM target above.
a1e26dba97702175f8ab0531c41214d8f4704e0cLuke Smith# Paths must all use the '/' character
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny DonnellyFILES_nlm_objs = \
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny Donnelly# These are the LIB files needed to create the NLM target above.
7a6a57d5b030103b5b64157208acbecbfe4118b1Jenny Donnelly# These will be added as a library command in the link.opt file.
a1e26dba97702175f8ab0531c41214d8f4704e0cLuke SmithFILES_nlm_libs = \
# These will be added as a module command in the link.opt file.
# If this is specified, it will override $(NWOS)\copyright.txt.
@$(APR)/aprlib.imp \
@$(NWOS)/httpd.imp \
@libc.imp \
# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
include $(AP_WORK)\build\NWGNUtail.inc