blob: 79110dfd3e1c0c72fc8e7aa59d026a79311b2e55 [file] [log] [blame]
njn83b62cb2009-04-15 03:12:43 +00001# This file is used for tool tests, and also in perf/Makefile.am.
2
njn8b68b642009-06-24 00:37:09 +00003include $(top_srcdir)/Makefile.all.am
njn53044572009-02-19 09:52:05 +00004
5AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \
6 -I$(top_srcdir)/coregrind -I$(top_builddir)/include \
njn8b68b642009-06-24 00:37:09 +00007 -I$(top_srcdir)/VEX/pub \
sewardjc6444592011-07-11 22:10:14 +00008 -DVGA_@VGCONF_ARCH_PRI@=1 \
9 -DVGO_@VGCONF_OS@=1 \
10 -DVGP_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1 \
11 -DVGPV_@VGCONF_ARCH_PRI@_@VGCONF_OS@_@VGCONF_PLATVARIANT@=1
njn07891f92009-02-22 23:38:10 +000012# Nb: Tools need to augment these flags with an arch-selection option, such
13# as $(AM_FLAG_M3264_PRI).
njn8d1181d2009-02-25 23:19:46 +000014AM_CFLAGS = -Winline -Wall -Wshadow -g
15AM_CXXFLAGS = -Winline -Wall -Wshadow -g
njnc9a6f4b2009-04-24 20:17:07 +000016# Include AM_CPPFLAGS in AM_CCASFLAGS to allow for older versions of
njn8b68b642009-06-24 00:37:09 +000017# automake; see comments in Makefile.all.am for more detail.
njnc9a6f4b2009-04-24 20:17:07 +000018AM_CCASFLAGS = $(AM_CPPFLAGS)
njn53044572009-02-19 09:52:05 +000019
njnf76d27a2009-05-28 01:53:07 +000020if VGCONF_OS_IS_DARWIN
njn8b68b642009-06-24 00:37:09 +000021noinst_DSYMS = $(check_PROGRAMS)
22endif
njnf76d27a2009-05-28 01:53:07 +000023
njn8b68b642009-06-24 00:37:09 +000024check-local: build-noinst_DSYMS
25
26clean-local: clean-noinst_DSYMS