blob: c9729fe75bc58546db2e7800ae1c286a465cdb5d [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
tomfb7bcde2005-11-07 15:24:38 +000037include $(top_srcdir)/Makefile.flags.am
nethercote4388a402004-09-01 23:20:49 +000038
dirk515ef3c2005-11-10 00:40:26 +000039PRELOAD_LDFLAGS_COMMON = -nostdlib -shared -Wl,-z,interpose,-z,initfirst
tomfb7bcde2005-11-07 15:24:38 +000040PRELOAD_LDFLAGS_X86_LINUX = $(PRELOAD_LDFLAGS_COMMON) @FLAG_M32@
41PRELOAD_LDFLAGS_AMD64_LINUX = $(PRELOAD_LDFLAGS_COMMON) -m64
42PRELOAD_LDFLAGS_PPC32_LINUX = $(PRELOAD_LDFLAGS_COMMON)