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