blob: bc7211ea7e3aab0c0069863eb08ea0af33b8389e [file] [log] [blame]
njn4de47b12005-05-16 03:25:12 +00001add_includes = -I$(top_srcdir)/coregrind \
sewardjb5f6f512005-03-10 23:59:00 +00002 -I$(top_srcdir) \
nethercotec06e2132004-09-03 13:45:29 +00003 -I$(top_srcdir)/coregrind/$(VG_ARCH) \
nethercote8ff888f2004-11-17 17:11:45 +00004 -I$(top_srcdir)/coregrind/$(VG_OS) \
nethercotef94fe2f2004-09-10 14:23:59 +00005 -I$(top_srcdir)/coregrind/$(VG_PLATFORM) \
njn4de47b12005-05-16 03:25:12 +00006 -I$(top_srcdir)/include \
sewardjbc7df202005-05-02 10:25:34 +00007 -I@VEX_DIR@/pub \
8 -DVGA_$(VG_ARCH)=1 \
9 -DVGO_$(VG_OS)=1 \
10 -DVGP_$(VG_ARCH)_$(VG_OS)=1
nethercote4388a402004-09-01 23:20:49 +000011
tom78604412005-05-17 16:11:40 +000012BASE_AM_CFLAGS = @ARCH_CORE_AM_CFLAGS@ -Wmissing-prototypes -Winline -Wall -Wshadow -O -g
13
14PIC_AM_CFLAGS = $(BASE_AM_CFLAGS) -fpic -fno-omit-frame-pointer
15
nethercote4388a402004-09-01 23:20:49 +000016AM_CPPFLAGS = $(add_includes)
tom78604412005-05-17 16:11:40 +000017AM_CFLAGS = $(WERROR) @PIE_AM_CFLAGS@ $(BASE_AM_CFLAGS)
sewardjb5f6f512005-03-10 23:59:00 +000018AM_CCASFLAGS = $(add_includes) @ARCH_CORE_AM_CCASFLAGS@ -Wa,-gstabs
nethercote4388a402004-09-01 23:20:49 +000019