diff options
Diffstat (limited to 'examples/Naming/Makefile')
-rw-r--r-- | examples/Naming/Makefile | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/examples/Naming/Makefile b/examples/Naming/Makefile index e6cbd82be6b..5a3391db4b4 100644 --- a/examples/Naming/Makefile +++ b/examples/Naming/Makefile @@ -8,26 +8,27 @@ # Local macros #---------------------------------------------------------------------------- +BIN = test_non_existent \ + test_writers \ + test_multiple_contexts + VLDLIBS = $(LDLIBS:%=%$(VAR)) PSRC = $(addsuffix .cpp,$(BIN)) -BIN2 = test_non_existent \ - test_writers \ - test_multiple_contexts - -#### 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))) - BIN = $(BIN2) -endif # ! Other - #---------------------------------------------------------------------------- # Include macros and targets #---------------------------------------------------------------------------- include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU + +#### 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 (,$(findstring Other,$(ACE_BUILD_COMPONENTS))) + BIN = +endif # ! Other + include $(ACE_ROOT)/include/makeinclude/macros.GNU include $(ACE_ROOT)/include/makeinclude/rules.common.GNU include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU |