NWGNUmodbucketeer revision 8ffac2c334103c0336602aaede650cb578611151
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# Make sure all needed macro's are defined
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# Get the 'head' of the build environment if necessary. This includes default
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# targets and paths to tools
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncifndef EnvironmentDefined
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncinclude $(AP_WORK)/build/NWGNUhead.inc
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# These directories will be at the beginning of the include list, followed by
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncXINCDIRS += \
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync $(APR)/include \
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync $(APRUTIL)/include \
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync $(AP_WORK)/include \
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# These flags will come after CFLAGS
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncXCFLAGS += \
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# These defines will come after DEFINES
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncXDEFINES += \
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# These flags will be added to the link.opt file
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncXLFLAGS += \
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# These values will be appended to the correct variables based on the value of
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncifeq "$(RELEASE)" "debug"
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncXINCDIRS += \
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncXCFLAGS += \
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncXDEFINES += \
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncXLFLAGS += \
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncifeq "$(RELEASE)" "noopt"
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncXINCDIRS += \
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncXCFLAGS += \
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncXDEFINES += \
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncXLFLAGS += \
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncifeq "$(RELEASE)" "release"
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncXINCDIRS += \
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncXCFLAGS += \
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncXDEFINES += \
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncXLFLAGS += \
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# These are used by the link target if an NLM is being generated
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# This is used by the link 'name' directive to name the nlm. If left blank
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# TARGET_nlm (see below) will be used.
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncNLM_NAME = modbucketeer
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# This is used by the link '-desc ' directive.
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# If left blank, NLM_NAME will be used.
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncNLM_DESCRIPTION = Apache $(VERSION_STR) Debugging IO Module
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# This is used by the '-threadname' directive. If left blank,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# NLM_NAME Thread will be used.
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncNLM_THREAD_NAME = Bucketeer Module
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# If this is specified, it will override VERSION value in
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncNLM_VERSION =
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# If this is specified, it will override the default of 64K
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncNLM_STACK_SIZE = 8192
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# If this is specified it will be used by the link '-entry' directive
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncNLM_ENTRY_SYM =
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# If this is specified it will be used by the link '-exit' directive
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncNLM_EXIT_SYM =
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# If this is specified it will be used by the link '-check' directive
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncNLM_CHECK_SYM =
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# If these are specified it will be used by the link '-flags' directive
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# If this is specified it will be linked in with the XDCData option in the def
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# by setting APACHE_UNIPROC in the environment
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# If there is an NLM target, put it here
$(OBJDIR)/modbucketeer.nlm \
$(OBJDIR)/mod_bucketeer.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