summaryrefslogtreecommitdiff
path: root/netsvcs/clients/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'netsvcs/clients/Makefile')
-rw-r--r--netsvcs/clients/Makefile16
1 files changed, 12 insertions, 4 deletions
diff --git a/netsvcs/clients/Makefile b/netsvcs/clients/Makefile
index 00ad80fb15b..cd00dc819e3 100644
--- a/netsvcs/clients/Makefile
+++ b/netsvcs/clients/Makefile
@@ -4,15 +4,23 @@
# Makefile for the client programs that test the ACE network services
#----------------------------------------------------------------------------
-DIRS = Logger \
- Naming \
- Tokens
-
#----------------------------------------------------------------------------
# Include macros and targets
#----------------------------------------------------------------------------
include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
+
+#### If the ACE library wasn't built with the Other component, don't
+#### try to build the clients.
+ACE_BUILD_COMPONENTS := $(shell $(ACE_ROOT)/bin/ace_components --ace)
+ifeq (Other,$(findstring Other,$(ACE_BUILD_COMPONENTS)))
+ DIRS = Logger \
+ Naming \
+ Tokens
+else
+ DIRS =
+endif # ! Other
+
include $(ACE_ROOT)/include/makeinclude/macros.GNU
include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
include $(ACE_ROOT)/include/makeinclude/rules.nested.GNU