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