80833bb9a1bf25dcf19e814438a4b311d2e1f4cffuankg# Declare the sub-directories to be built here
a4273e3e513ce8f5e1311c320cbd334cc382950eminfrin# Get the 'head' of the build environment. This includes default targets and
d3e0a61e1bcc497f2efd7af41a5a9d77090ecc1cminfrin# paths to tools
d3e0a61e1bcc497f2efd7af41a5a9d77090ecc1cminfrininclude $(AP_WORK)/build/NWGNUhead.inc
1aac1c71105133d669960501bdf2274e63561054minfrin# build this level's files
2c487ac43b583db869e743772a7a10b278aa2bcfminfrin# Make sure all needed macro's are defined
dbf5f584c62fe6030d81121fdddeb7588b78b867sf# These directories will be at the beginning of the include list, followed by
691db92094897494d6c31326108da20088bc175etrawickXINCDIRS += \
92108a6c4fd7ca6e9acc94d2485920436763e491sf# These flags will come after CFLAGS
684e0cfc200f66287a93bbd1708d1dd8a92a7eefcovenerXCFLAGS += \
05a5a9c3e16f21566e1b61f4bd68025ce1b741ccjoes# These defines will come after DEFINES
26c5829347f6a355c00f1ba0301d575056b69536niqXDEFINES += \
ef82e8fa164e0a1f8b813f7deb6b7ead96018c94niq# These flags will be added to the link.opt file
ef82e8fa164e0a1f8b813f7deb6b7ead96018c94niqXLFLAGS += \
eeb7898b9c087040d44550f8a6b1a257783c9f0ahumbedooh# These values will be appended to the correct variables based on the value of
eafcc0ebf263d0ba69855b6e10958c4c1a2361bdsfifeq "$(RELEASE)" "debug"
eafcc0ebf263d0ba69855b6e10958c4c1a2361bdsfXINCDIRS += \
eafcc0ebf263d0ba69855b6e10958c4c1a2361bdsfXCFLAGS += \
d7ffd2da16d58b1a0de212e4d56f7aebb72bef26sfXDEFINES += \
4576c1a9ef54cd1e5555ee07d016a7f559f80338sfXLFLAGS += \
d58a822aff1dfda25384d3d009f88f1883c95436kbrandifeq "$(RELEASE)" "noopt"
d58a822aff1dfda25384d3d009f88f1883c95436kbrandXINCDIRS += \
e02ff627c1e63137247e20493f6ef44b3bb1a095sfXCFLAGS += \
1366443dc565c33e7b449ae428bbfc4c86f33935drhXDEFINES += \
bd3f5647b96d378d9c75c954e3f13582af32c643sfXLFLAGS += \
bd3f5647b96d378d9c75c954e3f13582af32c643sfifeq "$(RELEASE)" "release"
2a7beea91d46beb41f043a84eaad060047ee04aafabienXINCDIRS += \
2a7beea91d46beb41f043a84eaad060047ee04aafabienXCFLAGS += \
584a85dd4047e38d3ed3a29b6662fcc9d100ae4csfXDEFINES += \
f21e9e3d0bfb7a507ecc5bc963f2159d693503d1sfXLFLAGS += \
132ee6ac1c26d6e8953836316ba50734eefab47bsf# These are used by the link target if an NLM is being generated
132ee6ac1c26d6e8953836316ba50734eefab47bsf# This is used by the link 'name' directive to name the nlm. If left blank
fc1459657a1fde206a847f9028930725d715f8b4trawick# TARGET_nlm (see below) will be used.
85eacfc96a04547ef25aabbc06440039715084c2jorton# This is used by the link '-desc ' directive.
68ba377fc3b124baa759662077c48077ebadb186minfrin# If left blank, NLM_NAME will be used.
68ba377fc3b124baa759662077c48077ebadb186minfrinNLM_DESCRIPTION =
d776b0a2d2889ce1d13494873368f34327a2e1bbtrawick# This is used by the '-threadname' directive. If left blank,
f4ca9f6f002fece336168a16355434ca966f96a9trawick# NLM_NAME Thread will be used.
78f94f1d06c4e6828ce04d618221e0fcecb57849humbedoohNLM_THREAD_NAME =
536d2e7cd1fdec1255b8c3bdf41fdc714c506a54trawick# If this is specified, it will override VERSION value in
70caa242e6b90e0d6f0fabb56b8c5c2fb51717b3jortonNLM_VERSION =
70caa242e6b90e0d6f0fabb56b8c5c2fb51717b3jorton# If this is specified, it will override the default of 64K
109e2a09790de3fb315d36d6232a14ab66c8eb0ahumbedoohNLM_STACK_SIZE =
74e7a30182af5e68f14ccb8d57918b22b982db8bhumbedooh# If this is specified it will be used by the link '-entry' directive
10961a2f60207cb873d889bb28b1f0ef707a4311humbedoohNLM_ENTRY_SYM =
0448378b899e8df0c060360f17c0af692adf17bchumbedooh# If this is specified it will be used by the link '-exit' directive
60a765cccbd3f3b5997b65b0034220c79f78369etrawickNLM_EXIT_SYM =
e7ca863b04ee2a7aea7738cadbf51ce5e6c5245dhumbedooh# If this is specified it will be used by the link '-check' directive
e7ca863b04ee2a7aea7738cadbf51ce5e6c5245dhumbedoohNLM_CHECK_SYM =
91814c869ca39ce45dfe147307d2a831cac6ecbehumbedooh# If these are specified it will be used by the link '-flags' directive
79c5787b92ac5f0e1cc82393816c77a006399316trawick# If this is specified it will be linked in with the XDCData option in the def
c967bf3bc89e8aa60dbd30d9da388e448ddc1cc4trawick# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
79c5787b92ac5f0e1cc82393816c77a006399316trawick# by setting APACHE_UNIPROC in the environment
7b395e4e878c28a4784919cfd2e704ddd14a3390jorton# If there is an NLM target, put it here
7b395e4e878c28a4784919cfd2e704ddd14a3390jorton# If there is only one element to build it needs to be included twice
7b395e4e878c28a4784919cfd2e704ddd14a3390jorton# in the below target list.
536e48c08d674acac5d44929318f2ad928edc361jorton# Normally if there is only one element to be built within a
536e48c08d674acac5d44929318f2ad928edc361jorton# directory, the makefile for the single element would be called NWGNUmakefile.
e81785da447b469da66f218b3f0244aab507958djorton# But if there are multiples, the parent NWGNUmakefile must reference more
e81785da447b469da66f218b3f0244aab507958djorton# than one submakefile. Because the experimental directory might vary in the
3e4e54d4e3fc0123c63d57aa84ac7ad7a8c73ff8jorton# number of submakefiles, but for the moment only contains one, we reference
3e4e54d4e3fc0123c63d57aa84ac7ad7a8c73ff8jorton# it twice to allow it parent NWGNUmakefile to work properly. If another
3e4e54d4e3fc0123c63d57aa84ac7ad7a8c73ff8jorton# submakefile is added, the extra reference to the first NLM should be removed.
53e9b27aba029b18be814df40bcf6f0428771d1efuankgTARGET_nlm = \
6bb524f1895f30265a1431afc460977d391cb36bsf# If there is an LIB target, put it here
6bb524f1895f30265a1431afc460977d391cb36bsfTARGET_lib = \
e6dd71992459d05a676b98b7963423dc5dc1e24aminfrin# These are the OBJ files needed to create the NLM target above.
23f1535d6a60817d2846bac0aea230ea475d7dccminfrin# Paths must all use the '/' character
23f1535d6a60817d2846bac0aea230ea475d7dccminfrinFILES_nlm_objs = \
ec7520b24cd80d34d82bbcaca153cbb23cc04bc0rjung# These are the LIB files needed to create the NLM target above.
ec7520b24cd80d34d82bbcaca153cbb23cc04bc0rjung# These will be added as a library command in the link.opt file.
ec7520b24cd80d34d82bbcaca153cbb23cc04bc0rjungFILES_nlm_libs = \
6249dfa569d3b4f1f539665b979a80c6e335d93etrawick# These are the modules that the above NLM target depends on to load.
0827cb14e550f6f65018431c22c2c913631c8f25kbrand# These will be added as a module command in the link.opt file.
ae600ca541efc686b34f8b1f21bd3d0741d37674covenerFILES_nlm_modules = \
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# If the nlm has a msg file, put it's path here
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingFILE_nlm_msg =
74499a117b3b2cd9666715a14f90c0e5d1a4ee8ajim# If the nlm has a hlp file put it's path here
# If this is specified, it will override $(NWOS)\copyright.txt.
# correct place. (See $(AP_WORK)/build/NWGNUhead.inc for examples)
include $(APBUILD)/NWGNUtail.inc