NWGNUimagemap revision ac7985784d08a3655291f24f711812b4d8b1cbcf
178f6ad061e54bc5babfca3577f72058fa0797c1Bob Halley# Make sure all needed macro's are defined
178f6ad061e54bc5babfca3577f72058fa0797c1Bob Halley# Get the 'head' of the build environment if necessary. This includes default
178f6ad061e54bc5babfca3577f72058fa0797c1Bob Halley# targets and paths to tools
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrewsifndef EnvironmentDefined
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrewsinclude $(AP_WORK)\build\NWGNUhead.inc
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# These directories will be at the beginning of the include list, followed by
8319af16557b81eba3277ee67215285f0823b587Mark AndrewsXINCDIRS += \
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid Lawrence $(AP_WORK)/include \
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence $(APR)/include \
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley $(APRUTIL)/include \
b897c52f865b2fc4e220e2110b874e59c716456bBob Halley# These flags will come after CFLAGS
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence# These defines will come after DEFINES
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence# These flags will be added to the link.opt file
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence# These values will be appended to the correct variables based on the value of
12e63bfe1d111ccb57f482b28d56c785cccc7cf7David Lawrenceifeq "$(RELEASE)" "debug"
dabea86dac4c01f852b7aea728f73b4f55a89d44Mark AndrewsXDEFINES += \
460b427411b72da26b1836b9424e2e70d65d9394David Lawrenceifeq "$(RELEASE)" "noopt"
596912ee9ca8eb14d30707ec286ab5d28bd39b3eMark AndrewsXINCDIRS += \
12e63bfe1d111ccb57f482b28d56c785cccc7cf7David Lawrenceifeq "$(RELEASE)" "release"
0b72c791466d0807bcf22522b5ddb7da902c2720Bob HalleyXDEFINES += \
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley# These are used by the link target if an NLM is being generated
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley# This is used by the link 'name' directive to name the nlm. If left blank
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley# TARGET_nlm (see below) will be used.
0b72c791466d0807bcf22522b5ddb7da902c2720Bob HalleyNLM_NAME = imagemap
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley# This is used by the link '-desc ' directive.
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley# If left blank, NLM_NAME will be used.
0b72c791466d0807bcf22522b5ddb7da902c2720Bob HalleyNLM_DESCRIPTION = Apache $(VERSION_STR) Image Map Module
0014d6342b0d50ae37126ac16d5bf821d02ffff7David Lawrence# This is used by the '-threadname' directive. If left blank,
0014d6342b0d50ae37126ac16d5bf821d02ffff7David Lawrence# NLM_NAME Thread will be used.
0014d6342b0d50ae37126ac16d5bf821d02ffff7David LawrenceNLM_THREAD_NAME = Image Map Module
a9558a6c63d9c6dbb2f3800b39ccb008652fcde3Mark Andrews# If this is specified, it will override VERSION value in
a9558a6c63d9c6dbb2f3800b39ccb008652fcde3Mark Andrews# $(AP_WORK)\build\NWGNUenvironment.inc
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsNLM_VERSION =
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley# If this is specified, it will override the default of 64K
0b72c791466d0807bcf22522b5ddb7da902c2720Bob HalleyNLM_STACK_SIZE = 8192
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley# If this is specified it will be used by the link '-entry' directive
0b72c791466d0807bcf22522b5ddb7da902c2720Bob HalleyNLM_ENTRY_SYM = _LibCPrelude
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley# If this is specified it will be used by the link '-exit' directive
0b72c791466d0807bcf22522b5ddb7da902c2720Bob HalleyNLM_EXIT_SYM = _LibCPostlude
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley# If this is specified it will be used by the link '-check' directive
0b72c791466d0807bcf22522b5ddb7da902c2720Bob HalleyNLM_CHECK_SYM =
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley# If these are specified it will be used by the link '-flags' directive
0b72c791466d0807bcf22522b5ddb7da902c2720Bob HalleyNLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley# If this is specified it will be linked in with the XDCData option in the def
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley# by setting APACHE_UNIPROC in the environment
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley# If there is an NLM target, put it here
0b72c791466d0807bcf22522b5ddb7da902c2720Bob HalleyTARGET_nlm = \
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley# If there is an LIB target, put it here
$(OBJDIR)/mod_imagemap.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