NWGNUcase_flt revision 8ffac2c334103c0336602aaede650cb578611151
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# Declare the sub-directories to be built here
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowSUBDIRS = \
4bff34e37def8a90f9194d81bc345c52ba20086athurlow $(EOLIST)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# Get the 'head' of the build environment. This includes default targets and
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# paths to tools
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowinclude $(AP_WORK)/build/NWGNUhead.inc
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# build this level's files
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# Make sure all needed macro's are defined
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# These directories will be at the beginning of the include list, followed by
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# INCDIRS
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlowXINCDIRS += \
4bff34e37def8a90f9194d81bc345c52ba20086athurlow $(APR)/include \
4bff34e37def8a90f9194d81bc345c52ba20086athurlow $(APRUTIL)/include \
4bff34e37def8a90f9194d81bc345c52ba20086athurlow $(AP_WORK)/include \
4bff34e37def8a90f9194d81bc345c52ba20086athurlow $(NWOS) \
4bff34e37def8a90f9194d81bc345c52ba20086athurlow $(EOLIST)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# These flags will come after CFLAGS
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlowXCFLAGS += \
4bff34e37def8a90f9194d81bc345c52ba20086athurlow $(EOLIST)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# These defines will come after DEFINES
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlowXDEFINES += \
4bff34e37def8a90f9194d81bc345c52ba20086athurlow $(EOLIST)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# These flags will be added to the link.opt file
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlowXLFLAGS += \
4bff34e37def8a90f9194d81bc345c52ba20086athurlow $(EOLIST)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# These values will be appended to the correct variables based on the value of
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# RELEASE
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlowifeq "$(RELEASE)" "debug"
4bff34e37def8a90f9194d81bc345c52ba20086athurlowXINCDIRS += \
4bff34e37def8a90f9194d81bc345c52ba20086athurlow $(EOLIST)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowXCFLAGS += \
4bff34e37def8a90f9194d81bc345c52ba20086athurlow $(EOLIST)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowXDEFINES += \
4bff34e37def8a90f9194d81bc345c52ba20086athurlow $(EOLIST)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowXLFLAGS += \
4bff34e37def8a90f9194d81bc345c52ba20086athurlow $(EOLIST)
4bff34e37def8a90f9194d81bc345c52ba20086athurlowendif
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowifeq "$(RELEASE)" "noopt"
4bff34e37def8a90f9194d81bc345c52ba20086athurlowXINCDIRS += \
4bff34e37def8a90f9194d81bc345c52ba20086athurlow $(EOLIST)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowXCFLAGS += \
4bff34e37def8a90f9194d81bc345c52ba20086athurlow $(EOLIST)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowXDEFINES += \
4bff34e37def8a90f9194d81bc345c52ba20086athurlow $(EOLIST)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowXLFLAGS += \
4bff34e37def8a90f9194d81bc345c52ba20086athurlow $(EOLIST)
4bff34e37def8a90f9194d81bc345c52ba20086athurlowendif
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowifeq "$(RELEASE)" "release"
4bff34e37def8a90f9194d81bc345c52ba20086athurlowXINCDIRS += \
4bff34e37def8a90f9194d81bc345c52ba20086athurlow $(EOLIST)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowXCFLAGS += \
4bff34e37def8a90f9194d81bc345c52ba20086athurlow $(EOLIST)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowXDEFINES += \
4bff34e37def8a90f9194d81bc345c52ba20086athurlow $(EOLIST)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowXLFLAGS += \
4bff34e37def8a90f9194d81bc345c52ba20086athurlow $(EOLIST)
4bff34e37def8a90f9194d81bc345c52ba20086athurlowendif
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# These are used by the link target if an NLM is being generated
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# This is used by the link 'name' directive to name the nlm. If left blank
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# TARGET_nlm (see below) will be used.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlowNLM_NAME = case_flt
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# This is used by the link '-desc ' directive.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# If left blank, NLM_NAME will be used.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlowNLM_DESCRIPTION = Apache $(VERSION_STR) Case Filter Module
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# This is used by the '-threadname' directive. If left blank,
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# NLM_NAME Thread will be used.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlowNLM_THREAD_NAME = $(NLM_NAME) Module
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# If this is specified, it will override VERSION value in
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# $(AP_WORK)/build/NWGNUenvironment.inc
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlowNLM_VERSION =
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# If this is specified, it will override the default of 64K
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlowNLM_STACK_SIZE = 8192
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# If this is specified it will be used by the link '-entry' directive
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlowNLM_ENTRY_SYM =
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# If this is specified it will be used by the link '-exit' directive
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlowNLM_EXIT_SYM =
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# If this is specified it will be used by the link '-check' directive
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlowNLM_CHECK_SYM =
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# If these are specified it will be used by the link '-flags' directive
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlowNLM_FLAGS =
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# If this is specified it will be linked in with the XDCData option in the def
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# by setting APACHE_UNIPROC in the environment
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlowXDCDATA =
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# If there is an NLM target, put it here
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlowTARGET_nlm = \
4bff34e37def8a90f9194d81bc345c52ba20086athurlow $(OBJDIR)/$(NLM_NAME).nlm \
4bff34e37def8a90f9194d81bc345c52ba20086athurlow $(EOLIST)
#
# 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_case_filter.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 = \
libcpre.o \
$(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 = \
case_filter_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