NWGNUmakefile revision 440cda576ca9ff6476e4a04bdb253c5023da15ee
ec79b29695b183f794264bbb578c51e93d1f9b1emartin# Declare the sub-directories to be built here
108ebbb87b2a46f4416ec507824471a483c39fe1sctemme# Get the 'head' of the build environment. This includes default targets and
108ebbb87b2a46f4416ec507824471a483c39fe1sctemme# paths to tools
bed7fc979e00a75f76ed79245f003b52e91d40abchrisdinclude $(AP_WORK)\build\NWGNUhead.inc
bed7fc979e00a75f76ed79245f003b52e91d40abchrisd# build this level's files
bed7fc979e00a75f76ed79245f003b52e91d40abchrisd# These directories will be at the beginning of the include list, followed by
7abe34dd5a20fc8fde09dca9116b88e6ddfd55ddjortonXINCDIRS += \
10d486b9267800c5e376c22f6c0d45dc2ae86f67chrisd $(APR)/include \
10d486b9267800c5e376c22f6c0d45dc2ae86f67chrisd $(AP_WORK)/include \
10d486b9267800c5e376c22f6c0d45dc2ae86f67chrisd $(APRUTIL)/include \
3e155218733389e7b1ea3a9ffd0aea533fd929cechrisd# These flags will come after CFLAGS
e4edb2d4252459327f6edd834de6825873e60134chrisdXCFLAGS += \
e4edb2d4252459327f6edd834de6825873e60134chrisd# These defines will come after DEFINES
39faded00972708f78af1613f895061b95afec3frpluemXDEFINES += \
111c8f806b790a72ad0244aae35252470662e10drpluem# These flags will be added to the link.opt file
111c8f806b790a72ad0244aae35252470662e10drpluemXLFLAGS += \
399d43256a3339482bfa6cb76eb72ce5b363ae7arpluem# These values will be appended to the correct variables based on the value of
37b35c7feec8216b5119c0c083990cfe4e400769rpluemifeq "$(RELEASE)" "debug"
dd6199828976e6c7850ca6abd7a1ceba99e9ed16chrisdXINCDIRS += \
dd6199828976e6c7850ca6abd7a1ceba99e9ed16chrisdXCFLAGS += \
bc786d0dba3cefae135fb85ab303ddb2b229e43drpluemXDEFINES += \
3ff68b9ee78262779dbedf791576d35fdd229f7brpluemXLFLAGS += \
de0fed4fa6741aea09dbe28f03aa4c20e822ed5drpluemifeq "$(RELEASE)" "noopt"
de0fed4fa6741aea09dbe28f03aa4c20e822ed5drpluemXINCDIRS += \
ab43b4a17b2ac31ccb1cf280be8c42a8a314cecbjortonXCFLAGS += \
67139e2d50d1e11558d87f7042f61cb04bb0d1d2jimXDEFINES += \
a4ab95921be8ce5de50913cd6505d41b672eb375minfrinXLFLAGS += \
e605dd6afa940f799c873ffeaa5e25fa4ea9a2c8minfrinifeq "$(RELEASE)" "release"
e605dd6afa940f799c873ffeaa5e25fa4ea9a2c8minfrinXINCDIRS += \
e605dd6afa940f799c873ffeaa5e25fa4ea9a2c8minfrinXCFLAGS += \
dec02391360e503cd3437d16bed765dc653b9de5minfrinXDEFINES += \
dec02391360e503cd3437d16bed765dc653b9de5minfrinXLFLAGS += \
c7eeb0a294d58c75aee6ed86f73c6e1e8cf600a3rpluem# These are used by the link target if an NLM is being generated
c7eeb0a294d58c75aee6ed86f73c6e1e8cf600a3rpluem# This is used by the link 'name' directive to name the nlm. If left blank
686ce4eade942e515b1725d0c9751da36b759a6ctrawick# TARGET_nlm (see below) will be used.
686ce4eade942e515b1725d0c9751da36b759a6ctrawickNLM_NAME = genchars
4bd465052c4a0c8d41e573ee7a90c312d980355fchrisd# This is used by the link '-desc ' directive.
4bd465052c4a0c8d41e573ee7a90c312d980355fchrisd# If left blank, NLM_NAME will be used.
4bd465052c4a0c8d41e573ee7a90c312d980355fchrisdNLM_DESCRIPTION = Generate Test Characters
27b38d4191d5f638165e2a77ec6e6f567bd7784dniq# This is used by the '-threadname' directive. If left blank,
27b38d4191d5f638165e2a77ec6e6f567bd7784dniq# NLM_NAME Thread will be used.
a87e2a23083aa62229307482afbb3b802a0c2105mturkNLM_THREAD_NAME = genchars
a87e2a23083aa62229307482afbb3b802a0c2105mturk# If this is specified, it will override VERSION value in
260825f41ee3fb517a5c5ecd675f5f58de9ea0b7rpluemNLM_VERSION = 1,0,0
260825f41ee3fb517a5c5ecd675f5f58de9ea0b7rpluem# If this is specified, it will override the default of 64K
534611d341a1a48b93c7a1fd5e333dbd261527d3rpluemNLM_STACK_SIZE = 8192
e99dfd55d29a7b4209b814efc7270d0b74ccee74niq# If this is specified it will be used by the link '-entry' directive
e99dfd55d29a7b4209b814efc7270d0b74ccee74niqNLM_ENTRY_SYM =_LibCPrelude
127aef4ce9f7b6b32a95c5ed9a93b796d18755e6rpluem# If this is specified it will be used by the link '-exit' directive
79d4b708d021714647aab8b138ae671ed24765cewroweNLM_EXIT_SYM =_LibCPostlude
79d4b708d021714647aab8b138ae671ed24765cewrowe# If this is specified it will be used by the link '-check' directive
88d0e50f16b21d4d0af0a48da7ad28fb5991834crpluemNLM_CHECK_SYM =
88d0e50f16b21d4d0af0a48da7ad28fb5991834crpluem# If this is specified it will be used by the link '-flags' directive
15264721069299ec26493e21d56bf8ff7faf6f0drpluemNLM_FLAGS = PSEUDOPREEMPTION
25a81ea1bca1c89cda713c4d23660e487b1488a0rpluem# If this is specified it will be linked in with the XDCData option in the def
25a81ea1bca1c89cda713c4d23660e487b1488a0rpluem# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
25a81ea1bca1c89cda713c4d23660e487b1488a0rpluem# by setting APACHE_UNIPROC in the environment
3ec4328f079d8867cc323155e59678ad9437914frooneg# Declare all target files (you must add your files here)
de0d0b50c96fae59c28e09fed61b0d15cfa4147bchrisd# If there is an NLM target, put it here
de0d0b50c96fae59c28e09fed61b0d15cfa4147bchrisdTARGET_nlm = \
edf6757df85878dc8ce11fb3840ee4cde6de5b2frooneg# If there is an LIB target, put it here
95817edd05387a5276f51fcd5db79fc21b89b55broonegTARGET_lib = \
63689d77e084e36b8194fb6df5adfc0344965e01trawick# These are the OBJ files needed to create the NLM target above.
63689d77e084e36b8194fb6df5adfc0344965e01trawick# Paths must all use the '/' character
5714cdd83e23557d801437daa5e3ab8ba78ae595jortonFILES_nlm_objs = \
69c36bbae91de0e99a682aaae9d6fa61fceb2771bnicholes# These are the LIB files needed to create the NLM target above.
69c36bbae91de0e99a682aaae9d6fa61fceb2771bnicholes# These will be added as a library command in the link.opt file.
69c36bbae91de0e99a682aaae9d6fa61fceb2771bnicholesFILES_nlm_libs = \
69c36bbae91de0e99a682aaae9d6fa61fceb2771bnicholes# These are the modules that the above NLM target depends on to load.
69c36bbae91de0e99a682aaae9d6fa61fceb2771bnicholes# These will be added as a module command in the link.opt file.
69c36bbae91de0e99a682aaae9d6fa61fceb2771bnicholesFILES_nlm_modules = \
69c36bbae91de0e99a682aaae9d6fa61fceb2771bnicholes# If the nlm has a msg file, put it's path here
69c36bbae91de0e99a682aaae9d6fa61fceb2771bnicholesFILE_nlm_msg =
69c36bbae91de0e99a682aaae9d6fa61fceb2771bnicholes# If the nlm has a hlp file put it's path here
69c36bbae91de0e99a682aaae9d6fa61fceb2771bnicholesFILE_nlm_hlp =
a1a615ca49b162d71d88089210395c9a9cfeb539rpluem# If this is specified, it will override $(NWOS)\copyright.txt.
1b0dce86d7fc8a5aa4c89b05255be26e508c615crpluemFILE_nlm_copyright =
edc5389f50ce4153e6192740f3c7a188c8cf8d67niq# Any additional imports go here
6c05afd314b4ddd545d63b4ff5de822cc30eec79trawickFILES_nlm_Ximports = \
a623efbff95aab78da9e030524b0fa69b054f6d0brianp# Any symbols exported to here
a623efbff95aab78da9e030524b0fa69b054f6d0brianpFILES_nlm_exports = \
0b4b04d8621478ba59f0a6ba2950ddc02ab92b58colm# These are the OBJ files needed to create the LIB target above.
0b4b04d8621478ba59f0a6ba2950ddc02ab92b58colm# Paths must all use the '/' character
2f1bb5376c5c4022383bb729679ca751dd75a2eabrianpFILES_lib_objs = \
ad862ab5716726a2d72a292ba1dfb29566c86153brianp# implement targets and dependancies (leave this section alone)
17d53ea32c4968e47733f1c2c063ae07d280efd6jerenkrantzlibs :: $(OBJDIR) $(TARGET_lib)
b38565306421ff53e9f7499bc728d6df5cec294dpquernanlms :: libs $(TARGET_nlm)
b38565306421ff53e9f7499bc728d6df5cec294dpquerna# Updated this target to create necessary directories and copy files to the
6f715f23d1ef4d412dc89cf8e483bf1154686cedwrowe# correct place.
eed0a2641e6988b8190af0625d4a99b2d02bdde9trawickinstall :: nlms FORCE
eed0a2641e6988b8190af0625d4a99b2d02bdde9trawick# Any specialized rules here
6f715f23d1ef4d412dc89cf8e483bf1154686cedwrowe# Include the 'tail' makefile that has targets that depend on variables defined
2cef392e45f74260035e7449fc95d032baa88084jim# in this makefile
205c204b61b6ecf592cc0ea251ae2f02fc7e19f1wroweinclude $(AP_WORK)\build\NWGNUtail.inc