NWGNUaccesscompat revision bf40639e42957133fef54f2f0a322061ac37fe90
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# Make sure all needed macro's are defined
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User# Get the 'head' of the build environment if necessary. This includes default
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User# targets and paths to tools
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupontifndef EnvironmentDefined
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupontinclude $(AP_WORK)\build\NWGNUhead.inc
33d0a7767d53cb366039fd0ac4f63cf8a9c351b0Tinderbox User# These directories will be at the beginning of the include list, followed by
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User $(AP_WORK)/include \
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User $(APR)/include \
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont $(APRUTIL)/include \
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# These flags will come after CFLAGS
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# These defines will come after DEFINES
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# These flags will be added to the link.opt file
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# These values will be appended to the correct variables based on the value of
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox Userifeq "$(RELEASE)" "debug"
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Huntifeq "$(RELEASE)" "noopt"
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan HuntXDEFINES += \
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Huntifeq "$(RELEASE)" "release"
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan HuntXINCDIRS += \
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt# These are used by the link target if an NLM is being generated
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# This is used by the link 'name' directive to name the nlm. If left blank
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# TARGET_nlm (see below) will be used.
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserNLM_NAME = accesscompat
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# This is used by the link '-desc ' directive.
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# If left blank, NLM_NAME will be used.
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserNLM_DESCRIPTION = Apache $(VERSION_STR) host access control compatibility Module
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# This is used by the '-threadname' directive. If left blank,
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt# NLM_NAME Thread will be used.
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan HuntNLM_THREAD_NAME = AccessCompModule
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# If this is specified, it will override VERSION value in
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt# $(AP_WORK)\build\NWGNUenvironment.inc
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt# If this is specified, it will override the default of 64K
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserNLM_STACK_SIZE = 8192
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt# If this is specified it will be used by the link '-entry' directive
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserNLM_ENTRY_SYM = _LibCPrelude
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# If this is specified it will be used by the link '-exit' directive
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan HuntNLM_EXIT_SYM = _LibCPostlude
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# If this is specified it will be used by the link '-check' directive
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserNLM_CHECK_SYM =
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt# If these are specified it will be used by the link '-flags' directive
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserNLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# If this is specified it will be linked in with the XDCData option in the def
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
33d0a7767d53cb366039fd0ac4f63cf8a9c351b0Tinderbox User# by setting APACHE_UNIPROC in the environment
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# If there is an NLM target, put it here
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserTARGET_nlm = \
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# If there is an LIB target, put it here
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserTARGET_lib = \
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# These are the OBJ files needed to create the NLM target above.
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# Paths must all use the '/' character
$(OBJDIR)/mod_access_compat.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 \
# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
include $(AP_WORK)\build\NWGNUtail.inc