bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# Declare the sub-directories to be built here
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankgSUBDIRS = \
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg $(EOLIST)
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# Get the 'head' of the build environment. This includes default targets and
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# paths to tools
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankginclude $(AP_WORK)/build/NWGNUhead.inc
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# build this level's files
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# Make sure all needed macro's are defined
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# These directories will be at the beginning of the include list, followed by
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# INCDIRS
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankgXINCDIRS += \
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg $(APR)/include \
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg $(APRUTIL)/include \
44f575c8cb19a7a5cd61664a7848be6bc197df02fuankg $(SRC)/include \
44f575c8cb19a7a5cd61664a7848be6bc197df02fuankg $(SERVER)/mpm/netware \
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg $(NWOS) \
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg $(EOLIST)
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# These flags will come after CFLAGS
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankgXCFLAGS += \
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg $(EOLIST)
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# These defines will come after DEFINES
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankgXDEFINES += \
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg $(EOLIST)
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# These flags will be added to the link.opt file
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankgXLFLAGS += \
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg $(EOLIST)
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# These values will be appended to the correct variables based on the value of
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# RELEASE
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankgifeq "$(RELEASE)" "debug"
bbe59d77d98e58dc0106305644837a2bd4c36108fuankgXINCDIRS += \
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg $(EOLIST)
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankgXCFLAGS += \
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg $(EOLIST)
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankgXDEFINES += \
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg $(EOLIST)
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankgXLFLAGS += \
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg $(EOLIST)
bbe59d77d98e58dc0106305644837a2bd4c36108fuankgendif
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankgifeq "$(RELEASE)" "noopt"
bbe59d77d98e58dc0106305644837a2bd4c36108fuankgXINCDIRS += \
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg $(EOLIST)
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankgXCFLAGS += \
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg $(EOLIST)
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankgXDEFINES += \
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg $(EOLIST)
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankgXLFLAGS += \
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg $(EOLIST)
bbe59d77d98e58dc0106305644837a2bd4c36108fuankgendif
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankgifeq "$(RELEASE)" "release"
bbe59d77d98e58dc0106305644837a2bd4c36108fuankgXINCDIRS += \
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg $(EOLIST)
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankgXCFLAGS += \
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg $(EOLIST)
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankgXDEFINES += \
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg $(EOLIST)
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankgXLFLAGS += \
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg $(EOLIST)
bbe59d77d98e58dc0106305644837a2bd4c36108fuankgendif
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# These are used by the link target if an NLM is being generated
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# This is used by the link 'name' directive to name the nlm. If left blank
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# TARGET_nlm (see below) will be used.
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankgNLM_NAME = socachemem
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# This is used by the link '-desc ' directive.
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# If left blank, NLM_NAME will be used.
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankgNLM_DESCRIPTION = Apache $(VERSION_STR) Socache Memory Module
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# This is used by the '-threadname' directive. If left blank,
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# NLM_NAME Thread will be used.
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankgNLM_THREAD_NAME = socachemem
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# If this is specified, it will override VERSION value in
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# $(AP_WORK)/build/NWGNUenvironment.inc
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankgNLM_VERSION =
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# If this is specified, it will override the default of 64K
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankgNLM_STACK_SIZE = 65536
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# If this is specified it will be used by the link '-entry' directive
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankgNLM_ENTRY_SYM =
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# If this is specified it will be used by the link '-exit' directive
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankgNLM_EXIT_SYM =
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# If this is specified it will be used by the link '-check' directive
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankgNLM_CHECK_SYM =
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# If this is specified it will be used by the link '-flags' directive
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankgNLM_FLAGS =
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# If this is specified it will be linked in with the XDCData option in the def
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# by setting APACHE_UNIPROC in the environment
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankgXDCDATA =
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# Declare all target files (you must add your files here)
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# If there is an NLM target, put it here
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankgTARGET_nlm = \
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg $(OBJDIR)/$(NLM_NAME).nlm \
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg $(EOLIST)
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# If there is an LIB target, put it here
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankgTARGET_lib = \
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg $(EOLIST)
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# These are the OBJ files needed to create the NLM target above.
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# Paths must all use the '/' character
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankgFILES_nlm_objs = \
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg $(OBJDIR)/mod_socache_memcache.o \
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg $(EOLIST)
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# These are the LIB files needed to create the NLM target above.
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# These will be added as a library command in the link.opt file.
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankgFILES_nlm_libs = \
cf7ca2f9eaa6523fefcccba4287b91637391fb51fuankg $(PRELUDE) \
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg $(EOLIST)
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# These are the modules that the above NLM target depends on to load.
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# These will be added as a module command in the link.opt file.
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankgFILES_nlm_modules = \
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg Apache2 \
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg Libc \
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg $(EOLIST)
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# If the nlm has a msg file, put it's path here
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankgFILE_nlm_msg =
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# If the nlm has a hlp file put it's path here
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankgFILE_nlm_hlp =
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# If this is specified, it will override $(NWOS)\copyright.txt.
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankgFILE_nlm_copyright =
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# Any additional imports go here
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankgFILES_nlm_Ximports = \
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg @libc.imp \
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg @aprlib.imp \
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg @httpd.imp \
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg $(EOLIST)
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# Any symbols exported to here
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankgFILES_nlm_exports = \
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg socache_memcache_module \
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg $(EOLIST)
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# These are the OBJ files needed to create the LIB target above.
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# Paths must all use the '/' character
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankgFILES_lib_objs = \
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg $(EOLIST)
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# implement targets and dependancies (leave this section alone)
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankglibs :: $(OBJDIR) $(TARGET_lib)
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankgnlms :: libs $(TARGET_nlm)
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# Updated this target to create necessary directories and copy files to the
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# correct place. (See $(AP_WORK)/build/NWGNUhead.inc for examples)
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankginstall :: nlms FORCE
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# Any specialized rules here
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# Include the 'tail' makefile that has targets that depend on variables defined
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg# in this makefile
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg#
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankginclude $(APBUILD)/NWGNUtail.inc
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg
bbe59d77d98e58dc0106305644837a2bd4c36108fuankg