diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-04-16 12:24:54 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-04-16 12:24:54 +0000 |
commit | 1fbc13567b6c298f9742c1af1b5af50b874ad5f1 (patch) | |
tree | 7157ff375f07c34644186b3c54a408681093e2a0 /TAO/orbsvcs/tests/EC_Mcast | |
parent | 31813d51b1da0de6a4a3cc75a3c986c2c4299015 (diff) | |
download | ATCD-1fbc13567b6c298f9742c1af1b5af50b874ad5f1.tar.gz |
only build if the orbsvcs library was built with the respective TAO_ORBSVCS component
Diffstat (limited to 'TAO/orbsvcs/tests/EC_Mcast')
-rw-r--r-- | TAO/orbsvcs/tests/EC_Mcast/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/TAO/orbsvcs/tests/EC_Mcast/Makefile b/TAO/orbsvcs/tests/EC_Mcast/Makefile index d2fd6c16e04..b1f07d62cb8 100644 --- a/TAO/orbsvcs/tests/EC_Mcast/Makefile +++ b/TAO/orbsvcs/tests/EC_Mcast/Makefile @@ -1,17 +1,24 @@ # $Id$ -BIN = EC_Mcast - SRC = $(BIN:%=%$(VAR).cpp) LDLIBS= -lorbsvcs -lTAO ifndef TAO_ROOT -TAO_ROOT = $(ACE_ROOT)/TAO + TAO_ROOT = $(ACE_ROOT)/TAO endif CPPFLAGS += -I$(TAO_ROOT)/orbsvcs \ -I$(TAO_ROOT) +BIN2 = EC_Mcast + +#### If the TAO orbsvcs library wasn't built with sufficient components, +#### don't try to build here. +TAO_ORBSVCS := $(shell $(ACE_ROOT)/bin/ace_components --orbsvcs) +ifeq (Event,$(findstring Event,$(TAO_ORBSVCS))) + BIN = $(BIN2) +endif # Event + #---------------------------------------------------------------------------- # Include macros and targets #---------------------------------------------------------------------------- |