NWGNUsession_cookie revision fd7c287b8fcccc3e1e7834bf8daf8fe7fd6cd49d
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# Make sure all needed macro's are defined
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# Get the 'head' of the build environment if necessary. This includes default
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# targets and paths to tools
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesifndef EnvironmentDefined
0662ed52e814f8f08ef0e09956413a792584eddffuankginclude $(AP_WORK)\build\NWGNUhead.inc
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesendif
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# These directories will be at the beginning of the include list, followed by
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# INCDIRS
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesXINCDIRS += \
70953fb44a7140fe206c3a5f011e24209c8c5c6abnicholes $(AP_WORK)/include \
70953fb44a7140fe206c3a5f011e24209c8c5c6abnicholes $(NWOS) \
44f575c8cb19a7a5cd61664a7848be6bc197df02fuankg $(AP_WORK)/modules/http \
b387b9d37fc71c534f4718777454a8f5a1169017fuankg $(AP_WORK)/modules/arch/netware \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(AP_WORK)/modules/ssl \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(AP_WORK)/modules/generators \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(APR)/include \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(APRUTIL)/include \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(APR) \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(EOLIST)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# These flags will come after CFLAGS
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesXCFLAGS += \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(EOLIST)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# These defines will come after DEFINES
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesXDEFINES += \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(EOLIST)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# These flags will be added to the link.opt file
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesXLFLAGS += \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(EOLIST)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# These values will be appended to the correct variables based on the value of
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# RELEASE
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesifeq "$(RELEASE)" "debug"
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesXINCDIRS += \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(EOLIST)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesXCFLAGS += \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(EOLIST)
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesXDEFINES += \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(EOLIST)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesXLFLAGS += \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(EOLIST)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesendif
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesifeq "$(RELEASE)" "noopt"
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesXINCDIRS += \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(EOLIST)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesXCFLAGS += \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(EOLIST)
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesXDEFINES += \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(EOLIST)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesXLFLAGS += \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(EOLIST)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesendif
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesifeq "$(RELEASE)" "release"
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesXINCDIRS += \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(EOLIST)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesXCFLAGS += \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(EOLIST)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesXDEFINES += \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(EOLIST)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesXLFLAGS += \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(EOLIST)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesendif
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# These are used by the link target if an NLM is being generated
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# This is used by the link 'name' directive to name the nlm. If left blank
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg# TARGET_nlm (see below) will be used.
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesNLM_NAME = session_cookie
0a39e7683f6611d66c55712f50bb240428d832a1bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# This is used by the link '-desc ' directive.
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# If left blank, NLM_NAME will be used.
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesNLM_DESCRIPTION = Apache $(VERSION_STR) Session Cookie Module
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# This is used by the '-threadname' directive. If left blank,
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg# NLM_NAME Thread will be used.
0662ed52e814f8f08ef0e09956413a792584eddffuankg#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesNLM_THREAD_NAME = SessionCookie Module
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# If this is specified, it will override VERSION value in
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# $(AP_WORK)\build\NWGNUenvironment.inc
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesNLM_VERSION =
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# If this is specified, it will override the default of 64K
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesNLM_STACK_SIZE = 8192
0662ed52e814f8f08ef0e09956413a792584eddffuankg
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# If this is specified it will be used by the link '-entry' directive
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
0662ed52e814f8f08ef0e09956413a792584eddffuankgNLM_ENTRY_SYM = _LibCPrelude
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# If this is specified it will be used by the link '-exit' directive
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesNLM_EXIT_SYM = _LibCPostlude
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# If this is specified it will be used by the link '-check' directive
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
0662ed52e814f8f08ef0e09956413a792584eddffuankgNLM_CHECK_SYM =
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg# If these are specified it will be used by the link '-flags' directive
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesNLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# If this is specified it will be linked in with the XDCData option in the def
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# by setting APACHE_UNIPROC in the environment
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesXDCDATA =
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# If there is an NLM target, put it here
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesTARGET_nlm = \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(OBJDIR)/$(NLM_NAME).nlm \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(EOLIST)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# If there is an LIB target, put it here
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesTARGET_lib = \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(EOLIST)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# These are the OBJ files needed to create the NLM target above.
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# Paths must all use the '/' character
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesFILES_nlm_objs = \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(OBJDIR)/mod_session_cookie.o \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(EOLIST)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
cf7ca2f9eaa6523fefcccba4287b91637391fb51fuankg#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# These are the LIB files needed to create the NLM target above.
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# These will be added as a library command in the link.opt file.
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesFILES_nlm_libs = \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes libcpre.o \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(EOLIST)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# These are the modules that the above NLM target depends on to load.
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# These will be added as a module command in the link.opt file.
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesFILES_nlm_modules = \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes aprlib \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes libc \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes session \
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg $(EOLIST)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# If the nlm has a msg file, put it's path here
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesFILE_nlm_msg =
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# If the nlm has a hlp file put it's path here
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesFILE_nlm_hlp =
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# If this is specified, it will override $(NWOS)\copyright.txt.
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
8ffac2c334103c0336602aaede650cb578611151fuankgFILE_nlm_copyright =
8ffac2c334103c0336602aaede650cb578611151fuankg
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# Any additional imports go here
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg#
ac7985784d08a3655291f24f711812b4d8b1cbcffuankgFILES_nlm_Ximports = \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes @$(APR)/aprlib.imp \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes @$(NWOS)/httpd.imp \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes @libc.imp \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes ap_hook_session_load \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes ap_hook_session_save \
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg $(EOLIST)
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# Any symbols exported to here
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesFILES_nlm_exports = \
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg session_cookie_module \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(EOLIST)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# These are the OBJ files needed to create the LIB target above.
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# Paths must all use the '/' character
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesFILES_lib_objs = \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(EOLIST)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg# implement targets and dependancies (leave this section alone)
0662ed52e814f8f08ef0e09956413a792584eddffuankg#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholeslibs :: $(OBJDIR) $(TARGET_lib)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesnlms :: libs $(TARGET_nlm)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# Updated this target to create necessary directories and copy files to the
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesinstall :: nlms FORCE
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
0662ed52e814f8f08ef0e09956413a792584eddffuankg# Any specialized rules here
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
vpath %.c ../arch/netware
#
# Include the 'tail' makefile that has targets that depend on variables defined
# in this makefile
#
include $(AP_WORK)\build\NWGNUtail.inc