Home | History | Annotate | Download | only in tests
      1 # Makefile.in generated by automake 1.11.3 from Makefile.am.
      2 # @configure_input@
      3 
      4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
      5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
      6 # Foundation, Inc.
      7 # This Makefile.in is free software; the Free Software Foundation
      8 # gives unlimited permission to copy and/or distribute it,
      9 # with or without modifications, as long as this notice is preserved.
     10 
     11 # This program is distributed in the hope that it will be useful,
     12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
     13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
     14 # PARTICULAR PURPOSE.
     15 
     16 @SET_MAKE@
     17 
     18 # This file is used for tool tests, and also in perf/Makefile.am.
     19 
     20 # This file should be included (directly or indirectly) by every
     21 # Makefile.am that builds programs.  And also the top-level Makefile.am.
     22 
     23 #----------------------------------------------------------------------------
     24 # Global stuff
     25 #----------------------------------------------------------------------------
     26 
     27 
     28 VPATH = @srcdir@
     29 pkgdatadir = $(datadir)/@PACKAGE@
     30 pkgincludedir = $(includedir)/@PACKAGE@
     31 pkglibdir = $(libdir)/@PACKAGE@
     32 pkglibexecdir = $(libexecdir)/@PACKAGE@
     33 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
     34 install_sh_DATA = $(install_sh) -c -m 644
     35 install_sh_PROGRAM = $(install_sh) -c
     36 install_sh_SCRIPT = $(install_sh) -c
     37 INSTALL_HEADER = $(INSTALL_DATA)
     38 transform = $(program_transform_name)
     39 NORMAL_INSTALL = :
     40 PRE_INSTALL = :
     41 POST_INSTALL = :
     42 NORMAL_UNINSTALL = :
     43 PRE_UNINSTALL = :
     44 POST_UNINSTALL = :
     45 build_triplet = @build@
     46 host_triplet = @host@
     47 DIST_COMMON = $(dist_noinst_SCRIPTS) $(noinst_HEADERS) \
     48 	$(srcdir)/Makefile.am $(srcdir)/Makefile.in \
     49 	$(srcdir)/vg_regtest.in $(top_srcdir)/Makefile.all.am \
     50 	$(top_srcdir)/Makefile.tool-tests.am
     51 
     52 # The Android toolchain includes all kinds of stdlib helpers present in
     53 # bionic which is bad because we are not linking with it and the Android
     54 # linker will panic.
     55 @VGCONF_PLATVARIANT_IS_ANDROID_TRUE@am__append_1 = -nostdlib
     56 @VGCONF_HAVE_PLATFORM_SEC_TRUE@am__append_2 = -DVGA_SEC_@VGCONF_ARCH_SEC@=1  \
     57 @VGCONF_HAVE_PLATFORM_SEC_TRUE@		-DVGP_SEC_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1
     58 
     59 @HAS_WRITE_STRINGS_WARNING_TRUE@am__append_3 = -Wno-write-strings
     60 @COMPILER_IS_CLANG_TRUE@am__append_4 = -Wno-format-extra-args \
     61 @COMPILER_IS_CLANG_TRUE@	-Wno-literal-range \
     62 @COMPILER_IS_CLANG_TRUE@	-Wno-string-plus-int # \
     63 @COMPILER_IS_CLANG_TRUE@	drd/tests/annotate_ignore_rw.c
     64 @COMPILER_IS_CLANG_TRUE@am__append_5 = -Wno-unused-private-field    # drd/tests/tsan_unittest.cpp
     65 check_PROGRAMS = arch_test$(EXEEXT) os_test$(EXEEXT) true$(EXEEXT) \
     66 	x86_amd64_features$(EXEEXT) s390x_features$(EXEEXT) \
     67 	mips_features$(EXEEXT) power_insn_available$(EXEEXT)
     68 subdir = tests
     69 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     70 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
     71 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
     72 	$(ACLOCAL_M4)
     73 mkinstalldirs = $(install_sh) -d
     74 CONFIG_HEADER = $(top_builddir)/config.h
     75 CONFIG_CLEAN_FILES = vg_regtest
     76 CONFIG_CLEAN_VPATH_FILES =
     77 arch_test_SOURCES = arch_test.c
     78 arch_test_OBJECTS = arch_test.$(OBJEXT)
     79 arch_test_LDADD = $(LDADD)
     80 mips_features_SOURCES = mips_features.c
     81 mips_features_OBJECTS = mips_features.$(OBJEXT)
     82 mips_features_LDADD = $(LDADD)
     83 os_test_SOURCES = os_test.c
     84 os_test_OBJECTS = os_test.$(OBJEXT)
     85 os_test_LDADD = $(LDADD)
     86 power_insn_available_SOURCES = power_insn_available.c
     87 power_insn_available_OBJECTS = power_insn_available.$(OBJEXT)
     88 power_insn_available_LDADD = $(LDADD)
     89 s390x_features_SOURCES = s390x_features.c
     90 s390x_features_OBJECTS = s390x_features.$(OBJEXT)
     91 s390x_features_LDADD = $(LDADD)
     92 true_SOURCES = true.c
     93 true_OBJECTS = true.$(OBJEXT)
     94 true_LDADD = $(LDADD)
     95 x86_amd64_features_SOURCES = x86_amd64_features.c
     96 x86_amd64_features_OBJECTS =  \
     97 	x86_amd64_features-x86_amd64_features.$(OBJEXT)
     98 x86_amd64_features_LDADD = $(LDADD)
     99 x86_amd64_features_LINK = $(CCLD) $(x86_amd64_features_CFLAGS) \
    100 	$(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
    101 SCRIPTS = $(dist_noinst_SCRIPTS)
    102 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
    103 depcomp = $(SHELL) $(top_srcdir)/depcomp
    104 am__depfiles_maybe = depfiles
    105 am__mv = mv -f
    106 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
    107 	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
    108 CCLD = $(CC)
    109 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
    110 SOURCES = arch_test.c mips_features.c os_test.c power_insn_available.c \
    111 	s390x_features.c true.c x86_amd64_features.c
    112 DIST_SOURCES = arch_test.c mips_features.c os_test.c \
    113 	power_insn_available.c s390x_features.c true.c \
    114 	x86_amd64_features.c
    115 HEADERS = $(noinst_HEADERS)
    116 ETAGS = etags
    117 CTAGS = ctags
    118 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    119 ACLOCAL = @ACLOCAL@
    120 AMTAR = @AMTAR@
    121 AR = @AR@
    122 AUTOCONF = @AUTOCONF@
    123 AUTOHEADER = @AUTOHEADER@
    124 AUTOMAKE = @AUTOMAKE@
    125 AWK = @AWK@
    126 BOOST_CFLAGS = @BOOST_CFLAGS@
    127 BOOST_LIBS = @BOOST_LIBS@
    128 CC = @CC@
    129 CCAS = @CCAS@
    130 CCASDEPMODE = @CCASDEPMODE@
    131 CCASFLAGS = @CCASFLAGS@
    132 CCDEPMODE = @CCDEPMODE@
    133 CFLAGS = @CFLAGS@ $(am__append_3) $(am__append_4)
    134 CFLAGS_MPI = @CFLAGS_MPI@
    135 CPP = @CPP@
    136 CPPFLAGS = @CPPFLAGS@
    137 CXX = @CXX@
    138 CXXDEPMODE = @CXXDEPMODE@
    139 CXXFLAGS = @CXXFLAGS@ $(am__append_5)
    140 CYGPATH_W = @CYGPATH_W@
    141 DEFAULT_SUPP = @DEFAULT_SUPP@
    142 DEFS = @DEFS@
    143 DEPDIR = @DEPDIR@
    144 DIFF = @DIFF@
    145 ECHO_C = @ECHO_C@
    146 ECHO_N = @ECHO_N@
    147 ECHO_T = @ECHO_T@
    148 EGREP = @EGREP@
    149 EXEEXT = @EXEEXT@
    150 FLAG_FNO_STACK_PROTECTOR = @FLAG_FNO_STACK_PROTECTOR@
    151 FLAG_M32 = @FLAG_M32@
    152 FLAG_M64 = @FLAG_M64@
    153 FLAG_MIPS32 = @FLAG_MIPS32@
    154 FLAG_MIPS64 = @FLAG_MIPS64@
    155 FLAG_MMMX = @FLAG_MMMX@
    156 FLAG_MSSE = @FLAG_MSSE@
    157 FLAG_NO_BUILD_ID = @FLAG_NO_BUILD_ID@
    158 FLAG_OCTEON = @FLAG_OCTEON@
    159 FLAG_OCTEON2 = @FLAG_OCTEON2@
    160 FLAG_T_TEXT = @FLAG_T_TEXT@
    161 FLAG_UNLIMITED_INLINE_UNIT_GROWTH = @FLAG_UNLIMITED_INLINE_UNIT_GROWTH@
    162 FLAG_W_EXTRA = @FLAG_W_EXTRA@
    163 FLAG_W_NO_EMPTY_BODY = @FLAG_W_NO_EMPTY_BODY@
    164 FLAG_W_NO_FORMAT_ZERO_LENGTH = @FLAG_W_NO_FORMAT_ZERO_LENGTH@
    165 FLAG_W_NO_NONNULL = @FLAG_W_NO_NONNULL@
    166 FLAG_W_NO_OVERFLOW = @FLAG_W_NO_OVERFLOW@
    167 FLAG_W_NO_UNINITIALIZED = @FLAG_W_NO_UNINITIALIZED@
    168 GDB = @GDB@
    169 GLIBC_VERSION = @GLIBC_VERSION@
    170 GREP = @GREP@
    171 INSTALL = @INSTALL@
    172 INSTALL_DATA = @INSTALL_DATA@
    173 INSTALL_PROGRAM = @INSTALL_PROGRAM@
    174 INSTALL_SCRIPT = @INSTALL_SCRIPT@
    175 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
    176 LDFLAGS = @LDFLAGS@
    177 LDFLAGS_MPI = @LDFLAGS_MPI@
    178 LIBOBJS = @LIBOBJS@
    179 LIBS = @LIBS@
    180 LN_S = @LN_S@
    181 LTLIBOBJS = @LTLIBOBJS@
    182 MAINT = @MAINT@
    183 MAKEINFO = @MAKEINFO@
    184 MKDIR_P = @MKDIR_P@
    185 MPI_CC = @MPI_CC@
    186 OBJEXT = @OBJEXT@
    187 PACKAGE = @PACKAGE@
    188 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
    189 PACKAGE_NAME = @PACKAGE_NAME@
    190 PACKAGE_STRING = @PACKAGE_STRING@
    191 PACKAGE_TARNAME = @PACKAGE_TARNAME@
    192 PACKAGE_URL = @PACKAGE_URL@
    193 PACKAGE_VERSION = @PACKAGE_VERSION@
    194 PATH_SEPARATOR = @PATH_SEPARATOR@
    195 PERL = @PERL@
    196 PREFERRED_STACK_BOUNDARY = @PREFERRED_STACK_BOUNDARY@
    197 RANLIB = @RANLIB@
    198 SED = @SED@
    199 SET_MAKE = @SET_MAKE@
    200 SHELL = @SHELL@
    201 STRIP = @STRIP@
    202 VALT_LOAD_ADDRESS_PRI = @VALT_LOAD_ADDRESS_PRI@
    203 VALT_LOAD_ADDRESS_SEC = @VALT_LOAD_ADDRESS_SEC@
    204 VERSION = @VERSION@
    205 VGCONF_ARCH_PRI = @VGCONF_ARCH_PRI@
    206 VGCONF_ARCH_SEC = @VGCONF_ARCH_SEC@
    207 VGCONF_OS = @VGCONF_OS@
    208 VGCONF_PLATFORM_PRI_CAPS = @VGCONF_PLATFORM_PRI_CAPS@
    209 VGCONF_PLATFORM_SEC_CAPS = @VGCONF_PLATFORM_SEC_CAPS@
    210 VGCONF_PLATVARIANT = @VGCONF_PLATVARIANT@
    211 abs_builddir = @abs_builddir@
    212 abs_srcdir = @abs_srcdir@
    213 abs_top_builddir = @abs_top_builddir@
    214 abs_top_srcdir = @abs_top_srcdir@
    215 ac_ct_CC = @ac_ct_CC@
    216 ac_ct_CXX = @ac_ct_CXX@
    217 am__include = @am__include@
    218 am__leading_dot = @am__leading_dot@
    219 am__quote = @am__quote@
    220 am__tar = @am__tar@
    221 am__untar = @am__untar@
    222 bindir = @bindir@
    223 build = @build@
    224 build_alias = @build_alias@
    225 build_cpu = @build_cpu@
    226 build_os = @build_os@
    227 build_vendor = @build_vendor@
    228 builddir = @builddir@
    229 datadir = @datadir@
    230 datarootdir = @datarootdir@
    231 docdir = @docdir@
    232 dvidir = @dvidir@
    233 exec_prefix = @exec_prefix@
    234 host = @host@
    235 host_alias = @host_alias@
    236 host_cpu = @host_cpu@
    237 host_os = @host_os@
    238 host_vendor = @host_vendor@
    239 htmldir = @htmldir@
    240 includedir = @includedir@
    241 infodir = @infodir@
    242 install_sh = @install_sh@
    243 libdir = @libdir@
    244 libexecdir = @libexecdir@
    245 localedir = @localedir@
    246 localstatedir = @localstatedir@
    247 mandir = @mandir@
    248 mkdir_p = @mkdir_p@
    249 oldincludedir = @oldincludedir@
    250 pdfdir = @pdfdir@
    251 prefix = @prefix@
    252 program_transform_name = @program_transform_name@
    253 psdir = @psdir@
    254 sbindir = @sbindir@
    255 sharedstatedir = @sharedstatedir@
    256 srcdir = @srcdir@
    257 sysconfdir = @sysconfdir@
    258 target_alias = @target_alias@
    259 top_build_prefix = @top_build_prefix@
    260 top_builddir = @top_builddir@
    261 top_srcdir = @top_srcdir@
    262 inplacedir = $(top_builddir)/.in_place
    263 
    264 #----------------------------------------------------------------------------
    265 # Flags
    266 #----------------------------------------------------------------------------
    267 
    268 # Baseline flags for all compilations.  Aim here is to maximise
    269 # performance and get whatever useful warnings we can out of gcc.
    270 # -fno-builtin is important for defeating LLVM's idiom recognition
    271 # that somehow causes VG_(memset) to get into infinite recursion.
    272 AM_CFLAGS_BASE = \
    273 	-O2 -g \
    274 	-Wall \
    275 	-Wmissing-prototypes \
    276 	-Wshadow \
    277 	-Wpointer-arith \
    278 	-Wstrict-prototypes \
    279 	-Wmissing-declarations \
    280 	@FLAG_W_NO_FORMAT_ZERO_LENGTH@ \
    281 	-fno-strict-aliasing \
    282 	-fno-builtin
    283 
    284 @VGCONF_OS_IS_DARWIN_FALSE@AM_CFLAGS_PIC = -fpic -O -g -fno-omit-frame-pointer -fno-strict-aliasing \
    285 @VGCONF_OS_IS_DARWIN_FALSE@		-fno-builtin
    286 
    287 
    288 # These flags are used for building the preload shared objects.
    289 # The aim is to give reasonable performance but also to have good
    290 # stack traces, since users often see stack traces extending 
    291 # into (and through) the preloads.
    292 @VGCONF_OS_IS_DARWIN_TRUE@AM_CFLAGS_PIC = -dynamic -O -g -fno-omit-frame-pointer -fno-strict-aliasing \
    293 @VGCONF_OS_IS_DARWIN_TRUE@		-mno-dynamic-no-pic -fpic -fPIC \
    294 @VGCONF_OS_IS_DARWIN_TRUE@		-fno-builtin
    295 
    296 
    297 # Flags for specific targets.
    298 #
    299 # Nb: the AM_CPPFLAGS_* values are suitable for building tools and auxprogs.
    300 # For building the core, coregrind/Makefile.am files add some extra things.
    301 AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@ = \
    302 	-I$(top_srcdir) \
    303 	-I$(top_srcdir)/include \
    304 	-I$(top_srcdir)/VEX/pub \
    305 	-DVGA_@VGCONF_ARCH_PRI@=1 \
    306 	-DVGO_@VGCONF_OS@=1 \
    307 	-DVGP_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1 \
    308 	-DVGPV_@VGCONF_ARCH_PRI@_@VGCONF_OS@_@VGCONF_PLATVARIANT@=1
    309 
    310 @VGCONF_HAVE_PLATFORM_SEC_TRUE@AM_CPPFLAGS_@VGCONF_PLATFORM_SEC_CAPS@ = \
    311 @VGCONF_HAVE_PLATFORM_SEC_TRUE@	-I$(top_srcdir) \
    312 @VGCONF_HAVE_PLATFORM_SEC_TRUE@	-I$(top_srcdir)/include \
    313 @VGCONF_HAVE_PLATFORM_SEC_TRUE@	-I$(top_srcdir)/VEX/pub \
    314 @VGCONF_HAVE_PLATFORM_SEC_TRUE@	-DVGA_@VGCONF_ARCH_SEC@=1 \
    315 @VGCONF_HAVE_PLATFORM_SEC_TRUE@	-DVGO_@VGCONF_OS@=1 \
    316 @VGCONF_HAVE_PLATFORM_SEC_TRUE@	-DVGP_@VGCONF_ARCH_SEC@_@VGCONF_OS@=1 \
    317 @VGCONF_HAVE_PLATFORM_SEC_TRUE@	-DVGPV_@VGCONF_ARCH_SEC@_@VGCONF_OS@_@VGCONF_PLATVARIANT@=1
    318 
    319 AM_FLAG_M3264_X86_LINUX = @FLAG_M32@
    320 AM_CFLAGS_X86_LINUX = @FLAG_M32@  @PREFERRED_STACK_BOUNDARY@ \
    321 				$(AM_CFLAGS_BASE) -fomit-frame-pointer
    322 
    323 AM_CCASFLAGS_X86_LINUX = @FLAG_M32@ -g
    324 AM_FLAG_M3264_AMD64_LINUX = @FLAG_M64@
    325 AM_CFLAGS_AMD64_LINUX = @FLAG_M64@ @PREFERRED_STACK_BOUNDARY@ \
    326 				$(AM_CFLAGS_BASE) -fomit-frame-pointer
    327 
    328 AM_CCASFLAGS_AMD64_LINUX = @FLAG_M64@ -g
    329 AM_FLAG_M3264_PPC32_LINUX = @FLAG_M32@
    330 AM_CFLAGS_PPC32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE)
    331 AM_CCASFLAGS_PPC32_LINUX = @FLAG_M32@ -g
    332 AM_FLAG_M3264_PPC64_LINUX = @FLAG_M64@
    333 AM_CFLAGS_PPC64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE)
    334 AM_CCASFLAGS_PPC64_LINUX = @FLAG_M64@ -g
    335 AM_FLAG_M3264_ARM_LINUX = @FLAG_M32@
    336 AM_CFLAGS_ARM_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \
    337 			 	$(AM_CFLAGS_BASE) -marm -mcpu=cortex-a8
    338 
    339 AM_CCASFLAGS_ARM_LINUX = @FLAG_M32@ \
    340 				-marm -mcpu=cortex-a8 -g
    341 
    342 AM_FLAG_M3264_ARM64_LINUX = @FLAG_M64@
    343 AM_CFLAGS_ARM64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE)
    344 AM_CCASFLAGS_ARM64_LINUX = @FLAG_M64@ -g
    345 AM_FLAG_M3264_X86_DARWIN = -arch i386
    346 AM_CFLAGS_X86_DARWIN = $(WERROR) -arch i386 $(AM_CFLAGS_BASE) \
    347 				-mmacosx-version-min=10.5 \
    348 				-fno-stack-protector -fno-pic -fno-PIC
    349 
    350 AM_CCASFLAGS_X86_DARWIN = -arch i386 -g
    351 AM_FLAG_M3264_AMD64_DARWIN = -arch x86_64
    352 AM_CFLAGS_AMD64_DARWIN = $(WERROR) -arch x86_64 $(AM_CFLAGS_BASE) \
    353 			    -mmacosx-version-min=10.5 -fno-stack-protector
    354 
    355 AM_CCASFLAGS_AMD64_DARWIN = -arch x86_64 -g
    356 AM_FLAG_M3264_S390X_LINUX = @FLAG_M64@
    357 AM_CFLAGS_S390X_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) -fomit-frame-pointer
    358 AM_CCASFLAGS_S390X_LINUX = @FLAG_M64@ -g -mzarch -march=z900
    359 AM_FLAG_M3264_MIPS32_LINUX = @FLAG_M32@
    360 AM_CFLAGS_MIPS32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) @FLAG_MIPS32@
    361 AM_CCASFLAGS_MIPS32_LINUX = @FLAG_M32@ -g @FLAG_MIPS32@
    362 AM_FLAG_M3264_MIPS64_LINUX = @FLAG_M64@
    363 AM_CFLAGS_MIPS64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) @FLAG_MIPS64@
    364 AM_CCASFLAGS_MIPS64_LINUX = @FLAG_M64@ -g @FLAG_MIPS64@
    365 
    366 # Flags for the primary target.  These must be used to build the
    367 # regtests and performance tests.  In fact, these must be used to
    368 # build anything which is built only once on a dual-arch build.
    369 #
    370 AM_FLAG_M3264_PRI = $(AM_FLAG_M3264_@VGCONF_PLATFORM_PRI_CAPS@)
    371 AM_CPPFLAGS_PRI = $(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
    372 AM_CFLAGS_PRI = $(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
    373 AM_CCASFLAGS_PRI = $(AM_CCASFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
    374 @VGCONF_HAVE_PLATFORM_SEC_FALSE@AM_FLAG_M3264_SEC = 
    375 @VGCONF_HAVE_PLATFORM_SEC_TRUE@AM_FLAG_M3264_SEC = $(AM_FLAG_M3264_@VGCONF_PLATFORM_SEC_CAPS@)
    376 
    377 # Baseline link flags for making vgpreload shared objects.
    378 #
    379 PRELOAD_LDFLAGS_COMMON_LINUX = -nodefaultlibs -shared \
    380 	-Wl,-z,interpose,-z,initfirst $(am__append_1)
    381 PRELOAD_LDFLAGS_COMMON_DARWIN = -dynamic -dynamiclib -all_load
    382 PRELOAD_LDFLAGS_X86_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
    383 PRELOAD_LDFLAGS_AMD64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
    384 PRELOAD_LDFLAGS_PPC32_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
    385 PRELOAD_LDFLAGS_PPC64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
    386 PRELOAD_LDFLAGS_ARM_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
    387 PRELOAD_LDFLAGS_ARM64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
    388 PRELOAD_LDFLAGS_X86_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch i386
    389 PRELOAD_LDFLAGS_AMD64_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch x86_64
    390 PRELOAD_LDFLAGS_S390X_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
    391 PRELOAD_LDFLAGS_MIPS32_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
    392 PRELOAD_LDFLAGS_MIPS64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
    393 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \
    394 	-I$(top_srcdir)/coregrind -I$(top_builddir)/include \
    395 	-I$(top_srcdir)/VEX/pub -DVGA_@VGCONF_ARCH_PRI@=1 \
    396 	-DVGO_@VGCONF_OS@=1 -DVGP_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1 \
    397 	-DVGPV_@VGCONF_ARCH_PRI@_@VGCONF_OS@_@VGCONF_PLATVARIANT@=1 \
    398 	$(am__append_2)
    399 
    400 # Nb: Tools need to augment these flags with an arch-selection option, such
    401 # as $(AM_FLAG_M3264_PRI).
    402 AM_CFLAGS = -Winline -Wall -Wshadow -g $(AM_FLAG_M3264_PRI)
    403 AM_CXXFLAGS = -Winline -Wall -Wshadow -g $(AM_FLAG_M3264_PRI)
    404 # Include AM_CPPFLAGS in AM_CCASFLAGS to allow for older versions of
    405 # automake;  see comments in Makefile.all.am for more detail.
    406 AM_CCASFLAGS = $(AM_CPPFLAGS)
    407 @VGCONF_OS_IS_DARWIN_TRUE@noinst_DSYMS = $(check_PROGRAMS)
    408 dist_noinst_SCRIPTS = \
    409 	check_headers_and_includes \
    410 	check_isa-2_06_cap \
    411 	check_isa-2_07_cap \
    412 	check_makefile_consistency \
    413 	check_dfp_cap \
    414 	check_vmx_cap \
    415 	filter_addresses \
    416 	filter_discards \
    417 	filter_libc \
    418 	filter_numbers \
    419 	filter_stderr_basic \
    420 	filter_sink \
    421 	filter_xml_frames \
    422 	platform_test \
    423 	post_regtest_checks \
    424 	vg_regtest
    425 
    426 noinst_HEADERS = \
    427 	asm.h \
    428 	malloc.h \
    429 	sys_mman.h
    430 
    431 @VGCONF_OS_IS_DARWIN_FALSE@x86_amd64_features_CFLAGS = $(AM_CFLAGS)
    432 @VGCONF_OS_IS_DARWIN_TRUE@x86_amd64_features_CFLAGS = $(AM_CFLAGS) -mdynamic-no-pic
    433 all: all-am
    434 
    435 .SUFFIXES:
    436 .SUFFIXES: .c .o .obj
    437 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.tool-tests.am $(top_srcdir)/Makefile.all.am $(am__configure_deps)
    438 	@for dep in $?; do \
    439 	  case '$(am__configure_deps)' in \
    440 	    *$$dep*) \
    441 	      ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
    442 	        && { if test -f $@; then exit 0; else break; fi; }; \
    443 	      exit 1;; \
    444 	  esac; \
    445 	done; \
    446 	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign tests/Makefile'; \
    447 	$(am__cd) $(top_srcdir) && \
    448 	  $(AUTOMAKE) --foreign tests/Makefile
    449 .PRECIOUS: Makefile
    450 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
    451 	@case '$?' in \
    452 	  *config.status*) \
    453 	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
    454 	  *) \
    455 	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
    456 	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
    457 	esac;
    458 $(top_srcdir)/Makefile.tool-tests.am $(top_srcdir)/Makefile.all.am:
    459 
    460 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
    461 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
    462 
    463 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
    464 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
    465 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
    466 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
    467 $(am__aclocal_m4_deps):
    468 vg_regtest: $(top_builddir)/config.status $(srcdir)/vg_regtest.in
    469 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
    470 
    471 clean-checkPROGRAMS:
    472 	-test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
    473 arch_test$(EXEEXT): $(arch_test_OBJECTS) $(arch_test_DEPENDENCIES) $(EXTRA_arch_test_DEPENDENCIES) 
    474 	@rm -f arch_test$(EXEEXT)
    475 	$(LINK) $(arch_test_OBJECTS) $(arch_test_LDADD) $(LIBS)
    476 mips_features$(EXEEXT): $(mips_features_OBJECTS) $(mips_features_DEPENDENCIES) $(EXTRA_mips_features_DEPENDENCIES) 
    477 	@rm -f mips_features$(EXEEXT)
    478 	$(LINK) $(mips_features_OBJECTS) $(mips_features_LDADD) $(LIBS)
    479 os_test$(EXEEXT): $(os_test_OBJECTS) $(os_test_DEPENDENCIES) $(EXTRA_os_test_DEPENDENCIES) 
    480 	@rm -f os_test$(EXEEXT)
    481 	$(LINK) $(os_test_OBJECTS) $(os_test_LDADD) $(LIBS)
    482 power_insn_available$(EXEEXT): $(power_insn_available_OBJECTS) $(power_insn_available_DEPENDENCIES) $(EXTRA_power_insn_available_DEPENDENCIES) 
    483 	@rm -f power_insn_available$(EXEEXT)
    484 	$(LINK) $(power_insn_available_OBJECTS) $(power_insn_available_LDADD) $(LIBS)
    485 s390x_features$(EXEEXT): $(s390x_features_OBJECTS) $(s390x_features_DEPENDENCIES) $(EXTRA_s390x_features_DEPENDENCIES) 
    486 	@rm -f s390x_features$(EXEEXT)
    487 	$(LINK) $(s390x_features_OBJECTS) $(s390x_features_LDADD) $(LIBS)
    488 true$(EXEEXT): $(true_OBJECTS) $(true_DEPENDENCIES) $(EXTRA_true_DEPENDENCIES) 
    489 	@rm -f true$(EXEEXT)
    490 	$(LINK) $(true_OBJECTS) $(true_LDADD) $(LIBS)
    491 x86_amd64_features$(EXEEXT): $(x86_amd64_features_OBJECTS) $(x86_amd64_features_DEPENDENCIES) $(EXTRA_x86_amd64_features_DEPENDENCIES) 
    492 	@rm -f x86_amd64_features$(EXEEXT)
    493 	$(x86_amd64_features_LINK) $(x86_amd64_features_OBJECTS) $(x86_amd64_features_LDADD) $(LIBS)
    494 
    495 mostlyclean-compile:
    496 	-rm -f *.$(OBJEXT)
    497 
    498 distclean-compile:
    499 	-rm -f *.tab.c
    500 
    501 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arch_test.Po@am__quote@
    502 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mips_features.Po@am__quote@
    503 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/os_test.Po@am__quote@
    504 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/power_insn_available.Po@am__quote@
    505 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/s390x_features.Po@am__quote@
    506 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/true.Po@am__quote@
    507 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x86_amd64_features-x86_amd64_features.Po@am__quote@
    508 
    509 .c.o:
    510 @am__fastdepCC_TRUE@	depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
    511 @am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
    512 @am__fastdepCC_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Po
    513 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
    514 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    515 @am__fastdepCC_FALSE@	$(COMPILE) -c -o $@ $<
    516 
    517 .c.obj:
    518 @am__fastdepCC_TRUE@	depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
    519 @am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
    520 @am__fastdepCC_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Po
    521 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
    522 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    523 @am__fastdepCC_FALSE@	$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
    524 
    525 x86_amd64_features-x86_amd64_features.o: x86_amd64_features.c
    526 @am__fastdepCC_TRUE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(x86_amd64_features_CFLAGS) $(CFLAGS) -MT x86_amd64_features-x86_amd64_features.o -MD -MP -MF $(DEPDIR)/x86_amd64_features-x86_amd64_features.Tpo -c -o x86_amd64_features-x86_amd64_features.o `test -f 'x86_amd64_features.c' || echo '$(srcdir)/'`x86_amd64_features.c
    527 @am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/x86_amd64_features-x86_amd64_features.Tpo $(DEPDIR)/x86_amd64_features-x86_amd64_features.Po
    528 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='x86_amd64_features.c' object='x86_amd64_features-x86_amd64_features.o' libtool=no @AMDEPBACKSLASH@
    529 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    530 @am__fastdepCC_FALSE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(x86_amd64_features_CFLAGS) $(CFLAGS) -c -o x86_amd64_features-x86_amd64_features.o `test -f 'x86_amd64_features.c' || echo '$(srcdir)/'`x86_amd64_features.c
    531 
    532 x86_amd64_features-x86_amd64_features.obj: x86_amd64_features.c
    533 @am__fastdepCC_TRUE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(x86_amd64_features_CFLAGS) $(CFLAGS) -MT x86_amd64_features-x86_amd64_features.obj -MD -MP -MF $(DEPDIR)/x86_amd64_features-x86_amd64_features.Tpo -c -o x86_amd64_features-x86_amd64_features.obj `if test -f 'x86_amd64_features.c'; then $(CYGPATH_W) 'x86_amd64_features.c'; else $(CYGPATH_W) '$(srcdir)/x86_amd64_features.c'; fi`
    534 @am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/x86_amd64_features-x86_amd64_features.Tpo $(DEPDIR)/x86_amd64_features-x86_amd64_features.Po
    535 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='x86_amd64_features.c' object='x86_amd64_features-x86_amd64_features.obj' libtool=no @AMDEPBACKSLASH@
    536 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    537 @am__fastdepCC_FALSE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(x86_amd64_features_CFLAGS) $(CFLAGS) -c -o x86_amd64_features-x86_amd64_features.obj `if test -f 'x86_amd64_features.c'; then $(CYGPATH_W) 'x86_amd64_features.c'; else $(CYGPATH_W) '$(srcdir)/x86_amd64_features.c'; fi`
    538 
    539 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
    540 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
    541 	unique=`for i in $$list; do \
    542 	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
    543 	  done | \
    544 	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
    545 	      END { if (nonempty) { for (i in files) print i; }; }'`; \
    546 	mkid -fID $$unique
    547 tags: TAGS
    548 
    549 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
    550 		$(TAGS_FILES) $(LISP)
    551 	set x; \
    552 	here=`pwd`; \
    553 	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
    554 	unique=`for i in $$list; do \
    555 	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
    556 	  done | \
    557 	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
    558 	      END { if (nonempty) { for (i in files) print i; }; }'`; \
    559 	shift; \
    560 	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
    561 	  test -n "$$unique" || unique=$$empty_fix; \
    562 	  if test $$# -gt 0; then \
    563 	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
    564 	      "$$@" $$unique; \
    565 	  else \
    566 	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
    567 	      $$unique; \
    568 	  fi; \
    569 	fi
    570 ctags: CTAGS
    571 CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
    572 		$(TAGS_FILES) $(LISP)
    573 	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
    574 	unique=`for i in $$list; do \
    575 	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
    576 	  done | \
    577 	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
    578 	      END { if (nonempty) { for (i in files) print i; }; }'`; \
    579 	test -z "$(CTAGS_ARGS)$$unique" \
    580 	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
    581 	     $$unique
    582 
    583 GTAGS:
    584 	here=`$(am__cd) $(top_builddir) && pwd` \
    585 	  && $(am__cd) $(top_srcdir) \
    586 	  && gtags -i $(GTAGS_ARGS) "$$here"
    587 
    588 distclean-tags:
    589 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
    590 
    591 distdir: $(DISTFILES)
    592 	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
    593 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
    594 	list='$(DISTFILES)'; \
    595 	  dist_files=`for file in $$list; do echo $$file; done | \
    596 	  sed -e "s|^$$srcdirstrip/||;t" \
    597 	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
    598 	case $$dist_files in \
    599 	  */*) $(MKDIR_P) `echo "$$dist_files" | \
    600 			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
    601 			   sort -u` ;; \
    602 	esac; \
    603 	for file in $$dist_files; do \
    604 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
    605 	  if test -d $$d/$$file; then \
    606 	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
    607 	    if test -d "$(distdir)/$$file"; then \
    608 	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
    609 	    fi; \
    610 	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
    611 	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
    612 	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
    613 	    fi; \
    614 	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
    615 	  else \
    616 	    test -f "$(distdir)/$$file" \
    617 	    || cp -p $$d/$$file "$(distdir)/$$file" \
    618 	    || exit 1; \
    619 	  fi; \
    620 	done
    621 check-am: all-am
    622 	$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
    623 	$(MAKE) $(AM_MAKEFLAGS) check-local
    624 check: check-am
    625 all-am: Makefile $(SCRIPTS) $(HEADERS)
    626 installdirs:
    627 install: install-am
    628 install-exec: install-exec-am
    629 install-data: install-data-am
    630 uninstall: uninstall-am
    631 
    632 install-am: all-am
    633 	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
    634 
    635 installcheck: installcheck-am
    636 install-strip:
    637 	if test -z '$(STRIP)'; then \
    638 	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
    639 	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
    640 	      install; \
    641 	else \
    642 	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
    643 	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
    644 	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
    645 	fi
    646 mostlyclean-generic:
    647 
    648 clean-generic:
    649 
    650 distclean-generic:
    651 	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
    652 	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
    653 
    654 maintainer-clean-generic:
    655 	@echo "This command is intended for maintainers to use"
    656 	@echo "it deletes files that may require special tools to rebuild."
    657 clean: clean-am
    658 
    659 clean-am: clean-checkPROGRAMS clean-generic clean-local mostlyclean-am
    660 
    661 distclean: distclean-am
    662 	-rm -rf ./$(DEPDIR)
    663 	-rm -f Makefile
    664 distclean-am: clean-am distclean-compile distclean-generic \
    665 	distclean-tags
    666 
    667 dvi: dvi-am
    668 
    669 dvi-am:
    670 
    671 html: html-am
    672 
    673 html-am:
    674 
    675 info: info-am
    676 
    677 info-am:
    678 
    679 install-data-am:
    680 
    681 install-dvi: install-dvi-am
    682 
    683 install-dvi-am:
    684 
    685 install-exec-am:
    686 
    687 install-html: install-html-am
    688 
    689 install-html-am:
    690 
    691 install-info: install-info-am
    692 
    693 install-info-am:
    694 
    695 install-man:
    696 
    697 install-pdf: install-pdf-am
    698 
    699 install-pdf-am:
    700 
    701 install-ps: install-ps-am
    702 
    703 install-ps-am:
    704 
    705 installcheck-am:
    706 
    707 maintainer-clean: maintainer-clean-am
    708 	-rm -rf ./$(DEPDIR)
    709 	-rm -f Makefile
    710 maintainer-clean-am: distclean-am maintainer-clean-generic
    711 
    712 mostlyclean: mostlyclean-am
    713 
    714 mostlyclean-am: mostlyclean-compile mostlyclean-generic
    715 
    716 pdf: pdf-am
    717 
    718 pdf-am:
    719 
    720 ps: ps-am
    721 
    722 ps-am:
    723 
    724 uninstall-am:
    725 
    726 .MAKE: check-am install-am install-strip
    727 
    728 .PHONY: CTAGS GTAGS all all-am check check-am check-local clean \
    729 	clean-checkPROGRAMS clean-generic clean-local ctags distclean \
    730 	distclean-compile distclean-generic distclean-tags distdir dvi \
    731 	dvi-am html html-am info info-am install install-am \
    732 	install-data install-data-am install-dvi install-dvi-am \
    733 	install-exec install-exec-am install-html install-html-am \
    734 	install-info install-info-am install-man install-pdf \
    735 	install-pdf-am install-ps install-ps-am install-strip \
    736 	installcheck installcheck-am installdirs maintainer-clean \
    737 	maintainer-clean-generic mostlyclean mostlyclean-compile \
    738 	mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
    739 	uninstall-am
    740 
    741 
    742 # This used to be required when Vex had a handwritten Makefile.  It
    743 # shouldn't be needed any more, though.
    744 
    745 #----------------------------------------------------------------------------
    746 # noinst_PROGRAMS and noinst_DSYMS targets
    747 #----------------------------------------------------------------------------
    748 
    749 # On Darwin, for a program 'p', the DWARF debug info is stored in the
    750 # directory 'p.dSYM'.  This must be generated after the executable is
    751 # created, with 'dsymutil p'.  We could redefine LINK with a script that
    752 # executes 'dsymutil' after linking, but that's a pain.  Instead we use this
    753 # hook so that every time "make check" is run, we subsequently invoke
    754 # 'dsymutil' on all the executables that lack a .dSYM directory, or that are
    755 # newer than their corresponding .dSYM directory.
    756 build-noinst_DSYMS: $(noinst_DSYMS)
    757 	for f in $(noinst_DSYMS); do \
    758 	  if [ ! -e $$f.dSYM  -o  $$f -nt $$f.dSYM ] ; then \
    759 	      echo "dsymutil $$f"; \
    760 	      dsymutil $$f; \
    761 	  fi; \
    762 	done
    763 
    764 # This is used by coregrind/Makefile.am and Makefile.tool.am for doing
    765 # "in-place" installs.  It copies $(noinst_PROGRAMS) into $inplacedir.
    766 # It needs to be depended on by an 'all-local' rule.
    767 inplace-noinst_PROGRAMS: $(noinst_PROGRAMS)
    768 	mkdir -p $(inplacedir); \
    769 	for f in $(noinst_PROGRAMS) ; do \
    770 	  rm -f $(inplacedir)/$$f; \
    771 	  ln -f -s ../$(subdir)/$$f $(inplacedir); \
    772 	done
    773 
    774 # Similar to inplace-noinst_PROGRAMS
    775 inplace-noinst_DSYMS: build-noinst_DSYMS
    776 	mkdir -p $(inplacedir); \
    777 	for f in $(noinst_DSYMS); do \
    778 	  rm -f $(inplacedir)/$$f.dSYM; \
    779 	  ln -f -s ../$(subdir)/$$f.dSYM $(inplacedir); \
    780 	done
    781 
    782 # This is used by coregrind/Makefile.am and by <tool>/Makefile.am for doing
    783 # "make install".  It copies $(noinst_PROGRAMS) into $prefix/lib/valgrind/.
    784 # It needs to be depended on by an 'install-exec-local' rule.
    785 install-noinst_PROGRAMS: $(noinst_PROGRAMS)
    786 	$(mkinstalldirs) $(DESTDIR)$(pkglibdir); \
    787 	for f in $(noinst_PROGRAMS); do \
    788 	  $(INSTALL_PROGRAM) $$f $(DESTDIR)$(pkglibdir); \
    789 	done
    790 
    791 # Similar to install-noinst_PROGRAMS.
    792 # Nb: we don't use $(INSTALL_PROGRAM) here because it doesn't work with
    793 # directories.  XXX: not sure whether the resulting permissions will be
    794 # correct when using 'cp -R'...
    795 install-noinst_DSYMS: build-noinst_DSYMS
    796 	$(mkinstalldirs) $(DESTDIR)$(pkglibdir); \
    797 	for f in $(noinst_DSYMS); do \
    798 	  cp -R $$f.dSYM $(DESTDIR)$(pkglibdir); \
    799 	done
    800 
    801 # This needs to be depended on by a 'clean-local' rule.
    802 clean-noinst_DSYMS:
    803 	for f in $(noinst_DSYMS); do \
    804 	  rm -rf $$f.dSYM; \
    805 	done
    806 
    807 check-local: build-noinst_DSYMS
    808 
    809 clean-local: clean-noinst_DSYMS
    810 
    811 # Tell versions [3.59,3.63) of GNU make to not export all variables.
    812 # Otherwise a system limit (for SysV at least) may be exceeded.
    813 .NOEXPORT:
    814