NWGNUauthform revision 0662ed52e814f8f08ef0e09956413a792584eddf
570f02698492be6d25035d7a6ff65b2302bdb76dTimo Sirainen# Make sure all needed macro's are defined
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal Volk# Get the 'head' of the build environment if necessary. This includes default
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal Volk# targets and paths to tools
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal Volkifndef EnvironmentDefined
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal Volkinclude $(AP_WORK)/build/NWGNUhead.inc
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal Volk# These directories will be at the beginning of the include list, followed by
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal VolkXINCDIRS += \
3813074b3fa42234de37a7b35727cbb24f4cd913Pascal Volk $(APR)/include \
3813074b3fa42234de37a7b35727cbb24f4cd913Pascal Volk $(APRUTIL)/include \
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal Volk $(AP_WORK)/include \
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal Volk $(STDMOD)/session \
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal Volk $(STDMOD)/filters \
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal Volk# These flags will come after CFLAGS
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal Volk# These defines will come after DEFINES
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal VolkXDEFINES += \
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal Volk# These flags will be added to the link.opt file
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal Volk# These values will be appended to the correct variables based on the value of
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal Volkifeq "$(RELEASE)" "debug"
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal VolkXINCDIRS += \
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal VolkXDEFINES += \
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal Volkifeq "$(RELEASE)" "noopt"
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal VolkXINCDIRS += \
3813074b3fa42234de37a7b35727cbb24f4cd913Pascal VolkXDEFINES += \
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal Volkifeq "$(RELEASE)" "release"
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal VolkXINCDIRS += \
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal VolkXDEFINES += \
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal Volk# These are used by the link target if an NLM is being generated
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal Volk# This is used by the link 'name' directive to name the nlm. If left blank
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal Volk# TARGET_nlm (see below) will be used.
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal VolkNLM_NAME = authform
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal Volk# This is used by the link '-desc ' directive.
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal Volk# If left blank, NLM_NAME will be used.
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal VolkNLM_DESCRIPTION = Apache $(VERSION_STR) Basic Authentication Module
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal Volk# This is used by the '-threadname' directive. If left blank,
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal Volk# NLM_NAME Thread will be used.
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal VolkNLM_THREAD_NAME = AuthBasic Module
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal Volk# If this is specified, it will override VERSION value in
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal VolkNLM_VERSION =
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal Volk# If this is specified, it will override the default of 64K
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal VolkNLM_STACK_SIZE = 8192
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal Volk# If this is specified it will be used by the link '-entry' directive
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal VolkNLM_ENTRY_SYM =
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal Volk# If this is specified it will be used by the link '-exit' directive
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal VolkNLM_EXIT_SYM =
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal Volk# If this is specified it will be used by the link '-check' directive
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal VolkNLM_CHECK_SYM =
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal Volk# If these are specified it will be used by the link '-flags' directive
5717e8e12768ab1d667cd3e908e5f3ffe540655aTimo Sirainen# If this is specified it will be linked in with the XDCData option in the def
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal Volk# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal Volk# by setting APACHE_UNIPROC in the environment
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal Volk# If there is an NLM target, put it here
5717e8e12768ab1d667cd3e908e5f3ffe540655aTimo SirainenTARGET_nlm = \
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal Volk $(OBJDIR)/$(NLM_NAME).nlm \
2af2049bcfcc3ab90af3c511408d4cf252e07e1aPascal Volk# If there is an LIB target, put it here
2af2049bcfcc3ab90af3c511408d4cf252e07e1aPascal VolkTARGET_lib = \
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal Volk# These are the OBJ files needed to create the NLM target above.
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal Volk# Paths must all use the '/' character
fa9f5378ec558c451f1f1c47a4c41aa7c916c929Pascal VolkFILES_nlm_objs = \
# 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 $(APBUILD)/NWGNUtail.inc