NWGNUmakefile revision 00d1c0c914426a97022d8205a875c48b211001c2
132N/A#
132N/A# Declare the sub-directories to be built here
132N/A#
132N/A
132N/ASUBDIRS = \
132N/A $(EOLIST)
132N/A
132N/A#
132N/A# Get the 'head' of the build environment. This includes default targets and
132N/A# paths to tools
132N/A#
132N/A
132N/Ainclude $(AP_WORK)/build/NWGNUhead.inc
132N/A
132N/A#
132N/A# build this level's files
132N/A
132N/A#
132N/A# Make sure all needed macro's are defined
132N/A#
132N/A
132N/A#
132N/A# These directories will be at the beginning of the include list, followed by
132N/A# INCDIRS
215N/A#
132N/AXINCDIRS += \
132N/A $(EOLIST)
132N/A
132N/A#
132N/A# These flags will come after CFLAGS
132N/A#
132N/AXCFLAGS += \
132N/A $(EOLIST)
132N/A
132N/A#
132N/A# These defines will come after DEFINES
132N/A#
132N/AXDEFINES += \
132N/A $(EOLIST)
132N/A
132N/A#
132N/A# These flags will be added to the link.opt file
132N/A#
132N/AXLFLAGS += \
132N/A $(EOLIST)
132N/A
132N/A#
132N/A# These values will be appended to the correct variables based on the value of
132N/A# RELEASE
132N/A#
132N/Aifeq "$(RELEASE)" "debug"
132N/AXINCDIRS += \
132N/A $(EOLIST)
132N/A
132N/AXCFLAGS += \
132N/A $(EOLIST)
132N/A
132N/AXDEFINES += \
132N/A $(EOLIST)
132N/A
132N/AXLFLAGS += \
132N/A $(EOLIST)
132N/Aendif
132N/A
132N/Aifeq "$(RELEASE)" "noopt"
132N/AXINCDIRS += \
132N/A $(EOLIST)
132N/A
132N/AXCFLAGS += \
132N/A $(EOLIST)
132N/A
132N/AXDEFINES += \
132N/A $(EOLIST)
132N/A
132N/AXLFLAGS += \
132N/A $(EOLIST)
132N/Aendif
132N/A
132N/Aifeq "$(RELEASE)" "release"
132N/AXINCDIRS += \
132N/A $(EOLIST)
132N/A
132N/AXCFLAGS += \
132N/A $(EOLIST)
132N/A
132N/AXDEFINES += \
132N/A $(EOLIST)
132N/A
132N/AXLFLAGS += \
219N/A $(EOLIST)
278N/Aendif
220N/A
341N/A#
341N/A# These are used by the link target if an NLM is being generated
379N/A# This is used by the link 'name' directive to name the nlm. If left blank
411N/A# TARGET_nlm (see below) will be used.
320N/A#
336N/ANLM_NAME =
336N/A
336N/A#
336N/A# This is used by the link '-desc ' directive.
336N/A# If left blank, NLM_NAME will be used.
336N/A#
336N/ANLM_DESCRIPTION =
341N/A
341N/A#
336N/A# This is used by the '-threadname' directive. If left blank,
336N/A# NLM_NAME Thread will be used.
336N/A#
379N/ANLM_THREAD_NAME =
379N/A
379N/A#
379N/A# If this is specified, it will override VERSION value in
379N/A# $(AP_WORK)/build/NWGNUenvironment.inc
379N/A#
411N/ANLM_VERSION =
411N/A
411N/A#
411N/A# If this is specified, it will override the default of 64K
411N/A#
411N/ANLM_STACK_SIZE =
320N/A
336N/A
320N/A#
336N/A# If this is specified it will be used by the link '-entry' directive
320N/A#
320N/ANLM_ENTRY_SYM =
132N/A
132N/A#
132N/A# If this is specified it will be used by the link '-exit' directive
132N/A#
132N/ANLM_EXIT_SYM =
132N/A
132N/A#
132N/A# If this is specified it will be used by the link '-check' directive
132N/A#
132N/ANLM_CHECK_SYM =
244N/A
244N/A#
132N/A# If these are specified it will be used by the link '-flags' directive
132N/A#
132N/ANLM_FLAGS =
132N/A
190N/A#
132N/A# If this is specified it will be linked in with the XDCData option in the def
132N/A# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
132N/A# by setting APACHE_UNIPROC in the environment
132N/A#
132N/AXDCDATA =
132N/A
132N/A#
132N/A# If there is an NLM target, put it here
230N/A#
230N/ATARGET_nlm = \
230N/A $(OBJDIR)/session.nlm \
230N/A $(OBJDIR)/session_cookie.nlm \
230N/A $(OBJDIR)/session_dbd.nlm \
230N/A $(EOLIST)
230N/A
230N/A# $(OBJDIR)/session_crypto.nlm \
230N/A
230N/A#
230N/A# If there is an LIB target, put it here
230N/A#
230N/ATARGET_lib = \
230N/A $(EOLIST)
230N/A
230N/A#
230N/A# These are the OBJ files needed to create the NLM target above.
230N/A# Paths must all use the '/' character
230N/A#
230N/AFILES_nlm_objs = \
230N/A $(EOLIST)
230N/A
230N/A#
230N/A# These are the LIB files needed to create the NLM target above.
230N/A# These will be added as a library command in the link.opt file.
230N/A#
230N/AFILES_nlm_libs = \
230N/A $(EOLIST)
230N/A
230N/A#
301N/A# These are the modules that the above NLM target depends on to load.
132N/A# These will be added as a module command in the link.opt file.
132N/A#
132N/AFILES_nlm_modules = \
213N/A $(EOLIST)
301N/A
132N/A#
132N/A# If the nlm has a msg file, put it's path here
211N/A#
213N/AFILE_nlm_msg =
213N/A
213N/A#
213N/A# If the nlm has a hlp file put it's path here
213N/A#
213N/AFILE_nlm_hlp =
213N/A
213N/A#
213N/A# If this is specified, it will override $(NWOS)\copyright.txt.
213N/A#
213N/AFILE_nlm_copyright =
213N/A
213N/A#
213N/A# Any additional imports go here
213N/A#
213N/AFILES_nlm_Ximports = \
213N/A $(EOLIST)
213N/A
213N/A#
213N/A# Any symbols exported to here
213N/A#
213N/AFILES_nlm_exports = \
213N/A $(EOLIST)
213N/A
213N/A#
213N/A# These are the OBJ files needed to create the LIB target above.
213N/A# Paths must all use the '/' character
213N/A#
213N/AFILES_lib_objs = \
213N/A $(EOLIST)
213N/A
230N/A#
213N/A# implement targets and dependancies (leave this section alone)
213N/A#
211N/A
211N/Alibs :: $(OBJDIR) $(TARGET_lib)
211N/A
211N/Anlms :: libs $(TARGET_nlm)
211N/A
246N/A#
246N/A# Updated this target to create necessary directories and copy files to the
246N/A# correct place. (See $(AP_WORK)/build/NWGNUhead.inc for examples)
213N/A#
213N/Ainstall :: nlms FORCE
211N/A $(call COPY,$(OBJDIR)/*.nlm, $(INSTALLBASE)/modules/)
211N/A
132N/A#
211N/A# Any specialized rules here
144N/A#
144N/A
144N/A#
144N/A# Include the 'tail' makefile that has targets that depend on variables defined
453N/A# in this makefile
144N/A#
260N/A
260N/Ainclude $(APBUILD)/NWGNUtail.inc
260N/A
260N/A
260N/A