NWGNUmakefile revision 0662ed52e814f8f08ef0e09956413a792584eddf
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# Declare the sub-directories to be built here
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# Get the 'head' of the build environment. This includes default targets and
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# paths to tools
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Fosterinclude $(AP_WORK)/build/NWGNUhead.inc
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# build this level's files
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# Make sure all needed macro's are defined
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# These directories will be at the beginning of the include list, followed by
f948ca04a28ccfeed9633bf4b0fb0d2c59c37478David LunaXINCDIRS += \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# These flags will come after CFLAGS
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# These defines will come after DEFINES
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan FosterXDEFINES += \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# These flags will be added to the link.opt file
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# These values will be appended to the correct variables based on the value of
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Fosterifeq "$(RELEASE)" "debug"
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan FosterXINCDIRS += \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan FosterXDEFINES += \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Fosterifeq "$(RELEASE)" "noopt"
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan FosterXINCDIRS += \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan FosterXDEFINES += \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Fosterifeq "$(RELEASE)" "release"
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan FosterXINCDIRS += \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan FosterXDEFINES += \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# These are used by the link target if an NLM is being generated
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# This is used by the link 'name' directive to name the nlm. If left blank
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# TARGET_nlm (see below) will be used.
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# This is used by the link '-desc ' directive.
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# If left blank, NLM_NAME will be used.
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan FosterNLM_DESCRIPTION =
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# This is used by the '-threadname' directive. If left blank,
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# NLM_NAME Thread will be used.
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan FosterNLM_THREAD_NAME =
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# If this is specified, it will override VERSION value in
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan FosterNLM_VERSION =
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# If this is specified, it will override the default of 64K
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan FosterNLM_STACK_SIZE =
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# If this is specified it will be used by the link '-entry' directive
# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
$(OBJDIR)/actions.nlm \
$(OBJDIR)/imagemap.nlm \
$(OBJDIR)/rewrite.nlm \
$(OBJDIR)/speling.nlm \
$(OBJDIR)/userdir.nlm \
$(OBJDIR)/vhost.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 $(APBUILD)/NWGNUtail.inc