NWGNUautoindex revision cf7ca2f9eaa6523fefcccba4287b91637391fb51
200N/A#
200N/A# Make sure all needed macro's are defined
200N/A#
200N/A
200N/A#
200N/A# Get the 'head' of the build environment if necessary. This includes default
200N/A# targets and paths to tools
200N/A#
200N/A
200N/Aifndef EnvironmentDefined
200N/Ainclude $(AP_WORK)/build/NWGNUhead.inc
200N/Aendif
200N/A
200N/A#
200N/A# These directories will be at the beginning of the include list, followed by
200N/A# INCDIRS
200N/A#
200N/AXINCDIRS += \
200N/A $(APR)/include \
200N/A $(APRUTIL)/include \
200N/A $(AP_WORK)/include \
200N/A $(AP_WORK)/modules/http \
3857N/A $(NWOS) \
200N/A $(EOLIST)
200N/A
200N/A#
200N/A# These flags will come after CFLAGS
814N/A#
206N/AXCFLAGS += \
200N/A $(EOLIST)
4258N/A
618N/A#
200N/A# These defines will come after DEFINES
200N/A#
844N/AXDEFINES += \
4258N/A $(EOLIST)
903N/A
1273N/A#
4258N/A# These flags will be added to the link.opt file
3661N/A#
3996N/AXLFLAGS += \
3996N/A $(EOLIST)
3996N/A
200N/A#
200N/A# These values will be appended to the correct variables based on the value of
200N/A# RELEASE
200N/A#
200N/Aifeq "$(RELEASE)" "debug"
3982N/AXINCDIRS += \
200N/A $(EOLIST)
206N/A
206N/AXCFLAGS += \
206N/A $(EOLIST)
206N/A
206N/AXDEFINES += \
206N/A $(EOLIST)
200N/A
206N/AXLFLAGS += \
200N/A $(EOLIST)
206N/Aendif
206N/A
206N/Aifeq "$(RELEASE)" "noopt"
3866N/AXINCDIRS += \
3866N/A $(EOLIST)
3866N/A
200N/AXCFLAGS += \
200N/A $(EOLIST)
200N/A
200N/AXDEFINES += \
903N/A $(EOLIST)
200N/A
200N/AXLFLAGS += \
200N/A $(EOLIST)
206N/Aendif
200N/A
200N/Aifeq "$(RELEASE)" "release"
200N/AXINCDIRS += \
200N/A $(EOLIST)
200N/A
206N/AXCFLAGS += \
200N/A $(EOLIST)
200N/A
206N/AXDEFINES += \
200N/A $(EOLIST)
200N/A
200N/AXLFLAGS += \
200N/A $(EOLIST)
200N/Aendif
200N/A
200N/A#
3866N/A# These are used by the link target if an NLM is being generated
3866N/A# This is used by the link 'name' directive to name the nlm. If left blank
3866N/A# TARGET_nlm (see below) will be used.
3866N/A#
3866N/ANLM_NAME = autoindex
3866N/A
3866N/A#
3866N/A# This is used by the link '-desc ' directive.
3866N/A# If left blank, NLM_NAME will be used.
3866N/A#
3866N/ANLM_DESCRIPTION = Apache $(VERSION_STR) Autoindex Module
3866N/A
3866N/A#
3866N/A# This is used by the '-threadname' directive. If left blank,
3866N/A# NLM_NAME Thread will be used.
3866N/A#
3866N/ANLM_THREAD_NAME = Autoindex Module
3866N/A
200N/A#
200N/A# If this is specified, it will override VERSION value in
200N/A# $(AP_WORK)/build/NWGNUenvironment.inc
200N/A#
200N/ANLM_VERSION =
3866N/A
200N/A#
200N/A# If this is specified, it will override the default of 64K
200N/A#
200N/ANLM_STACK_SIZE = 8192
200N/A
200N/A
3866N/A#
200N/A# If this is specified it will be used by the link '-entry' directive
200N/A#
200N/ANLM_ENTRY_SYM =
3866N/A
3866N/A#
200N/A# If this is specified it will be used by the link '-exit' directive
200N/A#
200N/ANLM_EXIT_SYM =
200N/A
200N/A#
2107N/A# If this is specified it will be used by the link '-check' directive
200N/A#
3982N/ANLM_CHECK_SYM =
3982N/A
200N/A#
200N/A# If these are specified it will be used by the link '-flags' directive
200N/A#
206N/ANLM_FLAGS =
200N/A
200N/A#
200N/A# If this is specified it will be linked in with the XDCData option in the def
3996N/A# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
200N/A# by setting APACHE_UNIPROC in the environment
3996N/A#
3996N/AXDCDATA =
3996N/A
3996N/A#
3996N/A# If there is an NLM target, put it here
3996N/A#
3996N/ATARGET_nlm = \
3996N/A $(OBJDIR)/autoindex.nlm \
3996N/A $(EOLIST)
3996N/A
#
# If there is an LIB target, put it here
#
TARGET_lib = \
$(EOLIST)
#
# These are the OBJ files needed to create the NLM target above.
# Paths must all use the '/' character
#
FILES_nlm_objs = \
$(OBJDIR)/mod_autoindex.o \
$(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 = \
$(PRELUDE) \
$(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 = \
aprlib \
libc \
$(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 = \
@aprlib.imp \
@httpd.imp \
@libc.imp \
$(EOLIST)
#
# Any symbols exported to here
#
FILES_nlm_exports = \
autoindex_module \
$(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
#
# Any specialized rules here
#
#
# Include the 'tail' makefile that has targets that depend on variables defined
# in this makefile
#
include $(APBUILD)/NWGNUtail.inc