summaryrefslogtreecommitdiff
path: root/netsvcs
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-03-19 17:09:41 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-03-19 17:09:41 +0000
commit33b0dd8afbb1dadeacdc6785001d70378c9ee7b5 (patch)
tree049b4b5cef877376c50739b745a79f452cf52929 /netsvcs
parentb5cfa965ffa1f744db11f4ae14f5d280f83b79a3 (diff)
downloadATCD-33b0dd8afbb1dadeacdc6785001d70378c9ee7b5.tar.gz
use ace_components instead of the current ACE_COMPONENTS setting to
determine what should be built
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
-