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