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) \ |
| 6 | -I$(top_srcdir)/include/$(VG_PLATFORM) |
nethercote | b35a8b9 | 2004-09-11 16:45:27 +0000 | [diff] [blame] | 7 | |
| 8 | AM_CPPFLAGS = $(add_includes) |
nethercote | cf4d997 | 2004-10-25 15:21:00 +0000 | [diff] [blame] | 9 | AM_CFLAGS = $(WERROR) -Winline -Wall -Wshadow -O -g @ARCH_TOOL_AM_CFLAGS@ |
nethercote | b35a8b9 | 2004-09-11 16:45:27 +0000 | [diff] [blame] | 10 | AM_CCASFLAGS = $(add_includes) |
| 11 | |