summaryrefslogtreecommitdiff
path: root/Makefile.core.am
blob: bc7211ea7e3aab0c0069863eb08ea0af33b8389e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
add_includes = -I$(top_srcdir)/coregrind \
		-I$(top_srcdir) \
		-I$(top_srcdir)/coregrind/$(VG_ARCH) \
		-I$(top_srcdir)/coregrind/$(VG_OS) \
		-I$(top_srcdir)/coregrind/$(VG_PLATFORM) \
		-I$(top_srcdir)/include \
		-I@VEX_DIR@/pub \
		-DVGA_$(VG_ARCH)=1 \
		-DVGO_$(VG_OS)=1 \
		-DVGP_$(VG_ARCH)_$(VG_OS)=1

BASE_AM_CFLAGS = @ARCH_CORE_AM_CFLAGS@ -Wmissing-prototypes -Winline -Wall -Wshadow -O -g

PIC_AM_CFLAGS = $(BASE_AM_CFLAGS) -fpic -fno-omit-frame-pointer

AM_CPPFLAGS = $(add_includes)
AM_CFLAGS = $(WERROR) @PIE_AM_CFLAGS@ $(BASE_AM_CFLAGS)
AM_CCASFLAGS = $(add_includes) @ARCH_CORE_AM_CCASFLAGS@ -Wa,-gstabs