blob: a9d3b91001f91f9c4de40ee2d1a72a8ae3851486 [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 \
njn53044572009-02-19 09:52:05 +00008 -DVGA_$(VGCONF_ARCH_PRI)=1 \
9 -DVGO_$(VGCONF_OS)=1 \
10 -DVGP_$(VGCONF_ARCH_PRI)_$(VGCONF_OS)=1
njn07891f92009-02-22 23:38:10 +000011# Nb: Tools need to augment these flags with an arch-selection option, such
12# as $(AM_FLAG_M3264_PRI).
njn8d1181d2009-02-25 23:19:46 +000013AM_CFLAGS = -Winline -Wall -Wshadow -g
14AM_CXXFLAGS = -Winline -Wall -Wshadow -g
njnc9a6f4b2009-04-24 20:17:07 +000015# Include AM_CPPFLAGS in AM_CCASFLAGS to allow for older versions of
njn8b68b642009-06-24 00:37:09 +000016# automake; see comments in Makefile.all.am for more detail.
njnc9a6f4b2009-04-24 20:17:07 +000017AM_CCASFLAGS = $(AM_CPPFLAGS)
njn53044572009-02-19 09:52:05 +000018
njnf76d27a2009-05-28 01:53:07 +000019if VGCONF_OS_IS_DARWIN
njn8b68b642009-06-24 00:37:09 +000020noinst_DSYMS = $(check_PROGRAMS)
21endif
njnf76d27a2009-05-28 01:53:07 +000022
njn8b68b642009-06-24 00:37:09 +000023check-local: build-noinst_DSYMS
24
25clean-local: clean-noinst_DSYMS