tom | fb7bcde | 2005-11-07 15:24:38 +0000 | [diff] [blame^] | 1 | add_includes_x86_linux = -I$(top_srcdir)/coregrind \ |
sewardj | b5f6f51 | 2005-03-10 23:59:00 +0000 | [diff] [blame] | 2 | -I$(top_srcdir) \ |
tom | fb7bcde | 2005-11-07 15:24:38 +0000 | [diff] [blame^] | 3 | -I$(top_srcdir)/coregrind/x86 \ |
| 4 | -I$(top_srcdir)/coregrind/linux \ |
| 5 | -I$(top_srcdir)/coregrind/x86-linux \ |
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 \ |
tom | fb7bcde | 2005-11-07 15:24:38 +0000 | [diff] [blame^] | 8 | -DVG_PLATFORM="\"x86-linux\"" \ |
| 9 | -DVGA_x86=1 \ |
| 10 | -DVGO_linux=1 \ |
| 11 | -DVGP_x86_linux=1 |
nethercote | 4388a40 | 2004-09-01 23:20:49 +0000 | [diff] [blame] | 12 | |
tom | fb7bcde | 2005-11-07 15:24:38 +0000 | [diff] [blame^] | 13 | add_includes_amd64_linux = -I$(top_srcdir)/coregrind \ |
| 14 | -I$(top_srcdir) \ |
| 15 | -I$(top_srcdir)/coregrind/amd64 \ |
| 16 | -I$(top_srcdir)/coregrind/linux \ |
| 17 | -I$(top_srcdir)/coregrind/amd64-linux \ |
| 18 | -I$(top_srcdir)/include \ |
| 19 | -I@VEX_DIR@/pub \ |
| 20 | -DVG_PLATFORM="\"amd64-linux\"" \ |
| 21 | -DVGA_amd64=1 \ |
| 22 | -DVGO_linux=1 \ |
| 23 | -DVGP_amd64_linux=1 |
tom | 7860441 | 2005-05-17 16:11:40 +0000 | [diff] [blame] | 24 | |
tom | fb7bcde | 2005-11-07 15:24:38 +0000 | [diff] [blame^] | 25 | add_includes_ppc32_linux = -I$(top_srcdir)/coregrind \ |
| 26 | -I$(top_srcdir) \ |
| 27 | -I$(top_srcdir)/coregrind/ppc32 \ |
| 28 | -I$(top_srcdir)/coregrind/linux \ |
| 29 | -I$(top_srcdir)/coregrind/ppc32-linux \ |
| 30 | -I$(top_srcdir)/include \ |
| 31 | -I@VEX_DIR@/pub \ |
| 32 | -DVG_PLATFORM="\"ppc32-linux\"" \ |
| 33 | -DVGA_ppc32=1 \ |
| 34 | -DVGO_linux=1 \ |
| 35 | -DVGP_ppc32_linux=1 |
tom | 7860441 | 2005-05-17 16:11:40 +0000 | [diff] [blame] | 36 | |
tom | fb7bcde | 2005-11-07 15:24:38 +0000 | [diff] [blame^] | 37 | include $(top_srcdir)/Makefile.flags.am |
nethercote | 4388a40 | 2004-09-01 23:20:49 +0000 | [diff] [blame] | 38 | |
tom | fb7bcde | 2005-11-07 15:24:38 +0000 | [diff] [blame^] | 39 | PRELOAD_LDFLAGS_COMMON = -shared -Wl,-z,interpose,-z,initfirst |
| 40 | PRELOAD_LDFLAGS_X86_LINUX = $(PRELOAD_LDFLAGS_COMMON) @FLAG_M32@ |
| 41 | PRELOAD_LDFLAGS_AMD64_LINUX = $(PRELOAD_LDFLAGS_COMMON) -m64 |
| 42 | PRELOAD_LDFLAGS_PPC32_LINUX = $(PRELOAD_LDFLAGS_COMMON) |