aboutsummaryrefslogtreecommitdiff
path: root/cachegrind
diff options
context:
space:
mode:
authornjn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9>2009-02-19 09:52:05 +0000
committernjn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9>2009-02-19 09:52:05 +0000
commit53044577de81d6d2d76d51bc5952c7c8cfedd368 (patch)
treea6ec5847e0f9d4a643be9bfe14d1c3ee32d1e4d1 /cachegrind
parent466ed6e1efeab3b32a30a9002622fb03c0686688 (diff)
downloadvalgrind-53044577de81d6d2d76d51bc5952c7c8cfedd368.tar.gz
Various build system clean-ups and simplifications:
- Created Makefile.tool-tests.am, put standard AM_CFLAGS et al for tests in it. - A number of tests are shared between Helgrind and DRD. They used to be built in both directories. Now they are only built in helgrind/tests/, and the DRD .vgtest files just point to the executable in helgrind/tests/. Most of these (about 30) had the source files in helgrind/tests/; I moved the three that were in drd/tests/ into helgrind/tests/ for consistency. - Fixed rwlock_test, which was failing to run due to a wrong name in the .vgtest file. - Removed remnants of unused 'hello' test for Memcheck. - Avoided redundant flag specification in various places, esp. memcheck/tests/Makefile.am. - Removed unnecessary _AIX guards in some Linux-only tests. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9202 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'cachegrind')
-rw-r--r--cachegrind/tests/Makefile.am9
1 files changed, 2 insertions, 7 deletions
diff --git a/cachegrind/tests/Makefile.am b/cachegrind/tests/Makefile.am
index 8e568cc37..d7eee5a03 100644
--- a/cachegrind/tests/Makefile.am
+++ b/cachegrind/tests/Makefile.am
@@ -1,6 +1,5 @@
-# For AM_FLAG_M3264_PRI
-include $(top_srcdir)/Makefile.flags.am
+include $(top_srcdir)/Makefile.tool-tests.am
SUBDIRS = .
if VGCONF_ARCHS_INCLUDE_X86
@@ -21,11 +20,7 @@ EXTRA_DIST = $(noinst_SCRIPTS) \
check_PROGRAMS = \
chdir clreq dlclose myprint.so
-AM_CPPFLAGS = -I$(top_srcdir)/include
-AM_CFLAGS = $(WERROR) -Winline -Wall -Wshadow -g $(AM_FLAG_M3264_PRI)
-
# C ones
dlclose_LDADD = -ldl
-myprint_so_SOURCES = myprint.c
myprint_so_LDFLAGS = $(AM_FLAG_M3264_PRI) -shared -fPIC
-myprint_so_CFLAGS = $(AM_FLAG_M3264_PRI) -fPIC
+myprint_so_CFLAGS = $(AM_CFLAGS) -fPIC