nethercote | b35a8b9 | 2004-09-11 16:45:27 +0000 | [diff] [blame] | 1 | ## Need $(top_builddir)/include because tool.h is built from tool.h.base; |
| 2 | ## otherwise it will not work if builddir != srcdir. |
| 3 | add_includes = -I$(top_builddir)/include -I$(top_srcdir)/include \ |
nethercote | 73b526f | 2004-10-31 18:48:21 +0000 | [diff] [blame] | 4 | -I$(top_srcdir)/include/$(VG_ARCH) \ |
| 5 | -I$(top_srcdir)/include/$(VG_OS) \ |
sewardj | 50629ec | 2004-11-22 13:44:11 +0000 | [diff] [blame] | 6 | -I$(top_srcdir)/include/$(VG_PLATFORM) \ |
| 7 | -I@VEX_DIR@/pub |
nethercote | b35a8b9 | 2004-09-11 16:45:27 +0000 | [diff] [blame] | 8 | |
| 9 | AM_CPPFLAGS = $(add_includes) |
sewardj | b5f6f51 | 2005-03-10 23:59:00 +0000 | [diff] [blame] | 10 | AM_CFLAGS = $(WERROR) -Wmissing-prototypes -Winline -Wall -Wshadow -O -g @ARCH_TOOL_AM_CFLAGS@ |
nethercote | b35a8b9 | 2004-09-11 16:45:27 +0000 | [diff] [blame] | 11 | AM_CCASFLAGS = $(add_includes) |
| 12 | |