diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-03-10 05:00:49 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-03-10 05:00:49 +0000 |
commit | 6b6120bd9a517a327037453cfb03c66c059ffa2e (patch) | |
tree | 5a617fc5b97cf4f709b7fea0fe685ad0aaa5a5f9 /examples | |
parent | 5d73204c8424b0e8a772299ab32b5c7424ccd0ca (diff) | |
download | ATCD-6b6120bd9a517a327037453cfb03c66c059ffa2e.tar.gz |
suppress build if ACE_COMPONENTS is defined and doesn't contain Other
Diffstat (limited to 'examples')
-rw-r--r-- | examples/Naming/Makefile | 46 |
1 files changed, 24 insertions, 22 deletions
diff --git a/examples/Naming/Makefile b/examples/Naming/Makefile index c9b9a017905..9d6be8b5f18 100644 --- a/examples/Naming/Makefile +++ b/examples/Naming/Makefile @@ -1,43 +1,45 @@ #---------------------------------------------------------------------------- -# $Id: Makefile 1.1 10/18/96 +# $Id$ # -# Makefile for tests of the Shared_Malloc wrappers +# Makefile for Naming examples. #---------------------------------------------------------------------------- #---------------------------------------------------------------------------- -# Local macros +# Local macros #---------------------------------------------------------------------------- -BIN = test_non_existent \ - test_writers \ - test_multiple_contexts - -LSRC = $(addsuffix .cpp,$(FILES)) -LOBJ = $(addsuffix .o,$(FILES)) -SHOBJ = $(addsuffix .so,$(FILES)) +BIN = test_non_existent \ + test_writers \ + test_multiple_contexts VLDLIBS = $(LDLIBS:%=%$(VAR)) -BUILD = $(VBIN) - #---------------------------------------------------------------------------- -# 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 + +#### If ACE_COMPONENTS is set and doesn't contain Other, don't +#### try to build any of the clients. +ifdef ACE_COMPONENTS + ifeq (,$(findstring Other,$(ACE_COMPONENTS))) + BIN = + endif # ! Other +endif # ACE_COMPONENTS + +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.bin.GNU +include $(ACE_ROOT)/include/makeinclude/rules.local.GNU #---------------------------------------------------------------------------- -# Local targets +# Local targets #---------------------------------------------------------------------------- #---------------------------------------------------------------------------- -# Dependencies +# Dependencies #---------------------------------------------------------------------------- # DO NOT DELETE THIS LINE -- g++dep uses it. |