summaryrefslogtreecommitdiff
path: root/perf
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2008-09-11 15:49:09 -0400
committerBehdad Esfahbod <behdad@behdad.org>2008-09-11 15:49:09 -0400
commitde5b8bce37f2ddb87fca7ae6b844eec7fbbbc7e9 (patch)
tree9d1d49b0b786518457a8cb6b226463955b9110fc /perf
parent66f0d56a8a2c8dd3b4678d495d5652bfdfd690ea (diff)
Makefile.am cleanup
Use a common build/Makefile.am.common file.
Diffstat (limited to 'perf')
-rw-r--r--perf/Makefile.am10
1 files changed, 6 insertions, 4 deletions
diff --git a/perf/Makefile.am b/perf/Makefile.am
index 0de7b11ab..ebe39c961 100644
--- a/perf/Makefile.am
+++ b/perf/Makefile.am
@@ -1,3 +1,5 @@
+include $(top_srcdir)/build/Makefile.am.common
+
AM_CPPFLAGS = \
-I$(srcdir) \
-I$(top_srcdir)/boilerplate \
@@ -5,8 +7,8 @@ AM_CPPFLAGS = \
-I$(top_builddir)/src \
$(CAIRO_CFLAGS)
-EXTRA_PROGRAMS = cairo-perf cairo-perf-diff-files
-EXTRA_DIST = cairo-perf-diff
+EXTRA_PROGRAMS += cairo-perf cairo-perf-diff-files
+EXTRA_DIST += cairo-perf-diff
cairo_perf_SOURCES = \
cairo-perf.c \
@@ -72,7 +74,7 @@ CAIRO_PERF_ENVIRONMENT = CAIRO_PERF_ITERATIONS="$(ITERS)" CAIRO_TEST_TARGET="$(T
# Cap the maximum number of iterations during 'make check'
TESTS_ENVIRONMENT = CAIRO_TEST_TARGET="$(TARGETS)" CAIRO_PERF_ITERATIONS="10"
-TESTS = cairo-perf$(EXEEXT)
+TESTS += cairo-perf$(EXEEXT)
perf: cairo-perf$(EXEEXT)
$(CAIRO_PERF_ENVIRONMENT) ./cairo-perf$(EXEEXT)
@@ -90,7 +92,7 @@ VALGRIND_MEMCHECK_FLAGS = \
--leak-check=yes --show-reachable=yes
VALGRIND_CALLGRIND_FLAGS = \
--tool=callgrind
-CLEANFILES = \
+CLEANFILES += \
$(EXTRA_PROGRAMS) \
valgrind-log \
callgrind.out.* \