f743002678eb67b99bbc29fee116b65d9530fec0wrowe#
80833bb9a1bf25dcf19e814438a4b311d2e1f4cffuankg# Declare the sub-directories to be built here
92108a6c4fd7ca6e9acc94d2485920436763e491sf#
0754dde4b645ccd88fdb6c2961c0bdd7b213bdbaminfrin
0754dde4b645ccd88fdb6c2961c0bdd7b213bdbaminfrinSUBDIRS = \
0754dde4b645ccd88fdb6c2961c0bdd7b213bdbaminfrin $(EOLIST)
a4273e3e513ce8f5e1311c320cbd334cc382950eminfrin
a4273e3e513ce8f5e1311c320cbd334cc382950eminfrin#
a4273e3e513ce8f5e1311c320cbd334cc382950eminfrin# Get the 'head' of the build environment. This includes default targets and
d3e0a61e1bcc497f2efd7af41a5a9d77090ecc1cminfrin# paths to tools
a4273e3e513ce8f5e1311c320cbd334cc382950eminfrin#
d3e0a61e1bcc497f2efd7af41a5a9d77090ecc1cminfrin
d3e0a61e1bcc497f2efd7af41a5a9d77090ecc1cminfrininclude $(AP_WORK)/build/NWGNUhead.inc
1aac1c71105133d669960501bdf2274e63561054minfrin
1aac1c71105133d669960501bdf2274e63561054minfrin#
1aac1c71105133d669960501bdf2274e63561054minfrin# build this level's files
2c487ac43b583db869e743772a7a10b278aa2bcfminfrin
2c487ac43b583db869e743772a7a10b278aa2bcfminfrin#
2c487ac43b583db869e743772a7a10b278aa2bcfminfrin# Make sure all needed macro's are defined
2c487ac43b583db869e743772a7a10b278aa2bcfminfrin#
2c487ac43b583db869e743772a7a10b278aa2bcfminfrin
dbf5f584c62fe6030d81121fdddeb7588b78b867sf#
dbf5f584c62fe6030d81121fdddeb7588b78b867sf# These directories will be at the beginning of the include list, followed by
15320dc646e41d3eb38736978500349c4d66dc0dsf# INCDIRS
15320dc646e41d3eb38736978500349c4d66dc0dsf#
691db92094897494d6c31326108da20088bc175etrawickXINCDIRS += \
691db92094897494d6c31326108da20088bc175etrawick $(EOLIST)
691db92094897494d6c31326108da20088bc175etrawick
92108a6c4fd7ca6e9acc94d2485920436763e491sf#
92108a6c4fd7ca6e9acc94d2485920436763e491sf# These flags will come after CFLAGS
684e0cfc200f66287a93bbd1708d1dd8a92a7eefcovener#
684e0cfc200f66287a93bbd1708d1dd8a92a7eefcovenerXCFLAGS += \
684e0cfc200f66287a93bbd1708d1dd8a92a7eefcovener $(EOLIST)
5c43d2fb853f84497b5ece2d414ef9484aa87e5fsf
05a5a9c3e16f21566e1b61f4bd68025ce1b741ccjoes#
05a5a9c3e16f21566e1b61f4bd68025ce1b741ccjoes# These defines will come after DEFINES
ef82e8fa164e0a1f8b813f7deb6b7ead96018c94niq#
26c5829347f6a355c00f1ba0301d575056b69536niqXDEFINES += \
ef82e8fa164e0a1f8b813f7deb6b7ead96018c94niq $(EOLIST)
ef82e8fa164e0a1f8b813f7deb6b7ead96018c94niq
ef82e8fa164e0a1f8b813f7deb6b7ead96018c94niq#
ef82e8fa164e0a1f8b813f7deb6b7ead96018c94niq# These flags will be added to the link.opt file
ef82e8fa164e0a1f8b813f7deb6b7ead96018c94niq#
ef82e8fa164e0a1f8b813f7deb6b7ead96018c94niqXLFLAGS += \
413ee814748f37be168ff12407fa6dba0ceeabe6trawick $(EOLIST)
c12917da693bae4028a1d5a5e8224bceed8c739dsf
c12917da693bae4028a1d5a5e8224bceed8c739dsf#
eeb7898b9c087040d44550f8a6b1a257783c9f0ahumbedooh# These values will be appended to the correct variables based on the value of
eeb7898b9c087040d44550f8a6b1a257783c9f0ahumbedooh# RELEASE
7705103518c61f7cdcd4041fe871cb45114f31a5rpluem#
eafcc0ebf263d0ba69855b6e10958c4c1a2361bdsfifeq "$(RELEASE)" "debug"
eafcc0ebf263d0ba69855b6e10958c4c1a2361bdsfXINCDIRS += \
eafcc0ebf263d0ba69855b6e10958c4c1a2361bdsf $(EOLIST)
eafcc0ebf263d0ba69855b6e10958c4c1a2361bdsf
eafcc0ebf263d0ba69855b6e10958c4c1a2361bdsfXCFLAGS += \
d7ffd2da16d58b1a0de212e4d56f7aebb72bef26sf $(EOLIST)
d7ffd2da16d58b1a0de212e4d56f7aebb72bef26sf
d7ffd2da16d58b1a0de212e4d56f7aebb72bef26sfXDEFINES += \
4576c1a9ef54cd1e5555ee07d016a7f559f80338sf $(EOLIST)
4576c1a9ef54cd1e5555ee07d016a7f559f80338sf
4576c1a9ef54cd1e5555ee07d016a7f559f80338sfXLFLAGS += \
9811aed12bbc71783d2e544ccb5fecd193843eadsf $(EOLIST)
9811aed12bbc71783d2e544ccb5fecd193843eadsfendif
9811aed12bbc71783d2e544ccb5fecd193843eadsf
d58a822aff1dfda25384d3d009f88f1883c95436kbrandifeq "$(RELEASE)" "noopt"
d58a822aff1dfda25384d3d009f88f1883c95436kbrandXINCDIRS += \
d58a822aff1dfda25384d3d009f88f1883c95436kbrand $(EOLIST)
e02ff627c1e63137247e20493f6ef44b3bb1a095sf
e02ff627c1e63137247e20493f6ef44b3bb1a095sfXCFLAGS += \
e02ff627c1e63137247e20493f6ef44b3bb1a095sf $(EOLIST)
1366443dc565c33e7b449ae428bbfc4c86f33935drh
1366443dc565c33e7b449ae428bbfc4c86f33935drhXDEFINES += \
88fac54d9d64f85bbdab5d7010816f4377f95bd7rjung $(EOLIST)
88fac54d9d64f85bbdab5d7010816f4377f95bd7rjung
bd3f5647b96d378d9c75c954e3f13582af32c643sfXLFLAGS += \
bd3f5647b96d378d9c75c954e3f13582af32c643sf $(EOLIST)
bd3f5647b96d378d9c75c954e3f13582af32c643sfendif
bd3f5647b96d378d9c75c954e3f13582af32c643sf
bd3f5647b96d378d9c75c954e3f13582af32c643sfifeq "$(RELEASE)" "release"
2a7beea91d46beb41f043a84eaad060047ee04aafabienXINCDIRS += \
2a7beea91d46beb41f043a84eaad060047ee04aafabien $(EOLIST)
2a7beea91d46beb41f043a84eaad060047ee04aafabien
2a7beea91d46beb41f043a84eaad060047ee04aafabienXCFLAGS += \
584a85dd4047e38d3ed3a29b6662fcc9d100ae4csf $(EOLIST)
584a85dd4047e38d3ed3a29b6662fcc9d100ae4csf
584a85dd4047e38d3ed3a29b6662fcc9d100ae4csfXDEFINES += \
f21e9e3d0bfb7a507ecc5bc963f2159d693503d1sf $(EOLIST)
f21e9e3d0bfb7a507ecc5bc963f2159d693503d1sf
f21e9e3d0bfb7a507ecc5bc963f2159d693503d1sfXLFLAGS += \
f6b9c755a0b793e8a3a3aebd327ca20a86478117sf $(EOLIST)
f6b9c755a0b793e8a3a3aebd327ca20a86478117sfendif
f6b9c755a0b793e8a3a3aebd327ca20a86478117sf
132ee6ac1c26d6e8953836316ba50734eefab47bsf#
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.
fc1459657a1fde206a847f9028930725d715f8b4trawick#
fc1459657a1fde206a847f9028930725d715f8b4trawickNLM_NAME =
85eacfc96a04547ef25aabbc06440039715084c2jorton
85eacfc96a04547ef25aabbc06440039715084c2jorton#
85eacfc96a04547ef25aabbc06440039715084c2jorton# This is used by the link '-desc ' directive.
68ba377fc3b124baa759662077c48077ebadb186minfrin# If left blank, NLM_NAME will be used.
68ba377fc3b124baa759662077c48077ebadb186minfrin#
68ba377fc3b124baa759662077c48077ebadb186minfrinNLM_DESCRIPTION =
68ba377fc3b124baa759662077c48077ebadb186minfrin
d776b0a2d2889ce1d13494873368f34327a2e1bbtrawick#
d776b0a2d2889ce1d13494873368f34327a2e1bbtrawick# This is used by the '-threadname' directive. If left blank,
f4ca9f6f002fece336168a16355434ca966f96a9trawick# NLM_NAME Thread will be used.
78f94f1d06c4e6828ce04d618221e0fcecb57849humbedooh#
78f94f1d06c4e6828ce04d618221e0fcecb57849humbedoohNLM_THREAD_NAME =
78f94f1d06c4e6828ce04d618221e0fcecb57849humbedooh
536d2e7cd1fdec1255b8c3bdf41fdc714c506a54trawick#
536d2e7cd1fdec1255b8c3bdf41fdc714c506a54trawick# If this is specified, it will override VERSION value in
536d2e7cd1fdec1255b8c3bdf41fdc714c506a54trawick# $(AP_WORK)/build/NWGNUenvironment.inc
536d2e7cd1fdec1255b8c3bdf41fdc714c506a54trawick#
70caa242e6b90e0d6f0fabb56b8c5c2fb51717b3jortonNLM_VERSION =
985a4368b93c3e9171a57897ad9454c8dbf4cdf6jorton
70caa242e6b90e0d6f0fabb56b8c5c2fb51717b3jorton#
70caa242e6b90e0d6f0fabb56b8c5c2fb51717b3jorton# If this is specified, it will override the default of 64K
109e2a09790de3fb315d36d6232a14ab66c8eb0ahumbedooh#
109e2a09790de3fb315d36d6232a14ab66c8eb0ahumbedoohNLM_STACK_SIZE =
109e2a09790de3fb315d36d6232a14ab66c8eb0ahumbedooh
74e7a30182af5e68f14ccb8d57918b22b982db8bhumbedooh
74e7a30182af5e68f14ccb8d57918b22b982db8bhumbedooh#
74e7a30182af5e68f14ccb8d57918b22b982db8bhumbedooh# If this is specified it will be used by the link '-entry' directive
10961a2f60207cb873d889bb28b1f0ef707a4311humbedooh#
10961a2f60207cb873d889bb28b1f0ef707a4311humbedoohNLM_ENTRY_SYM =
10961a2f60207cb873d889bb28b1f0ef707a4311humbedooh
0448378b899e8df0c060360f17c0af692adf17bchumbedooh#
0448378b899e8df0c060360f17c0af692adf17bchumbedooh# If this is specified it will be used by the link '-exit' directive
0448378b899e8df0c060360f17c0af692adf17bchumbedooh#
60a765cccbd3f3b5997b65b0034220c79f78369etrawickNLM_EXIT_SYM =
60a765cccbd3f3b5997b65b0034220c79f78369etrawick
60a765cccbd3f3b5997b65b0034220c79f78369etrawick#
e7ca863b04ee2a7aea7738cadbf51ce5e6c5245dhumbedooh# If this is specified it will be used by the link '-check' directive
e7ca863b04ee2a7aea7738cadbf51ce5e6c5245dhumbedooh#
e7ca863b04ee2a7aea7738cadbf51ce5e6c5245dhumbedoohNLM_CHECK_SYM =
e7ca863b04ee2a7aea7738cadbf51ce5e6c5245dhumbedooh
91654e263480f0fdc2a03d782ff23f8dad07cf79humbedooh#
91814c869ca39ce45dfe147307d2a831cac6ecbehumbedooh# If these are specified it will be used by the link '-flags' directive
91654e263480f0fdc2a03d782ff23f8dad07cf79humbedooh#
79c5787b92ac5f0e1cc82393816c77a006399316trawickNLM_FLAGS =
79c5787b92ac5f0e1cc82393816c77a006399316trawick
79c5787b92ac5f0e1cc82393816c77a006399316trawick#
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
79c5787b92ac5f0e1cc82393816c77a006399316trawick#
79c5787b92ac5f0e1cc82393816c77a006399316trawickXDCDATA =
79c5787b92ac5f0e1cc82393816c77a006399316trawick
79c5787b92ac5f0e1cc82393816c77a006399316trawick#
7b395e4e878c28a4784919cfd2e704ddd14a3390jorton# If there is an NLM target, put it here
7b395e4e878c28a4784919cfd2e704ddd14a3390jorton#
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 = \
53e9b27aba029b18be814df40bcf6f0428771d1efuankg $(OBJDIR)/noloris.nlm \
53e9b27aba029b18be814df40bcf6f0428771d1efuankg $(OBJDIR)/noloris.nlm \
53e9b27aba029b18be814df40bcf6f0428771d1efuankg $(EOLIST)
53e9b27aba029b18be814df40bcf6f0428771d1efuankg
6bb524f1895f30265a1431afc460977d391cb36bsf#
6bb524f1895f30265a1431afc460977d391cb36bsf# If there is an LIB target, put it here
ca61ccd0c306c2c72df153688ba1b49f3eceed80sf#
6bb524f1895f30265a1431afc460977d391cb36bsfTARGET_lib = \
e6dd71992459d05a676b98b7963423dc5dc1e24aminfrin $(EOLIST)
e6dd71992459d05a676b98b7963423dc5dc1e24aminfrin
e6dd71992459d05a676b98b7963423dc5dc1e24aminfrin#
e6dd71992459d05a676b98b7963423dc5dc1e24aminfrin# These are the OBJ files needed to create the NLM target above.
23f1535d6a60817d2846bac0aea230ea475d7dccminfrin# Paths must all use the '/' character
23f1535d6a60817d2846bac0aea230ea475d7dccminfrin#
23f1535d6a60817d2846bac0aea230ea475d7dccminfrinFILES_nlm_objs = \
23f1535d6a60817d2846bac0aea230ea475d7dccminfrin $(EOLIST)
ec7520b24cd80d34d82bbcaca153cbb23cc04bc0rjung
ec7520b24cd80d34d82bbcaca153cbb23cc04bc0rjung#
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.
ec7520b24cd80d34d82bbcaca153cbb23cc04bc0rjung#
ec7520b24cd80d34d82bbcaca153cbb23cc04bc0rjungFILES_nlm_libs = \
ec7520b24cd80d34d82bbcaca153cbb23cc04bc0rjung $(EOLIST)
ec7520b24cd80d34d82bbcaca153cbb23cc04bc0rjung
6249dfa569d3b4f1f539665b979a80c6e335d93etrawick#
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.
6249dfa569d3b4f1f539665b979a80c6e335d93etrawick#
ae600ca541efc686b34f8b1f21bd3d0741d37674covenerFILES_nlm_modules = \
6249dfa569d3b4f1f539665b979a80c6e335d93etrawick $(EOLIST)
cfa64348224b66dd1c9979b809406c4d15b1c137fielding
74499a117b3b2cd9666715a14f90c0e5d1a4ee8ajim#
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# If the nlm has a msg file, put it's path here
74499a117b3b2cd9666715a14f90c0e5d1a4ee8ajim#
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingFILE_nlm_msg =
74499a117b3b2cd9666715a14f90c0e5d1a4ee8ajim
cfa64348224b66dd1c9979b809406c4d15b1c137fielding#
74499a117b3b2cd9666715a14f90c0e5d1a4ee8ajim# If the nlm has a hlp file put it's path here
cfa64348224b66dd1c9979b809406c4d15b1c137fielding#
FILE_nlm_hlp =
#
# If this is specified, it will override $(NWOS)\copyright.txt.
#
FILE_nlm_copyright =
#
# Any additional imports go here
#
FILES_nlm_Ximports = \
$(EOLIST)
#
# Any symbols exported to here
#
FILES_nlm_exports = \
$(EOLIST)
#
# These are the OBJ files needed to create the LIB target above.
# Paths must all use the '/' character
#
FILES_lib_objs = \
$(EOLIST)
#
# implement targets and dependancies (leave this section alone)
#
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
$(call COPY,$(OBJDIR)/*.nlm, $(INSTALLBASE)/modules/)
#
# Any specialized rules here
#
#
# Include the 'tail' makefile that has targets that depend on variables defined
# in this makefile
#
include $(APBUILD)/NWGNUtail.inc