NWGNUmakefile revision f2f3f241c00a7a4bd597e57a19023940e072918a
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
144N/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 += \
132N/A $(EOLIST)
132N/Aendif
132N/A
132N/A#
132N/A# These are used by the link target if an NLM is being generated
132N/A# This is used by the link 'name' directive to name the nlm. If left blank
132N/A# TARGET_nlm (see below) will be used.
132N/A#
132N/ANLM_NAME =
132N/A
132N/A#
132N/A# This is used by the link '-desc ' directive.
132N/A# If left blank, NLM_NAME will be used.
132N/A#
132N/ANLM_DESCRIPTION =
190N/A
132N/A#
132N/A# This is used by the '-threadname' directive. If left blank,
132N/A# NLM_NAME Thread will be used.
132N/A#
132N/ANLM_THREAD_NAME =
132N/A
132N/A#
132N/A# If this is specified, it will override VERSION value in
132N/A# $(AP_WORK)\build\NWGNUenvironment.inc
132N/A#
132N/ANLM_VERSION =
213N/A
132N/A#
132N/A# If this is specified, it will override the default of 64K
211N/A#
213N/ANLM_STACK_SIZE =
213N/A
213N/A
213N/A#
213N/A# If this is specified it will be used by the link '-entry' directive
213N/A#
213N/ANLM_ENTRY_SYM =
213N/A
213N/A#
213N/A# If this is specified it will be used by the link '-exit' directive
213N/A#
213N/ANLM_EXIT_SYM =
213N/A
213N/A#
213N/A# If this is specified it will be used by the link '-check' directive
213N/A#
213N/ANLM_CHECK_SYM =
213N/A
213N/A#
213N/A# If these are specified it will be used by the link '-flags' directive
213N/A#
213N/ANLM_FLAGS =
213N/A
213N/A#
213N/A# If this is specified it will be linked in with the XDCData option in the def
213N/A# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
213N/A# by setting APACHE_UNIPROC in the environment
213N/A#
213N/AXDCDATA =
213N/A
213N/A#
213N/A# If there is an NLM target, put it here
213N/A#
213N/ATARGET_nlm = \
211N/A $(OBJDIR)/actions.nlm \
211N/A $(OBJDIR)/imagemap.nlm \
211N/A $(OBJDIR)/rewrite.nlm \
211N/A $(OBJDIR)/speling.nlm \
211N/A $(OBJDIR)/userdir.nlm \
213N/A $(OBJDIR)/vhost.nlm \
213N/A $(EOLIST)
211N/A
211N/A#
132N/A# If there is an LIB target, put it here
211N/A#
144N/ATARGET_lib = \
144N/A $(EOLIST)
144N/A
144N/A#
177N/A# These are the OBJ files needed to create the NLM target above.
144N/A# Paths must all use the '/' character
144N/A#
132N/AFILES_nlm_objs = \
$(EOLIST)
#
# 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.
#
FILES_nlm_libs = \
$(EOLIST)
#
# 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.
#
FILES_nlm_modules = \
$(EOLIST)
#
# If the nlm has a msg file, put it's path here
#
FILE_nlm_msg =
#
# If the nlm has a hlp file put it's path here
#
FILE_nlm_hlp =
#
# If this is specified, it will override $(NWOS)\copyright.txt.
#
FILE_nlm_copyright =
#
# Any additional imports go here
#
FILES_nlm_Ximports = \
$(EOLIST)
#
# Any symbols exported to here
#
FILES_nlm_exports = \
$(EOLIST)
#
# These are the OBJ files needed to create the LIB target above.
# Paths must all use the '/' character
#
FILES_lib_objs = \
$(EOLIST)
#
# 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
# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
#
install :: nlms FORCE
copy $(OBJDIR)\*.nlm $(INSTALL)\$(BASEDIR)\modules\*.*
#
# Any specialized rules here
#
#
# Include the 'tail' makefile that has targets that depend on variables defined
# in this makefile
#
include $(AP_WORK)\build\NWGNUtail.inc