NWGNUauthndbm revision 70953fb44a7140fe206c3a5f011e24209c8c5c6a
486N/A#
486N/A# Make sure all needed macro's are defined
486N/A#
486N/A
486N/A#
486N/A# Get the 'head' of the build environment if necessary. This includes default
486N/A# targets and paths to tools
486N/A#
486N/A
486N/Aifndef EnvironmentDefined
486N/Ainclude $(AP_WORK)\build\NWGNUhead.inc
486N/Aendif
486N/A
486N/A#
486N/A# These directories will be at the beginning of the include list, followed by
486N/A# INCDIRS
486N/A#
486N/AXINCDIRS += \
486N/A $(AP_WORK)/include \
873N/A $(NWOS) \
486N/A $(AP_WORK)/modules/arch/netware \
486N/A $(APR)/include \
486N/A $(APRUTIL)/include \
486N/A $(APR) \
486N/A $(EOLIST)
4103N/A
5306N/A#
486N/A# These flags will come after CFLAGS
486N/A#
486N/AXCFLAGS += \
486N/A $(EOLIST)
486N/A
486N/A#
486N/A# These defines will come after DEFINES
486N/A#
486N/AXDEFINES += \
486N/A $(EOLIST)
486N/A
619N/A#
619N/A# These flags will be added to the link.opt file
619N/A#
619N/AXLFLAGS += \
619N/A $(EOLIST)
3488N/A
619N/A#
619N/A# These values will be appended to the correct variables based on the value of
619N/A# RELEASE
3824N/A#
3824N/Aifeq "$(RELEASE)" "debug"
3824N/AXINCDIRS += \
619N/A $(EOLIST)
619N/A
3196N/AXCFLAGS += \
3196N/A $(EOLIST)
3196N/A
3196N/AXDEFINES += \
486N/A $(EOLIST)
486N/A
2976N/AXLFLAGS += \
2976N/A $(EOLIST)
2976N/Aendif
486N/A
5306N/Aifeq "$(RELEASE)" "noopt"
3972N/AXINCDIRS += \
5612N/A $(EOLIST)
5306N/A
5306N/AXCFLAGS += \
3972N/A $(EOLIST)
3978N/A
3972N/AXDEFINES += \
3972N/A $(EOLIST)
3972N/A
3972N/AXLFLAGS += \
3972N/A $(EOLIST)
3972N/Aendif
4103N/A
4103N/Aifeq "$(RELEASE)" "release"
5306N/AXINCDIRS += \
4103N/A $(EOLIST)
4103N/A
4103N/AXCFLAGS += \
4103N/A $(EOLIST)
4103N/A
5306N/AXDEFINES += \
4103N/A $(EOLIST)
5306N/A
4103N/AXLFLAGS += \
3972N/A $(EOLIST)
3972N/Aendif
3972N/A
2976N/A#
2976N/A# These are used by the link target if an NLM is being generated
2976N/A# This is used by the link 'name' directive to name the nlm. If left blank
3824N/A# TARGET_nlm (see below) will be used.
2976N/A#
2976N/ANLM_NAME = authndbm
1181N/A
2976N/A#
1181N/A# This is used by the link '-desc ' directive.
536N/A# If left blank, NLM_NAME will be used.
2976N/A#
3196N/ANLM_DESCRIPTION = Apache $(VERSION_STR) Database Authentication Module
961N/A
961N/A#
832N/A# This is used by the '-threadname' directive. If left blank,
961N/A# NLM_NAME Thread will be used.
961N/A#
961N/ANLM_THREAD_NAME = AuthnDBM Module
961N/A
2296N/A#
961N/A# If this is specified, it will override VERSION value in
961N/A# $(AP_WORK)\build\NWGNUenvironment.inc
961N/A#
961N/ANLM_VERSION =
961N/A
486N/A#
857N/A# If this is specified, it will override the default of 64K
961N/A#
2296N/ANLM_STACK_SIZE = 8192
961N/A
961N/A
961N/A#
486N/A# If this is specified it will be used by the link '-entry' directive
961N/A#
961N/ANLM_ENTRY_SYM = _LibCPrelude
2296N/A
2296N/A#
2296N/A# If this is specified it will be used by the link '-exit' directive
2296N/A#
961N/ANLM_EXIT_SYM = _LibCPostlude
961N/A
486N/A#
961N/A# If this is specified it will be used by the link '-check' directive
961N/A#
961N/ANLM_CHECK_SYM =
961N/A
961N/A#
2296N/A# If these are specified it will be used by the link '-flags' directive
961N/A#
961N/ANLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION
961N/A
961N/A#
961N/A# If this is specified it will be linked in with the XDCData option in the def
961N/A# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
2296N/A# by setting APACHE_UNIPROC in the environment
2296N/A#
2296N/AXDCDATA =
2296N/A
961N/A#
961N/A# If there is an NLM target, put it here
832N/A#
961N/ATARGET_nlm = \
832N/A $(OBJDIR)/authndbm.nlm \
961N/A $(EOLIST)
857N/A
857N/A#
961N/A# If there is an LIB target, put it here
961N/A#
961N/ATARGET_lib = \
961N/A $(EOLIST)
961N/A
857N/A#
4282N/A# These are the OBJ files needed to create the NLM target above.
4282N/A# Paths must all use the '/' character
961N/A#
961N/AFILES_nlm_objs = \
961N/A $(OBJDIR)/mod_authn_dbm.o \
4542N/A $(EOLIST)
961N/A
961N/A#
961N/A# These are the LIB files needed to create the NLM target above.
961N/A# These will be added as a library command in the link.opt file.
961N/A#
961N/AFILES_nlm_libs = \
961N/A libcpre.o \
486N/A $(EOLIST)
2230N/A
2230N/A#
5612N/A# These are the modules that the above NLM target depends on to load.
2230N/A# These will be added as a module command in the link.opt file.
486N/A#
486N/AFILES_nlm_modules = \
486N/A aprlib \
961N/A libc \
961N/A $(EOLIST)
961N/A
961N/A#
961N/A# If the nlm has a msg file, put it's path here
961N/A#
961N/AFILE_nlm_msg =
961N/A
961N/A#
5612N/A# If the nlm has a hlp file put it's path here
961N/A#
961N/AFILE_nlm_hlp =
961N/A
961N/A#
961N/A# If this is specified, it will override $(NWOS)\copyright.txt.
961N/A#
3196N/AFILE_nlm_copyright =
3196N/A
3196N/A#
3196N/A# Any additional imports go here
3196N/A#
3196N/AFILES_nlm_Ximports = \
2296N/A @$(APR)/aprlib.imp \
2296N/A @$(NWOS)/httpd.imp \
3824N/A @libc.imp \
2296N/A $(EOLIST)
2296N/A
2296N/A#
3824N/A# Any symbols exported to here
2296N/A#
2296N/AFILES_nlm_exports = \
2296N/A authn_dbm_module \
961N/A $(EOLIST)
961N/A
961N/A#
961N/A# These are the OBJ files needed to create the LIB target above.
961N/A# Paths must all use the '/' character
961N/A#
961N/AFILES_lib_objs = \
961N/A $(EOLIST)
961N/A
961N/A#
961N/A# implement targets and dependancies (leave this section alone)
486N/A#
486N/A
4542N/Alibs :: $(OBJDIR) $(TARGET_lib)
961N/A
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 $(AP_WORK)\build\NWGNUtail.inc