summaryrefslogtreecommitdiff
path: root/netsvcs/servers
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-04-17 13:33:42 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-04-17 13:33:42 +0000
commit315969d2e8cb38a2335a88cf02670336aecaaf61 (patch)
tree159e4e72c96b78f05013634b11d6a3cb4f342a5e /netsvcs/servers
parent74c41392deddd984d3d6e46db90341cbe7a44d80 (diff)
downloadATCD-315969d2e8cb38a2335a88cf02670336aecaaf61.tar.gz
updated for proper support of ACE subsets, with BIN2/LIB2/SHLIB2
Diffstat (limited to 'netsvcs/servers')
-rw-r--r--netsvcs/servers/Makefile19
1 files changed, 10 insertions, 9 deletions
diff --git a/netsvcs/servers/Makefile b/netsvcs/servers/Makefile
index ebe864d27b4..803ecd86d8e 100644
--- a/netsvcs/servers/Makefile
+++ b/netsvcs/servers/Makefile
@@ -10,23 +10,24 @@
LDLIBS = -lnetsvcs
VLDLIBS = $(LDLIBS:%=%$(VAR))
+LSRC = $(addsuffix .cpp,$(BIN))
-#----------------------------------------------------------------------------
-# Include macros and targets
-#----------------------------------------------------------------------------
-
-include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
+BIN2 = main
-#### If the ACE library wasn't built with Token and Other components, don't
-#### try to build the server.
+#### If the ACE library wasn't built with sufficient components, don't
+#### try to build here.
ACE_BUILD_COMPONENTS := $(shell $(ACE_ROOT)/bin/ace_components --ace)
ifeq (Other,$(findstring Other,$(ACE_BUILD_COMPONENTS)))
ifeq (Token,$(findstring Token,$(ACE_BUILD_COMPONENTS)))
- BIN = main
- LSRC = $(addsuffix .cpp,$(BIN))
+ BIN = $(BIN2)
endif # ! Token
endif # ! Other
+#----------------------------------------------------------------------------
+# 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.nonested.GNU