NWGNUauthdigt revision 8ffac2c334103c0336602aaede650cb578611151
0N/A#
0N/A# Make sure all needed macro's are defined
1356N/A#
0N/A
1593N/A#
0N/A# Get the 'head' of the build environment if necessary. This includes default
0N/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 $(APR)/include \
919N/A $(APRUTIL)/include \
919N/A $(AP_WORK)/include \
919N/A $(NWOS) \
919N/A $(EOLIST)
919N/A
0N/A#
0N/A# These flags will come after CFLAGS
0N/A#
156N/AXCFLAGS += \
493N/A $(EOLIST)
0N/A
1356N/A#
1356N/A# These defines will come after DEFINES
1356N/A#
970N/AXDEFINES += \
970N/A $(EOLIST)
970N/A
970N/A#
970N/A# These flags will be added to the link.opt file
970N/A#
970N/AXLFLAGS += \
970N/A $(EOLIST)
970N/A
970N/A#
970N/A# These values will be appended to the correct variables based on the value of
970N/A# RELEASE
970N/A#
970N/Aifeq "$(RELEASE)" "debug"
970N/AXINCDIRS += \
970N/A $(EOLIST)
970N/A
970N/AXCFLAGS += \
970N/A $(EOLIST)
1504N/A
1504N/AXDEFINES += \
1504N/A $(EOLIST)
1504N/A
1590N/AXLFLAGS += \
1590N/A $(EOLIST)
970N/Aendif
970N/A
970N/Aifeq "$(RELEASE)" "noopt"
970N/AXINCDIRS += \
970N/A $(EOLIST)
1551N/A
1551N/AXCFLAGS += \
1652N/A $(EOLIST)
970N/A
0N/AXDEFINES += \
1652N/A $(EOLIST)
0N/A
911N/AXLFLAGS += \
1652N/A $(EOLIST)
1652N/Aendif
1652N/A
0N/Aifeq "$(RELEASE)" "release"
0N/AXINCDIRS += \
156N/A $(EOLIST)
156N/A
0N/AXCFLAGS += \
0N/A $(EOLIST)
950N/A
950N/AXDEFINES += \
1531N/A $(EOLIST)
950N/A
1590N/AXLFLAGS += \
1590N/A $(EOLIST)
1590N/Aendif
1590N/A
364N/A#
156N/A# These are used by the link target if an NLM is being generated
156N/A# This is used by the link 'name' directive to name the nlm. If left blank
0N/A# TARGET_nlm (see below) will be used.
591N/A#
1590N/ANLM_NAME = authdigt
947N/A
591N/A#
591N/A# This is used by the link '-desc ' directive.
591N/A# If left blank, NLM_NAME will be used.
947N/A#
947N/ANLM_DESCRIPTION = Apache $(VERSION_STR) Digest Authentication Module
947N/A
947N/A#
947N/A# This is used by the '-threadname' directive. If left blank,
947N/A# NLM_NAME Thread will be used.
947N/A#
947N/ANLM_THREAD_NAME = Digest Module
947N/A
1610N/A#
947N/A# If this is specified, it will override VERSION value in
947N/A# $(AP_WORK)/build/NWGNUenvironment.inc
947N/A#
947N/ANLM_VERSION =
947N/A
947N/A#
1590N/A# If this is specified, it will override the default of 64K
1590N/A#
0N/ANLM_STACK_SIZE = 8192
1418N/A
1418N/A
1598N/A#
1598N/A# If this is specified it will be used by the link '-entry' directive
1598N/A#
156N/ANLM_ENTRY_SYM =
1504N/A
1504N/A#
1504N/A# If this is specified it will be used by the link '-exit' directive
1504N/A#
493N/ANLM_EXIT_SYM =
493N/A
1504N/A#
1590N/A# If this is specified it will be used by the link '-check' directive
1590N/A#
1590N/ANLM_CHECK_SYM =
837N/A
846N/A#
493N/A# If these are specified it will be used by the link '-flags' directive
156N/A#
493N/ANLM_FLAGS =
493N/A
493N/A#
364N/A# If this is specified it will be linked in with the XDCData option in the def
0N/A# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
1610N/A# by setting APACHE_UNIPROC in the environment
156N/A#
493N/AXDCDATA =
493N/A
0N/A#
1196N/A# If there is an NLM target, put it here
1196N/A#
1196N/ATARGET_nlm = \
1196N/A $(OBJDIR)/authdigt.nlm \
1196N/A $(EOLIST)
1593N/A
1593N/A#
1593N/A# If there is an LIB target, put it here
1593N/A#
1593N/ATARGET_lib = \
967N/A $(EOLIST)
967N/A
967N/A#
970N/A# These are the OBJ files needed to create the NLM target above.
980N/A# Paths must all use the '/' character
0N/A#
980N/AFILES_nlm_objs = \
339N/A $(OBJDIR)/mod_auth_digest.o \
970N/A $(EOLIST)
970N/A
0N/A#
837N/A# These are the LIB files needed to create the NLM target above.
837N/A# These will be added as a library command in the link.opt file.
838N/A#
837N/AFILES_nlm_libs = \
837N/A libcpre.o \
1504N/A $(EOLIST)
1504N/A
1504N/A#
1504N/A# These are the modules that the above NLM target depends on to load.
1504N/A# These will be added as a module command in the link.opt file.
1504N/A#
1504N/AFILES_nlm_modules = \
1504N/A aprlib \
1504N/A libc \
967N/A $(EOLIST)
967N/A
967N/A#
779N/A# If the nlm has a msg file, put it's path here
1529N/A#
1504N/AFILE_nlm_msg =
591N/A
967N/A#
0N/A# If the nlm has a hlp file put it's path here
0N/A#
0N/AFILE_nlm_hlp =
0N/A
591N/A#
0N/A# If this is specified, it will override $(NWOS)\copyright.txt.
339N/A#
339N/AFILE_nlm_copyright =
1504N/A
493N/A#
970N/A# Any additional imports go here
970N/A#
970N/AFILES_nlm_Ximports = \
970N/A @aprlib.imp \
837N/A @httpd.imp \
837N/A @libc.imp \
967N/A $(EOLIST)
967N/A
967N/A#
779N/A# Any symbols exported to here
156N/A#
156N/AFILES_nlm_exports = \
967N/A auth_digest_module \
1577N/A $(EOLIST)
1577N/A
1577N/A#
591N/A# These are the OBJ files needed to create the LIB target above.
935N/A# Paths must all use the '/' character
967N/A#
967N/AFILES_lib_objs = \
967N/A $(EOLIST)
0N/A
#
# 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
#
#
# Include the 'tail' makefile that has targets that depend on variables defined
# in this makefile
#
include $(APBUILD)/NWGNUtail.inc