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