NWGNUrewrite revision 8ffac2c334103c0336602aaede650cb578611151
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82sm# Make sure all needed macro's are defined
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg# Get the 'head' of the build environment if necessary. This includes default
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82sm# targets and paths to tools
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82smifndef EnvironmentDefined
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82sminclude $(AP_WORK)/build/NWGNUhead.inc
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82sm# These directories will be at the beginning of the include list, followed by
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82smXINCDIRS += \
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82sm $(APR)/include \
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82sm $(APRUTIL)/include \
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82sm $(AP_WORK)/include \
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82sm# These flags will come after CFLAGS
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82smXCFLAGS += \
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82sm# These defines will come after DEFINES
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82smXDEFINES += \
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82sm# These flags will be added to the link.opt file
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82smXLFLAGS += \
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82sm# These values will be appended to the correct variables based on the value of
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82smifeq "$(RELEASE)" "debug"
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82smXINCDIRS += \
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82smXCFLAGS += \
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82smXDEFINES += \
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82smXLFLAGS += \
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82smifeq "$(RELEASE)" "noopt"
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82smXINCDIRS += \
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82smXCFLAGS += \
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82smXDEFINES += \
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82smXLFLAGS += \
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82smifeq "$(RELEASE)" "release"
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jgXINCDIRS += \
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jgXCFLAGS += \
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jgXDEFINES += \
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82smXLFLAGS += \
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82sm# These are used by the link target if an NLM is being generated
bf56214c0556fa6864189c826d39dbe156bb22a0stevel# This is used by the link 'name' directive to name the nlm. If left blank
4ebb14b236958cfe1ef4ff3b7a50216d9e51f997frits# TARGET_nlm (see below) will be used.
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82smNLM_NAME = rewrite
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82sm# This is used by the link '-desc ' directive.
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82sm# If left blank, NLM_NAME will be used.
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82smNLM_DESCRIPTION = Apache $(VERSION_STR) Rewrite Module
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82sm# This is used by the '-threadname' directive. If left blank,
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82sm# NLM_NAME Thread will be used.
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82smNLM_THREAD_NAME = Rewrite Module
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82sm# If this is specified, it will override VERSION value in
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82smNLM_VERSION =
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82sm# If this is specified, it will override the default of 64K
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82smNLM_STACK_SIZE = 8192
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82sm# If this is specified it will be used by the link '-entry' directive
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82smNLM_ENTRY_SYM =
4ebb14b236958cfe1ef4ff3b7a50216d9e51f997frits# If this is specified it will be used by the link '-exit' directive
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82smNLM_EXIT_SYM =
4ebb14b236958cfe1ef4ff3b7a50216d9e51f997frits# If this is specified it will be used by the link '-check' directive
bf56214c0556fa6864189c826d39dbe156bb22a0stevelNLM_CHECK_SYM =
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82sm# If these are specified it will be used by the link '-flags' directive
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82smNLM_FLAGS =
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82sm# If this is specified it will be linked in with the XDCData option in the def
bf56214c0556fa6864189c826d39dbe156bb22a0stevel# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
bf56214c0556fa6864189c826d39dbe156bb22a0stevel# by setting APACHE_UNIPROC in the environment
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82sm# If there is an NLM target, put it here
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82smTARGET_nlm = \
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82sm# If there is an LIB target, put it here
75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82smTARGET_lib = \
$(OBJDIR)/mod_rewrite.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.
@aprlib.imp \
@httpd.imp \
@libc.imp \
# correct place. (See $(AP_WORK)/build/NWGNUhead.inc for examples)
include $(APBUILD)/NWGNUtail.inc