njn | 4de47b1 | 2005-05-16 03:25:12 +0000 | [diff] [blame] | 1 | add_includes = -I$(top_srcdir)/coregrind \ |
sewardj | b5f6f51 | 2005-03-10 23:59:00 +0000 | [diff] [blame] | 2 | -I$(top_srcdir) \ |
nethercote | c06e213 | 2004-09-03 13:45:29 +0000 | [diff] [blame] | 3 | -I$(top_srcdir)/coregrind/$(VG_ARCH) \ |
nethercote | 8ff888f | 2004-11-17 17:11:45 +0000 | [diff] [blame] | 4 | -I$(top_srcdir)/coregrind/$(VG_OS) \ |
nethercote | f94fe2f | 2004-09-10 14:23:59 +0000 | [diff] [blame] | 5 | -I$(top_srcdir)/coregrind/$(VG_PLATFORM) \ |
njn | 4de47b1 | 2005-05-16 03:25:12 +0000 | [diff] [blame] | 6 | -I$(top_srcdir)/include \ |
sewardj | bc7df20 | 2005-05-02 10:25:34 +0000 | [diff] [blame] | 7 | -I@VEX_DIR@/pub \ |
| 8 | -DVGA_$(VG_ARCH)=1 \ |
| 9 | -DVGO_$(VG_OS)=1 \ |
| 10 | -DVGP_$(VG_ARCH)_$(VG_OS)=1 |
nethercote | 4388a40 | 2004-09-01 23:20:49 +0000 | [diff] [blame] | 11 | |
tom | 7860441 | 2005-05-17 16:11:40 +0000 | [diff] [blame] | 12 | BASE_AM_CFLAGS = @ARCH_CORE_AM_CFLAGS@ -Wmissing-prototypes -Winline -Wall -Wshadow -O -g |
| 13 | |
| 14 | PIC_AM_CFLAGS = $(BASE_AM_CFLAGS) -fpic -fno-omit-frame-pointer |
| 15 | |
nethercote | 4388a40 | 2004-09-01 23:20:49 +0000 | [diff] [blame] | 16 | AM_CPPFLAGS = $(add_includes) |
tom | 7860441 | 2005-05-17 16:11:40 +0000 | [diff] [blame] | 17 | AM_CFLAGS = $(WERROR) @PIE_AM_CFLAGS@ $(BASE_AM_CFLAGS) |
sewardj | b5f6f51 | 2005-03-10 23:59:00 +0000 | [diff] [blame] | 18 | AM_CCASFLAGS = $(add_includes) @ARCH_CORE_AM_CCASFLAGS@ -Wa,-gstabs |
nethercote | 4388a40 | 2004-09-01 23:20:49 +0000 | [diff] [blame] | 19 | |