NWGNUmakefile revision bb2b38cd44b032118359afbc743efbea12f48e61
456de5f26ad346749963525a4f91883e6a51c5f3gryzor# Declare the sub-directories to be built here
456de5f26ad346749963525a4f91883e6a51c5f3gryzor# Get the 'head' of the build environment. This includes default targets and
456de5f26ad346749963525a4f91883e6a51c5f3gryzor# paths to tools
456de5f26ad346749963525a4f91883e6a51c5f3gryzorinclude $(AP_WORK)\build\NWGNUhead.inc
456de5f26ad346749963525a4f91883e6a51c5f3gryzor# build this level's files
456de5f26ad346749963525a4f91883e6a51c5f3gryzor# Make sure all needed macro's are defined
456de5f26ad346749963525a4f91883e6a51c5f3gryzor# These directories will be at the beginning of the include list, followed by
456de5f26ad346749963525a4f91883e6a51c5f3gryzorXINCDIRS += \
456de5f26ad346749963525a4f91883e6a51c5f3gryzor# These flags will come after CFLAGS
456de5f26ad346749963525a4f91883e6a51c5f3gryzorXCFLAGS += \
456de5f26ad346749963525a4f91883e6a51c5f3gryzor# These defines will come after DEFINES
456de5f26ad346749963525a4f91883e6a51c5f3gryzorXDEFINES += \
456de5f26ad346749963525a4f91883e6a51c5f3gryzor# These flags will be added to the link.opt file
456de5f26ad346749963525a4f91883e6a51c5f3gryzorXLFLAGS += \
456de5f26ad346749963525a4f91883e6a51c5f3gryzor# These values will be appended to the correct variables based on the value of
456de5f26ad346749963525a4f91883e6a51c5f3gryzorifeq "$(RELEASE)" "debug"
456de5f26ad346749963525a4f91883e6a51c5f3gryzorXINCDIRS += \
456de5f26ad346749963525a4f91883e6a51c5f3gryzorXCFLAGS += \
456de5f26ad346749963525a4f91883e6a51c5f3gryzorXDEFINES += \
456de5f26ad346749963525a4f91883e6a51c5f3gryzorXLFLAGS += \
456de5f26ad346749963525a4f91883e6a51c5f3gryzorifeq "$(RELEASE)" "noopt"
456de5f26ad346749963525a4f91883e6a51c5f3gryzorXINCDIRS += \
456de5f26ad346749963525a4f91883e6a51c5f3gryzorXCFLAGS += \
456de5f26ad346749963525a4f91883e6a51c5f3gryzorXDEFINES += \
456de5f26ad346749963525a4f91883e6a51c5f3gryzorXLFLAGS += \
456de5f26ad346749963525a4f91883e6a51c5f3gryzorifeq "$(RELEASE)" "release"
456de5f26ad346749963525a4f91883e6a51c5f3gryzorXINCDIRS += \
456de5f26ad346749963525a4f91883e6a51c5f3gryzorXCFLAGS += \
456de5f26ad346749963525a4f91883e6a51c5f3gryzorXDEFINES += \
456de5f26ad346749963525a4f91883e6a51c5f3gryzorXLFLAGS += \
456de5f26ad346749963525a4f91883e6a51c5f3gryzor# These are used by the link target if an NLM is being generated
456de5f26ad346749963525a4f91883e6a51c5f3gryzor# This is used by the link 'name' directive to name the nlm. If left blank
456de5f26ad346749963525a4f91883e6a51c5f3gryzor# TARGET_nlm (see below) will be used.
456de5f26ad346749963525a4f91883e6a51c5f3gryzor# This is used by the link '-desc ' directive.
456de5f26ad346749963525a4f91883e6a51c5f3gryzor# If left blank, NLM_NAME will be used.
456de5f26ad346749963525a4f91883e6a51c5f3gryzorNLM_DESCRIPTION =
456de5f26ad346749963525a4f91883e6a51c5f3gryzor# This is used by the '-threadname' directive. If left blank,
456de5f26ad346749963525a4f91883e6a51c5f3gryzor# NLM_NAME Thread will be used.
456de5f26ad346749963525a4f91883e6a51c5f3gryzorNLM_THREAD_NAME =
456de5f26ad346749963525a4f91883e6a51c5f3gryzor# If this is specified, it will override VERSION value in
456de5f26ad346749963525a4f91883e6a51c5f3gryzor# $(AP_WORK)\build\NWGNUenvironment.inc
456de5f26ad346749963525a4f91883e6a51c5f3gryzorNLM_VERSION =
456de5f26ad346749963525a4f91883e6a51c5f3gryzor# If this is specified, it will override the default of 64K
456de5f26ad346749963525a4f91883e6a51c5f3gryzorNLM_STACK_SIZE =
456de5f26ad346749963525a4f91883e6a51c5f3gryzor# If this is specified it will be used by the link '-entry' directive
456de5f26ad346749963525a4f91883e6a51c5f3gryzorNLM_ENTRY_SYM =
456de5f26ad346749963525a4f91883e6a51c5f3gryzor# If this is specified it will be used by the link '-exit' directive
456de5f26ad346749963525a4f91883e6a51c5f3gryzorNLM_EXIT_SYM =
456de5f26ad346749963525a4f91883e6a51c5f3gryzor# If this is specified it will be used by the link '-check' directive
# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
$(OBJDIR)/cernmeta.nlm \
$(OBJDIR)/expires.nlm \
$(OBJDIR)/headers.nlm \
$(OBJDIR)/mimemagi.nlm \
$(OBJDIR)/uniqueid.nlm \
$(OBJDIR)/usertrk.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