summaryrefslogtreecommitdiff
path: root/netsvcs
diff options
context:
space:
mode:
Diffstat (limited to 'netsvcs')
-rw-r--r--netsvcs/clients/Makefile26
1 files changed, 10 insertions, 16 deletions
diff --git a/netsvcs/clients/Makefile b/netsvcs/clients/Makefile
index 1426fdb2a70..cd00dc819e3 100644
--- a/netsvcs/clients/Makefile
+++ b/netsvcs/clients/Makefile
@@ -5,29 +5,23 @@
#----------------------------------------------------------------------------
#----------------------------------------------------------------------------
-# Local macros
-#----------------------------------------------------------------------------
-
-DIRS = Logger \
- Naming \
- Tokens
-
-#----------------------------------------------------------------------------
# Include macros and targets
#----------------------------------------------------------------------------
include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
-#### If ACE_COMPONENTS was set and doesn't contain Other, don't
-#### try to build any of the clients.
-ifdef ACE_COMPONENTS
- ifeq (,$(findstring Other,$(ACE_COMPONENTS)))
- DIRS =
- endif # ! Other
-endif # ACE_COMPONENTS
+#### 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
include $(ACE_ROOT)/include/makeinclude/rules.nolocal.GNU
-