diff options
Diffstat (limited to 'netsvcs/clients/Tokens/rw_lock/Makefile')
-rw-r--r-- | netsvcs/clients/Tokens/rw_lock/Makefile | 43 |
1 files changed, 24 insertions, 19 deletions
diff --git a/netsvcs/clients/Tokens/rw_lock/Makefile b/netsvcs/clients/Tokens/rw_lock/Makefile index 50b8b740dd9..3859d16f9ed 100644 --- a/netsvcs/clients/Tokens/rw_lock/Makefile +++ b/netsvcs/clients/Tokens/rw_lock/Makefile @@ -1,41 +1,46 @@ #---------------------------------------------------------------------------- -# $Id$ +# $Id$ # -# Makefile for repeating token client application +# Makefile for repeating token client application #---------------------------------------------------------------------------- #---------------------------------------------------------------------------- -# Local macros +# Local macros #---------------------------------------------------------------------------- -BIN = rw_locks +FILES = rw_locks -FILES = rw_locks +LSRC = $(addsuffix .cpp,$(FILES)) +LOBJ = $(LSRC:%.cpp=$(VDIR)%.o) +SHOBJ = $(addsuffix .so,$(FILES)) -LSRC = $(addsuffix .cpp,$(FILES)) -LOBJ = $(LSRC:%.cpp=$(VDIR)%.o) -SHOBJ = $(addsuffix .so,$(FILES)) +BIN2 = rw_locks -BUILD = $(VBIN) +#### 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 (Token,$(findstring Token,$(ACE_BUILD_COMPONENTS))) + BIN = $(BIN2) +endif # Token #---------------------------------------------------------------------------- -# 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.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU -include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.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.nonested.GNU +include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU +include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU +include $(ACE_ROOT)/include/makeinclude/rules.local.GNU #---------------------------------------------------------------------------- -# Local targets +# Local targets #---------------------------------------------------------------------------- #---------------------------------------------------------------------------- -# Dependencies +# Dependencies #---------------------------------------------------------------------------- # IF YOU PUT ANYTHING HERE IT WILL GO AWAY |