NWGNUauthbasc revision 3c937b528ca923d5b51e63def9f888af4a77bb40
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# Make sure all needed macro's are defined
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# Get the 'head' of the build environment if necessary. This includes default
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# targets and paths to tools
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesifndef EnvironmentDefined
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesinclude $(AP_WORK)\build\NWGNUhead.inc
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# These directories will be at the beginning of the include list, followed by
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesXINCDIRS += \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(AP_WORK)/include \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# These flags will come after CFLAGS
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# These defines will come after DEFINES
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesXDEFINES += \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# These flags will be added to the link.opt file
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# These values will be appended to the correct variables based on the value of
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesifeq "$(RELEASE)" "debug"
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesXINCDIRS += \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesXDEFINES += \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesifeq "$(RELEASE)" "noopt"
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesXINCDIRS += \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesXDEFINES += \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesifeq "$(RELEASE)" "release"
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesXINCDIRS += \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesXDEFINES += \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# These are used by the link target if an NLM is being generated
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# This is used by the link 'name' directive to name the nlm. If left blank
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# TARGET_nlm (see below) will be used.
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesNLM_NAME = authbasc
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# This is used by the link '-desc ' directive.
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# If left blank, NLM_NAME will be used.
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesNLM_DESCRIPTION = Basic Authentication Module
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# This is used by the '-threadname' directive. If left blank,
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# NLM_NAME Thread will be used.
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesNLM_THREAD_NAME = AuthBasic Module
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# If this is specified, it will override VERSION value in
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# $(AP_WORK)\build\NWGNUenvironment.inc
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesNLM_VERSION =
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# If this is specified, it will override the default of 64K
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesNLM_STACK_SIZE = 8192
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# If this is specified it will be used by the link '-entry' directive
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesNLM_ENTRY_SYM = _LibCPrelude
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# If this is specified it will be used by the link '-exit' directive
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesNLM_EXIT_SYM = _LibCPostlude
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# If this is specified it will be used by the link '-check' directive
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesNLM_CHECK_SYM =
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# If these are specified it will be used by the link '-flags' directive
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesNLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# If this is specified it will be linked in with the XDCData option in the def
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# by setting APACHE_UNIPROC in the environment
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# If there is an NLM target, put it here
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesTARGET_nlm = \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# If there is an LIB target, put it here
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesTARGET_lib = \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# These are the OBJ files needed to create the NLM target above.
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# Paths must all use the '/' character
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesFILES_nlm_objs = \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# These are the LIB files needed to create the NLM target above.
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# These will be added as a library command in the link.opt file.
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesFILES_nlm_libs = \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# These are the modules that the above NLM target depends on to load.
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# These will be added as a module command in the link.opt file.
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesFILES_nlm_modules = \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# If the nlm has a msg file, put it's path here
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesFILE_nlm_msg =
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# If the nlm has a hlp file put it's path here
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesFILE_nlm_hlp =
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# If this is specified, it will override $(NWOS)\copyright.txt.
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesFILE_nlm_copyright =
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# Any additional imports go here
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesFILES_nlm_Ximports = \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# Any symbols exported to here
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesFILES_nlm_exports = \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes auth_basic_module \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes authn_register_provider \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes authn_lookup_provider \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes authz_register_provider \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes authz_lookup_provider \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# These are the OBJ files needed to create the LIB target above.
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# Paths must all use the '/' character
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesFILES_lib_objs = \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# implement targets and dependancies (leave this section alone)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholeslibs :: $(OBJDIR) $(TARGET_lib)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesnlms :: libs $(TARGET_nlm)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# Updated this target to create necessary directories and copy files to the
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesinstall :: nlms FORCE
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# Any specialized rules here
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# Include the 'tail' makefile that has targets that depend on variables defined
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# in this makefile
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesinclude $(AP_WORK)\build\NWGNUtail.inc