blob: 6cf336c808199fe5e8c5bafc8a240b1759fa162d [file] [log] [blame]
tomfb7bcde2005-11-07 15:24:38 +00001add_includes_x86_linux = -I$(top_srcdir)/coregrind \
sewardjb5f6f512005-03-10 23:59:00 +00002 -I$(top_srcdir) \
tomfb7bcde2005-11-07 15:24:38 +00003 -I$(top_srcdir)/coregrind/x86 \
4 -I$(top_srcdir)/coregrind/linux \
5 -I$(top_srcdir)/coregrind/x86-linux \
njn4de47b12005-05-16 03:25:12 +00006 -I$(top_srcdir)/include \
sewardjbc7df202005-05-02 10:25:34 +00007 -I@VEX_DIR@/pub \
tomfb7bcde2005-11-07 15:24:38 +00008 -DVG_PLATFORM="\"x86-linux\"" \
9 -DVGA_x86=1 \
10 -DVGO_linux=1 \
11 -DVGP_x86_linux=1
nethercote4388a402004-09-01 23:20:49 +000012
tomfb7bcde2005-11-07 15:24:38 +000013add_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
tom78604412005-05-17 16:11:40 +000024
tomfb7bcde2005-11-07 15:24:38 +000025add_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
tom78604412005-05-17 16:11:40 +000036
sewardj2c48c7b2005-11-29 13:05:56 +000037add_includes_ppc64_linux = -I$(top_srcdir)/coregrind \
38 -I$(top_srcdir) \
39 -I$(top_srcdir)/coregrind/ppc64 \
40 -I$(top_srcdir)/coregrind/linux \
41 -I$(top_srcdir)/coregrind/ppc64-linux \
42 -I$(top_srcdir)/include \
43 -I@VEX_DIR@/pub \
44 -DVG_PLATFORM="\"ppc64-linux\"" \
45 -DVGA_ppc64=1 \
46 -DVGO_linux=1 \
47 -DVGP_ppc64_linux=1
48
tomfb7bcde2005-11-07 15:24:38 +000049include $(top_srcdir)/Makefile.flags.am
nethercote4388a402004-09-01 23:20:49 +000050
dirk515ef3c2005-11-10 00:40:26 +000051PRELOAD_LDFLAGS_COMMON = -nostdlib -shared -Wl,-z,interpose,-z,initfirst
tomfb7bcde2005-11-07 15:24:38 +000052PRELOAD_LDFLAGS_X86_LINUX = $(PRELOAD_LDFLAGS_COMMON) @FLAG_M32@
53PRELOAD_LDFLAGS_AMD64_LINUX = $(PRELOAD_LDFLAGS_COMMON) -m64
sewardj2c48c7b2005-11-29 13:05:56 +000054PRELOAD_LDFLAGS_PPC32_LINUX = $(PRELOAD_LDFLAGS_COMMON) @FLAG_M32@
55PRELOAD_LDFLAGS_PPC64_LINUX = $(PRELOAD_LDFLAGS_COMMON) -m64