NWGNUoptfnexport revision 16b55a35cff91315d261d1baa776138af465c4e4
25b49572a3aae1c1ba13d60a317579d1ccd47620wrowe# Declare the sub-directories to be built here
25b49572a3aae1c1ba13d60a317579d1ccd47620wrowe# Get the 'head' of the build environment. This includes default targets and
25b49572a3aae1c1ba13d60a317579d1ccd47620wrowe# paths to tools
25b49572a3aae1c1ba13d60a317579d1ccd47620wroweinclude $(AP_WORK)\build\NWGNUhead.inc
25b49572a3aae1c1ba13d60a317579d1ccd47620wrowe# build this level's files
25b49572a3aae1c1ba13d60a317579d1ccd47620wrowe# Make sure all needed macro's are defined
25b49572a3aae1c1ba13d60a317579d1ccd47620wrowe# These directories will be at the beginning of the include list, followed by
25b49572a3aae1c1ba13d60a317579d1ccd47620wroweXINCDIRS += \
25b49572a3aae1c1ba13d60a317579d1ccd47620wrowe $(APR)/include \
25b49572a3aae1c1ba13d60a317579d1ccd47620wrowe $(APRUTIL)/include \
25b49572a3aae1c1ba13d60a317579d1ccd47620wrowe $(AP_WORK)/include \
25b49572a3aae1c1ba13d60a317579d1ccd47620wrowe# These flags will come after CFLAGS
25b49572a3aae1c1ba13d60a317579d1ccd47620wroweXCFLAGS += \
25b49572a3aae1c1ba13d60a317579d1ccd47620wrowe# These defines will come after DEFINES
25b49572a3aae1c1ba13d60a317579d1ccd47620wroweXDEFINES += \
25b49572a3aae1c1ba13d60a317579d1ccd47620wrowe# These flags will be added to the link.opt file
25b49572a3aae1c1ba13d60a317579d1ccd47620wroweXLFLAGS += \
25b49572a3aae1c1ba13d60a317579d1ccd47620wrowe# These values will be appended to the correct variables based on the value of
25b49572a3aae1c1ba13d60a317579d1ccd47620wroweifeq "$(RELEASE)" "debug"
25b49572a3aae1c1ba13d60a317579d1ccd47620wroweXINCDIRS += \
25b49572a3aae1c1ba13d60a317579d1ccd47620wroweXCFLAGS += \
25b49572a3aae1c1ba13d60a317579d1ccd47620wroweXDEFINES += \
25b49572a3aae1c1ba13d60a317579d1ccd47620wroweXLFLAGS += \
25b49572a3aae1c1ba13d60a317579d1ccd47620wroweifeq "$(RELEASE)" "noopt"
25b49572a3aae1c1ba13d60a317579d1ccd47620wroweXINCDIRS += \
25b49572a3aae1c1ba13d60a317579d1ccd47620wroweXCFLAGS += \
25b49572a3aae1c1ba13d60a317579d1ccd47620wroweXDEFINES += \
25b49572a3aae1c1ba13d60a317579d1ccd47620wroweXLFLAGS += \
25b49572a3aae1c1ba13d60a317579d1ccd47620wroweifeq "$(RELEASE)" "release"
25b49572a3aae1c1ba13d60a317579d1ccd47620wroweXINCDIRS += \
25b49572a3aae1c1ba13d60a317579d1ccd47620wroweXCFLAGS += \
25b49572a3aae1c1ba13d60a317579d1ccd47620wroweXDEFINES += \
25b49572a3aae1c1ba13d60a317579d1ccd47620wroweXLFLAGS += \
25b49572a3aae1c1ba13d60a317579d1ccd47620wrowe# These are used by the link target if an NLM is being generated
25b49572a3aae1c1ba13d60a317579d1ccd47620wrowe# This is used by the link 'name' directive to name the nlm. If left blank
25b49572a3aae1c1ba13d60a317579d1ccd47620wrowe# TARGET_nlm (see below) will be used.
25b49572a3aae1c1ba13d60a317579d1ccd47620wroweNLM_NAME = optfnexport
25b49572a3aae1c1ba13d60a317579d1ccd47620wrowe# This is used by the link '-desc ' directive.
25b49572a3aae1c1ba13d60a317579d1ccd47620wrowe# If left blank, NLM_NAME will be used.
25b49572a3aae1c1ba13d60a317579d1ccd47620wroweNLM_DESCRIPTION = Apache $(VERSION_STR) OptionalFunction Export Module
25b49572a3aae1c1ba13d60a317579d1ccd47620wrowe# This is used by the '-threadname' directive. If left blank,
25b49572a3aae1c1ba13d60a317579d1ccd47620wrowe# NLM_NAME Thread will be used.
25b49572a3aae1c1ba13d60a317579d1ccd47620wroweNLM_THREAD_NAME = $(NLM_NAME) Module
25b49572a3aae1c1ba13d60a317579d1ccd47620wrowe# If this is specified, it will override VERSION value in
25b49572a3aae1c1ba13d60a317579d1ccd47620wrowe# $(AP_WORK)\build\NWGNUenvironment.inc
25b49572a3aae1c1ba13d60a317579d1ccd47620wroweNLM_VERSION =
25b49572a3aae1c1ba13d60a317579d1ccd47620wrowe# If this is specified, it will override the default of 64K
25b49572a3aae1c1ba13d60a317579d1ccd47620wroweNLM_STACK_SIZE = 8192
25b49572a3aae1c1ba13d60a317579d1ccd47620wrowe# If this is specified it will be used by the link '-entry' directive
25b49572a3aae1c1ba13d60a317579d1ccd47620wroweNLM_ENTRY_SYM = _LibCPrelude
25b49572a3aae1c1ba13d60a317579d1ccd47620wrowe# If this is specified it will be used by the link '-exit' directive
25b49572a3aae1c1ba13d60a317579d1ccd47620wroweNLM_EXIT_SYM = _LibCPostlude
25b49572a3aae1c1ba13d60a317579d1ccd47620wrowe# If this is specified it will be used by the link '-check' directive
25b49572a3aae1c1ba13d60a317579d1ccd47620wroweNLM_CHECK_SYM =
25b49572a3aae1c1ba13d60a317579d1ccd47620wrowe# If these are specified it will be used by the link '-flags' directive
25b49572a3aae1c1ba13d60a317579d1ccd47620wroweNLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION
25b49572a3aae1c1ba13d60a317579d1ccd47620wrowe# If this is specified it will be linked in with the XDCData option in the def
25b49572a3aae1c1ba13d60a317579d1ccd47620wrowe# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
25b49572a3aae1c1ba13d60a317579d1ccd47620wrowe# by setting APACHE_UNIPROC in the environment
25b49572a3aae1c1ba13d60a317579d1ccd47620wrowe# If there is an NLM target, put it here
25b49572a3aae1c1ba13d60a317579d1ccd47620wroweTARGET_nlm = \
25b49572a3aae1c1ba13d60a317579d1ccd47620wrowe $(OBJDIR)/$(NLM_NAME).nlm \
25b49572a3aae1c1ba13d60a317579d1ccd47620wrowe# If there is an LIB target, put it here
25b49572a3aae1c1ba13d60a317579d1ccd47620wroweTARGET_lib = \
25b49572a3aae1c1ba13d60a317579d1ccd47620wrowe# These are the OBJ files needed to create the NLM target above.
25b49572a3aae1c1ba13d60a317579d1ccd47620wrowe# Paths must all use the '/' character
25b49572a3aae1c1ba13d60a317579d1ccd47620wroweFILES_nlm_objs = \
25b49572a3aae1c1ba13d60a317579d1ccd47620wrowe# These are the LIB files needed to create the NLM target above.
25b49572a3aae1c1ba13d60a317579d1ccd47620wrowe# These will be added as a library command in the link.opt file.
25b49572a3aae1c1ba13d60a317579d1ccd47620wroweFILES_nlm_libs = \
25b49572a3aae1c1ba13d60a317579d1ccd47620wrowe# These are the modules that the above NLM target depends on to load.
25b49572a3aae1c1ba13d60a317579d1ccd47620wrowe# These will be added as a module command in the link.opt file.
25b49572a3aae1c1ba13d60a317579d1ccd47620wroweFILES_nlm_modules = \
# 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