From 33b0dd8afbb1dadeacdc6785001d70378c9ee7b5 Mon Sep 17 00:00:00 2001 From: levine Date: Fri, 19 Mar 1999 17:09:41 +0000 Subject: use ace_components instead of the current ACE_COMPONENTS setting to determine what should be built --- netsvcs/clients/Makefile | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) (limited to 'netsvcs/clients') diff --git a/netsvcs/clients/Makefile b/netsvcs/clients/Makefile index 1426fdb2a70..cd00dc819e3 100644 --- a/netsvcs/clients/Makefile +++ b/netsvcs/clients/Makefile @@ -4,30 +4,24 @@ # Makefile for the client programs that test the ACE network services #---------------------------------------------------------------------------- -#---------------------------------------------------------------------------- -# 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 - -- cgit v1.2.1