aboutsummaryrefslogtreecommitdiff
path: root/Makefile.tool-flags.am
blob: 6b47ff6f89baf268f10fa90f7541b3c0b09ed606 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
## Need $(top_builddir)/include because tool.h is built from tool.h.base;
## otherwise it will not work if builddir != srcdir.
add_includes = -I$(top_builddir)/include -I$(top_srcdir)/include \
		-I$(top_srcdir)/include/$(VG_ARCH) \
		-I$(top_srcdir)/include/$(VG_OS) \
		-I$(top_srcdir)/include/$(VG_PLATFORM) \
		-I@VEX_DIR@/pub

AM_CPPFLAGS = $(add_includes)
AM_CFLAGS = $(WERROR) -Winline -Wall -Wshadow -O -g @ARCH_TOOL_AM_CFLAGS@
AM_CCASFLAGS = $(add_includes)