NWGNUmakefile revision 8410c53aaf5e0372a19d5f4d2bc696b9c609ce3c
80833bb9a1bf25dcf19e814438a4b311d2e1f4cffuankg# Declare the sub-directories to be built here
9bfe773a084210dd794672fbfd3d6d401d7fe122ylavic# Get the 'head' of the build environment. This includes default targets and
9bfe773a084210dd794672fbfd3d6d401d7fe122ylavic# paths to tools
1e2d421a36999d292042a5539971070d54aa6c63ylavicinclude $(AP_WORK)\build\NWGNUhead.inc
fa7ed98b9dc94c5845cf845aea0a44ecacd290c9humbedooh# build this level's files
0b67eb8568cd58bb77082703951679b42cf098actrawick# These directories will be at the beginning of the include list, followed by
06bb3e11d3e997937534ae7bd45b3631d3b5e5bacovenerXINCDIRS += \
06bb3e11d3e997937534ae7bd45b3631d3b5e5bacovener $(APR)/include \
06bb3e11d3e997937534ae7bd45b3631d3b5e5bacovener $(AP_WORK)/include \
72f87451163dbeec3a4802a82235d9f91e07defftrawick $(APRUTIL)/include \
dc0d0ed622bd252af5bed214579a3148e65c369eylavic# These flags will come after CFLAGS
5ef3c61605a3a021ff71f488983cb0065f8e1a79covenerXCFLAGS += \
cf8b985ec0a63b15a1c8f2990d96009a11e0d68ecovener# These defines will come after DEFINES
6bbcfe3fb8489d6e87770d37d97b7a5cd4fabceeylavicXDEFINES += \
420f251223a59477a211837382d0622efd42a6bdylavic# These flags will be added to the link.opt file
420f251223a59477a211837382d0622efd42a6bdylavicXLFLAGS += \
c85eff31536e6bfef1537b2435564d48665435d3rpluem# These values will be appended to the correct variables based on the value of
c85eff31536e6bfef1537b2435564d48665435d3rpluemifeq "$(RELEASE)" "debug"
c2051ade794269f23194ec06842dc225d082763arpluemXINCDIRS += \
c1a63b8fad09c419c1a64f75993feb8a343a6801ylavicXCFLAGS += \
e6b4bd1113567627ab6bb6c6a7105e1e01a7d889jailletcXDEFINES += \
e466c40e1801982602ee0200c9e8b61cc148742djailletcXLFLAGS += \
04983e3bd1754764eec7d6bb772fe3b0bf391771jortonifeq "$(RELEASE)" "noopt"
04983e3bd1754764eec7d6bb772fe3b0bf391771jortonXINCDIRS += \
15660979a30d251681463de2e0584853890082accovenerXCFLAGS += \
cfd9415521847b2f9394fad04fb701cfb955f503rjungXDEFINES += \
28c31fb73c1264bd1d0ff932573677030b024c7dwroweXLFLAGS += \
28c31fb73c1264bd1d0ff932573677030b024c7dwroweifeq "$(RELEASE)" "release"
8491e0600f69b0405e156ea8a419653c065c645bcovenerXINCDIRS += \
63b9f1f5880391261705f696d7d65507bbe9ace3covenerXCFLAGS += \
87a26948305eab2bab8a4fb3f2a21f6725055790covenerXDEFINES += \
4efd27d2bd53a819a194f8a942f8881c1927755eylavicXLFLAGS += \
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.
1f0836d4b1a203c7b375daae691beb95f6036205ylavicNLM_NAME = genchars
3b11e6ec1c5273d6a8968460db650e7ca99c49c0ylavic# This is used by the link '-desc ' directive.
3b11e6ec1c5273d6a8968460db650e7ca99c49c0ylavic# If left blank, NLM_NAME will be used.
01402a0fbec8bd11f6c10d8ef9c9cceac68bb787ylavicNLM_DESCRIPTION = Generate Test Characters
49dacedb6c387b786b7911082ff35121a45f414bcovener# This is used by the '-threadname' directive. If left blank,
49dacedb6c387b786b7911082ff35121a45f414bcovener# NLM_NAME Thread will be used.
3c990331fc6702119e4f5b8ba9eae3021aea5265jimNLM_THREAD_NAME = genchars
3c990331fc6702119e4f5b8ba9eae3021aea5265jim# If this is specified, it will override VERSION value in
fc42512879dd0504532f52fe5d0d0383dda96a1eniqNLM_VERSION = 1,0,0
0451df5dc50fa5d8b3e07d92ee6a92e36a1181a5niq# If this is specified, it will override the default of 64K
983528026996668ea295be95aedb9c7a346af470ylavicNLM_STACK_SIZE = 8192
06b8f183140c8e02e0974e938a05078b511d1603covener# If this is specified it will be used by the link '-entry' directive
06b8f183140c8e02e0974e938a05078b511d1603covenerNLM_ENTRY_SYM =_LibCPrelude
259878293a997ff49f5ddfc53d3739cbdc25444ecovener# If this is specified it will be used by the link '-exit' directive
259878293a997ff49f5ddfc53d3739cbdc25444ecovenerNLM_EXIT_SYM =_LibCPostlude
b54b024c06a19926832d77d40ba35ad8c41e4d3dminfrin# If this is specified it will be used by the link '-check' directive
65967d05f839dbf27cf91d91fa79585eeae19660minfrinNLM_CHECK_SYM =
65967d05f839dbf27cf91d91fa79585eeae19660minfrin# If this is specified it will be used by the link '-flags' directive
8152945ae46857b170cb227e79bb799f4fc7710dminfrinNLM_FLAGS = PSEUDOPREEMPTION
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
4f0358189bfa57b8e75bd6b94db264302a8f336amrumph# Declare all target files (you must add your files here)
5716f9c6daa92dde5f2f9d11ed63f7c9549c223atrawick# If there is an NLM target, put it here
5716f9c6daa92dde5f2f9d11ed63f7c9549c223atrawickTARGET_nlm = \
54d750a84a175d8e338880514d440773eb986b50covener# If there is an LIB target, put it here
54d750a84a175d8e338880514d440773eb986b50covenerTARGET_lib = \
54d750a84a175d8e338880514d440773eb986b50covener# These are the OBJ files needed to create the NLM target above.
83b50288fa7d306324bba68832011ea08f5c7832covener# Paths must all use the '/' character
83b50288fa7d306324bba68832011ea08f5c7832covenerFILES_nlm_objs = \
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.
1b988c41ee505962781d110a3e4c2c90f1ea0aa4covenerFILES_nlm_libs = \
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.
f06e7c4b1bce6b6491e5de0b7998d3f5696b293dchrisdFILES_nlm_modules = \
111436a32ba1254291e4883292fb116d15fe8f64covener# If the nlm has a msg file, put it's path here
fce4949fb0b309a5744afcd503c6ed2d35621ee2covenerFILE_nlm_msg =
7b7430e701e9a31ce809da7c220bb8dfcf68c86etrawick# If the nlm has a hlp file put it's path here
7b7430e701e9a31ce809da7c220bb8dfcf68c86etrawickFILE_nlm_hlp =
ccc20788c1e5fc973f36df634399c89acb70deaejerenkrantz# If this is specified, it will override $(NWOS)\copyright.txt.
273e512f20f262e5e2aa8e0e83371d1929fb76adjkaluzaFILE_nlm_copyright =
fe83f60b41477b14a37edcfcd1f7f5c5a1ebfe44minfrin# Any additional imports go here
fe83f60b41477b14a37edcfcd1f7f5c5a1ebfe44minfrinFILES_nlm_Ximports = \
ba050a6f942b9fa0e81ed73437588005c569655ccovener# Any symbols exported to here
ba050a6f942b9fa0e81ed73437588005c569655ccovenerFILES_nlm_exports = \
001a44c352f89c9ec332ffd3e0a6927dcd19432chumbedooh# These are the OBJ files needed to create the LIB target above.
001a44c352f89c9ec332ffd3e0a6927dcd19432chumbedooh# Paths must all use the '/' character
efe780dcf13b2b95effabf897d694d8f23feac74trawickFILES_lib_objs = \
33124689065ade0dfc8c54d8ebb734f9439cb89btrawick# implement targets and dependancies (leave this section alone)
9b0076ddd1103e5fa9c1f9bafde4b06ce244fbaecovenerlibs :: $(OBJDIR) $(TARGET_lib)
249d09d51808cb7981af99762c3b3736ca126cd5jkaluzanlms :: libs $(TARGET_nlm)
249d09d51808cb7981af99762c3b3736ca126cd5jkaluza# Updated this target to create necessary directories and copy files to the
56589be3d7a3e9343370df240010c6928cc78b39jkaluza# correct place.
56589be3d7a3e9343370df240010c6928cc78b39jkaluzainstall :: nlms FORCE
77ca16c5676da23155311e13cee61e7eaba9fa3ejailletc# Any specialized rules here
f87299dab99bc04b51a6b8cad51b6795db862c0atrawick# Include the 'tail' makefile that has targets that depend on variables defined
4d12805e6c18253040223ea637acd6b3b3c18f60jorton# in this makefile
4d12805e6c18253040223ea637acd6b3b3c18f60jortoninclude $(AP_WORK)\build\NWGNUtail.inc