cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# Declare the sub-directories to be built here
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankgSUBDIRS = \
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg $(EOLIST)
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# Get the 'head' of the build environment. This includes default targets and
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# paths to tools
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
0662ed52e814f8f08ef0e09956413a792584eddffuankginclude $(AP_WORK)/build/NWGNUhead.inc
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# build this level's files
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# Make sure all needed macro's are defined
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# These directories will be at the beginning of the include list, followed by
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# INCDIRS
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankgXINCDIRS += \
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg $(APR)/include \
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg $(APRUTIL)/include \
44f575c8cb19a7a5cd61664a7848be6bc197df02fuankg $(SRC)/include \
16b55a35cff91315d261d1baa776138af465c4e4fuankg $(NWOS) \
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg $(EOLIST)
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# These flags will come after CFLAGS
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankgXCFLAGS += \
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg $(EOLIST)
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# These defines will come after DEFINES
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankgXDEFINES += \
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg $(EOLIST)
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# These flags will be added to the link.opt file
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankgXLFLAGS += \
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg $(EOLIST)
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# These values will be appended to the correct variables based on the value of
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# RELEASE
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankgifeq "$(RELEASE)" "debug"
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankgXINCDIRS += \
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg $(EOLIST)
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankgXCFLAGS += \
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg $(EOLIST)
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankgXDEFINES += \
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg $(EOLIST)
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankgXLFLAGS += \
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg $(EOLIST)
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankgendif
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankgifeq "$(RELEASE)" "noopt"
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankgXINCDIRS += \
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg $(EOLIST)
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankgXCFLAGS += \
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg $(EOLIST)
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankgXDEFINES += \
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg $(EOLIST)
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankgXLFLAGS += \
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg $(EOLIST)
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankgendif
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankgifeq "$(RELEASE)" "release"
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankgXINCDIRS += \
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg $(EOLIST)
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankgXCFLAGS += \
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg $(EOLIST)
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankgXDEFINES += \
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg $(EOLIST)
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankgXLFLAGS += \
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg $(EOLIST)
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankgendif
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# These are used by the link target if an NLM is being generated
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# This is used by the link 'name' directive to name the nlm. If left blank
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# TARGET_nlm (see below) will be used.
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankgNLM_NAME = reqtimeout
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# This is used by the link '-desc ' directive.
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# If left blank, NLM_NAME will be used.
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankgNLM_DESCRIPTION = Apache $(VERSION_STR) Request Timeout Module
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# This is used by the '-threadname' directive. If left blank,
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# NLM_NAME Thread will be used.
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankgNLM_THREAD_NAME = $(NLM_NAME)
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# If this is specified, it will override VERSION value in
0662ed52e814f8f08ef0e09956413a792584eddffuankg# $(AP_WORK)/build/NWGNUenvironment.inc
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankgNLM_VERSION =
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# If this is specified, it will override the default of 64K
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankgNLM_STACK_SIZE = 8192
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# If this is specified it will be used by the link '-entry' directive
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
0662ed52e814f8f08ef0e09956413a792584eddffuankgNLM_ENTRY_SYM =
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# If this is specified it will be used by the link '-exit' directive
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
0662ed52e814f8f08ef0e09956413a792584eddffuankgNLM_EXIT_SYM =
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# If this is specified it will be used by the link '-check' directive
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankgNLM_CHECK_SYM =
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# If these are specified it will be used by the link '-flags' directive
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
0662ed52e814f8f08ef0e09956413a792584eddffuankgNLM_FLAGS =
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# If this is specified it will be linked in with the XDCData option in the def
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# by setting APACHE_UNIPROC in the environment
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankgXDCDATA =
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# If there is an NLM target, put it here
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankgTARGET_nlm = \
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg $(OBJDIR)/$(NLM_NAME).nlm \
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg $(EOLIST)
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# If there is an LIB target, put it here
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankgTARGET_lib = \
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg $(EOLIST)
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# These are the OBJ files needed to create the NLM target above.
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# Paths must all use the '/' character
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankgFILES_nlm_objs = \
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg $(OBJDIR)/mod_reqtimeout.o \
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg $(EOLIST)
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# These are the LIB files needed to create the NLM target above.
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# These will be added as a library command in the link.opt file.
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankgFILES_nlm_libs = \
cf7ca2f9eaa6523fefcccba4287b91637391fb51fuankg $(PRELUDE) \
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg $(EOLIST)
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# These are the modules that the above NLM target depends on to load.
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# These will be added as a module command in the link.opt file.
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankgFILES_nlm_modules = \
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg aprlib \
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg libc \
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg $(EOLIST)
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# If the nlm has a msg file, put it's path here
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankgFILE_nlm_msg =
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# If the nlm has a hlp file put it's path here
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankgFILE_nlm_hlp =
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# If this is specified, it will override $(NWOS)\copyright.txt.
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankgFILE_nlm_copyright =
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# Any additional imports go here
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankgFILES_nlm_Ximports = \
8ffac2c334103c0336602aaede650cb578611151fuankg @aprlib.imp \
8ffac2c334103c0336602aaede650cb578611151fuankg @httpd.imp \
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg @libc.imp \
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg $(EOLIST)
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# Any symbols exported to here
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankgFILES_nlm_exports = \
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg reqtimeout_module \
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg $(EOLIST)
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# These are the OBJ files needed to create the LIB target above.
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# Paths must all use the '/' character
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankgFILES_lib_objs = \
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg $(EOLIST)
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# implement targets and dependancies (leave this section alone)
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankglibs :: $(OBJDIR) $(TARGET_lib)
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankgnlms :: libs $(TARGET_nlm)
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# Updated this target to create necessary directories and copy files to the
0662ed52e814f8f08ef0e09956413a792584eddffuankg# correct place. (See $(AP_WORK)/build/NWGNUhead.inc for examples)
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankginstall :: nlms FORCE
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# Any specialized rules here
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# Include the 'tail' makefile that has targets that depend on variables defined
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg# in this makefile
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg#
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
0662ed52e814f8f08ef0e09956413a792584eddffuankginclude $(APBUILD)/NWGNUtail.inc
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg
cb8c861baa9316dc6ecc8a29e18178b224d7445afuankg