summaryrefslogtreecommitdiff
path: root/performance-tests/Misc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'performance-tests/Misc/Makefile')
-rw-r--r--performance-tests/Misc/Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/performance-tests/Misc/Makefile b/performance-tests/Misc/Makefile
index 86589a4c4b2..b912d3226f7 100644
--- a/performance-tests/Misc/Makefile
+++ b/performance-tests/Misc/Makefile
@@ -27,19 +27,20 @@ VLDLIBS = $(LDLIBS:%=%$(VAR))
# See comment above about only building libPerf.a for max performance.
BUILD = $(VLIB) $(VBIN)
-#----------------------------------------------------------------------------
-# Include macros and targets
-#----------------------------------------------------------------------------
-
-include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
+BIN2 = test_naming
-#### If the ACE library wasn't built with the Other component, don't
-#### try to build test_naming.
+#### 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 += test_naming
+ BIN += $(BIN2)
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