• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# This file is used for tool tests, and also in perf/Makefile.am.
2
3include $(top_srcdir)/Makefile.all.am
4
5AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \
6		-I$(top_srcdir)/coregrind -I$(top_builddir)/include \
7		-I$(top_srcdir)/VEX/pub \
8		-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
12# Nb: Tools need to augment these flags with an arch-selection option, such
13# as $(AM_FLAG_M3264_PRI).
14AM_CFLAGS   = -Winline -Wall -Wshadow -g
15AM_CXXFLAGS = -Winline -Wall -Wshadow -g
16# Include AM_CPPFLAGS in AM_CCASFLAGS to allow for older versions of
17# automake;  see comments in Makefile.all.am for more detail.
18AM_CCASFLAGS = $(AM_CPPFLAGS)
19
20if VGCONF_OS_IS_DARWIN
21noinst_DSYMS = $(check_PROGRAMS)
22endif
23
24check-local: build-noinst_DSYMS
25
26clean-local: clean-noinst_DSYMS
27