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