NWGNUauthzdbd revision e02a063b3d675678c3b08075d84f30e665d1d53a
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync# Make sure all needed macro's are defined
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync# Get the 'head' of the build environment if necessary. This includes default
1c94c0a63ba68be1a7b2c640e70d7a06464e4fcavboxsync# targets and paths to tools
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsyncifndef EnvironmentDefined
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsyncinclude $(AP_WORK)\build\NWGNUhead.inc
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync# These directories will be at the beginning of the include list, followed by
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsyncXINCDIRS += \
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync $(AP_WORK)/include \
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync $(APR)/include \
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync $(APRUTIL)/include \
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync# These flags will come after CFLAGS
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsyncXCFLAGS += \
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync# These defines will come after DEFINES
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsyncXDEFINES += \
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync# These flags will be added to the link.opt file
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsyncXLFLAGS += \
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync# These values will be appended to the correct variables based on the value of
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsyncifeq "$(RELEASE)" "debug"
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsyncXINCDIRS += \
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsyncXCFLAGS += \
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsyncXDEFINES += \
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsyncXLFLAGS += \
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsyncifeq "$(RELEASE)" "noopt"
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsyncXINCDIRS += \
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsyncXCFLAGS += \
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsyncXDEFINES += \
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsyncXLFLAGS += \
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsyncifeq "$(RELEASE)" "release"
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsyncXINCDIRS += \
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsyncXCFLAGS += \
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsyncXDEFINES += \
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsyncXLFLAGS += \
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync# These are used by the link target if an NLM is being generated
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync# This is used by the link 'name' directive to name the nlm. If left blank
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync# TARGET_nlm (see below) will be used.
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsyncNLM_NAME = authzdbd
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync# This is used by the link '-desc ' directive.
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync# If left blank, NLM_NAME will be used.
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsyncNLM_DESCRIPTION = Apache $(VERSION_STR) DBD Database Authorization Module
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync# This is used by the '-threadname' directive. If left blank,
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync# NLM_NAME Thread will be used.
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsyncNLM_THREAD_NAME = AuthzDBD Module
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync# If this is specified, it will override VERSION value in
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync# $(AP_WORK)\build\NWGNUenvironment.inc
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsyncNLM_VERSION =
cbd8a338f94f09ec025ccaf182b0311af9eb8452vboxsync# If this is specified, it will override the default of 64K
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsyncNLM_STACK_SIZE = 8192
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync# If this is specified it will be used by the link '-entry' directive
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsyncNLM_ENTRY_SYM = _LibCPrelude
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync# If this is specified it will be used by the link '-exit' directive
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsyncNLM_EXIT_SYM = _LibCPostlude
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync# If this is specified it will be used by the link '-check' directive
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsyncNLM_CHECK_SYM =
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync# If these are specified it will be used by the link '-flags' directive
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsyncNLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync# If this is specified it will be linked in with the XDCData option in the def
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync# by setting APACHE_UNIPROC in the environment
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync# If there is an NLM target, put it here
790df50300e733121f0e297589ad181d880c7a59vboxsyncTARGET_nlm = \
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync# If there is an LIB target, put it here
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsyncTARGET_lib = \
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync# These are the OBJ files needed to create the NLM target above.
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync# Paths must all use the '/' character
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsyncFILES_nlm_objs = \
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync# These are the LIB files needed to create the NLM target above.
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync# These will be added as a library command in the link.opt file.
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsyncFILES_nlm_libs = \
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync# These are the modules that the above NLM target depends on to load.
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync# These will be added as a module command in the link.opt file.
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsyncFILES_nlm_modules = \
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync# If the nlm has a msg file, put it's path here
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsyncFILE_nlm_msg =
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync# If the nlm has a hlp file put it's path here
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsyncFILE_nlm_hlp =
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync# If this is specified, it will override $(NWOS)\copyright.txt.
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsyncFILE_nlm_copyright =
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync# Any additional imports go here
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsyncFILES_nlm_Ximports = \
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync# Any symbols exported to here
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsyncFILES_nlm_exports = \
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync authz_dbd_module \
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync# These are the OBJ files needed to create the LIB target above.
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync# Paths must all use the '/' character
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsyncFILES_lib_objs = \
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync# implement targets and dependancies (leave this section alone)
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsynclibs :: $(OBJDIR) $(TARGET_lib)
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsyncnlms :: libs $(TARGET_nlm)
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync# Updated this target to create necessary directories and copy files to the
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsyncinstall :: nlms FORCE
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync# Any specialized rules here
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync# Include the 'tail' makefile that has targets that depend on variables defined
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsync# in this makefile
a3cd662e10e3727879002eb7afbf21da1e7caf11vboxsyncinclude $(AP_WORK)\build\NWGNUtail.inc