NWGNUmakefile revision da52b8eebd528064e3e4a25c5876c46338ab1357
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync# Declare the sub-directories to be built here
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync# Get the 'head' of the build environment. This includes default targets and
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync# paths to tools
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncinclude $(AP_WORK)/build/NWGNUhead.inc
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync# build this level's files
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync# Make sure all needed macro's are defined
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync# These directories will be at the beginning of the include list, followed by
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncXINCDIRS += \
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync# These flags will come after CFLAGS
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncXCFLAGS += \
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync# These defines will come after DEFINES
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncXDEFINES += \
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync# These flags will be added to the link.opt file
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncXLFLAGS += \
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync# These values will be appended to the correct variables based on the value of
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncifeq "$(RELEASE)" "debug"
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncXINCDIRS += \
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncXCFLAGS += \
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncXDEFINES += \
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncXLFLAGS += \
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncifeq "$(RELEASE)" "noopt"
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncXINCDIRS += \
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncXCFLAGS += \
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncXDEFINES += \
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncXLFLAGS += \
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncifeq "$(RELEASE)" "release"
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncXINCDIRS += \
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncXCFLAGS += \
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncXDEFINES += \
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncXLFLAGS += \
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync# These are used by the link target if an NLM is being generated
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync# This is used by the link 'name' directive to name the nlm. If left blank
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync# TARGET_nlm (see below) will be used.
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync# This is used by the link '-desc ' directive.
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync# If left blank, NLM_NAME will be used.
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncNLM_DESCRIPTION =
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync# This is used by the '-threadname' directive. If left blank,
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync# NLM_NAME Thread will be used.
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncNLM_THREAD_NAME =
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync# If this is specified, it will override VERSION value in
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncNLM_VERSION =
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync# If this is specified, it will override the default of 64K
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncNLM_STACK_SIZE =
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync# If this is specified it will be used by the link '-entry' directive
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncNLM_ENTRY_SYM =
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync# If this is specified it will be used by the link '-exit' directive
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncNLM_EXIT_SYM =
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync# If this is specified it will be used by the link '-check' directive
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncNLM_CHECK_SYM =
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync# If these are specified it will be used by the link '-flags' directive
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync# If this is specified it will be linked in with the XDCData option in the def
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync# by setting APACHE_UNIPROC in the environment
$(OBJDIR)/example_hooks.nlm \
$(OBJDIR)/example_ipc.nlm \
$(OBJDIR)/case_flt.nlm \
$(OBJDIR)/case_flt_in.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