NWGNUauthzgrp revision 3c937b528ca923d5b51e63def9f888af4a77bb40
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.fr# Make sure all needed macro's are defined
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.fr# Get the 'head' of the build environment if necessary. This includes default
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.fr# targets and paths to tools
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.frifndef EnvironmentDefined
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.frinclude $(AP_WORK)\build\NWGNUhead.inc
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.fr# These directories will be at the beginning of the include list, followed by
96283b546081e7ff709968378fca25cb44f1ab6cStéphane Graber $(AP_WORK)/include \
207bf0e475f1dc6e9a2dac2cee3a209b56427855Stéphane Graber# These flags will come after CFLAGS
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.fr# These defines will come after DEFINES
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.frXDEFINES += \
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.fr# These flags will be added to the link.opt file
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.fr# These values will be appended to the correct variables based on the value of
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.frifeq "$(RELEASE)" "debug"
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.frXINCDIRS += \
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.frXDEFINES += \
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.frifeq "$(RELEASE)" "noopt"
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.frXINCDIRS += \
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.frXDEFINES += \
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.frifeq "$(RELEASE)" "release"
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.frXINCDIRS += \
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.frXDEFINES += \
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.fr# These are used by the link target if an NLM is being generated
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.fr# This is used by the link 'name' directive to name the nlm. If left blank
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.fr# TARGET_nlm (see below) will be used.
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.frNLM_NAME = authzgrp
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.fr# This is used by the link '-desc ' directive.
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.fr# If left blank, NLM_NAME will be used.
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.frNLM_DESCRIPTION = Group File Authorization Module
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.fr# This is used by the '-threadname' directive. If left blank,
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.fr# NLM_NAME Thread will be used.
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.frNLM_THREAD_NAME = AuthzGrp Module
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.fr# If this is specified, it will override VERSION value in
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.fr# $(AP_WORK)\build\NWGNUenvironment.inc
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.frNLM_VERSION =
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.fr# If this is specified, it will override the default of 64K
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.frNLM_STACK_SIZE = 8192
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.fr# If this is specified it will be used by the link '-entry' directive
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.frNLM_ENTRY_SYM = _LibCPrelude
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.fr# If this is specified it will be used by the link '-exit' directive
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.frNLM_EXIT_SYM = _LibCPostlude
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.fr# If this is specified it will be used by the link '-check' directive
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.frNLM_CHECK_SYM =
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.fr# If these are specified it will be used by the link '-flags' directive
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.frNLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.fr# If this is specified it will be linked in with the XDCData option in the def
ec64264d78d4ed608553842ce9e1f07eeab2a032Veres Lajos# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.fr# by setting APACHE_UNIPROC in the environment
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.fr# If there is an NLM target, put it here
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.frTARGET_nlm = \
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.fr# If there is an LIB target, put it here
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.frTARGET_lib = \
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.fr# These are the OBJ files needed to create the NLM target above.
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.fr# Paths must all use the '/' character
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.frFILES_nlm_objs = \
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.fr# These are the LIB files needed to create the NLM target above.
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.fr# These will be added as a library command in the link.opt file.
dc5518b82e04326639f4b60ebcdb69a4072d0c1cTAMUKI ShoichiFILES_nlm_libs = \
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.fr# These are the modules that the above NLM target depends on to load.
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.fr# These will be added as a module command in the link.opt file.
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.frFILES_nlm_modules = \
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.fr# If the nlm has a msg file, put it's path here
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.frFILE_nlm_msg =
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.fr# If the nlm has a hlp file put it's path here
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.frFILE_nlm_hlp =
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.fr# If this is specified, it will override $(NWOS)\copyright.txt.
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.frFILE_nlm_copyright =
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.fr# Any additional imports go here
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.frFILES_nlm_Ximports = \
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.fr# Any symbols exported to here
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.frFILES_nlm_exports = \
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.fr authz_groupfile_module \
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.fr# These are the OBJ files needed to create the LIB target above.
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.fr# Paths must all use the '/' character
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.frFILES_lib_objs = \
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.fr# implement targets and dependancies (leave this section alone)
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.frlibs :: $(OBJDIR) $(TARGET_lib)
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.frnlms :: libs $(TARGET_nlm)
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.fr# Updated this target to create necessary directories and copy files to the
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.fr# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.frinstall :: nlms FORCE
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.fr# Any specialized rules here
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.fr# Include the 'tail' makefile that has targets that depend on variables defined
9749441a0e8072f43e955fba47e07bfd015d0a45Stéphane Graber# in this makefile
f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5blxc@zitta.frinclude $(AP_WORK)\build\NWGNUtail.inc