NWGNUauthnfil revision 3c937b528ca923d5b51e63def9f888af4a77bb40
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav Glass# Make sure all needed macro's are defined
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav Glass# Get the 'head' of the build environment if necessary. This includes default
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav Glass# targets and paths to tools
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav Glassifndef EnvironmentDefined
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav Glassinclude $(AP_WORK)\build\NWGNUhead.inc
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav Glass# These directories will be at the beginning of the include list, followed by
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav GlassXINCDIRS += \
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav Glass $(AP_WORK)/include \
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav Glass# These flags will come after CFLAGS
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav Glass# These defines will come after DEFINES
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav GlassXDEFINES += \
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav Glass# These flags will be added to the link.opt file
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav Glass# These values will be appended to the correct variables based on the value of
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav Glassifeq "$(RELEASE)" "debug"
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav GlassXINCDIRS += \
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav GlassXDEFINES += \
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav Glassifeq "$(RELEASE)" "noopt"
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav GlassXINCDIRS += \
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav GlassXDEFINES += \
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav Glassifeq "$(RELEASE)" "release"
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav GlassXINCDIRS += \
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav GlassXDEFINES += \
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav Glass# These are used by the link target if an NLM is being generated
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav Glass# This is used by the link 'name' directive to name the nlm. If left blank
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav Glass# TARGET_nlm (see below) will be used.
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav GlassNLM_NAME = authnfil
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav Glass# This is used by the link '-desc ' directive.
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav Glass# If left blank, NLM_NAME will be used.
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav GlassNLM_DESCRIPTION = File Authentication Module
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav Glass# This is used by the '-threadname' directive. If left blank,
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav Glass# NLM_NAME Thread will be used.
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav GlassNLM_THREAD_NAME = AuthnFile Module
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav Glass# If this is specified, it will override VERSION value in
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav Glass# $(AP_WORK)\build\NWGNUenvironment.inc
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav GlassNLM_VERSION =
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav Glass# If this is specified, it will override the default of 64K
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav GlassNLM_STACK_SIZE = 8192
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav Glass# If this is specified it will be used by the link '-entry' directive
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav GlassNLM_ENTRY_SYM = _LibCPrelude
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav Glass# If this is specified it will be used by the link '-exit' directive
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav GlassNLM_EXIT_SYM = _LibCPostlude
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav Glass# If this is specified it will be used by the link '-check' directive
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav GlassNLM_CHECK_SYM =
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav Glass# If these are specified it will be used by the link '-flags' directive
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav GlassNLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav Glass# If this is specified it will be linked in with the XDCData option in the def
33d85edf47749fa345d7b636b9b4b9d0d0386f44Dav Glass# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
$(OBJDIR)/authnfil.nlm \
$(OBJDIR)/mod_authn_file.o \
# These will be added as a library command in the link.opt file.
# These will be added as a module command in the link.opt file.
# If this is specified, it will override $(NWOS)\copyright.txt.
@$(APR)/aprlib.imp \
@$(NWOS)/httpd.imp \
@libc.imp \
# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
include $(AP_WORK)\build\NWGNUtail.inc