NWGNUproxylbm_req revision 44f575c8cb19a7a5cd61664a7848be6bc197df02
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# Make sure all needed macro's are defined
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# Get the 'head' of the build environment if necessary. This includes default
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# targets and paths to tools
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Fosterifndef EnvironmentDefined
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Fosterinclude $(AP_WORK)/build/NWGNUhead.inc
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# These directories will be at the beginning of the include list, followed by
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan FosterXINCDIRS += \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster $(APR)/include \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster $(APRUTIL)/include \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster $(SRC)/include \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster $(STDMOD)/http \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster $(STDMOD)/proxy \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# These flags will come after CFLAGS
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# These defines will come after DEFINES
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan FosterXDEFINES += \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# These flags will be added to the link.opt file
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# These values will be appended to the correct variables based on the value of
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Fosterifeq "$(RELEASE)" "debug"
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan FosterXINCDIRS += \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan FosterXDEFINES += \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Fosterifeq "$(RELEASE)" "noopt"
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan FosterXINCDIRS += \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan FosterXDEFINES += \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Fosterifeq "$(RELEASE)" "release"
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan FosterXINCDIRS += \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan FosterXDEFINES += \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# These are used by the link target if an NLM is being generated
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# This is used by the link 'name' directive to name the nlm. If left blank
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# TARGET_nlm (see below) will be used.
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan FosterNLM_NAME = proxylbm_req
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# This is used by the link '-desc ' directive.
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# If left blank, NLM_NAME will be used.
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan FosterNLM_DESCRIPTION = Apache $(VERSION_STR) Proxy LoadBalance by Requests Sub-Module
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# This is used by the '-threadname' directive. If left blank,
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# NLM_NAME Thread will be used.
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan FosterNLM_THREAD_NAME = LBM Requests Module
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# If this is specified, it will override VERSION value in
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan FosterNLM_VERSION =
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# If this is specified, it will override the default of 64K
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan FosterNLM_STACK_SIZE = 8192
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# If this is specified it will be used by the link '-entry' directive
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan FosterNLM_ENTRY_SYM =
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# If this is specified it will be used by the link '-exit' directive
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan FosterNLM_EXIT_SYM =
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# If this is specified it will be used by the link '-check' directive
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan FosterNLM_CHECK_SYM =
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# If these are specified it will be used by the link '-flags' directive
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# If this is specified it will be linked in with the XDCData option in the def
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# by setting APACHE_UNIPROC in the environment
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# If there is an NLM target, put it here
$(OBJDIR)/mod_lbmethod_byrequests.o \
# These will be added as a library command in the link.opt file.
# These will be added as a module command in the link.opt file.
# If this is specified, it will override $(NWOS)\copyright.txt.
@libc.imp \
@aprlib.imp \
@httpd.imp \
@$(OBJDIR)/mod_proxy.imp \
# correct place. (See $(AP_WORK)/build/NWGNUhead.inc for examples)
include $(APBUILD)/NWGNUtail.inc