]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Cleanup this Makefile.am like other recent test Makefile.am files.
authorNicholas Nethercote <njn@valgrind.org>
Mon, 23 Feb 2009 01:03:06 +0000 (01:03 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Mon, 23 Feb 2009 01:03:06 +0000 (01:03 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9226

tests/Makefile.am

index be722045ab3232f91c5939afa8f3683f911b6d06..43d7d88a8a985892b38a1007ffe442b75f91692a 100644 (file)
@@ -1,6 +1,5 @@
 
-# For AM_FLAG_M3264_PRI
-include $(top_srcdir)/Makefile.flags.am
+include $(top_srcdir)/Makefile.tool-tests.am
 
 noinst_SCRIPTS = \
        filter_addresses \
@@ -20,11 +19,6 @@ check_PROGRAMS = \
        toobig-allocs \
        true
 
-AM_CFLAGS   = $(WERROR) -Winline -Wall -Wshadow -g $(AM_FLAG_M3264_PRI)
-AM_CXXFLAGS = $(AM_CFLAGS)
+AM_CFLAGS   += $(AM_FLAG_M3264_PRI)
+AM_CXXFLAGS += $(AM_FLAG_M3264_PRI)
 
-# generic C ones
-arch_test_CFLAGS       = $(AM_CFLAGS) \
-                               -DVGA_$(VGCONF_ARCH_PRI)=1 \
-                               -DVGO_$(VGCONF_OS)=1 \
-                               -DVGP_$(VGCONF_ARCH_PRI)_$(VGCONF_OS)=1