1569fefafbfcbc266c7d712eb068e58847c217b7fuankg# Make sure all needed macro's are defined
1569fefafbfcbc266c7d712eb068e58847c217b7fuankg# Get the 'head' of the build environment if necessary. This includes default
1569fefafbfcbc266c7d712eb068e58847c217b7fuankg# targets and paths to tools
1569fefafbfcbc266c7d712eb068e58847c217b7fuankgifndef EnvironmentDefined
0662ed52e814f8f08ef0e09956413a792584eddffuankginclude $(AP_WORK)/build/NWGNUhead.inc
1569fefafbfcbc266c7d712eb068e58847c217b7fuankg# These directories will be at the beginning of the include list, followed by
1569fefafbfcbc266c7d712eb068e58847c217b7fuankgXINCDIRS += \
16b55a35cff91315d261d1baa776138af465c4e4fuankg $(APR)/include \
16b55a35cff91315d261d1baa776138af465c4e4fuankg $(APRUTIL)/include \
44f575c8cb19a7a5cd61664a7848be6bc197df02fuankg $(SRC)/include \
1569fefafbfcbc266c7d712eb068e58847c217b7fuankg# These flags will come after CFLAGS
1569fefafbfcbc266c7d712eb068e58847c217b7fuankgXCFLAGS += \
1569fefafbfcbc266c7d712eb068e58847c217b7fuankg# These defines will come after DEFINES
1569fefafbfcbc266c7d712eb068e58847c217b7fuankgXDEFINES += \
1569fefafbfcbc266c7d712eb068e58847c217b7fuankg# These flags will be added to the link.opt file
1569fefafbfcbc266c7d712eb068e58847c217b7fuankgXLFLAGS += \
1569fefafbfcbc266c7d712eb068e58847c217b7fuankg# These values will be appended to the correct variables based on the value of
1569fefafbfcbc266c7d712eb068e58847c217b7fuankgifeq "$(RELEASE)" "debug"
1569fefafbfcbc266c7d712eb068e58847c217b7fuankgXINCDIRS += \
1569fefafbfcbc266c7d712eb068e58847c217b7fuankgXCFLAGS += \
1569fefafbfcbc266c7d712eb068e58847c217b7fuankgXDEFINES += \
1569fefafbfcbc266c7d712eb068e58847c217b7fuankgXLFLAGS += \
1569fefafbfcbc266c7d712eb068e58847c217b7fuankgifeq "$(RELEASE)" "noopt"
1569fefafbfcbc266c7d712eb068e58847c217b7fuankgXINCDIRS += \
1569fefafbfcbc266c7d712eb068e58847c217b7fuankgXCFLAGS += \
1569fefafbfcbc266c7d712eb068e58847c217b7fuankgXDEFINES += \
1569fefafbfcbc266c7d712eb068e58847c217b7fuankgXLFLAGS += \
1569fefafbfcbc266c7d712eb068e58847c217b7fuankgifeq "$(RELEASE)" "release"
1569fefafbfcbc266c7d712eb068e58847c217b7fuankgXINCDIRS += \
1569fefafbfcbc266c7d712eb068e58847c217b7fuankgXCFLAGS += \
1569fefafbfcbc266c7d712eb068e58847c217b7fuankgXDEFINES += \
1569fefafbfcbc266c7d712eb068e58847c217b7fuankgXLFLAGS += \
1569fefafbfcbc266c7d712eb068e58847c217b7fuankg# These are used by the link target if an NLM is being generated
1569fefafbfcbc266c7d712eb068e58847c217b7fuankg# This is used by the link 'name' directive to name the nlm. If left blank
1569fefafbfcbc266c7d712eb068e58847c217b7fuankg# TARGET_nlm (see below) will be used.
1569fefafbfcbc266c7d712eb068e58847c217b7fuankgNLM_NAME = authnsocache
1569fefafbfcbc266c7d712eb068e58847c217b7fuankg# This is used by the link '-desc ' directive.
1569fefafbfcbc266c7d712eb068e58847c217b7fuankg# If left blank, NLM_NAME will be used.
1569fefafbfcbc266c7d712eb068e58847c217b7fuankgNLM_DESCRIPTION = Apache $(VERSION_STR) Authentication Cache Module
1569fefafbfcbc266c7d712eb068e58847c217b7fuankg# This is used by the '-threadname' directive. If left blank,
1569fefafbfcbc266c7d712eb068e58847c217b7fuankg# NLM_NAME Thread will be used.
1569fefafbfcbc266c7d712eb068e58847c217b7fuankgNLM_THREAD_NAME = AuthnSOCache Module
1569fefafbfcbc266c7d712eb068e58847c217b7fuankg# If this is specified, it will override VERSION value in
1569fefafbfcbc266c7d712eb068e58847c217b7fuankgNLM_VERSION =
1569fefafbfcbc266c7d712eb068e58847c217b7fuankg# If this is specified, it will override the default of 64K
1569fefafbfcbc266c7d712eb068e58847c217b7fuankgNLM_STACK_SIZE = 8192
1569fefafbfcbc266c7d712eb068e58847c217b7fuankg# If this is specified it will be used by the link '-entry' directive
0662ed52e814f8f08ef0e09956413a792584eddffuankgNLM_ENTRY_SYM =
1569fefafbfcbc266c7d712eb068e58847c217b7fuankg# If this is specified it will be used by the link '-exit' directive
0662ed52e814f8f08ef0e09956413a792584eddffuankgNLM_EXIT_SYM =
1569fefafbfcbc266c7d712eb068e58847c217b7fuankg# If this is specified it will be used by the link '-check' directive
1569fefafbfcbc266c7d712eb068e58847c217b7fuankgNLM_CHECK_SYM =
1569fefafbfcbc266c7d712eb068e58847c217b7fuankg# If these are specified it will be used by the link '-flags' directive
1569fefafbfcbc266c7d712eb068e58847c217b7fuankg# If this is specified it will be linked in with the XDCData option in the def
1569fefafbfcbc266c7d712eb068e58847c217b7fuankg# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
1569fefafbfcbc266c7d712eb068e58847c217b7fuankg# by setting APACHE_UNIPROC in the environment
1569fefafbfcbc266c7d712eb068e58847c217b7fuankg# If there is an NLM target, put it here
1569fefafbfcbc266c7d712eb068e58847c217b7fuankgTARGET_nlm = \
1569fefafbfcbc266c7d712eb068e58847c217b7fuankg# If there is an LIB target, put it here
1569fefafbfcbc266c7d712eb068e58847c217b7fuankgTARGET_lib = \
1569fefafbfcbc266c7d712eb068e58847c217b7fuankg# These are the OBJ files needed to create the NLM target above.
1569fefafbfcbc266c7d712eb068e58847c217b7fuankg# Paths must all use the '/' character
1569fefafbfcbc266c7d712eb068e58847c217b7fuankgFILES_nlm_objs = \
1569fefafbfcbc266c7d712eb068e58847c217b7fuankg# These are the LIB files needed to create the NLM target above.
1569fefafbfcbc266c7d712eb068e58847c217b7fuankg# These will be added as a library command in the link.opt file.
1569fefafbfcbc266c7d712eb068e58847c217b7fuankgFILES_nlm_libs = \
cf7ca2f9eaa6523fefcccba4287b91637391fb51fuankg $(PRELUDE) \
1569fefafbfcbc266c7d712eb068e58847c217b7fuankg# These are the modules that the above NLM target depends on to load.
1569fefafbfcbc266c7d712eb068e58847c217b7fuankg# These will be added as a module command in the link.opt file.
1569fefafbfcbc266c7d712eb068e58847c217b7fuankgFILES_nlm_modules = \
1569fefafbfcbc266c7d712eb068e58847c217b7fuankg# If the nlm has a msg file, put it's path here
1569fefafbfcbc266c7d712eb068e58847c217b7fuankgFILE_nlm_msg =
1569fefafbfcbc266c7d712eb068e58847c217b7fuankg# If the nlm has a hlp file put it's path here
1569fefafbfcbc266c7d712eb068e58847c217b7fuankgFILE_nlm_hlp =
1569fefafbfcbc266c7d712eb068e58847c217b7fuankg# If this is specified, it will override $(NWOS)\copyright.txt.
1569fefafbfcbc266c7d712eb068e58847c217b7fuankgFILE_nlm_copyright =
1569fefafbfcbc266c7d712eb068e58847c217b7fuankg# Any additional imports go here
1569fefafbfcbc266c7d712eb068e58847c217b7fuankgFILES_nlm_Ximports = \
1569fefafbfcbc266c7d712eb068e58847c217b7fuankg# Any symbols exported to here
1569fefafbfcbc266c7d712eb068e58847c217b7fuankgFILES_nlm_exports = \
1569fefafbfcbc266c7d712eb068e58847c217b7fuankg authn_socache_module \
1569fefafbfcbc266c7d712eb068e58847c217b7fuankg# These are the OBJ files needed to create the LIB target above.
1569fefafbfcbc266c7d712eb068e58847c217b7fuankg# Paths must all use the '/' character
1569fefafbfcbc266c7d712eb068e58847c217b7fuankgFILES_lib_objs = \
1569fefafbfcbc266c7d712eb068e58847c217b7fuankg# implement targets and dependancies (leave this section alone)
1569fefafbfcbc266c7d712eb068e58847c217b7fuankglibs :: $(OBJDIR) $(TARGET_lib)
1569fefafbfcbc266c7d712eb068e58847c217b7fuankgnlms :: libs $(TARGET_nlm)
1569fefafbfcbc266c7d712eb068e58847c217b7fuankg# Updated this target to create necessary directories and copy files to the
0662ed52e814f8f08ef0e09956413a792584eddffuankg# correct place. (See $(AP_WORK)/build/NWGNUhead.inc for examples)
1569fefafbfcbc266c7d712eb068e58847c217b7fuankginstall :: nlms FORCE
1569fefafbfcbc266c7d712eb068e58847c217b7fuankg# Any specialized rules here
1569fefafbfcbc266c7d712eb068e58847c217b7fuankg# Include the 'tail' makefile that has targets that depend on variables defined
1569fefafbfcbc266c7d712eb068e58847c217b7fuankg# in this makefile
0662ed52e814f8f08ef0e09956413a792584eddffuankginclude $(APBUILD)/NWGNUtail.inc