aboutsummaryrefslogtreecommitdiff
path: root/Makefile.tool-tests.am
blob: aaed77bb1e578051ac3057268ef3cd6a443abd92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# This file is used for tool tests, and also in perf/Makefile.am.

include $(top_srcdir)/Makefile.flags.am     # For AM_FLAG_M3264_PRI

AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \
		-I$(top_srcdir)/coregrind -I$(top_builddir)/include \
		-I@VEX_DIR@/pub \
		-DVGA_$(VGCONF_ARCH_PRI)=1 \
		-DVGO_$(VGCONF_OS)=1 \
		-DVGP_$(VGCONF_ARCH_PRI)_$(VGCONF_OS)=1
# Nb: Tools need to augment these flags with an arch-selection option, such
# as $(AM_FLAG_M3264_PRI).
AM_CFLAGS   = -Winline -Wall -Wshadow -g
AM_CXXFLAGS = -Winline -Wall -Wshadow -g