NWGNUauthzusr revision cf7ca2f9eaa6523fefcccba4287b91637391fb51
4901N/A#
4901N/A# Make sure all needed macro's are defined
4901N/A#
4901N/A
4901N/A#
4901N/A# Get the 'head' of the build environment if necessary. This includes default
4901N/A# targets and paths to tools
4901N/A#
4901N/A
4901N/Aifndef EnvironmentDefined
4901N/Ainclude $(AP_WORK)/build/NWGNUhead.inc
4901N/Aendif
4901N/A
4901N/A#
4901N/A# These directories will be at the beginning of the include list, followed by
4901N/A# INCDIRS
4901N/A#
4901N/AXINCDIRS += \
4901N/A $(APR)/include \
4901N/A $(APRUTIL)/include \
4901N/A $(AP_WORK)/include \
4901N/A $(NWOS) \
5453N/A $(EOLIST)
4901N/A
5680N/A#
4901N/A# These flags will come after CFLAGS
4901N/A#
4901N/AXCFLAGS += \
5928N/A $(EOLIST)
4901N/A
4901N/A#
4901N/A# These defines will come after DEFINES
5928N/A#
4901N/AXDEFINES += \
4901N/A $(EOLIST)
4901N/A
5928N/A#
4901N/A# These flags will be added to the link.opt file
4901N/A#
4901N/AXLFLAGS += \
4901N/A $(EOLIST)
4901N/A
4901N/A#
4901N/A# These values will be appended to the correct variables based on the value of
4901N/A# RELEASE
4901N/A#
4901N/Aifeq "$(RELEASE)" "debug"
4901N/AXINCDIRS += \
4901N/A $(EOLIST)
5453N/A
5453N/AXCFLAGS += \
5453N/A $(EOLIST)
5453N/A
5453N/AXDEFINES += \
5453N/A $(EOLIST)
5453N/A
5453N/AXLFLAGS += \
5453N/A $(EOLIST)
5453N/Aendif
5453N/A
5453N/Aifeq "$(RELEASE)" "noopt"
5453N/AXINCDIRS += \
5453N/A $(EOLIST)
5453N/A
5453N/AXCFLAGS += \
5680N/A $(EOLIST)
5680N/A
5680N/AXDEFINES += \
5680N/A $(EOLIST)
5680N/A
5680N/AXLFLAGS += \
5680N/A $(EOLIST)
5680N/Aendif
5680N/A
5680N/Aifeq "$(RELEASE)" "release"
5680N/AXINCDIRS += \
5680N/A $(EOLIST)
5453N/A
5453N/AXCFLAGS += \
5453N/A $(EOLIST)
5453N/A
5453N/AXDEFINES += \
5453N/A $(EOLIST)
5453N/A
5453N/AXLFLAGS += \
5453N/A $(EOLIST)
5453N/Aendif
5453N/A
5453N/A#
5453N/A# These are used by the link target if an NLM is being generated
5453N/A# This is used by the link 'name' directive to name the nlm. If left blank
5453N/A# TARGET_nlm (see below) will be used.
5453N/A#
5453N/ANLM_NAME = authzusr
5453N/A
5453N/A#
5453N/A# This is used by the link '-desc ' directive.
5453N/A# If left blank, NLM_NAME will be used.
5453N/A#
5453N/ANLM_DESCRIPTION = Apache $(VERSION_STR) User Authorization Module
5453N/A
5453N/A#
5453N/A# This is used by the '-threadname' directive. If left blank,
5453N/A# NLM_NAME Thread will be used.
5453N/A#
5453N/ANLM_THREAD_NAME = AuthzUser Module
5453N/A
5453N/A#
5453N/A# If this is specified, it will override VERSION value in
5453N/A# $(AP_WORK)/build/NWGNUenvironment.inc
5453N/A#
5453N/ANLM_VERSION =
5453N/A
5453N/A#
5453N/A# If this is specified, it will override the default of 64K
5453N/A#
5453N/ANLM_STACK_SIZE = 8192
5453N/A
5453N/A
5453N/A#
5453N/A# If this is specified it will be used by the link '-entry' directive
5453N/A#
5453N/ANLM_ENTRY_SYM =
5453N/A
5453N/A#
5453N/A# If this is specified it will be used by the link '-exit' directive
5453N/A#
5453N/ANLM_EXIT_SYM =
5453N/A
5453N/A#
5453N/A# If this is specified it will be used by the link '-check' directive
5453N/A#
5453N/ANLM_CHECK_SYM =
5453N/A
5453N/A#
5453N/A# If these are specified it will be used by the link '-flags' directive
5453N/A#
5453N/ANLM_FLAGS =
5453N/A
5453N/A#
5453N/A# If this is specified it will be linked in with the XDCData option in the def
5453N/A# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
5453N/A# by setting APACHE_UNIPROC in the environment
5453N/A#
5453N/AXDCDATA =
5453N/A
5453N/A#
5453N/A# If there is an NLM target, put it here
5453N/A#
5453N/ATARGET_nlm = \
5453N/A $(OBJDIR)/authzusr.nlm \
5453N/A $(EOLIST)
5453N/A
5453N/A#
5453N/A# If there is an LIB target, put it here
5453N/A#
5453N/ATARGET_lib = \
5453N/A $(EOLIST)
5453N/A
5453N/A#
5453N/A# These are the OBJ files needed to create the NLM target above.
5453N/A# Paths must all use the '/' character
5453N/A#
5453N/AFILES_nlm_objs = \
5453N/A $(OBJDIR)/mod_authz_user.o \
5453N/A $(EOLIST)
5453N/A
5453N/A#
5453N/A# These are the LIB files needed to create the NLM target above.
5453N/A# These will be added as a library command in the link.opt file.
5453N/A#
5453N/AFILES_nlm_libs = \
5453N/A $(PRELUDE) \
5453N/A $(EOLIST)
5453N/A
5453N/A#
5453N/A# These are the modules that the above NLM target depends on to load.
5453N/A# These will be added as a module command in the link.opt file.
5453N/A#
5453N/AFILES_nlm_modules = \
5453N/A aprlib \
5453N/A libc \
5453N/A $(EOLIST)
5453N/A
5453N/A#
5453N/A# If the nlm has a msg file, put it's path here
5453N/A#
5453N/AFILE_nlm_msg =
5453N/A
5453N/A#
5453N/A# If the nlm has a hlp file put it's path here
5453N/A#
5453N/AFILE_nlm_hlp =
5453N/A
5453N/A#
5453N/A# If this is specified, it will override $(NWOS)\copyright.txt.
5453N/A#
5453N/AFILE_nlm_copyright =
5453N/A
5453N/A#
5453N/A# Any additional imports go here
5453N/A#
5453N/AFILES_nlm_Ximports = \
5453N/A @aprlib.imp \
5453N/A @httpd.imp \
5453N/A @libc.imp \
5453N/A $(EOLIST)
5453N/A
5453N/A#
5453N/A# Any symbols exported to here
5453N/A#
5453N/AFILES_nlm_exports = \
5453N/A authz_user_module \
5453N/A $(EOLIST)
5453N/A
5453N/A#
5453N/A# These are the OBJ files needed to create the LIB target above.
5453N/A# Paths must all use the '/' character
5453N/A#
5453N/AFILES_lib_objs = \
5453N/A $(EOLIST)
5453N/A
5453N/A#
5453N/A# implement targets and dependancies (leave this section alone)
5453N/A#
5453N/A
5453N/Alibs :: $(OBJDIR) $(TARGET_lib)
5453N/A
5453N/Anlms :: libs $(TARGET_nlm)
5453N/A
5453N/A#
5453N/A# Updated this target to create necessary directories and copy files to the
5453N/A# correct place. (See $(AP_WORK)/build/NWGNUhead.inc for examples)
5453N/A#
5453N/Ainstall :: nlms FORCE
5453N/A
5453N/A#
5453N/A# Any specialized rules here
5453N/A#
5453N/A
5453N/A#
5453N/A# Include the 'tail' makefile that has targets that depend on variables defined
5453N/A# in this makefile
5453N/A#
5453N/A
5453N/Ainclude $(APBUILD)/NWGNUtail.inc
5453N/A
5453N/A