NWGNUmakefile revision 8410c53aaf5e0372a19d5f4d2bc696b9c609ce3c
f743002678eb67b99bbc29fee116b65d9530fec0wrowe#
80833bb9a1bf25dcf19e814438a4b311d2e1f4cffuankg# Declare the sub-directories to be built here
f4d965ae26bc0c8c1c20cb5109507159e91313e8covener#
529af8a31650f917519f3980fe85538770bf427eylavic
529af8a31650f917519f3980fe85538770bf427eylavicSUBDIRS = \
529af8a31650f917519f3980fe85538770bf427eylavic ../build \
08e054046d0c7e5532c66769ba80c69a7b4d8245ylavic $(EOLIST)
08e054046d0c7e5532c66769ba80c69a7b4d8245ylavic
08e054046d0c7e5532c66769ba80c69a7b4d8245ylavic#
9bfe773a084210dd794672fbfd3d6d401d7fe122ylavic# Get the 'head' of the build environment. This includes default targets and
9bfe773a084210dd794672fbfd3d6d401d7fe122ylavic# paths to tools
9bfe773a084210dd794672fbfd3d6d401d7fe122ylavic#
1e2d421a36999d292042a5539971070d54aa6c63ylavic
1e2d421a36999d292042a5539971070d54aa6c63ylavicinclude $(AP_WORK)\build\NWGNUhead.inc
1e2d421a36999d292042a5539971070d54aa6c63ylavic
fa7ed98b9dc94c5845cf845aea0a44ecacd290c9humbedooh#
fa7ed98b9dc94c5845cf845aea0a44ecacd290c9humbedooh# build this level's files
fa7ed98b9dc94c5845cf845aea0a44ecacd290c9humbedooh
0b67eb8568cd58bb77082703951679b42cf098actrawick#
0b67eb8568cd58bb77082703951679b42cf098actrawick# These directories will be at the beginning of the include list, followed by
0b67eb8568cd58bb77082703951679b42cf098actrawick# INCDIRS
0b67eb8568cd58bb77082703951679b42cf098actrawick#
06bb3e11d3e997937534ae7bd45b3631d3b5e5bacovenerXINCDIRS += \
06bb3e11d3e997937534ae7bd45b3631d3b5e5bacovener $(NWOS) \
06bb3e11d3e997937534ae7bd45b3631d3b5e5bacovener $(APR)/include \
06bb3e11d3e997937534ae7bd45b3631d3b5e5bacovener $(AP_WORK)/include \
72f87451163dbeec3a4802a82235d9f91e07defftrawick $(APRUTIL)/include \
72f87451163dbeec3a4802a82235d9f91e07defftrawick $(EOLIST)
72f87451163dbeec3a4802a82235d9f91e07defftrawick
dc0d0ed622bd252af5bed214579a3148e65c369eylavic#
dc0d0ed622bd252af5bed214579a3148e65c369eylavic# These flags will come after CFLAGS
dc0d0ed622bd252af5bed214579a3148e65c369eylavic#
5ef3c61605a3a021ff71f488983cb0065f8e1a79covenerXCFLAGS += \
fb1985a97912b25ec6564c73e610a31e5fc6e25fcovener $(EOLIST)
09c87c777bed1655621bb20e1c46cb6b1a63279dcovener
cf8b985ec0a63b15a1c8f2990d96009a11e0d68ecovener#
cf8b985ec0a63b15a1c8f2990d96009a11e0d68ecovener# These defines will come after DEFINES
cf8b985ec0a63b15a1c8f2990d96009a11e0d68ecovener#
6bbcfe3fb8489d6e87770d37d97b7a5cd4fabceeylavicXDEFINES += \
6bbcfe3fb8489d6e87770d37d97b7a5cd4fabceeylavic $(EOLIST)
6bbcfe3fb8489d6e87770d37d97b7a5cd4fabceeylavic
6bbcfe3fb8489d6e87770d37d97b7a5cd4fabceeylavic#
420f251223a59477a211837382d0622efd42a6bdylavic# These flags will be added to the link.opt file
420f251223a59477a211837382d0622efd42a6bdylavic#
420f251223a59477a211837382d0622efd42a6bdylavicXLFLAGS += \
6502b7b32f980cc2093bb3ebce37e5e4dc68fba4ylavic $(EOLIST)
6502b7b32f980cc2093bb3ebce37e5e4dc68fba4ylavic
3060ce7f798fbda7999cd4ddf89b525d2b294185covener#
c85eff31536e6bfef1537b2435564d48665435d3rpluem# These values will be appended to the correct variables based on the value of
c85eff31536e6bfef1537b2435564d48665435d3rpluem# RELEASE
c85eff31536e6bfef1537b2435564d48665435d3rpluem#
c85eff31536e6bfef1537b2435564d48665435d3rpluemifeq "$(RELEASE)" "debug"
c2051ade794269f23194ec06842dc225d082763arpluemXINCDIRS += \
c2051ade794269f23194ec06842dc225d082763arpluem $(EOLIST)
c2051ade794269f23194ec06842dc225d082763arpluem
c1a63b8fad09c419c1a64f75993feb8a343a6801ylavicXCFLAGS += \
c1a63b8fad09c419c1a64f75993feb8a343a6801ylavic $(EOLIST)
c1a63b8fad09c419c1a64f75993feb8a343a6801ylavic
e6b4bd1113567627ab6bb6c6a7105e1e01a7d889jailletcXDEFINES += \
e6b4bd1113567627ab6bb6c6a7105e1e01a7d889jailletc $(EOLIST)
e466c40e1801982602ee0200c9e8b61cc148742djailletc
e466c40e1801982602ee0200c9e8b61cc148742djailletcXLFLAGS += \
457468b82e59d01eba00dd9d0817309c8f5e414ejim $(EOLIST)
457468b82e59d01eba00dd9d0817309c8f5e414ejimendif
457468b82e59d01eba00dd9d0817309c8f5e414ejim
04983e3bd1754764eec7d6bb772fe3b0bf391771jortonifeq "$(RELEASE)" "noopt"
04983e3bd1754764eec7d6bb772fe3b0bf391771jortonXINCDIRS += \
15890c9306ba98f6fc243e15a3c4778ddc7d773erpluem $(EOLIST)
15660979a30d251681463de2e0584853890082accovener
15660979a30d251681463de2e0584853890082accovenerXCFLAGS += \
15660979a30d251681463de2e0584853890082accovener $(EOLIST)
15660979a30d251681463de2e0584853890082accovener
cfd9415521847b2f9394fad04fb701cfb955f503rjungXDEFINES += \
cfd9415521847b2f9394fad04fb701cfb955f503rjung $(EOLIST)
cfd9415521847b2f9394fad04fb701cfb955f503rjung
28c31fb73c1264bd1d0ff932573677030b024c7dwroweXLFLAGS += \
28c31fb73c1264bd1d0ff932573677030b024c7dwrowe $(EOLIST)
28c31fb73c1264bd1d0ff932573677030b024c7dwroweendif
28c31fb73c1264bd1d0ff932573677030b024c7dwrowe
28c31fb73c1264bd1d0ff932573677030b024c7dwroweifeq "$(RELEASE)" "release"
8491e0600f69b0405e156ea8a419653c065c645bcovenerXINCDIRS += \
63b9f1f5880391261705f696d7d65507bbe9ace3covener $(EOLIST)
63b9f1f5880391261705f696d7d65507bbe9ace3covener
63b9f1f5880391261705f696d7d65507bbe9ace3covenerXCFLAGS += \
87a26948305eab2bab8a4fb3f2a21f6725055790covener $(EOLIST)
87a26948305eab2bab8a4fb3f2a21f6725055790covener
87a26948305eab2bab8a4fb3f2a21f6725055790covenerXDEFINES += \
4efd27d2bd53a819a194f8a942f8881c1927755eylavic $(EOLIST)
4efd27d2bd53a819a194f8a942f8881c1927755eylavic
4efd27d2bd53a819a194f8a942f8881c1927755eylavicXLFLAGS += \
4efd27d2bd53a819a194f8a942f8881c1927755eylavic $(EOLIST)
983528026996668ea295be95aedb9c7a346af470ylavicendif
983528026996668ea295be95aedb9c7a346af470ylavic
983528026996668ea295be95aedb9c7a346af470ylavic#
249ab52ef73a2b33446ae07904e3526b57251411ylavic# These are used by the link target if an NLM is being generated
249ab52ef73a2b33446ae07904e3526b57251411ylavic# This is used by the link 'name' directive to name the nlm. If left blank
249ab52ef73a2b33446ae07904e3526b57251411ylavic# TARGET_nlm (see below) will be used.
1f0836d4b1a203c7b375daae691beb95f6036205ylavic#
1f0836d4b1a203c7b375daae691beb95f6036205ylavicNLM_NAME = genchars
1f0836d4b1a203c7b375daae691beb95f6036205ylavic
3b11e6ec1c5273d6a8968460db650e7ca99c49c0ylavic#
3b11e6ec1c5273d6a8968460db650e7ca99c49c0ylavic# This is used by the link '-desc ' directive.
3b11e6ec1c5273d6a8968460db650e7ca99c49c0ylavic# If left blank, NLM_NAME will be used.
01402a0fbec8bd11f6c10d8ef9c9cceac68bb787ylavic#
01402a0fbec8bd11f6c10d8ef9c9cceac68bb787ylavicNLM_DESCRIPTION = Generate Test Characters
01402a0fbec8bd11f6c10d8ef9c9cceac68bb787ylavic
49dacedb6c387b786b7911082ff35121a45f414bcovener#
49dacedb6c387b786b7911082ff35121a45f414bcovener# This is used by the '-threadname' directive. If left blank,
49dacedb6c387b786b7911082ff35121a45f414bcovener# NLM_NAME Thread will be used.
49dacedb6c387b786b7911082ff35121a45f414bcovener#
3c990331fc6702119e4f5b8ba9eae3021aea5265jimNLM_THREAD_NAME = genchars
3c990331fc6702119e4f5b8ba9eae3021aea5265jim
3c990331fc6702119e4f5b8ba9eae3021aea5265jim#
3c990331fc6702119e4f5b8ba9eae3021aea5265jim# If this is specified, it will override VERSION value in
fc42512879dd0504532f52fe5d0d0383dda96a1eniq# $(AP_WORK)\NWGNUNetWare.rul
fc42512879dd0504532f52fe5d0d0383dda96a1eniq#
fc42512879dd0504532f52fe5d0d0383dda96a1eniqNLM_VERSION = 1,0,0
0451df5dc50fa5d8b3e07d92ee6a92e36a1181a5niq
0451df5dc50fa5d8b3e07d92ee6a92e36a1181a5niq#
0451df5dc50fa5d8b3e07d92ee6a92e36a1181a5niq# If this is specified, it will override the default of 64K
da0442c0440caef34706e2c2f3af05cb65921cc0jailletc#
983528026996668ea295be95aedb9c7a346af470ylavicNLM_STACK_SIZE = 8192
da0442c0440caef34706e2c2f3af05cb65921cc0jailletc
da0442c0440caef34706e2c2f3af05cb65921cc0jailletc#
06b8f183140c8e02e0974e938a05078b511d1603covener# If this is specified it will be used by the link '-entry' directive
06b8f183140c8e02e0974e938a05078b511d1603covener#
06b8f183140c8e02e0974e938a05078b511d1603covenerNLM_ENTRY_SYM =_LibCPrelude
15890c9306ba98f6fc243e15a3c4778ddc7d773erpluem
259878293a997ff49f5ddfc53d3739cbdc25444ecovener#
259878293a997ff49f5ddfc53d3739cbdc25444ecovener# If this is specified it will be used by the link '-exit' directive
259878293a997ff49f5ddfc53d3739cbdc25444ecovener#
259878293a997ff49f5ddfc53d3739cbdc25444ecovenerNLM_EXIT_SYM =_LibCPostlude
15890c9306ba98f6fc243e15a3c4778ddc7d773erpluem
b54b024c06a19926832d77d40ba35ad8c41e4d3dminfrin#
b54b024c06a19926832d77d40ba35ad8c41e4d3dminfrin# If this is specified it will be used by the link '-check' directive
b54b024c06a19926832d77d40ba35ad8c41e4d3dminfrin#
65967d05f839dbf27cf91d91fa79585eeae19660minfrinNLM_CHECK_SYM =
65967d05f839dbf27cf91d91fa79585eeae19660minfrin
65967d05f839dbf27cf91d91fa79585eeae19660minfrin#
65967d05f839dbf27cf91d91fa79585eeae19660minfrin# If this is specified it will be used by the link '-flags' directive
8152945ae46857b170cb227e79bb799f4fc7710dminfrin#
8152945ae46857b170cb227e79bb799f4fc7710dminfrinNLM_FLAGS = PSEUDOPREEMPTION
8152945ae46857b170cb227e79bb799f4fc7710dminfrin
8152945ae46857b170cb227e79bb799f4fc7710dminfrin#
75f5c2db254c0167a0e396254460de09b775d203trawick# If this is specified it will be linked in with the XDCData option in the def
75f5c2db254c0167a0e396254460de09b775d203trawick# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
75f5c2db254c0167a0e396254460de09b775d203trawick# by setting APACHE_UNIPROC in the environment
11f1871b90149f8af3bf4e884dcc404436686967ylavic#
11f1871b90149f8af3bf4e884dcc404436686967ylavicXDCDATA =
11f1871b90149f8af3bf4e884dcc404436686967ylavic
11f1871b90149f8af3bf4e884dcc404436686967ylavic#
4f0358189bfa57b8e75bd6b94db264302a8f336amrumph# Declare all target files (you must add your files here)
4f0358189bfa57b8e75bd6b94db264302a8f336amrumph#
4f0358189bfa57b8e75bd6b94db264302a8f336amrumph
5716f9c6daa92dde5f2f9d11ed63f7c9549c223atrawick#
5716f9c6daa92dde5f2f9d11ed63f7c9549c223atrawick# If there is an NLM target, put it here
5716f9c6daa92dde5f2f9d11ed63f7c9549c223atrawick#
5716f9c6daa92dde5f2f9d11ed63f7c9549c223atrawickTARGET_nlm = \
54d750a84a175d8e338880514d440773eb986b50covener$(OBJDIR)/genchars.nlm \
54d750a84a175d8e338880514d440773eb986b50covener $(EOLIST)
54d750a84a175d8e338880514d440773eb986b50covener
54d750a84a175d8e338880514d440773eb986b50covener#
54d750a84a175d8e338880514d440773eb986b50covener# If there is an LIB target, put it here
54d750a84a175d8e338880514d440773eb986b50covener#
54d750a84a175d8e338880514d440773eb986b50covenerTARGET_lib = \
54d750a84a175d8e338880514d440773eb986b50covener $(EOLIST)
7a3aa12f0eda24793ee26d6a179bd53132e9dae8covener
54d750a84a175d8e338880514d440773eb986b50covener#
54d750a84a175d8e338880514d440773eb986b50covener# These are the OBJ files needed to create the NLM target above.
83b50288fa7d306324bba68832011ea08f5c7832covener# Paths must all use the '/' character
4e30ef014533a7e93c92d88306291f5e49c9692ftrawick#
83b50288fa7d306324bba68832011ea08f5c7832covenerFILES_nlm_objs = \
5f066f496cd9f20a2a701255bc67d44e7cb46daetrawick $(OBJDIR)/gen_test_char.o \
5f066f496cd9f20a2a701255bc67d44e7cb46daetrawick $(EOLIST)
5f066f496cd9f20a2a701255bc67d44e7cb46daetrawick
2e15620d724fb8e3a5be183b917359a2fd6e9468covener#
2e15620d724fb8e3a5be183b917359a2fd6e9468covener# These are the LIB files needed to create the NLM target above.
2e15620d724fb8e3a5be183b917359a2fd6e9468covener# These will be added as a library command in the link.opt file.
2e15620d724fb8e3a5be183b917359a2fd6e9468covener#
1b988c41ee505962781d110a3e4c2c90f1ea0aa4covenerFILES_nlm_libs = \
1b988c41ee505962781d110a3e4c2c90f1ea0aa4covener libcpre.o \
1b988c41ee505962781d110a3e4c2c90f1ea0aa4covener $(EOLIST)
1b988c41ee505962781d110a3e4c2c90f1ea0aa4covener
b8efdc95bec9cf089aa1be0bfd07d46aa1137a7acovener#
b8efdc95bec9cf089aa1be0bfd07d46aa1137a7acovener# These are the modules that the above NLM target depends on to load.
b8efdc95bec9cf089aa1be0bfd07d46aa1137a7acovener# These will be added as a module command in the link.opt file.
f06e7c4b1bce6b6491e5de0b7998d3f5696b293dchrisd#
f06e7c4b1bce6b6491e5de0b7998d3f5696b293dchrisdFILES_nlm_modules = \
f06e7c4b1bce6b6491e5de0b7998d3f5696b293dchrisd Libc \
179565be4043d7e5f9161aa75271fa0a001866d9covener $(EOLIST)
179565be4043d7e5f9161aa75271fa0a001866d9covener
179565be4043d7e5f9161aa75271fa0a001866d9covener#
111436a32ba1254291e4883292fb116d15fe8f64covener# If the nlm has a msg file, put it's path here
fce4949fb0b309a5744afcd503c6ed2d35621ee2covener#
fce4949fb0b309a5744afcd503c6ed2d35621ee2covenerFILE_nlm_msg =
fce4949fb0b309a5744afcd503c6ed2d35621ee2covener
fce4949fb0b309a5744afcd503c6ed2d35621ee2covener#
7b7430e701e9a31ce809da7c220bb8dfcf68c86etrawick# If the nlm has a hlp file put it's path here
7b7430e701e9a31ce809da7c220bb8dfcf68c86etrawick#
7b7430e701e9a31ce809da7c220bb8dfcf68c86etrawickFILE_nlm_hlp =
ccc20788c1e5fc973f36df634399c89acb70deaejerenkrantz
ccc20788c1e5fc973f36df634399c89acb70deaejerenkrantz#
ccc20788c1e5fc973f36df634399c89acb70deaejerenkrantz# If this is specified, it will override $(NWOS)\copyright.txt.
273e512f20f262e5e2aa8e0e83371d1929fb76adjkaluza#
273e512f20f262e5e2aa8e0e83371d1929fb76adjkaluzaFILE_nlm_copyright =
273e512f20f262e5e2aa8e0e83371d1929fb76adjkaluza
efe780dcf13b2b95effabf897d694d8f23feac74trawick#
fe83f60b41477b14a37edcfcd1f7f5c5a1ebfe44minfrin# Any additional imports go here
fe83f60b41477b14a37edcfcd1f7f5c5a1ebfe44minfrin#
fe83f60b41477b14a37edcfcd1f7f5c5a1ebfe44minfrinFILES_nlm_Ximports = \
993d1261a278d7322bccef219101220b7b4fb8c5jkaluza @libc.imp \
993d1261a278d7322bccef219101220b7b4fb8c5jkaluza $(EOLIST)
993d1261a278d7322bccef219101220b7b4fb8c5jkaluza
ba050a6f942b9fa0e81ed73437588005c569655ccovener#
ba050a6f942b9fa0e81ed73437588005c569655ccovener# Any symbols exported to here
ba050a6f942b9fa0e81ed73437588005c569655ccovener#
ba050a6f942b9fa0e81ed73437588005c569655ccovenerFILES_nlm_exports = \
135ddda3a989215d2bedbcf1529bfb269c3eda23niq $(EOLIST)
135ddda3a989215d2bedbcf1529bfb269c3eda23niq
135ddda3a989215d2bedbcf1529bfb269c3eda23niq#
001a44c352f89c9ec332ffd3e0a6927dcd19432chumbedooh# These are the OBJ files needed to create the LIB target above.
001a44c352f89c9ec332ffd3e0a6927dcd19432chumbedooh# Paths must all use the '/' character
001a44c352f89c9ec332ffd3e0a6927dcd19432chumbedooh#
efe780dcf13b2b95effabf897d694d8f23feac74trawickFILES_lib_objs = \
793214f67dede32edfd9ee96c664ead04d175cbbjfclere $(EOLIST)
cc5a4a08dc9783fcbc52ce86f11e01c281a43810minfrin
33124689065ade0dfc8c54d8ebb734f9439cb89btrawick#
33124689065ade0dfc8c54d8ebb734f9439cb89btrawick# implement targets and dependancies (leave this section alone)
33124689065ade0dfc8c54d8ebb734f9439cb89btrawick#
9b0076ddd1103e5fa9c1f9bafde4b06ce244fbaecovener
9b0076ddd1103e5fa9c1f9bafde4b06ce244fbaecovenerlibs :: $(OBJDIR) $(TARGET_lib)
9b0076ddd1103e5fa9c1f9bafde4b06ce244fbaecovener
249d09d51808cb7981af99762c3b3736ca126cd5jkaluzanlms :: libs $(TARGET_nlm)
249d09d51808cb7981af99762c3b3736ca126cd5jkaluza
249d09d51808cb7981af99762c3b3736ca126cd5jkaluza#
249d09d51808cb7981af99762c3b3736ca126cd5jkaluza# Updated this target to create necessary directories and copy files to the
56589be3d7a3e9343370df240010c6928cc78b39jkaluza# correct place.
56589be3d7a3e9343370df240010c6928cc78b39jkaluza#
56589be3d7a3e9343370df240010c6928cc78b39jkaluzainstall :: nlms FORCE
77ca16c5676da23155311e13cee61e7eaba9fa3ejailletc
77ca16c5676da23155311e13cee61e7eaba9fa3ejailletc#
77ca16c5676da23155311e13cee61e7eaba9fa3ejailletc# Any specialized rules here
77ca16c5676da23155311e13cee61e7eaba9fa3ejailletc#
f87299dab99bc04b51a6b8cad51b6795db862c0atrawick
f87299dab99bc04b51a6b8cad51b6795db862c0atrawick#
f87299dab99bc04b51a6b8cad51b6795db862c0atrawick# Include the 'tail' makefile that has targets that depend on variables defined
4d12805e6c18253040223ea637acd6b3b3c18f60jorton# in this makefile
4d12805e6c18253040223ea637acd6b3b3c18f60jorton#
4d12805e6c18253040223ea637acd6b3b3c18f60jorton
4d12805e6c18253040223ea637acd6b3b3c18f60jortoninclude $(AP_WORK)\build\NWGNUtail.inc
4d12805e6c18253040223ea637acd6b3b3c18f60jorton
e5d909f2b06bd880fb3675cd49363df981caa631trawick