NWGNUauthnfil revision b8022feeb260e31994600a65c2193278838a4802
1505N/A#
1505N/A# Make sure all needed macro's are defined
1505N/A#
1505N/A
1505N/A#
1505N/A# Get the 'head' of the build environment if necessary. This includes default
1505N/A# targets and paths to tools
1505N/A#
1505N/A
1505N/Aifndef EnvironmentDefined
1505N/Ainclude $(AP_WORK)\build\NWGNUhead.inc
1505N/Aendif
1505N/A
1505N/A#
1505N/A# These directories will be at the beginning of the include list, followed by
1505N/A# INCDIRS
1505N/A#
1505N/AXINCDIRS += \
1505N/A $(AP_WORK)/include \
1505N/A $(NWOS) \
1505N/A $(AP_WORK)/modules/arch/netware \
1505N/A $(AP_WORK)/srclib/apr/include \
1505N/A $(AP_WORK)/srclib/apr-util/include \
3160N/A $(AP_WORK)/srclib/apr \
1505N/A $(EOLIST)
3094N/A
3094N/A#
3094N/A# These flags will come after CFLAGS
3094N/A#
3078N/AXCFLAGS += \
3234N/A -prefix pre_nw.h \
2339N/A $(EOLIST)
2339N/A
2339N/A#
1505N/A# These defines will come after DEFINES
2339N/A#
2905N/AXDEFINES += \
2183N/A $(EOLIST)
2339N/A
2339N/A#
1505N/A# These flags will be added to the link.opt file
1505N/A#
1505N/AXLFLAGS += \
2197N/A $(EOLIST)
3194N/A
3194N/A#
2639N/A# These values will be appended to the correct variables based on the value of
2207N/A# RELEASE
2905N/A#
3160N/Aifeq "$(RELEASE)" "debug"
2197N/AXINCDIRS += \
1505N/A $(EOLIST)
1505N/A
1842N/AXCFLAGS += \
1505N/A $(EOLIST)
1505N/A
1505N/AXDEFINES += \
3094N/A $(EOLIST)
3094N/A
3094N/AXLFLAGS += \
3094N/A $(EOLIST)
3094N/Aendif
3094N/A
3094N/Aifeq "$(RELEASE)" "noopt"
3094N/AXINCDIRS += \
3094N/A $(EOLIST)
3094N/A
3094N/AXCFLAGS += \
3094N/A $(EOLIST)
3094N/A
3094N/AXDEFINES += \
3094N/A $(EOLIST)
3094N/A
3094N/AXLFLAGS += \
3094N/A $(EOLIST)
3094N/Aendif
3094N/A
3094N/Aifeq "$(RELEASE)" "release"
3094N/AXINCDIRS += \
3094N/A $(EOLIST)
3094N/A
3094N/AXCFLAGS += \
3094N/A $(EOLIST)
3094N/A
3094N/AXDEFINES += \
3197N/A $(EOLIST)
3197N/A
3094N/AXLFLAGS += \
3094N/A $(EOLIST)
2197N/Aendif
2197N/A
2197N/A#
2197N/A# These are used by the link target if an NLM is being generated
3094N/A# This is used by the link 'name' directive to name the nlm. If left blank
2197N/A# TARGET_nlm (see below) will be used.
2197N/A#
3094N/ANLM_NAME = authnfil
2197N/A
3094N/A#
2197N/A# This is used by the link '-desc ' directive.
2197N/A# If left blank, NLM_NAME will be used.
3094N/A#
2197N/ANLM_DESCRIPTION = Apache File Authentication Module
3094N/A
3094N/A#
3094N/A# This is used by the '-threadname' directive. If left blank,
3094N/A# NLM_NAME Thread will be used.
3094N/A#
3094N/ANLM_THREAD_NAME = AuthnFile Module
2197N/A
2197N/A#
3094N/A# If this is specified, it will override VERSION value in
2197N/A# $(AP_WORK)\build\NWGNUenvironment.inc
2197N/A#
2197N/ANLM_VERSION =
1505N/A
3094N/A#
3094N/A# If this is specified, it will override the default of 64K
3094N/A#
1505N/ANLM_STACK_SIZE = 8192
2339N/A
2450N/A
2339N/A#
2339N/A# If this is specified it will be used by the link '-entry' directive
2339N/A#
2339N/ANLM_ENTRY_SYM = _LibCPrelude
2339N/A
2450N/A#
2339N/A# If this is specified it will be used by the link '-exit' directive
2410N/A#
2410N/ANLM_EXIT_SYM = _LibCPostlude
3094N/A
2410N/A#
1505N/A# If this is specified it will be used by the link '-check' directive
3094N/A#
2693N/ANLM_CHECK_SYM =
2197N/A
1505N/A#
3094N/A# If these are specified it will be used by the link '-flags' directive
3094N/A#
3094N/ANLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION
3094N/A
2197N/A#
2197N/A# If this is specified it will be linked in with the XDCData option in the def
2197N/A# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
2339N/A# by setting APACHE_UNIPROC in the environment
2339N/A#
2339N/AXDCDATA =
2339N/A
2339N/A#
2693N/A# If there is an NLM target, put it here
1505N/A#
2339N/ATARGET_nlm = \
2197N/A $(OBJDIR)/authnfil.nlm \
1842N/A $(EOLIST)
2197N/A
2197N/A#
2339N/A# If there is an LIB target, put it here
2639N/A#
1505N/ATARGET_lib = \
2639N/A $(EOLIST)
1505N/A
2693N/A#
2693N/A# These are the OBJ files needed to create the NLM target above.
1505N/A# Paths must all use the '/' character
1505N/A#
1505N/AFILES_nlm_objs = \
1505N/A $(OBJDIR)/mod_authn_file.o \
2693N/A $(EOLIST)
1505N/A
1505N/A#
1505N/A# These are the LIB files needed to create the NLM target above.
1505N/A# These will be added as a library command in the link.opt file.
1505N/A#
1842N/AFILES_nlm_libs = \
1505N/A libcpre.o \
3197N/A $(EOLIST)
1970N/A
1970N/A#
1970N/A# These are the modules that the above NLM target depends on to load.
1970N/A# These will be added as a module command in the link.opt file.
1970N/A#
1505N/AFILES_nlm_modules = \
1505N/A aprlib \
1505N/A libc \
1505N/A $(EOLIST)
3029N/A
1505N/A#
1505N/A# If the nlm has a msg file, put it's path here
1688N/A#
1688N/AFILE_nlm_msg =
3094N/A
3094N/A#
3094N/A# If the nlm has a hlp file put it's path here
2228N/A#
3094N/AFILE_nlm_hlp =
2228N/A
2228N/A#
2608N/A# If this is specified, it will override $(NWOS)\copyright.txt.
2608N/A#
2608N/AFILE_nlm_copyright =
2608N/A
2608N/A#
2608N/A# Any additional imports go here
2608N/A#
3197N/AFILES_nlm_Ximports = \
3197N/A @$(APR)/aprlib.imp \
3197N/A @$(NWOS)/httpd.imp \
2339N/A @libc.imp \
2339N/A $(EOLIST)
2339N/A
2339N/A#
2339N/A# Any symbols exported to here
2339N/A#
2339N/AFILES_nlm_exports = \
2339N/A authn_file_module \
2339N/A $(EOLIST)
3029N/A
3029N/A#
2905N/A# These are the OBJ files needed to create the LIB target above.
3160N/A# Paths must all use the '/' character
3160N/A#
3160N/AFILES_lib_objs = \
3160N/A $(EOLIST)
3160N/A
3160N/A#
3160N/A# implement targets and dependancies (leave this section alone)
1505N/A#
1842N/A
1505N/Alibs :: $(OBJDIR) $(TARGET_lib)
3094N/A
3094N/Anlms :: libs $(TARGET_nlm)
3094N/A
3094N/A#
1505N/A# Updated this target to create necessary directories and copy files to the
1505N/A# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
3094N/A#
3094N/Ainstall :: nlms FORCE
3094N/A
3094N/A#
1505N/A# Any specialized rules here
1688N/A#
1688N/A
1688N/A#
1688N/A# Include the 'tail' makefile that has targets that depend on variables defined
1688N/A# in this makefile
1688N/A#
3094N/A
1688N/Ainclude $(AP_WORK)\build\NWGNUtail.inc
1505N/A
1505N/A