NWGNUopthookimport revision 16b55a35cff91315d261d1baa776138af465c4e4
f743002678eb67b99bbc29fee116b65d9530fec0wrowe#
80833bb9a1bf25dcf19e814438a4b311d2e1f4cffuankg# Declare the sub-directories to be built here
a34684a59b60a4173c25035d0c627ef17e6dc215rpluem#
1337c7673efc1f80f634139fbad7cbb98a0dc657ylavic
1337c7673efc1f80f634139fbad7cbb98a0dc657ylavicSUBDIRS = \
1337c7673efc1f80f634139fbad7cbb98a0dc657ylavic $(EOLIST)
1337c7673efc1f80f634139fbad7cbb98a0dc657ylavic
4da61833a1cbbca94094f9653fd970582b97a72etrawick#
4da61833a1cbbca94094f9653fd970582b97a72etrawick# Get the 'head' of the build environment. This includes default targets and
4da61833a1cbbca94094f9653fd970582b97a72etrawick# paths to tools
4da61833a1cbbca94094f9653fd970582b97a72etrawick#
4da61833a1cbbca94094f9653fd970582b97a72etrawick
4789804be088bcd86ae637a29cdb7fda25169521jailletcinclude $(AP_WORK)\build\NWGNUhead.inc
4789804be088bcd86ae637a29cdb7fda25169521jailletc
4789804be088bcd86ae637a29cdb7fda25169521jailletc#
4789804be088bcd86ae637a29cdb7fda25169521jailletc# build this level's files
e50c3026198fd496f183cda4c32a202925476778covener
e50c3026198fd496f183cda4c32a202925476778covener#
e50c3026198fd496f183cda4c32a202925476778covener# Make sure all needed macro's are defined
5b88c8507d5ef6d0c4cfbc78230294968175b638minfrin#
5b88c8507d5ef6d0c4cfbc78230294968175b638minfrin
6c3b9cebb551140fbb25d58bae08b539b3802133ylavic#
6c3b9cebb551140fbb25d58bae08b539b3802133ylavic# These directories will be at the beginning of the include list, followed by
6c3b9cebb551140fbb25d58bae08b539b3802133ylavic# INCDIRS
4f29b65ab4b547ad5dbe506e2d0ff5d12ead9247ylavic#
4f29b65ab4b547ad5dbe506e2d0ff5d12ead9247ylavicXINCDIRS += \
0a0df13b7f1f4f1a74fe295253d89ca3911b301aylavic $(APR)/include \
0a0df13b7f1f4f1a74fe295253d89ca3911b301aylavic $(APRUTIL)/include \
0a0df13b7f1f4f1a74fe295253d89ca3911b301aylavic $(AP_WORK)/include \
0a0df13b7f1f4f1a74fe295253d89ca3911b301aylavic $(NWOS) \
69301145375a889e7e37caf7cc7321ac0f91801erpluem $(EOLIST)
69301145375a889e7e37caf7cc7321ac0f91801erpluem
69301145375a889e7e37caf7cc7321ac0f91801erpluem#
506bfe33206b2fece40ef25f695af39dd4130facjkaluza# These flags will come after CFLAGS
506bfe33206b2fece40ef25f695af39dd4130facjkaluza#
506bfe33206b2fece40ef25f695af39dd4130facjkaluzaXCFLAGS += \
506bfe33206b2fece40ef25f695af39dd4130facjkaluza $(EOLIST)
d58a848a016d401b965111e50ef829e1641f7834minfrin
d58a848a016d401b965111e50ef829e1641f7834minfrin#
d58a848a016d401b965111e50ef829e1641f7834minfrin# These defines will come after DEFINES
2e6f4d654c96c98b761fb012fd25c5d5b1558c44sf#
2e6f4d654c96c98b761fb012fd25c5d5b1558c44sfXDEFINES += \
2e6f4d654c96c98b761fb012fd25c5d5b1558c44sf $(EOLIST)
17e6c95f3b22d18acdf8380fb26a8d0e10c80767ylavic
17e6c95f3b22d18acdf8380fb26a8d0e10c80767ylavic#
17e6c95f3b22d18acdf8380fb26a8d0e10c80767ylavic# These flags will be added to the link.opt file
17e6c95f3b22d18acdf8380fb26a8d0e10c80767ylavic#
17e6c95f3b22d18acdf8380fb26a8d0e10c80767ylavicXLFLAGS += \
e8bd80a4bb88199d2f9a24a50345688e52d9c116ylavic $(EOLIST)
e8bd80a4bb88199d2f9a24a50345688e52d9c116ylavic
e8bd80a4bb88199d2f9a24a50345688e52d9c116ylavic#
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavic# These values will be appended to the correct variables based on the value of
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavic# RELEASE
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavic#
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavicifeq "$(RELEASE)" "debug"
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavicXINCDIRS += \
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavic $(EOLIST)
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavic
d7205b1a86c51c27b71a2c458dc453fd53a261c1covenerXCFLAGS += \
d7205b1a86c51c27b71a2c458dc453fd53a261c1covener $(EOLIST)
d7205b1a86c51c27b71a2c458dc453fd53a261c1covener
d7205b1a86c51c27b71a2c458dc453fd53a261c1covenerXDEFINES += \
d7205b1a86c51c27b71a2c458dc453fd53a261c1covener $(EOLIST)
44ff304057225e944e220e981d434a046d14cf06covener
44ff304057225e944e220e981d434a046d14cf06covenerXLFLAGS += \
44ff304057225e944e220e981d434a046d14cf06covener $(EOLIST)
44ff304057225e944e220e981d434a046d14cf06covenerendif
5d1ba75b8794925e67591c209085a49279791de9covener
5d1ba75b8794925e67591c209085a49279791de9covenerifeq "$(RELEASE)" "noopt"
5d1ba75b8794925e67591c209085a49279791de9covenerXINCDIRS += \
032982212dbcc7c3cce95bf89c503bb56e185ac7kbrand $(EOLIST)
032982212dbcc7c3cce95bf89c503bb56e185ac7kbrand
032982212dbcc7c3cce95bf89c503bb56e185ac7kbrandXCFLAGS += \
032982212dbcc7c3cce95bf89c503bb56e185ac7kbrand $(EOLIST)
caad2986f81ab263f7af41467dd622dc9add17f3ylavic
caad2986f81ab263f7af41467dd622dc9add17f3ylavicXDEFINES += \
caad2986f81ab263f7af41467dd622dc9add17f3ylavic $(EOLIST)
caad2986f81ab263f7af41467dd622dc9add17f3ylavic
45a10d38e6051fd7bdf9d742aaae633d97ff02abjailletcXLFLAGS += \
f7317ff316c2b141feea31bddb74d5d3fa1584edjorton $(EOLIST)
f7317ff316c2b141feea31bddb74d5d3fa1584edjortonendif
2165214331e4afafca4048f66f303d0253d7b001covener
a34684a59b60a4173c25035d0c627ef17e6dc215rpluemifeq "$(RELEASE)" "release"
a34684a59b60a4173c25035d0c627ef17e6dc215rpluemXINCDIRS += \
1e2d421a36999d292042a5539971070d54aa6c63ylavic $(EOLIST)
1e2d421a36999d292042a5539971070d54aa6c63ylavic
1e2d421a36999d292042a5539971070d54aa6c63ylavicXCFLAGS += \
fa7ed98b9dc94c5845cf845aea0a44ecacd290c9humbedooh $(EOLIST)
fa7ed98b9dc94c5845cf845aea0a44ecacd290c9humbedooh
fa7ed98b9dc94c5845cf845aea0a44ecacd290c9humbedoohXDEFINES += \
0b67eb8568cd58bb77082703951679b42cf098actrawick $(EOLIST)
0b67eb8568cd58bb77082703951679b42cf098actrawick
0b67eb8568cd58bb77082703951679b42cf098actrawickXLFLAGS += \
0b67eb8568cd58bb77082703951679b42cf098actrawick $(EOLIST)
5ef3c61605a3a021ff71f488983cb0065f8e1a79covenerendif
fb1985a97912b25ec6564c73e610a31e5fc6e25fcovener
09c87c777bed1655621bb20e1c46cb6b1a63279dcovener#
6502b7b32f980cc2093bb3ebce37e5e4dc68fba4ylavic# These are used by the link target if an NLM is being generated
6502b7b32f980cc2093bb3ebce37e5e4dc68fba4ylavic# This is used by the link 'name' directive to name the nlm. If left blank
3060ce7f798fbda7999cd4ddf89b525d2b294185covener# TARGET_nlm (see below) will be used.
c1a63b8fad09c419c1a64f75993feb8a343a6801ylavic#
c1a63b8fad09c419c1a64f75993feb8a343a6801ylavicNLM_NAME = opthookimport
c1a63b8fad09c419c1a64f75993feb8a343a6801ylavic
e6b4bd1113567627ab6bb6c6a7105e1e01a7d889jailletc#
e6b4bd1113567627ab6bb6c6a7105e1e01a7d889jailletc# This is used by the link '-desc ' directive.
e466c40e1801982602ee0200c9e8b61cc148742djailletc# If left blank, NLM_NAME will be used.
e466c40e1801982602ee0200c9e8b61cc148742djailletc#
457468b82e59d01eba00dd9d0817309c8f5e414ejimNLM_DESCRIPTION = Apache $(VERSION_STR) OptionalHook Import Module
457468b82e59d01eba00dd9d0817309c8f5e414ejim
457468b82e59d01eba00dd9d0817309c8f5e414ejim#
04983e3bd1754764eec7d6bb772fe3b0bf391771jorton# This is used by the '-threadname' directive. If left blank,
04983e3bd1754764eec7d6bb772fe3b0bf391771jorton# NLM_NAME Thread will be used.
15890c9306ba98f6fc243e15a3c4778ddc7d773erpluem#
15660979a30d251681463de2e0584853890082accovenerNLM_THREAD_NAME = $(NLM_NAME) Module
15660979a30d251681463de2e0584853890082accovener
49dacedb6c387b786b7911082ff35121a45f414bcovener#
49dacedb6c387b786b7911082ff35121a45f414bcovener# If this is specified, it will override VERSION value in
cfd9415521847b2f9394fad04fb701cfb955f503rjung# $(AP_WORK)\build\NWGNUenvironment.inc
cfd9415521847b2f9394fad04fb701cfb955f503rjung#
cfd9415521847b2f9394fad04fb701cfb955f503rjungNLM_VERSION =
28c31fb73c1264bd1d0ff932573677030b024c7dwrowe
28c31fb73c1264bd1d0ff932573677030b024c7dwrowe#
28c31fb73c1264bd1d0ff932573677030b024c7dwrowe# If this is specified, it will override the default of 64K
28c31fb73c1264bd1d0ff932573677030b024c7dwrowe#
28c31fb73c1264bd1d0ff932573677030b024c7dwroweNLM_STACK_SIZE = 8192
8491e0600f69b0405e156ea8a419653c065c645bcovener
63b9f1f5880391261705f696d7d65507bbe9ace3covener
63b9f1f5880391261705f696d7d65507bbe9ace3covener#
63b9f1f5880391261705f696d7d65507bbe9ace3covener# If this is specified it will be used by the link '-entry' directive
49dacedb6c387b786b7911082ff35121a45f414bcovener#
49dacedb6c387b786b7911082ff35121a45f414bcovenerNLM_ENTRY_SYM = _LibCPrelude
49dacedb6c387b786b7911082ff35121a45f414bcovener
49dacedb6c387b786b7911082ff35121a45f414bcovener#
3c990331fc6702119e4f5b8ba9eae3021aea5265jim# If this is specified it will be used by the link '-exit' directive
3c990331fc6702119e4f5b8ba9eae3021aea5265jim#
3c990331fc6702119e4f5b8ba9eae3021aea5265jimNLM_EXIT_SYM = _LibCPostlude
3c990331fc6702119e4f5b8ba9eae3021aea5265jim
fc42512879dd0504532f52fe5d0d0383dda96a1eniq#
fc42512879dd0504532f52fe5d0d0383dda96a1eniq# If this is specified it will be used by the link '-check' directive
fc42512879dd0504532f52fe5d0d0383dda96a1eniq#
0451df5dc50fa5d8b3e07d92ee6a92e36a1181a5niqNLM_CHECK_SYM =
0451df5dc50fa5d8b3e07d92ee6a92e36a1181a5niq
0451df5dc50fa5d8b3e07d92ee6a92e36a1181a5niq#
da0442c0440caef34706e2c2f3af05cb65921cc0jailletc# If these are specified it will be used by the link '-flags' directive
983528026996668ea295be95aedb9c7a346af470ylavic#
da0442c0440caef34706e2c2f3af05cb65921cc0jailletcNLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION
da0442c0440caef34706e2c2f3af05cb65921cc0jailletc
06b8f183140c8e02e0974e938a05078b511d1603covener#
06b8f183140c8e02e0974e938a05078b511d1603covener# If this is specified it will be linked in with the XDCData option in the def
06b8f183140c8e02e0974e938a05078b511d1603covener# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
15890c9306ba98f6fc243e15a3c4778ddc7d773erpluem# by setting APACHE_UNIPROC in the environment
259878293a997ff49f5ddfc53d3739cbdc25444ecovener#
259878293a997ff49f5ddfc53d3739cbdc25444ecovenerXDCDATA =
259878293a997ff49f5ddfc53d3739cbdc25444ecovener
259878293a997ff49f5ddfc53d3739cbdc25444ecovener#
15890c9306ba98f6fc243e15a3c4778ddc7d773erpluem# If there is an NLM target, put it here
b54b024c06a19926832d77d40ba35ad8c41e4d3dminfrin#
b54b024c06a19926832d77d40ba35ad8c41e4d3dminfrinTARGET_nlm = \
b54b024c06a19926832d77d40ba35ad8c41e4d3dminfrin $(OBJDIR)/$(NLM_NAME).nlm \
65967d05f839dbf27cf91d91fa79585eeae19660minfrin $(EOLIST)
65967d05f839dbf27cf91d91fa79585eeae19660minfrin
65967d05f839dbf27cf91d91fa79585eeae19660minfrin#
65967d05f839dbf27cf91d91fa79585eeae19660minfrin# If there is an LIB target, put it here
8152945ae46857b170cb227e79bb799f4fc7710dminfrin#
8152945ae46857b170cb227e79bb799f4fc7710dminfrinTARGET_lib = \
8152945ae46857b170cb227e79bb799f4fc7710dminfrin $(EOLIST)
8152945ae46857b170cb227e79bb799f4fc7710dminfrin
75f5c2db254c0167a0e396254460de09b775d203trawick#
75f5c2db254c0167a0e396254460de09b775d203trawick# These are the OBJ files needed to create the NLM target above.
75f5c2db254c0167a0e396254460de09b775d203trawick# Paths must all use the '/' character
4f0358189bfa57b8e75bd6b94db264302a8f336amrumph#
4f0358189bfa57b8e75bd6b94db264302a8f336amrumphFILES_nlm_objs = \
4f0358189bfa57b8e75bd6b94db264302a8f336amrumph $(OBJDIR)/mod_optional_hook_import.o \
5716f9c6daa92dde5f2f9d11ed63f7c9549c223atrawick $(EOLIST)
5716f9c6daa92dde5f2f9d11ed63f7c9549c223atrawick
5716f9c6daa92dde5f2f9d11ed63f7c9549c223atrawick#
5716f9c6daa92dde5f2f9d11ed63f7c9549c223atrawick# These are the LIB files needed to create the NLM target above.
54d750a84a175d8e338880514d440773eb986b50covener# These will be added as a library command in the link.opt file.
54d750a84a175d8e338880514d440773eb986b50covener#
54d750a84a175d8e338880514d440773eb986b50covenerFILES_nlm_libs = \
54d750a84a175d8e338880514d440773eb986b50covener libcpre.o \
54d750a84a175d8e338880514d440773eb986b50covener $(EOLIST)
54d750a84a175d8e338880514d440773eb986b50covener
54d750a84a175d8e338880514d440773eb986b50covener#
54d750a84a175d8e338880514d440773eb986b50covener# These are the modules that the above NLM target depends on to load.
7a3aa12f0eda24793ee26d6a179bd53132e9dae8covener# These will be added as a module command in the link.opt file.
54d750a84a175d8e338880514d440773eb986b50covener#
54d750a84a175d8e338880514d440773eb986b50covenerFILES_nlm_modules = \
83b50288fa7d306324bba68832011ea08f5c7832covener aprlib \
4e30ef014533a7e93c92d88306291f5e49c9692ftrawick libc \
83b50288fa7d306324bba68832011ea08f5c7832covener $(EOLIST)
5f066f496cd9f20a2a701255bc67d44e7cb46daetrawick
5f066f496cd9f20a2a701255bc67d44e7cb46daetrawick#
5f066f496cd9f20a2a701255bc67d44e7cb46daetrawick# If the nlm has a msg file, put it's path here
2e15620d724fb8e3a5be183b917359a2fd6e9468covener#
2e15620d724fb8e3a5be183b917359a2fd6e9468covenerFILE_nlm_msg =
2e15620d724fb8e3a5be183b917359a2fd6e9468covener
2e15620d724fb8e3a5be183b917359a2fd6e9468covener#
1b988c41ee505962781d110a3e4c2c90f1ea0aa4covener# If the nlm has a hlp file put it's path here
1b988c41ee505962781d110a3e4c2c90f1ea0aa4covener#
1b988c41ee505962781d110a3e4c2c90f1ea0aa4covenerFILE_nlm_hlp =
1b988c41ee505962781d110a3e4c2c90f1ea0aa4covener
b8efdc95bec9cf089aa1be0bfd07d46aa1137a7acovener#
b8efdc95bec9cf089aa1be0bfd07d46aa1137a7acovener# If this is specified, it will override $(NWOS)\copyright.txt.
b8efdc95bec9cf089aa1be0bfd07d46aa1137a7acovener#
f06e7c4b1bce6b6491e5de0b7998d3f5696b293dchrisdFILE_nlm_copyright =
f06e7c4b1bce6b6491e5de0b7998d3f5696b293dchrisd
f06e7c4b1bce6b6491e5de0b7998d3f5696b293dchrisd#
179565be4043d7e5f9161aa75271fa0a001866d9covener# Any additional imports go here
179565be4043d7e5f9161aa75271fa0a001866d9covener#
179565be4043d7e5f9161aa75271fa0a001866d9covenerFILES_nlm_Ximports = \
111436a32ba1254291e4883292fb116d15fe8f64covener @$(APR)/aprlib.imp \
fce4949fb0b309a5744afcd503c6ed2d35621ee2covener @$(NWOS)/httpd.imp \
fce4949fb0b309a5744afcd503c6ed2d35621ee2covener @libc.imp \
fce4949fb0b309a5744afcd503c6ed2d35621ee2covener $(EOLIST)
fce4949fb0b309a5744afcd503c6ed2d35621ee2covener
7b7430e701e9a31ce809da7c220bb8dfcf68c86etrawick#
7b7430e701e9a31ce809da7c220bb8dfcf68c86etrawick# Any symbols exported to here
7b7430e701e9a31ce809da7c220bb8dfcf68c86etrawick#
ccc20788c1e5fc973f36df634399c89acb70deaejerenkrantzFILES_nlm_exports = \
ccc20788c1e5fc973f36df634399c89acb70deaejerenkrantz optional_hook_import_module \
ccc20788c1e5fc973f36df634399c89acb70deaejerenkrantz $(EOLIST)
273e512f20f262e5e2aa8e0e83371d1929fb76adjkaluza
273e512f20f262e5e2aa8e0e83371d1929fb76adjkaluza#
273e512f20f262e5e2aa8e0e83371d1929fb76adjkaluza# These are the OBJ files needed to create the LIB target above.
efe780dcf13b2b95effabf897d694d8f23feac74trawick# Paths must all use the '/' character
fe83f60b41477b14a37edcfcd1f7f5c5a1ebfe44minfrin#
fe83f60b41477b14a37edcfcd1f7f5c5a1ebfe44minfrinFILES_lib_objs = \
fe83f60b41477b14a37edcfcd1f7f5c5a1ebfe44minfrin $(EOLIST)
993d1261a278d7322bccef219101220b7b4fb8c5jkaluza
993d1261a278d7322bccef219101220b7b4fb8c5jkaluza#
993d1261a278d7322bccef219101220b7b4fb8c5jkaluza# implement targets and dependancies (leave this section alone)
ba050a6f942b9fa0e81ed73437588005c569655ccovener#
ba050a6f942b9fa0e81ed73437588005c569655ccovener
ba050a6f942b9fa0e81ed73437588005c569655ccovenerlibs :: $(OBJDIR) $(TARGET_lib)
ba050a6f942b9fa0e81ed73437588005c569655ccovener
135ddda3a989215d2bedbcf1529bfb269c3eda23niqnlms :: libs $(TARGET_nlm)
135ddda3a989215d2bedbcf1529bfb269c3eda23niq
135ddda3a989215d2bedbcf1529bfb269c3eda23niq#
001a44c352f89c9ec332ffd3e0a6927dcd19432chumbedooh# Updated this target to create necessary directories and copy files to the
001a44c352f89c9ec332ffd3e0a6927dcd19432chumbedooh# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
001a44c352f89c9ec332ffd3e0a6927dcd19432chumbedooh#
efe780dcf13b2b95effabf897d694d8f23feac74trawickinstall :: nlms FORCE
793214f67dede32edfd9ee96c664ead04d175cbbjfclere
cc5a4a08dc9783fcbc52ce86f11e01c281a43810minfrin#
9b0076ddd1103e5fa9c1f9bafde4b06ce244fbaecovener# Any specialized rules here
9b0076ddd1103e5fa9c1f9bafde4b06ce244fbaecovener#
9b0076ddd1103e5fa9c1f9bafde4b06ce244fbaecovener
249d09d51808cb7981af99762c3b3736ca126cd5jkaluza#
249d09d51808cb7981af99762c3b3736ca126cd5jkaluza# Include the 'tail' makefile that has targets that depend on variables defined
249d09d51808cb7981af99762c3b3736ca126cd5jkaluza# in this makefile
249d09d51808cb7981af99762c3b3736ca126cd5jkaluza#
56589be3d7a3e9343370df240010c6928cc78b39jkaluza
56589be3d7a3e9343370df240010c6928cc78b39jkaluzainclude $(AP_WORK)\build\NWGNUtail.inc
56589be3d7a3e9343370df240010c6928cc78b39jkaluza
77ca16c5676da23155311e13cee61e7eaba9fa3ejailletc
77ca16c5676da23155311e13cee61e7eaba9fa3ejailletc