mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 10:21:20 +00:00
ifdeffery in a sane way where it's absolutely unavoidable. When building the core, eg on amd64-linux, the following preprocessor symbols are defined: VGA_amd64 VGO_linux VGP_amd64_linux etc on other platforms. Also, include/basic_types.h now defines VG_WORDSIZE and this is what should be used for ifdefs that need to know the host word size. ifdefs based on the C compilers built-ins such as __amd64__ etc are deprecated and will be done away with. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3590
19 lines
626 B
Makefile
19 lines
626 B
Makefile
add_includes = -I$(top_builddir)/coregrind -I$(top_srcdir)/coregrind \
|
|
-I$(top_srcdir) \
|
|
-I$(top_srcdir)/coregrind/$(VG_ARCH) \
|
|
-I$(top_builddir)/coregrind/$(VG_ARCH) \
|
|
-I$(top_srcdir)/coregrind/$(VG_OS) \
|
|
-I$(top_srcdir)/coregrind/$(VG_PLATFORM) \
|
|
-I$(top_builddir)/include -I$(top_srcdir)/include \
|
|
-I$(top_srcdir)/include/$(VG_ARCH) \
|
|
-I$(top_srcdir)/include/$(VG_OS) \
|
|
-I$(top_srcdir)/include/$(VG_PLATFORM) \
|
|
-I@VEX_DIR@/pub \
|
|
-DVGA_$(VG_ARCH)=1 \
|
|
-DVGO_$(VG_OS)=1 \
|
|
-DVGP_$(VG_ARCH)_$(VG_OS)=1
|
|
|
|
AM_CPPFLAGS = $(add_includes)
|
|
AM_CCASFLAGS = $(add_includes) @ARCH_CORE_AM_CCASFLAGS@ -Wa,-gstabs
|
|
|