NWGNUproxy revision 0a39e7683f6611d66c55712f50bb240428d832a1
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# Make sure all needed macro's are defined
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# Get the 'head' of the build environment if necessary. This includes default
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# targets and paths to tools
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox Userifndef EnvironmentDefined
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox Userinclude $(AP_WORK)\build\NWGNUhead.inc
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# These directories will be at the beginning of the include list, followed by
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User $(AP_WORK)/include \
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# These flags will come after CFLAGS
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# These defines will come after DEFINES
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# These flags will be added to the link.opt file
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# These values will be appended to the correct variables based on the value of
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox Userifeq "$(RELEASE)" "debug"
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox Userifeq "$(RELEASE)" "noopt"
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox Userifeq "$(RELEASE)" "release"
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# These are used by the link target if an NLM is being generated
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# This is used by the link 'name' directive to name the nlm. If left blank
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# TARGET_nlm (see below) will be used.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox UserNLM_NAME = proxy
ad8f23aed6c75f94f238c1f23f4e17515d28eb55Tinderbox User# This is used by the link '-desc ' directive.
ad8f23aed6c75f94f238c1f23f4e17515d28eb55Tinderbox User# If left blank, NLM_NAME will be used.
ad8f23aed6c75f94f238c1f23f4e17515d28eb55Tinderbox UserNLM_DESCRIPTION = Apache $(VERSION_STR) Proxy Module
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# This is used by the '-threadname' directive. If left blank,
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# NLM_NAME Thread will be used.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox UserNLM_THREAD_NAME = Proxy Module
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# If this is specified, it will override VERSION value in
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# $(AP_WORK)\build\NWGNUenvironment.inc
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# If this is specified, it will override the default of 64K
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox UserNLM_STACK_SIZE = 8192
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# If this is specified it will be used by the link '-entry' directive
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox UserNLM_ENTRY_SYM = _LibCPrelude
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# If this is specified it will be used by the link '-exit' directive
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox UserNLM_EXIT_SYM = _LibCPostlude
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# If this is specified it will be used by the link '-check' directive
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox UserNLM_CHECK_SYM =
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# If these are specified it will be used by the link '-flags' directive
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox UserNLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# If this is specified it will be linked in with the XDCData option in the def
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# by setting APACHE_UNIPROC in the environment
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# If there is an NLM target, put it here
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox UserTARGET_nlm = \
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# If there is an LIB target, put it here
$(OBJDIR)/mod_proxy.o \
$(OBJDIR)/proxy_util.o \
$(OBJDIR)/libprews.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.
@$(APR)/aprlib.imp \
@$(NWOS)/httpd.imp \
@libc.imp \
@ws2nlm.imp \
# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
$(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt
include $(AP_WORK)\build\NWGNUtail.inc