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