NWGNUaccesscompat revision 16b55a35cff91315d261d1baa776138af465c4e4
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi# Make sure all needed macro's are defined
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi# Get the 'head' of the build environment if necessary. This includes default
9d0cda4f22f76d693e2ceef0f77f2ba24227433cStéphane Graber# targets and paths to tools
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumiifndef EnvironmentDefined
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumiinclude $(AP_WORK)\build\NWGNUhead.inc
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi# These directories will be at the beginning of the include list, followed by
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi $(APR)/include \
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi $(APRUTIL)/include \
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi $(AP_WORK)/include \
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi# These flags will come after CFLAGS
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi# These defines will come after DEFINES
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi# These flags will be added to the link.opt file
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi# These values will be appended to the correct variables based on the value of
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumiifeq "$(RELEASE)" "debug"
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumiifeq "$(RELEASE)" "noopt"
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumiifeq "$(RELEASE)" "release"
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi# These are used by the link target if an NLM is being generated
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi# This is used by the link 'name' directive to name the nlm. If left blank
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi# TARGET_nlm (see below) will be used.
57da8c32f85c0255efa61ee32e260068afdaa565KATOH YasufumiNLM_NAME = accesscompat
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi# This is used by the link '-desc ' directive.
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi# If left blank, NLM_NAME will be used.
57da8c32f85c0255efa61ee32e260068afdaa565KATOH YasufumiNLM_DESCRIPTION = Apache $(VERSION_STR) host access control compatibility Module
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi# This is used by the '-threadname' directive. If left blank,
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi# NLM_NAME Thread will be used.
57da8c32f85c0255efa61ee32e260068afdaa565KATOH YasufumiNLM_THREAD_NAME = AccessCompModule
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi# If this is specified, it will override VERSION value in
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi# $(AP_WORK)\build\NWGNUenvironment.inc
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi# If this is specified, it will override the default of 64K
57da8c32f85c0255efa61ee32e260068afdaa565KATOH YasufumiNLM_STACK_SIZE = 8192
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi# If this is specified it will be used by the link '-entry' directive
57da8c32f85c0255efa61ee32e260068afdaa565KATOH YasufumiNLM_ENTRY_SYM = _LibCPrelude
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi# If this is specified it will be used by the link '-exit' directive
57da8c32f85c0255efa61ee32e260068afdaa565KATOH YasufumiNLM_EXIT_SYM = _LibCPostlude
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi# If this is specified it will be used by the link '-check' directive
57da8c32f85c0255efa61ee32e260068afdaa565KATOH YasufumiNLM_CHECK_SYM =
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi# If these are specified it will be used by the link '-flags' directive
57da8c32f85c0255efa61ee32e260068afdaa565KATOH YasufumiNLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi# If this is specified it will be linked in with the XDCData option in the def
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi# by setting APACHE_UNIPROC in the environment
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi# If there is an NLM target, put it here
57da8c32f85c0255efa61ee32e260068afdaa565KATOH YasufumiTARGET_nlm = \
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi# If there is an LIB target, put it here
57da8c32f85c0255efa61ee32e260068afdaa565KATOH YasufumiTARGET_lib = \
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi# These are the OBJ files needed to create the NLM target above.
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi# Paths must all use the '/' character
57da8c32f85c0255efa61ee32e260068afdaa565KATOH YasufumiFILES_nlm_objs = \
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi# These are the LIB files needed to create the NLM target above.
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi# These will be added as a library command in the link.opt file.
57da8c32f85c0255efa61ee32e260068afdaa565KATOH YasufumiFILES_nlm_libs = \
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi# These are the modules that the above NLM target depends on to load.
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi# These will be added as a module command in the link.opt file.
57da8c32f85c0255efa61ee32e260068afdaa565KATOH YasufumiFILES_nlm_modules = \
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi# If the nlm has a msg file, put it's path here
57da8c32f85c0255efa61ee32e260068afdaa565KATOH YasufumiFILE_nlm_msg =
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi# If the nlm has a hlp file put it's path here
57da8c32f85c0255efa61ee32e260068afdaa565KATOH YasufumiFILE_nlm_hlp =
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi# If this is specified, it will override $(NWOS)\copyright.txt.
57da8c32f85c0255efa61ee32e260068afdaa565KATOH YasufumiFILE_nlm_copyright =
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi# Any additional imports go here
57da8c32f85c0255efa61ee32e260068afdaa565KATOH YasufumiFILES_nlm_Ximports = \
@libc.imp \
# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
include $(AP_WORK)\build\NWGNUtail.inc