NWGNUmodversion revision 70953fb44a7140fe206c3a5f011e24209c8c5c6a
a48fa4b49c58246b297e0fd38e5fb85b985379f1Bob Halley#
36983956d7c3d9e294903eeda29548f67ac17daeBob Halley# Make sure all needed macro's are defined
40d01ce8f3a1889f5799d9b22b26d5398fa75a1bBob Halley#
b90dd6c0a9df584619d3c47be7c9417f55d5ccf6Bob Halley
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson#
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson# Get the 'head' of the build environment if necessary. This includes default
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson# targets and paths to tools
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson#
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafssonifndef EnvironmentDefined
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafssoninclude $(AP_WORK)\build\NWGNUhead.inc
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafssonendif
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson#
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson# These directories will be at the beginning of the include list, followed by
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson# INCDIRS
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson#
16803617e47c83272013e45ba8eb83a3b11983edAndreas GustafssonXINCDIRS += \
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson $(AP_WORK)/include \
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson $(NWOS) \
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson $(AP_WORK)/modules/arch/netware \
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson $(APR)/include \
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson $(APRUTIL)/include \
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson $(APR) \
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson $(EOLIST)
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson#
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson# These flags will come after CFLAGS
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson#
16803617e47c83272013e45ba8eb83a3b11983edAndreas GustafssonXCFLAGS += \
b90dd6c0a9df584619d3c47be7c9417f55d5ccf6Bob Halley -prefix pre_nw.h \
b90dd6c0a9df584619d3c47be7c9417f55d5ccf6Bob Halley $(EOLIST)
b90dd6c0a9df584619d3c47be7c9417f55d5ccf6Bob Halley
b90dd6c0a9df584619d3c47be7c9417f55d5ccf6Bob Halley#
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson# These defines will come after DEFINES
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson#
16803617e47c83272013e45ba8eb83a3b11983edAndreas GustafssonXDEFINES += \
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson $(EOLIST)
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson#
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson# These flags will be added to the link.opt file
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson#
70680fa51b0147c726b939b72b2420249429756aBob HalleyXLFLAGS += \
70680fa51b0147c726b939b72b2420249429756aBob Halley $(EOLIST)
40d01ce8f3a1889f5799d9b22b26d5398fa75a1bBob Halley
40d01ce8f3a1889f5799d9b22b26d5398fa75a1bBob Halley#
16803617e47c83272013e45ba8eb83a3b11983edAndreas Gustafsson# These values will be appended to the correct variables based on the value of
4d5f44e7933f4cb691e8f4cf3b4b5f61c27e2b1cAndreas Gustafsson# RELEASE
4d5f44e7933f4cb691e8f4cf3b4b5f61c27e2b1cAndreas Gustafsson#
4d5f44e7933f4cb691e8f4cf3b4b5f61c27e2b1cAndreas Gustafssonifeq "$(RELEASE)" "debug"
4d5f44e7933f4cb691e8f4cf3b4b5f61c27e2b1cAndreas GustafssonXINCDIRS += \
4d5f44e7933f4cb691e8f4cf3b4b5f61c27e2b1cAndreas Gustafsson $(EOLIST)
4d5f44e7933f4cb691e8f4cf3b4b5f61c27e2b1cAndreas Gustafsson
4d5f44e7933f4cb691e8f4cf3b4b5f61c27e2b1cAndreas GustafssonXCFLAGS += \
4d5f44e7933f4cb691e8f4cf3b4b5f61c27e2b1cAndreas Gustafsson $(EOLIST)
4d5f44e7933f4cb691e8f4cf3b4b5f61c27e2b1cAndreas Gustafsson
4d5f44e7933f4cb691e8f4cf3b4b5f61c27e2b1cAndreas GustafssonXDEFINES += \
4d5f44e7933f4cb691e8f4cf3b4b5f61c27e2b1cAndreas Gustafsson $(EOLIST)
4d5f44e7933f4cb691e8f4cf3b4b5f61c27e2b1cAndreas Gustafsson
4d5f44e7933f4cb691e8f4cf3b4b5f61c27e2b1cAndreas GustafssonXLFLAGS += \
4d5f44e7933f4cb691e8f4cf3b4b5f61c27e2b1cAndreas Gustafsson $(EOLIST)
4d5f44e7933f4cb691e8f4cf3b4b5f61c27e2b1cAndreas Gustafssonendif
4d5f44e7933f4cb691e8f4cf3b4b5f61c27e2b1cAndreas Gustafsson
4d5f44e7933f4cb691e8f4cf3b4b5f61c27e2b1cAndreas Gustafssonifeq "$(RELEASE)" "noopt"
4d5f44e7933f4cb691e8f4cf3b4b5f61c27e2b1cAndreas GustafssonXINCDIRS += \
4d5f44e7933f4cb691e8f4cf3b4b5f61c27e2b1cAndreas Gustafsson $(EOLIST)
4d5f44e7933f4cb691e8f4cf3b4b5f61c27e2b1cAndreas Gustafsson
4d5f44e7933f4cb691e8f4cf3b4b5f61c27e2b1cAndreas GustafssonXCFLAGS += \
4d5f44e7933f4cb691e8f4cf3b4b5f61c27e2b1cAndreas Gustafsson $(EOLIST)
4d5f44e7933f4cb691e8f4cf3b4b5f61c27e2b1cAndreas Gustafsson
4d5f44e7933f4cb691e8f4cf3b4b5f61c27e2b1cAndreas GustafssonXDEFINES += \
4d5f44e7933f4cb691e8f4cf3b4b5f61c27e2b1cAndreas Gustafsson $(EOLIST)
4d5f44e7933f4cb691e8f4cf3b4b5f61c27e2b1cAndreas Gustafsson
4d5f44e7933f4cb691e8f4cf3b4b5f61c27e2b1cAndreas GustafssonXLFLAGS += \
4d5f44e7933f4cb691e8f4cf3b4b5f61c27e2b1cAndreas Gustafsson $(EOLIST)
4d5f44e7933f4cb691e8f4cf3b4b5f61c27e2b1cAndreas Gustafssonendif
4d5f44e7933f4cb691e8f4cf3b4b5f61c27e2b1cAndreas Gustafsson
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafssonifeq "$(RELEASE)" "release"
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas GustafssonXINCDIRS += \
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson $(EOLIST)
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson
4d5f44e7933f4cb691e8f4cf3b4b5f61c27e2b1cAndreas GustafssonXCFLAGS += \
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson $(EOLIST)
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas GustafssonXDEFINES += \
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson $(EOLIST)
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas GustafssonXLFLAGS += \
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson $(EOLIST)
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafssonendif
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson#
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson# These are used by the link target if an NLM is being generated
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson# This is used by the link 'name' directive to name the nlm. If left blank
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson# TARGET_nlm (see below) will be used.
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson#
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas GustafssonNLM_NAME = modversion
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson#
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson# This is used by the link '-desc ' directive.
8cc03bfc0c9eaee8c186843fef75c58093616d04Mark Andrews# If left blank, NLM_NAME will be used.
8cc03bfc0c9eaee8c186843fef75c58093616d04Mark Andrews#
8cc03bfc0c9eaee8c186843fef75c58093616d04Mark AndrewsNLM_DESCRIPTION = Apache $(VERSION_STR) Version Module
7c956aeeeb8da3fd3912b1fb8024ff274e3b07ebAndreas Gustafsson
8cc03bfc0c9eaee8c186843fef75c58093616d04Mark Andrews#
7c956aeeeb8da3fd3912b1fb8024ff274e3b07ebAndreas Gustafsson# This is used by the '-threadname' directive. If left blank,
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson# NLM_NAME Thread will be used.
40d01ce8f3a1889f5799d9b22b26d5398fa75a1bBob Halley#
e5256e34b4a26a26088b2dc5ca621b42c0750256Andreas GustafssonNLM_THREAD_NAME = Version Module
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence
b90dd6c0a9df584619d3c47be7c9417f55d5ccf6Bob Halley#
40d01ce8f3a1889f5799d9b22b26d5398fa75a1bBob Halley# If this is specified, it will override VERSION value in
40d01ce8f3a1889f5799d9b22b26d5398fa75a1bBob Halley# $(AP_WORK)\build\NWGNUenvironment.inc
40d01ce8f3a1889f5799d9b22b26d5398fa75a1bBob Halley#
8db66dc4eb654a2e295eaeab3aaf96e24c9ae7b7Bob HalleyNLM_VERSION =
76860484adfbadeecfeb3a7132ede916ee2102ffBrian Wellington
8db66dc4eb654a2e295eaeab3aaf96e24c9ae7b7Bob Halley#
501da430e2f16f496f8e8d1b57ab77f78428c682David Lawrence# If this is specified, it will override the default of 64K
36983956d7c3d9e294903eeda29548f67ac17daeBob Halley#
36983956d7c3d9e294903eeda29548f67ac17daeBob HalleyNLM_STACK_SIZE = 8192
36983956d7c3d9e294903eeda29548f67ac17daeBob Halley
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson
2ecf7f63a01ca8a96d76f7d2d4de0fa37f3e3fabOlafur Gudmundsson#
36983956d7c3d9e294903eeda29548f67ac17daeBob Halley# If this is specified it will be used by the link '-entry' directive
36983956d7c3d9e294903eeda29548f67ac17daeBob Halley#
d80ccd47ad4b526f82590b6c182b4dd80006712eAndreas GustafssonNLM_ENTRY_SYM = _LibCPrelude
b3d8bec59201fd0edbe38f909bda5014d7776b89Brian Wellington
997e3113b7c91ec94e6274d31735f122e6e8209cAndreas Gustafsson#
d80ccd47ad4b526f82590b6c182b4dd80006712eAndreas Gustafsson# If this is specified it will be used by the link '-exit' directive
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson#
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas GustafssonNLM_EXIT_SYM = _LibCPostlude
a0cad57966364095e4367f568389a8bd84afb2afAndreas Gustafsson
a0cad57966364095e4367f568389a8bd84afb2afAndreas Gustafsson#
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson# If this is specified it will be used by the link '-check' directive
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson#
e544b507b8019a62c5d2716281f6832519a8791dDavid LawrenceNLM_CHECK_SYM =
a0cad57966364095e4367f568389a8bd84afb2afAndreas Gustafsson
36983956d7c3d9e294903eeda29548f67ac17daeBob Halley#
36983956d7c3d9e294903eeda29548f67ac17daeBob Halley# If these are specified it will be used by the link '-flags' directive
36983956d7c3d9e294903eeda29548f67ac17daeBob Halley#
36983956d7c3d9e294903eeda29548f67ac17daeBob HalleyNLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION
36983956d7c3d9e294903eeda29548f67ac17daeBob Halley
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson#
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson# If this is specified it will be linked in with the XDCData option in the def
b70fc17acec2c036bb35a937ba00fbcf10848859David Lawrence# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson# by setting APACHE_UNIPROC in the environment
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson#
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas GustafssonXDCDATA =
b70fc17acec2c036bb35a937ba00fbcf10848859David Lawrence
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson#
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson# If there is an NLM target, put it here
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson#
b70fc17acec2c036bb35a937ba00fbcf10848859David LawrenceTARGET_nlm = \
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson $(OBJDIR)/$(NLM_NAME).nlm \
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson $(EOLIST)
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson#
b70fc17acec2c036bb35a937ba00fbcf10848859David Lawrence# If there is an LIB target, put it here
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson#
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas GustafssonTARGET_lib = \
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson $(EOLIST)
b70fc17acec2c036bb35a937ba00fbcf10848859David Lawrence
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson#
69930116e30137705d3b87d05cbfbc5712386fdeAndreas Gustafsson# These are the OBJ files needed to create the NLM target above.
69930116e30137705d3b87d05cbfbc5712386fdeAndreas Gustafsson# Paths must all use the '/' character
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson#
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas GustafssonFILES_nlm_objs = \
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson $(OBJDIR)/mod_version.o \
e21262ae8af5d12f64a2242e26338f36901ba4ccAndreas Gustafsson $(EOLIST)
e21262ae8af5d12f64a2242e26338f36901ba4ccAndreas Gustafsson
e21262ae8af5d12f64a2242e26338f36901ba4ccAndreas Gustafsson#
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# These are the LIB files needed to create the NLM target above.
3b8932de20e12b07f9d874d5538d30e1fac9a9f4Andreas Gustafsson# These will be added as a library command in the link.opt file.
9e87fd676ee62e6e11d29611731b80839fc305b3David Lawrence#
36983956d7c3d9e294903eeda29548f67ac17daeBob HalleyFILES_nlm_libs = \
36983956d7c3d9e294903eeda29548f67ac17daeBob Halley libcpre.o \
36983956d7c3d9e294903eeda29548f67ac17daeBob Halley $(EOLIST)
36983956d7c3d9e294903eeda29548f67ac17daeBob Halley
5f5bb44065a3e7f506e4afd4d81c89da2931bf1bBob Halley#
5f5bb44065a3e7f506e4afd4d81c89da2931bf1bBob Halley# These are the modules that the above NLM target depends on to load.
5f5bb44065a3e7f506e4afd4d81c89da2931bf1bBob Halley# These will be added as a module command in the link.opt file.
5f5bb44065a3e7f506e4afd4d81c89da2931bf1bBob Halley#
36983956d7c3d9e294903eeda29548f67ac17daeBob HalleyFILES_nlm_modules = \
36983956d7c3d9e294903eeda29548f67ac17daeBob Halley aprlib \
36983956d7c3d9e294903eeda29548f67ac17daeBob Halley libc \
4efe2e812cf8462ed781bfd79b644eaf17d6d2b7Andreas Gustafsson $(EOLIST)
4efe2e812cf8462ed781bfd79b644eaf17d6d2b7Andreas Gustafsson
4efe2e812cf8462ed781bfd79b644eaf17d6d2b7Andreas Gustafsson#
4efe2e812cf8462ed781bfd79b644eaf17d6d2b7Andreas Gustafsson# If the nlm has a msg file, put it's path here
9b19b39170eaf78ae1baf39acca0be462c2faa4cAndreas Gustafsson#
3637ad3b4e59fc92d3c68b5eabc479bb0ebd570eAndreas GustafssonFILE_nlm_msg =
3637ad3b4e59fc92d3c68b5eabc479bb0ebd570eAndreas Gustafsson
3637ad3b4e59fc92d3c68b5eabc479bb0ebd570eAndreas Gustafsson#
3637ad3b4e59fc92d3c68b5eabc479bb0ebd570eAndreas Gustafsson# If the nlm has a hlp file put it's path here
36983956d7c3d9e294903eeda29548f67ac17daeBob Halley#
413d5565ba2af24f12dc54d6e6807af7f1a39867Andreas GustafssonFILE_nlm_hlp =
413d5565ba2af24f12dc54d6e6807af7f1a39867Andreas Gustafsson
413d5565ba2af24f12dc54d6e6807af7f1a39867Andreas Gustafsson#
4efe2e812cf8462ed781bfd79b644eaf17d6d2b7Andreas Gustafsson# If this is specified, it will override $(NWOS)\copyright.txt.
4efe2e812cf8462ed781bfd79b644eaf17d6d2b7Andreas Gustafsson#
413d5565ba2af24f12dc54d6e6807af7f1a39867Andreas GustafssonFILE_nlm_copyright =
413d5565ba2af24f12dc54d6e6807af7f1a39867Andreas Gustafsson
413d5565ba2af24f12dc54d6e6807af7f1a39867Andreas Gustafsson#
413d5565ba2af24f12dc54d6e6807af7f1a39867Andreas Gustafsson# Any additional imports go here
4efe2e812cf8462ed781bfd79b644eaf17d6d2b7Andreas Gustafsson#
413d5565ba2af24f12dc54d6e6807af7f1a39867Andreas GustafssonFILES_nlm_Ximports = \
413d5565ba2af24f12dc54d6e6807af7f1a39867Andreas Gustafsson @$(APR)/aprlib.imp \
413d5565ba2af24f12dc54d6e6807af7f1a39867Andreas Gustafsson @$(NWOS)/httpd.imp \
413d5565ba2af24f12dc54d6e6807af7f1a39867Andreas Gustafsson @libc.imp \
413d5565ba2af24f12dc54d6e6807af7f1a39867Andreas Gustafsson $(EOLIST)
413d5565ba2af24f12dc54d6e6807af7f1a39867Andreas Gustafsson
36983956d7c3d9e294903eeda29548f67ac17daeBob Halley#
413d5565ba2af24f12dc54d6e6807af7f1a39867Andreas Gustafsson# Any symbols exported to here
413d5565ba2af24f12dc54d6e6807af7f1a39867Andreas Gustafsson#
36983956d7c3d9e294903eeda29548f67ac17daeBob HalleyFILES_nlm_exports = \
36983956d7c3d9e294903eeda29548f67ac17daeBob Halley version_module \
36983956d7c3d9e294903eeda29548f67ac17daeBob Halley $(EOLIST)
36983956d7c3d9e294903eeda29548f67ac17daeBob Halley
36983956d7c3d9e294903eeda29548f67ac17daeBob Halley#
36983956d7c3d9e294903eeda29548f67ac17daeBob Halley# These are the OBJ files needed to create the LIB target above.
36983956d7c3d9e294903eeda29548f67ac17daeBob Halley# Paths must all use the '/' character
36983956d7c3d9e294903eeda29548f67ac17daeBob Halley#
36983956d7c3d9e294903eeda29548f67ac17daeBob HalleyFILES_lib_objs = \
36983956d7c3d9e294903eeda29548f67ac17daeBob Halley $(EOLIST)
36983956d7c3d9e294903eeda29548f67ac17daeBob Halley
36983956d7c3d9e294903eeda29548f67ac17daeBob Halley#
36983956d7c3d9e294903eeda29548f67ac17daeBob Halley# implement targets and dependancies (leave this section alone)
36983956d7c3d9e294903eeda29548f67ac17daeBob Halley#
a48fa4b49c58246b297e0fd38e5fb85b985379f1Bob Halley
libs :: $(OBJDIR) $(TARGET_lib)
nlms :: libs $(TARGET_nlm)
#
# Updated this target to create necessary directories and copy files to the
# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
#
install :: nlms FORCE
#
# Any specialized rules here
#
#
# Include the 'tail' makefile that has targets that depend on variables defined
# in this makefile
#
include $(AP_WORK)\build\NWGNUtail.inc