summaryrefslogtreecommitdiff
path: root/performance-tests
diff options
context:
space:
mode:
Diffstat (limited to 'performance-tests')
-rw-r--r--performance-tests/Misc/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/performance-tests/Misc/Makefile b/performance-tests/Misc/Makefile
index d1503161a8f..a0a4b4c44c5 100644
--- a/performance-tests/Misc/Makefile
+++ b/performance-tests/Misc/Makefile
@@ -22,7 +22,7 @@ LIB = libPerf.a
FILES = basic_func
LSRC = $(addsuffix .cpp,$(FILES))
LOBJ = $(addsuffix .o,$(FILES))
-LDLIBS = -lPerf
+LDLIBS = #-lPerf
VLDLIBS = $(LDLIBS:%=%$(VAR))
# See comment above about only building libPerf.a for max performance.
@@ -63,6 +63,14 @@ endif
# For make depend.
PSRC = $(addsuffix .cpp, $(BIN))
+ifeq (Other,$(findstring Other,$(ACE_BUILD_COMPONENTS)))
+ ifeq ($(static_libs_only),1)
+$(VBIN): $(VLIB)
+ else
+$(VBIN): $(VSHLIB)
+ endif
+endif # ! Other
+
#----------------------------------------------------------------------------
# Dependencies
#----------------------------------------------------------------------------