summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorbusch_d <busch_d@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2005-10-26 22:34:17 +0000
committerbusch_d <busch_d@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2005-10-26 22:34:17 +0000
commit4a89811ca417afd7bfb83a2852b28ca645cd68b9 (patch)
tree909bbd21853974ac63c78038d1453ac0fe646c78 /bin
parent18d8329e11ba4b1fb566e25fe01494c2b840133f (diff)
downloadATCD-4a89811ca417afd7bfb83a2852b28ca645cd68b9.tar.gz
Wed Oct 26 17:22:12 2005 Don Busch <busch_d@ociweb.com>
This is a footprint reduction fix, eliminating a library dependency. TAO 1.4 introduced a new dependency on the Messaging, Valuetype, PI, and CodecFactory libraries for the CosNaming_Serv and CosEvent_Serv libraries. Turning off CORBA Messaging did not remove this dependency. Thus, any application that uses CosNaming_Serv or CosEvent_Serv, but not CORBA Messaging, depends on those libraries anyway. This change eliminates the CosNaming_Serv and CosEvent_Serv dependencies on Messaging (and thus PI, CodecFactory, and Valuetype) when CORBA Messaging and Interceptors are turned off. It reduces the footprint in that case by about 600K.
Diffstat (limited to 'bin')
-rw-r--r--bin/MakeProjectCreator/config/event_serv.mpb2
-rw-r--r--bin/MakeProjectCreator/config/messaging.mpb3
-rw-r--r--bin/MakeProjectCreator/config/messaging_optional.mpb7
-rw-r--r--bin/MakeProjectCreator/config/naming_serv.mpb2
4 files changed, 10 insertions, 4 deletions
diff --git a/bin/MakeProjectCreator/config/event_serv.mpb b/bin/MakeProjectCreator/config/event_serv.mpb
index 597dd33abb9..94a97ee7444 100644
--- a/bin/MakeProjectCreator/config/event_serv.mpb
+++ b/bin/MakeProjectCreator/config/event_serv.mpb
@@ -1,7 +1,7 @@
// -*- MPC -*-
// $Id$
-project : orbsvcslib, event_skel, ec_use_typed_events_serv, messaging, naming, svc_utils, minimum_corba {
+project : orbsvcslib, event_skel, ec_use_typed_events_serv, messaging_optional, naming, svc_utils, minimum_corba {
after += CosEvent_Serv
libs += TAO_CosEvent_Serv
tagchecks += CosEvent
diff --git a/bin/MakeProjectCreator/config/messaging.mpb b/bin/MakeProjectCreator/config/messaging.mpb
index 886265898a4..2de4ac8046c 100644
--- a/bin/MakeProjectCreator/config/messaging.mpb
+++ b/bin/MakeProjectCreator/config/messaging.mpb
@@ -1,7 +1,6 @@
// -*- MPC -*-
// $Id$
-project : valuetype, portableserver, pi, corba_messaging {
+project : valuetype, portableserver, pi, corba_messaging, messaging_optional {
after += Messaging
- libs += TAO_Messaging
}
diff --git a/bin/MakeProjectCreator/config/messaging_optional.mpb b/bin/MakeProjectCreator/config/messaging_optional.mpb
new file mode 100644
index 00000000000..16e9d1c8439
--- /dev/null
+++ b/bin/MakeProjectCreator/config/messaging_optional.mpb
@@ -0,0 +1,7 @@
+// -*- MPC -*-
+// $Id$
+
+feature(corba_messaging) : valuetype, portableserver, pi {
+ libs += TAO_Messaging
+}
+
diff --git a/bin/MakeProjectCreator/config/naming_serv.mpb b/bin/MakeProjectCreator/config/naming_serv.mpb
index 7d94f96732f..1beb907e7dc 100644
--- a/bin/MakeProjectCreator/config/naming_serv.mpb
+++ b/bin/MakeProjectCreator/config/naming_serv.mpb
@@ -1,7 +1,7 @@
// -*- MPC -*-
// $Id$
-project : orbsvcslib, naming_skel, iortable, messaging, svc_utils {
+project : orbsvcslib, naming_skel, iortable, messaging_optional, svc_utils {
after += CosNaming_Serv
libs += TAO_CosNaming_Serv
tagchecks += Naming