# These directories will be at the beginning of the include list, followed by
# These flags will come after CFLAGS
# These defines will come after DEFINES
# These flags will be added to the
link.opt file
# These values will be appended to the correct variables based on the value of
ifeq "$(RELEASE)" "debug"
ifeq "$(RELEASE)" "noopt"
ifeq "$(RELEASE)" "release"
# These are used by the link target if an NLM is being generated
# This is used by the link 'name' directive to name the nlm. If left blank
# TARGET_nlm (see below) will be used.
# This is used by the link '-desc ' directive.
# If left blank, NLM_NAME will be used.
# This is used by the '-threadname' directive. If left blank,
# NLM_NAME Thread will be used.
# If this is specified, it will override VERSION value in
# If this is specified, it will override the default of 64K
# If this is specified it will be used by the link '-entry' directive
# If this is specified it will be used by the link '-exit' directive
# If this is specified it will be used by the link '-check' directive
# If these are specified it will be used by the link '-flags' directive
# If this is specified it will be linked in with the XDCData option in the def
# file instead of the default of $(NWOS)/
apache.xdc. XDCData can be disabled
# by setting APACHE_UNIPROC in the environment
# If there is an NLM target, put it here
# If there is only one element to build it needs to be included twice
# in the below target list.
# Normally if there is only one element to be built within a
# directory, the makefile for the single element would be called NWGNUmakefile.
# But if there are multiples, the parent NWGNUmakefile must reference more
# than one submakefile. Because the experimental directory might vary in the
# number of submakefiles, but for the moment only contains one, we reference
# it twice to allow it parent NWGNUmakefile to work properly. If another
# submakefile is added, the extra reference to the first NLM should be removed.
# If there is an LIB target, put it here
# These are the OBJ files needed to create the NLM target above.
# Paths must all use the '/' character
# These are the LIB files needed to create the NLM target above.
# These will be added as a library command in the
link.opt file.
# These are the modules that the above NLM target depends on to load.
# These will be added as a module command in the
link.opt file.
# If the nlm has a msg file, put it's path here
# If the nlm has a hlp file put it's path here
# Any additional imports go here
# Any symbols exported to here
# These are the OBJ files needed to create the LIB target above.
# Paths must all use the '/' character
# implement targets and dependancies (leave this section alone)
libs :: $(OBJDIR) $(TARGET_lib)
nlms :: libs $(TARGET_nlm)
# Updated this target to create necessary directories and copy files to the
$(call COPY,$(OBJDIR)/*.nlm, $(INSTALLBASE)/modules/)
# Any specialized rules here
# Include the 'tail' makefile that has targets that depend on variables defined