NWGNUsession_dbd revision fd7c287b8fcccc3e1e7834bf8daf8fe7fd6cd49d
98N/A#
98N/A# Make sure all needed macro's are defined
1506N/A#
98N/A
98N/A#
919N/A# Get the 'head' of the build environment if necessary. This includes default
919N/A# targets and paths to tools
919N/A#
919N/A
919N/Aifndef EnvironmentDefined
919N/Ainclude $(AP_WORK)\build\NWGNUhead.inc
919N/Aendif
919N/A
919N/A#
919N/A# These directories will be at the beginning of the include list, followed by
919N/A# INCDIRS
919N/A#
919N/AXINCDIRS += \
919N/A $(AP_WORK)/include \
919N/A $(NWOS) \
919N/A $(AP_WORK)/modules/http \
919N/A $(AP_WORK)/modules/arch/netware \
98N/A $(AP_WORK)/modules/database \
98N/A $(AP_WORK)/modules/ssl \
98N/A $(AP_WORK)/modules/generators \
98N/A $(AP_WORK)/server/mpm/netware \
810N/A $(APR)/include \
810N/A $(APRUTIL)/include \
810N/A $(APR) \
810N/A $(EOLIST)
354N/A
354N/A#
354N/A# These flags will come after CFLAGS
354N/A#
354N/AXCFLAGS += \
354N/A $(EOLIST)
354N/A
354N/A#
606N/A# These defines will come after DEFINES
810N/A#
1123N/AXDEFINES += \
606N/A $(EOLIST)
354N/A
810N/A#
810N/A# These flags will be added to the link.opt file
830N/A#
1026N/AXLFLAGS += \
810N/A $(EOLIST)
1029N/A
1123N/A#
1123N/A# These values will be appended to the correct variables based on the value of
1123N/A# RELEASE
1123N/A#
1123N/Aifeq "$(RELEASE)" "debug"
1565N/AXINCDIRS += \
1565N/A $(EOLIST)
810N/A
810N/AXCFLAGS += \
810N/A $(EOLIST)
1123N/A
810N/AXDEFINES += \
810N/A $(EOLIST)
810N/A
810N/AXLFLAGS += \
810N/A $(EOLIST)
810N/Aendif
851N/A
810N/Aifeq "$(RELEASE)" "noopt"
851N/AXINCDIRS += \
810N/A $(EOLIST)
810N/A
810N/AXCFLAGS += \
810N/A $(EOLIST)
810N/A
810N/AXDEFINES += \
851N/A $(EOLIST)
810N/A
851N/AXLFLAGS += \
1010N/A $(EOLIST)
810N/Aendif
810N/A
1450N/Aifeq "$(RELEASE)" "release"
810N/AXINCDIRS += \
810N/A $(EOLIST)
810N/A
1246N/AXCFLAGS += \
1391N/A $(EOLIST)
1479N/A
1570N/AXDEFINES += \
810N/A $(EOLIST)
851N/A
851N/AXLFLAGS += \
851N/A $(EOLIST)
851N/Aendif
851N/A
98N/A#
98N/A# These are used by the link target if an NLM is being generated
98N/A# This is used by the link 'name' directive to name the nlm. If left blank
830N/A# TARGET_nlm (see below) will be used.
1026N/A#
851N/ANLM_NAME = session_dbd
571N/A
98N/A#
98N/A# This is used by the link '-desc ' directive.
98N/A# If left blank, NLM_NAME will be used.
1029N/A#
1123N/ANLM_DESCRIPTION = Apache $(VERSION_STR) Session Cookie Module
1565N/A
1565N/A#
1123N/A# This is used by the '-threadname' directive. If left blank,
1123N/A# NLM_NAME Thread will be used.
1123N/A#
1123N/ANLM_THREAD_NAME = SessionDbd Module
341N/A
366N/A#
354N/A# If this is specified, it will override VERSION value in
425N/A# $(AP_WORK)\build\NWGNUenvironment.inc
325N/A#
456N/ANLM_VERSION =
577N/A
325N/A#
354N/A# If this is specified, it will override the default of 64K
278N/A#
98N/ANLM_STACK_SIZE = 8192
543N/A
98N/A
98N/A#
151N/A# If this is specified it will be used by the link '-entry' directive
137N/A#
153N/ANLM_ENTRY_SYM = _LibCPrelude
210N/A
366N/A#
98N/A# If this is specified it will be used by the link '-exit' directive
179N/A#
269N/ANLM_EXIT_SYM = _LibCPostlude
126N/A
98N/A#
98N/A# If this is specified it will be used by the link '-check' directive
287N/A#
366N/ANLM_CHECK_SYM =
123N/A
98N/A#
98N/A# If these are specified it will be used by the link '-flags' directive
98N/A#
98N/ANLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION
851N/A
1570N/A#
1391N/A# If this is specified it will be linked in with the XDCData option in the def
1029N/A# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
1549N/A# by setting APACHE_UNIPROC in the environment
1549N/A#
1549N/AXDCDATA =
98N/A
98N/A#
98N/A# If there is an NLM target, put it here
851N/A#
98N/ATARGET_nlm = \
744N/A $(OBJDIR)/$(NLM_NAME).nlm \
1525N/A $(EOLIST)
1138N/A
1507N/A#
1506N/A# If there is an LIB target, put it here
1506N/A#
747N/ATARGET_lib = \
744N/A $(EOLIST)
1584N/A
1584N/A#
744N/A# These are the OBJ files needed to create the NLM target above.
493N/A# Paths must all use the '/' character
967N/A#
98N/AFILES_nlm_objs = \
493N/A $(OBJDIR)/mod_session_dbd.o \
493N/A $(EOLIST)
967N/A
810N/A#
# 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 \
session \
$(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 = \
@$(APR)/aprlib.imp \
@$(NWOS)/httpd.imp \
@libc.imp \
ap_hook_session_load \
ap_hook_session_save \
$(EOLIST)
#
# Any symbols exported to here
#
FILES_nlm_exports = \
session_dbd_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
#
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