summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-03-09 04:36:35 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-03-09 04:36:35 +0000
commit12692537ed65fc5c193f4dce1ab4eed621938afd (patch)
treef98c7e3c780e87f27d30f9109537c7bfcd7201c2
parent3502d6aac7e03a0e641bcb7a5fe279be90a51d9b (diff)
downloadATCD-12692537ed65fc5c193f4dce1ab4eed621938afd.tar.gz
suppress server build if Other and Token ACE_COMPONENT aren't built.
-rw-r--r--netsvcs/Makefile28
1 files changed, 16 insertions, 12 deletions
diff --git a/netsvcs/Makefile b/netsvcs/Makefile
index 0cbdb67da2d..9b1a09d8387 100644
--- a/netsvcs/Makefile
+++ b/netsvcs/Makefile
@@ -1,27 +1,31 @@
#----------------------------------------------------------------------------
-# $Id: Makefile 1.1 10/18/96
+# $Id$
#
-# Makefile for the ACE network services
+# Makefile for the ACE network services
#----------------------------------------------------------------------------
#----------------------------------------------------------------------------
-# Local macros
+# Local macros
#----------------------------------------------------------------------------
INFO = README
# lib must come first!
DIRS = lib \
- clients \
- servers
+ clients
+
+ifeq (Other,$(findstring Other,$(ACE_COMPONENTS)))
+ ifeq (Token,$(findstring Token,$(ACE_COMPONENTS)))
+ DIRS += servers
+ endif # Token
+endif # Other
#----------------------------------------------------------------------------
-# Include macros and targets
+# Include macros and targets
#----------------------------------------------------------------------------
-include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
-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
-
+include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
+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