NWGNUimagemap revision 6bdda696b3ea703c47e87fea61017ec655f91d92
335N/A#
1186N/A# Make sure all needed macro's are defined
1186N/A#
0N/A
0N/A#
0N/A# Get the 'head' of the build environment if necessary. This includes default
335N/A# targets and paths to tools
0N/A#
0N/A
0N/Aifndef EnvironmentDefined
0N/Ainclude $(AP_WORK)\build\NWGNUhead.inc
0N/Aendif
0N/A
0N/A#
0N/A# These directories will be at the beginning of the include list, followed by
0N/A# INCDIRS
0N/A#
0N/AXINCDIRS += \
0N/A $(AP_WORK)/include \
0N/A $(NWOS) \
1244N/A $(AP_WORK)/modules/arch/netware \
1186N/A $(AP_WORK)/modules/http \
1186N/A $(APR)/include \
1325N/A $(APRUTIL)/include \
1186N/A $(APR) \
1355N/A $(EOLIST)
1355N/A
1186N/A#
1186N/A# These flags will come after CFLAGS
1186N/A#
1186N/AXCFLAGS += \
1325N/A $(EOLIST)
1325N/A
1186N/A#
1186N/A# These defines will come after DEFINES
1186N/A#
1186N/AXDEFINES += \
1186N/A $(EOLIST)
1127N/A
0N/A#
1186N/A# These flags will be added to the link.opt file
1186N/A#
1355N/AXLFLAGS += \
1325N/A $(EOLIST)
1355N/A
1355N/A#
1281N/A# These values will be appended to the correct variables based on the value of
1108N/A# RELEASE
1281N/A#
1281N/Aifeq "$(RELEASE)" "debug"
1281N/AXINCDIRS += \
1281N/A $(EOLIST)
1281N/A
1281N/AXCFLAGS += \
1281N/A $(EOLIST)
1354N/A
1354N/AXDEFINES += \
1281N/A $(EOLIST)
1281N/A
1281N/AXLFLAGS += \
1281N/A $(EOLIST)
1281N/Aendif
1145N/A
1281N/Aifeq "$(RELEASE)" "noopt"
1108N/AXINCDIRS += \
1186N/A $(EOLIST)
335N/A
1364N/AXCFLAGS += \
1186N/A $(EOLIST)
1186N/A
1281N/AXDEFINES += \
1281N/A $(EOLIST)
1281N/A
1281N/AXLFLAGS += \
1281N/A $(EOLIST)
1281N/Aendif
1281N/A
1281N/Aifeq "$(RELEASE)" "release"
1281N/AXINCDIRS += \
1281N/A $(EOLIST)
1281N/A
1281N/AXCFLAGS += \
1281N/A $(EOLIST)
1281N/A
1281N/AXDEFINES += \
1281N/A $(EOLIST)
1281N/A
1281N/AXLFLAGS += \
1281N/A $(EOLIST)
1281N/Aendif
1281N/A
1281N/A#
1281N/A# These are used by the link target if an NLM is being generated
1281N/A# This is used by the link 'name' directive to name the nlm. If left blank
1281N/A# TARGET_nlm (see below) will be used.
1281N/A#
1281N/ANLM_NAME = imagemap
1281N/A
1325N/A#
1325N/A# This is used by the link '-desc ' directive.
1281N/A# If left blank, NLM_NAME will be used.
1281N/A#
1325N/ANLM_DESCRIPTION = Apache $(VERSION_STR) Image Map Module
1325N/A
1325N/A#
1325N/A# This is used by the '-threadname' directive. If left blank,
1325N/A# NLM_NAME Thread will be used.
1325N/A#
1325N/ANLM_THREAD_NAME = Image Map Module
1325N/A
1325N/A#
1325N/A# If this is specified, it will override VERSION value in
1325N/A# $(AP_WORK)\build\NWGNUenvironment.inc
1325N/A#
1325N/ANLM_VERSION =
1325N/A
1325N/A#
1325N/A# If this is specified, it will override the default of 64K
1325N/A#
1325N/ANLM_STACK_SIZE = 8192
1325N/A
1325N/A
1325N/A#
1325N/A# If this is specified it will be used by the link '-entry' directive
1325N/A#
1325N/ANLM_ENTRY_SYM = _LibCPrelude
1325N/A
1325N/A#
1325N/A# If this is specified it will be used by the link '-exit' directive
1325N/A#
1325N/ANLM_EXIT_SYM = _LibCPostlude
1325N/A
1325N/A#
1325N/A# If this is specified it will be used by the link '-check' directive
1325N/A#
1325N/ANLM_CHECK_SYM =
1325N/A
1325N/A#
1325N/A# If these are specified it will be used by the link '-flags' directive
1325N/A#
1325N/ANLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION
1325N/A
1325N/A#
1325N/A# If this is specified it will be linked in with the XDCData option in the def
1325N/A# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
1325N/A# by setting APACHE_UNIPROC in the environment
1325N/A#
1325N/AXDCDATA =
1325N/A
1325N/A#
1325N/A# If there is an NLM target, put it here
1325N/A#
1325N/ATARGET_nlm = \
1325N/A $(OBJDIR)/imagemap.nlm \
1325N/A $(EOLIST)
1325N/A
1325N/A#
1325N/A# If there is an LIB target, put it here
1325N/A#
1325N/ATARGET_lib = \
1325N/A $(EOLIST)
1325N/A
1325N/A#
1325N/A# These are the OBJ files needed to create the NLM target above.
1325N/A# Paths must all use the '/' character
1325N/A#
1325N/AFILES_nlm_objs = \
1325N/A $(OBJDIR)/mod_imagemap.o \
1325N/A $(EOLIST)
1325N/A
1325N/A#
1325N/A# These are the LIB files needed to create the NLM target above.
1325N/A# These will be added as a library command in the link.opt file.
1281N/A#
1281N/AFILES_nlm_libs = \
1281N/A libcpre.o \
1281N/A $(EOLIST)
1281N/A
1186N/A#
1186N/A# These are the modules that the above NLM target depends on to load.
1281N/A# These will be added as a module command in the link.opt file.
1281N/A#
1281N/AFILES_nlm_modules = \
1186N/A aprlib \
1281N/A libc \
1281N/A $(EOLIST)
1281N/A
1281N/A#
1281N/A# If the nlm has a msg file, put it's path here
1281N/A#
1281N/AFILE_nlm_msg =
1281N/A
1281N/A#
1281N/A# If the nlm has a hlp file put it's path here
1281N/A#
1281N/AFILE_nlm_hlp =
1281N/A
1281N/A#
1281N/A# If this is specified, it will override $(NWOS)\copyright.txt.
1281N/A#
1281N/AFILE_nlm_copyright =
1281N/A
1281N/A#
1281N/A# Any additional imports go here
1281N/A#
1281N/AFILES_nlm_Ximports = \
1281N/A @$(APR)/aprlib.imp \
1281N/A @$(NWOS)/httpd.imp \
1281N/A @libc.imp \
1186N/A $(EOLIST)
1186N/A
1281N/A#
1281N/A# Any symbols exported to here
1186N/A#
1281N/AFILES_nlm_exports = \
1186N/A imagemap_module \
1186N/A $(EOLIST)
1281N/A
1281N/A#
1281N/A# These are the OBJ files needed to create the LIB target above.
1281N/A# Paths must all use the '/' character
1281N/A#
1281N/AFILES_lib_objs = \
1281N/A $(EOLIST)
1281N/A
1281N/A#
1281N/A# implement targets and dependancies (leave this section alone)
1281N/A#
1281N/A
1281N/Alibs :: $(OBJDIR) $(TARGET_lib)
1281N/A
1281N/Anlms :: libs $(TARGET_nlm)
1281N/A
1281N/A#
1281N/A# Updated this target to create necessary directories and copy files to the
1281N/A# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
1281N/A#
1281N/Ainstall :: nlms FORCE
1281N/A
1281N/A#
1281N/A# Any specialized rules here
1281N/A#
1281N/A
1281N/A#
1281N/A# Include the 'tail' makefile that has targets that depend on variables defined
1281N/A# in this makefile
1281N/A#
1281N/A
1281N/Ainclude $(AP_WORK)\build\NWGNUtail.inc
1281N/A
1281N/A