NWGNUauthnfil revision 44f575c8cb19a7a5cd61664a7848be6bc197df02
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# Make sure all needed macro's are defined
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User# Get the 'head' of the build environment if necessary. This includes default
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User# targets and paths to tools
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsifndef EnvironmentDefined
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsinclude $(AP_WORK)/build/NWGNUhead.inc
cd32f419a8a5432fbb139f56ee73cbf68b9350ccTinderbox User# These directories will be at the beginning of the include list, followed by
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsXINCDIRS += \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews $(APR)/include \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews $(APRUTIL)/include \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews $(SRC)/include \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# These flags will come after CFLAGS
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# These defines will come after DEFINES
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsXDEFINES += \
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# These flags will be added to the link.opt file
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# These values will be appended to the correct variables based on the value of
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox Userifeq "$(RELEASE)" "debug"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsXINCDIRS += \
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox Userifeq "$(RELEASE)" "noopt"
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntXDEFINES += \
d856585f5fe37cc2ea82115c10339578d2b517b1Automatic Updaterifeq "$(RELEASE)" "release"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsXDEFINES += \
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# These are used by the link target if an NLM is being generated
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# This is used by the link 'name' directive to name the nlm. If left blank
f7b41fd9291b8f4dba27e2b57e1d93f0913a4f1dMark Andrews# TARGET_nlm (see below) will be used.
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserNLM_NAME = authnfil
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# This is used by the link '-desc ' directive.
ea640e04eae220b5e569f188563eb1f204c7c77eTinderbox User# If left blank, NLM_NAME will be used.
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserNLM_DESCRIPTION = Apache $(VERSION_STR) File Authentication Module
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# This is used by the '-threadname' directive. If left blank,
ea640e04eae220b5e569f188563eb1f204c7c77eTinderbox User# NLM_NAME Thread will be used.
ea640e04eae220b5e569f188563eb1f204c7c77eTinderbox UserNLM_THREAD_NAME = AuthnFile Module
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# If this is specified, it will override VERSION value in
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# If this is specified, it will override the default of 64K
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsNLM_STACK_SIZE = 8192
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# If this is specified it will be used by the link '-entry' directive
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserNLM_ENTRY_SYM =
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# If this is specified it will be used by the link '-exit' directive
990d0e893f5b70e735cdf990af66e9ec6e91fa78Tinderbox UserNLM_EXIT_SYM =
990d0e893f5b70e735cdf990af66e9ec6e91fa78Tinderbox User# If this is specified it will be used by the link '-check' directive
990d0e893f5b70e735cdf990af66e9ec6e91fa78Tinderbox UserNLM_CHECK_SYM =
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# If these are specified it will be used by the link '-flags' directive
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# If this is specified it will be linked in with the XDCData option in the def
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# by setting APACHE_UNIPROC in the environment
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# If there is an NLM target, put it here
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsTARGET_nlm = \
7e71f05d8643aca84914437c900cb716444507e4Tinderbox User# If there is an LIB target, put it here
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserTARGET_lib = \
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# These are the OBJ files needed to create the NLM target above.
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# Paths must all use the '/' character
7e71f05d8643aca84914437c900cb716444507e4Tinderbox UserFILES_nlm_objs = \
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# These are the LIB files needed to create the NLM target above.
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# These will be added as a library command in the link.opt file.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsFILES_nlm_libs = \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews $(PRELUDE) \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# These are the modules that the above NLM target depends on to load.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# These will be added as a module command in the link.opt file.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsFILES_nlm_modules = \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# If the nlm has a msg file, put it's path here
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntFILE_nlm_msg =
4abdfc917e6635a7c81d1f931a0c79227e72d025Mark Andrews# If the nlm has a hlp file put it's path here
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsFILE_nlm_hlp =
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# If this is specified, it will override $(NWOS)\copyright.txt.
@aprlib.imp \
@httpd.imp \
@libc.imp \
# correct place. (See $(AP_WORK)/build/NWGNUhead.inc for examples)
include $(APBUILD)/NWGNUtail.inc