NWGNUmakefile revision f7fbc357d78d2bb46c013deb6d2573f4e0a13168
a00f9e2f50675bd43cc6a9fe2669709162a2ccb4Evan Hunt# Declare the sub-directories to be built here
a00f9e2f50675bd43cc6a9fe2669709162a2ccb4Evan Hunt# Get the 'head' of the build environment. This includes default targets and
a00f9e2f50675bd43cc6a9fe2669709162a2ccb4Evan Hunt# paths to tools
a00f9e2f50675bd43cc6a9fe2669709162a2ccb4Evan Huntinclude $(AP_WORK)\build\NWGNUhead.inc
a00f9e2f50675bd43cc6a9fe2669709162a2ccb4Evan Hunt# build this level's files
a00f9e2f50675bd43cc6a9fe2669709162a2ccb4Evan Hunt# Make sure all needed macro's are defined
a00f9e2f50675bd43cc6a9fe2669709162a2ccb4Evan Hunt# These directories will be at the beginning of the include list, followed by
a00f9e2f50675bd43cc6a9fe2669709162a2ccb4Evan HuntXINCDIRS += \
a00f9e2f50675bd43cc6a9fe2669709162a2ccb4Evan Hunt# These flags will come after CFLAGS
a00f9e2f50675bd43cc6a9fe2669709162a2ccb4Evan Hunt# These defines will come after DEFINES
a00f9e2f50675bd43cc6a9fe2669709162a2ccb4Evan HuntXDEFINES += \
a00f9e2f50675bd43cc6a9fe2669709162a2ccb4Evan Hunt# These flags will be added to the link.opt file
a00f9e2f50675bd43cc6a9fe2669709162a2ccb4Evan Hunt# These values will be appended to the correct variables based on the value of
a00f9e2f50675bd43cc6a9fe2669709162a2ccb4Evan Huntifeq "$(RELEASE)" "debug"
a00f9e2f50675bd43cc6a9fe2669709162a2ccb4Evan HuntXINCDIRS += \
a00f9e2f50675bd43cc6a9fe2669709162a2ccb4Evan HuntXDEFINES += \
a00f9e2f50675bd43cc6a9fe2669709162a2ccb4Evan Huntifeq "$(RELEASE)" "noopt"
a00f9e2f50675bd43cc6a9fe2669709162a2ccb4Evan HuntXINCDIRS += \
a00f9e2f50675bd43cc6a9fe2669709162a2ccb4Evan HuntXDEFINES += \
a00f9e2f50675bd43cc6a9fe2669709162a2ccb4Evan Huntifeq "$(RELEASE)" "release"
a00f9e2f50675bd43cc6a9fe2669709162a2ccb4Evan HuntXINCDIRS += \
a00f9e2f50675bd43cc6a9fe2669709162a2ccb4Evan HuntXDEFINES += \
a00f9e2f50675bd43cc6a9fe2669709162a2ccb4Evan Hunt# These are used by the link target if an NLM is being generated
a00f9e2f50675bd43cc6a9fe2669709162a2ccb4Evan Hunt# This is used by the link 'name' directive to name the nlm. If left blank
a00f9e2f50675bd43cc6a9fe2669709162a2ccb4Evan Hunt# TARGET_nlm (see below) will be used.
a00f9e2f50675bd43cc6a9fe2669709162a2ccb4Evan Hunt# This is used by the link '-desc ' directive.
a00f9e2f50675bd43cc6a9fe2669709162a2ccb4Evan Hunt# If left blank, NLM_NAME will be used.
a00f9e2f50675bd43cc6a9fe2669709162a2ccb4Evan HuntNLM_DESCRIPTION =
a00f9e2f50675bd43cc6a9fe2669709162a2ccb4Evan Hunt# This is used by the '-threadname' directive. If left blank,
a00f9e2f50675bd43cc6a9fe2669709162a2ccb4Evan Hunt# NLM_NAME Thread will be used.
a00f9e2f50675bd43cc6a9fe2669709162a2ccb4Evan HuntNLM_THREAD_NAME =
a00f9e2f50675bd43cc6a9fe2669709162a2ccb4Evan Hunt# If this is specified, it will override VERSION value in
a00f9e2f50675bd43cc6a9fe2669709162a2ccb4Evan Hunt# $(AP_WORK)\build\NWGNUenvironment.inc
a00f9e2f50675bd43cc6a9fe2669709162a2ccb4Evan HuntNLM_VERSION =
a00f9e2f50675bd43cc6a9fe2669709162a2ccb4Evan Hunt# If this is specified, it will override the default of 64K
a00f9e2f50675bd43cc6a9fe2669709162a2ccb4Evan HuntNLM_STACK_SIZE =
a00f9e2f50675bd43cc6a9fe2669709162a2ccb4Evan Hunt# If this is specified it will be used by the link '-entry' directive
a00f9e2f50675bd43cc6a9fe2669709162a2ccb4Evan HuntNLM_ENTRY_SYM =
a00f9e2f50675bd43cc6a9fe2669709162a2ccb4Evan Hunt# If this is specified it will be used by the link '-exit' directive
a00f9e2f50675bd43cc6a9fe2669709162a2ccb4Evan HuntNLM_EXIT_SYM =
a00f9e2f50675bd43cc6a9fe2669709162a2ccb4Evan Hunt# If this is specified it will be used by the link '-check' directive
a00f9e2f50675bd43cc6a9fe2669709162a2ccb4Evan HuntNLM_CHECK_SYM =
a00f9e2f50675bd43cc6a9fe2669709162a2ccb4Evan Hunt# If these are specified it will be used by the link '-flags' directive
f5898cf3484b1588d5239faa4062a2b2b606ce91Evan Hunt# If this is specified it will be linked in with the XDCData option in the def
f5898cf3484b1588d5239faa4062a2b2b606ce91Evan Hunt# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
a00f9e2f50675bd43cc6a9fe2669709162a2ccb4Evan Hunt# by setting APACHE_UNIPROC in the environment
a00f9e2f50675bd43cc6a9fe2669709162a2ccb4Evan Hunt# If there is an NLM target, put it here
a00f9e2f50675bd43cc6a9fe2669709162a2ccb4Evan HuntTARGET_nlm = \
# 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.
# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
include $(AP_WORK)\build\NWGNUtail.inc