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 124 # Platform-specific tests 125 @VGCONF_ARCHS_INCLUDE_X86_TRUE@@VGCONF_OS_IS_DARWIN_FALSE@am__append_8 = x86 126 @VGCONF_PLATFORMS_INCLUDE_X86_LINUX_TRUE@am__append_9 = x86-linux 127 @VGCONF_PLATFORMS_INCLUDE_AMD64_LINUX_TRUE@am__append_10 = amd64-linux 128 @VGCONF_PLATFORMS_INCLUDE_PPC32_LINUX_TRUE@am__append_11 = ppc32-linux 129 @VGCONF_PLATFORMS_INCLUDE_ARM_LINUX_TRUE@am__append_12 = arm-linux 130 check_PROGRAMS = 131 subdir = exp-bbv/tests 132 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 133 am__aclocal_m4_deps = $(top_srcdir)/configure.ac 134 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 135 $(ACLOCAL_M4) 136 DIST_COMMON = $(srcdir)/Makefile.am $(dist_noinst_SCRIPTS) \ 137 $(am__DIST_COMMON) 138 mkinstalldirs = $(install_sh) -d 139 CONFIG_HEADER = $(top_builddir)/config.h 140 CONFIG_CLEAN_FILES = 141 CONFIG_CLEAN_VPATH_FILES = 142 SCRIPTS = $(dist_noinst_SCRIPTS) 143 AM_V_P = $(am__v_P_@AM_V@) 144 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) 145 am__v_P_0 = false 146 am__v_P_1 = : 147 AM_V_GEN = $(am__v_GEN_@AM_V@) 148 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) 149 am__v_GEN_0 = @echo " GEN " $@; 150 am__v_GEN_1 = 151 AM_V_at = $(am__v_at_@AM_V@) 152 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) 153 am__v_at_0 = @ 154 am__v_at_1 = 155 SOURCES = 156 DIST_SOURCES = 157 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ 158 ctags-recursive dvi-recursive html-recursive info-recursive \ 159 install-data-recursive install-dvi-recursive \ 160 install-exec-recursive install-html-recursive \ 161 install-info-recursive install-pdf-recursive \ 162 install-ps-recursive install-recursive installcheck-recursive \ 163 installdirs-recursive pdf-recursive ps-recursive \ 164 tags-recursive uninstall-recursive 165 am__can_run_installinfo = \ 166 case $$AM_UPDATE_INFO_DIR in \ 167 n|no|NO) false;; \ 168 *) (install-info --version) >/dev/null 2>&1;; \ 169 esac 170 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ 171 distclean-recursive maintainer-clean-recursive 172 am__recursive_targets = \ 173 $(RECURSIVE_TARGETS) \ 174 $(RECURSIVE_CLEAN_TARGETS) \ 175 $(am__extra_recursive_targets) 176 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ 177 distdir 178 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) 179 # Read a list of newline-separated strings from the standard input, 180 # and print each of them once, without duplicates. Input order is 181 # *not* preserved. 182 am__uniquify_input = $(AWK) '\ 183 BEGIN { nonempty = 0; } \ 184 { items[$$0] = 1; nonempty = 1; } \ 185 END { if (nonempty) { for (i in items) print i; }; } \ 186 ' 187 # Make sure the list of sources is unique. This is necessary because, 188 # e.g., the same source file might be shared among _SOURCES variables 189 # for different programs/libraries. 190 am__define_uniq_tagged_files = \ 191 list='$(am__tagged_files)'; \ 192 unique=`for i in $$list; do \ 193 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 194 done | $(am__uniquify_input)` 195 ETAGS = etags 196 CTAGS = ctags 197 am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.all.am \ 198 $(top_srcdir)/Makefile.tool-tests.am 199 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 200 am__relativize = \ 201 dir0=`pwd`; \ 202 sed_first='s,^\([^/]*\)/.*$$,\1,'; \ 203 sed_rest='s,^[^/]*/*,,'; \ 204 sed_last='s,^.*/\([^/]*\)$$,\1,'; \ 205 sed_butlast='s,/*[^/]*$$,,'; \ 206 while test -n "$$dir1"; do \ 207 first=`echo "$$dir1" | sed -e "$$sed_first"`; \ 208 if test "$$first" != "."; then \ 209 if test "$$first" = ".."; then \ 210 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ 211 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ 212 else \ 213 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ 214 if test "$$first2" = "$$first"; then \ 215 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ 216 else \ 217 dir2="../$$dir2"; \ 218 fi; \ 219 dir0="$$dir0"/"$$first"; \ 220 fi; \ 221 fi; \ 222 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ 223 done; \ 224 reldir="$$dir2" 225 ACLOCAL = @ACLOCAL@ 226 AMTAR = @AMTAR@ 227 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ 228 AR = @AR@ 229 AUTOCONF = @AUTOCONF@ 230 AUTOHEADER = @AUTOHEADER@ 231 AUTOMAKE = @AUTOMAKE@ 232 AWK = @AWK@ 233 BOOST_CFLAGS = @BOOST_CFLAGS@ 234 BOOST_LIBS = @BOOST_LIBS@ 235 CC = @CC@ 236 CCAS = @CCAS@ 237 CCASDEPMODE = @CCASDEPMODE@ 238 CCASFLAGS = @CCASFLAGS@ 239 CCDEPMODE = @CCDEPMODE@ 240 CFLAGS = @CFLAGS@ 241 CFLAGS_MPI = @CFLAGS_MPI@ 242 CPP = @CPP@ 243 CPPFLAGS = @CPPFLAGS@ 244 CXX = @CXX@ 245 CXXDEPMODE = @CXXDEPMODE@ 246 CXXFLAGS = @CXXFLAGS@ 247 CYGPATH_W = @CYGPATH_W@ 248 DEFAULT_SUPP = @DEFAULT_SUPP@ 249 DEFS = @DEFS@ 250 DEPDIR = @DEPDIR@ 251 DIFF = @DIFF@ 252 DIS_PATH = @DIS_PATH@ 253 ECHO_C = @ECHO_C@ 254 ECHO_N = @ECHO_N@ 255 ECHO_T = @ECHO_T@ 256 EGREP = @EGREP@ 257 EXEEXT = @EXEEXT@ 258 FLAG_FNO_IPA_ICF = @FLAG_FNO_IPA_ICF@ 259 FLAG_FNO_STACK_PROTECTOR = @FLAG_FNO_STACK_PROTECTOR@ 260 FLAG_FSANITIZE = @FLAG_FSANITIZE@ 261 FLAG_M32 = @FLAG_M32@ 262 FLAG_M64 = @FLAG_M64@ 263 FLAG_MIPS32 = @FLAG_MIPS32@ 264 FLAG_MIPS64 = @FLAG_MIPS64@ 265 FLAG_MLONG_DOUBLE_128 = @FLAG_MLONG_DOUBLE_128@ 266 FLAG_MMMX = @FLAG_MMMX@ 267 FLAG_MSSE = @FLAG_MSSE@ 268 FLAG_NO_BUILD_ID = @FLAG_NO_BUILD_ID@ 269 FLAG_NO_PIE = @FLAG_NO_PIE@ 270 FLAG_OCTEON = @FLAG_OCTEON@ 271 FLAG_OCTEON2 = @FLAG_OCTEON2@ 272 FLAG_T_TEXT = @FLAG_T_TEXT@ 273 FLAG_UNLIMITED_INLINE_UNIT_GROWTH = @FLAG_UNLIMITED_INLINE_UNIT_GROWTH@ 274 FLAG_W_CAST_ALIGN = @FLAG_W_CAST_ALIGN@ 275 FLAG_W_CAST_QUAL = @FLAG_W_CAST_QUAL@ 276 FLAG_W_EMPTY_BODY = @FLAG_W_EMPTY_BODY@ 277 FLAG_W_EXTRA = @FLAG_W_EXTRA@ 278 FLAG_W_FORMAT = @FLAG_W_FORMAT@ 279 FLAG_W_FORMAT_SECURITY = @FLAG_W_FORMAT_SECURITY@ 280 FLAG_W_FORMAT_SIGNEDNESS = @FLAG_W_FORMAT_SIGNEDNESS@ 281 FLAG_W_IGNORED_QUALIFIERS = @FLAG_W_IGNORED_QUALIFIERS@ 282 FLAG_W_MISSING_PARAMETER_TYPE = @FLAG_W_MISSING_PARAMETER_TYPE@ 283 FLAG_W_NO_INFINITE_RECURSION = @FLAG_W_NO_INFINITE_RECURSION@ 284 FLAG_W_NO_MEMSET_TRANSPOSED_ARGS = @FLAG_W_NO_MEMSET_TRANSPOSED_ARGS@ 285 FLAG_W_NO_MISMATCHED_NEW_DELETE = @FLAG_W_NO_MISMATCHED_NEW_DELETE@ 286 FLAG_W_NO_NONNULL = @FLAG_W_NO_NONNULL@ 287 FLAG_W_NO_OVERFLOW = @FLAG_W_NO_OVERFLOW@ 288 FLAG_W_NO_POINTER_SIGN = @FLAG_W_NO_POINTER_SIGN@ 289 FLAG_W_NO_STATIC_LOCAL_IN_INLINE = @FLAG_W_NO_STATIC_LOCAL_IN_INLINE@ 290 FLAG_W_NO_UNINITIALIZED = @FLAG_W_NO_UNINITIALIZED@ 291 FLAG_W_NO_UNUSED_FUNCTION = @FLAG_W_NO_UNUSED_FUNCTION@ 292 FLAG_W_OLD_STYLE_DECLARATION = @FLAG_W_OLD_STYLE_DECLARATION@ 293 FLAG_W_WRITE_STRINGS = @FLAG_W_WRITE_STRINGS@ 294 GDB = @GDB@ 295 GLIBC_VERSION = @GLIBC_VERSION@ 296 GREP = @GREP@ 297 HWCAP_HAS_ALTIVEC = @HWCAP_HAS_ALTIVEC@ 298 HWCAP_HAS_DFP = @HWCAP_HAS_DFP@ 299 HWCAP_HAS_HTM = @HWCAP_HAS_HTM@ 300 HWCAP_HAS_ISA_2_05 = @HWCAP_HAS_ISA_2_05@ 301 HWCAP_HAS_ISA_2_06 = @HWCAP_HAS_ISA_2_06@ 302 HWCAP_HAS_ISA_2_07 = @HWCAP_HAS_ISA_2_07@ 303 HWCAP_HAS_ISA_3_00 = @HWCAP_HAS_ISA_3_00@ 304 HWCAP_HAS_VSX = @HWCAP_HAS_VSX@ 305 INSTALL = @INSTALL@ 306 INSTALL_DATA = @INSTALL_DATA@ 307 INSTALL_PROGRAM = @INSTALL_PROGRAM@ 308 INSTALL_SCRIPT = @INSTALL_SCRIPT@ 309 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ 310 LDFLAGS = @LDFLAGS@ 311 LDFLAGS_MPI = @LDFLAGS_MPI@ 312 LIBOBJS = @LIBOBJS@ 313 LIBS = @LIBS@ 314 LIB_UBSAN = @LIB_UBSAN@ 315 LN_S = @LN_S@ 316 LTLIBOBJS = @LTLIBOBJS@ 317 MAINT = @MAINT@ 318 MAKEINFO = @MAKEINFO@ 319 MKDIR_P = @MKDIR_P@ 320 MPI_CC = @MPI_CC@ 321 OBJEXT = @OBJEXT@ 322 PACKAGE = @PACKAGE@ 323 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ 324 PACKAGE_NAME = @PACKAGE_NAME@ 325 PACKAGE_STRING = @PACKAGE_STRING@ 326 PACKAGE_TARNAME = @PACKAGE_TARNAME@ 327 PACKAGE_URL = @PACKAGE_URL@ 328 PACKAGE_VERSION = @PACKAGE_VERSION@ 329 PATH_SEPARATOR = @PATH_SEPARATOR@ 330 PERL = @PERL@ 331 PREFERRED_STACK_BOUNDARY_2 = @PREFERRED_STACK_BOUNDARY_2@ 332 RANLIB = @RANLIB@ 333 SED = @SED@ 334 SET_MAKE = @SET_MAKE@ 335 SHELL = @SHELL@ 336 SOLARIS_UNDEF_LARGESOURCE = @SOLARIS_UNDEF_LARGESOURCE@ 337 STRIP = @STRIP@ 338 VALT_LOAD_ADDRESS_PRI = @VALT_LOAD_ADDRESS_PRI@ 339 VALT_LOAD_ADDRESS_SEC = @VALT_LOAD_ADDRESS_SEC@ 340 VERSION = @VERSION@ 341 VGCONF_ARCH_PRI = @VGCONF_ARCH_PRI@ 342 VGCONF_ARCH_SEC = @VGCONF_ARCH_SEC@ 343 VGCONF_OS = @VGCONF_OS@ 344 VGCONF_PLATFORM_PRI_CAPS = @VGCONF_PLATFORM_PRI_CAPS@ 345 VGCONF_PLATFORM_SEC_CAPS = @VGCONF_PLATFORM_SEC_CAPS@ 346 VGCONF_PLATVARIANT = @VGCONF_PLATVARIANT@ 347 VG_TMPDIR = @VG_TMPDIR@ 348 abs_builddir = @abs_builddir@ 349 abs_srcdir = @abs_srcdir@ 350 abs_top_builddir = @abs_top_builddir@ 351 abs_top_srcdir = @abs_top_srcdir@ 352 ac_ct_CC = @ac_ct_CC@ 353 ac_ct_CXX = @ac_ct_CXX@ 354 am__include = @am__include@ 355 am__leading_dot = @am__leading_dot@ 356 am__quote = @am__quote@ 357 am__tar = @am__tar@ 358 am__untar = @am__untar@ 359 bindir = @bindir@ 360 build = @build@ 361 build_alias = @build_alias@ 362 build_cpu = @build_cpu@ 363 build_os = @build_os@ 364 build_vendor = @build_vendor@ 365 builddir = @builddir@ 366 datadir = @datadir@ 367 datarootdir = @datarootdir@ 368 docdir = @docdir@ 369 dvidir = @dvidir@ 370 exec_prefix = @exec_prefix@ 371 host = @host@ 372 host_alias = @host_alias@ 373 host_cpu = @host_cpu@ 374 host_os = @host_os@ 375 host_vendor = @host_vendor@ 376 htmldir = @htmldir@ 377 includedir = @includedir@ 378 infodir = @infodir@ 379 install_sh = @install_sh@ 380 libdir = @libdir@ 381 libexecdir = @libexecdir@ 382 localedir = @localedir@ 383 localstatedir = @localstatedir@ 384 mandir = @mandir@ 385 mkdir_p = @mkdir_p@ 386 oldincludedir = @oldincludedir@ 387 pdfdir = @pdfdir@ 388 prefix = @prefix@ 389 program_transform_name = @program_transform_name@ 390 psdir = @psdir@ 391 sbindir = @sbindir@ 392 sharedstatedir = @sharedstatedir@ 393 srcdir = @srcdir@ 394 sysconfdir = @sysconfdir@ 395 target_alias = @target_alias@ 396 top_build_prefix = @top_build_prefix@ 397 top_builddir = @top_builddir@ 398 top_srcdir = @top_srcdir@ 399 inplacedir = $(top_builddir)/.in_place 400 401 #---------------------------------------------------------------------------- 402 # Flags 403 #---------------------------------------------------------------------------- 404 405 # Baseline flags for all compilations. Aim here is to maximise 406 # performance and get whatever useful warnings we can out of gcc. 407 # -fno-builtin is important for defeating LLVM's idiom recognition 408 # that somehow causes VG_(memset) to get into infinite recursion. 409 AM_CFLAGS_BASE = -O2 -g -std=gnu99 -Wall -Wmissing-prototypes -Wshadow \ 410 -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations \ 411 @FLAG_W_CAST_ALIGN@ @FLAG_W_CAST_QUAL@ @FLAG_W_WRITE_STRINGS@ \ 412 @FLAG_W_EMPTY_BODY@ @FLAG_W_FORMAT@ @FLAG_W_FORMAT_SIGNEDNESS@ \ 413 @FLAG_W_FORMAT_SECURITY@ @FLAG_W_IGNORED_QUALIFIERS@ \ 414 @FLAG_W_MISSING_PARAMETER_TYPE@ @FLAG_W_OLD_STYLE_DECLARATION@ \ 415 @FLAG_FNO_STACK_PROTECTOR@ @FLAG_FSANITIZE@ \ 416 -fno-strict-aliasing -fno-builtin $(am__append_1) 417 @VGCONF_OS_IS_DARWIN_FALSE@AM_CFLAGS_PSO_BASE = -O -g -fno-omit-frame-pointer -fno-strict-aliasing \ 418 @VGCONF_OS_IS_DARWIN_FALSE@ -fpic -fno-builtin @FLAG_FNO_IPA_ICF@ 419 420 421 # These flags are used for building the preload shared objects (PSOs). 422 # The aim is to give reasonable performance but also to have good 423 # stack traces, since users often see stack traces extending 424 # into (and through) the preloads. Also, we must use any 425 # -mpreferred-stack-boundary flag to build the preload shared 426 # objects, since that risks misaligning the client's stack and 427 # results in segfaults like (eg) #324050. 428 @VGCONF_OS_IS_DARWIN_TRUE@AM_CFLAGS_PSO_BASE = -dynamic \ 429 @VGCONF_OS_IS_DARWIN_TRUE@ -O -g -fno-omit-frame-pointer -fno-strict-aliasing \ 430 @VGCONF_OS_IS_DARWIN_TRUE@ -fpic -fPIC -fno-builtin @FLAG_FNO_IPA_ICF@ 431 432 433 # Flags for specific targets. 434 # 435 # Nb: the AM_CPPFLAGS_* values are suitable for building tools and auxprogs. 436 # For building the core, coregrind/Makefile.am files add some extra things. 437 AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@ = \ 438 -I$(top_srcdir) \ 439 -I$(top_srcdir)/include \ 440 -I$(top_builddir)/include \ 441 -I$(top_srcdir)/VEX/pub \ 442 -I$(top_builddir)/VEX/pub \ 443 -DVGA_@VGCONF_ARCH_PRI@=1 \ 444 -DVGO_@VGCONF_OS@=1 \ 445 -DVGP_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1 \ 446 -DVGPV_@VGCONF_ARCH_PRI@_@VGCONF_OS@_@VGCONF_PLATVARIANT@=1 447 448 @VGCONF_HAVE_PLATFORM_SEC_TRUE@AM_CPPFLAGS_@VGCONF_PLATFORM_SEC_CAPS@ = \ 449 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_srcdir) \ 450 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_srcdir)/include \ 451 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_builddir)/include \ 452 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_srcdir)/VEX/pub \ 453 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_builddir)/VEX/pub \ 454 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGA_@VGCONF_ARCH_SEC@=1 \ 455 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGO_@VGCONF_OS@=1 \ 456 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGP_@VGCONF_ARCH_SEC@_@VGCONF_OS@=1 \ 457 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGPV_@VGCONF_ARCH_SEC@_@VGCONF_OS@_@VGCONF_PLATVARIANT@=1 458 459 AM_FLAG_M3264_X86_LINUX = @FLAG_M32@ 460 AM_CFLAGS_X86_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY_2@ \ 461 $(AM_CFLAGS_BASE) -fomit-frame-pointer 462 463 AM_CFLAGS_PSO_X86_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE) 464 AM_CCASFLAGS_X86_LINUX = @FLAG_M32@ -g 465 AM_FLAG_M3264_AMD64_LINUX = @FLAG_M64@ 466 AM_CFLAGS_AMD64_LINUX = @FLAG_M64@ \ 467 $(AM_CFLAGS_BASE) -fomit-frame-pointer 468 469 AM_CFLAGS_PSO_AMD64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE) 470 AM_CCASFLAGS_AMD64_LINUX = @FLAG_M64@ -g 471 AM_FLAG_M3264_PPC32_LINUX = @FLAG_M32@ 472 AM_CFLAGS_PPC32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) 473 AM_CFLAGS_PSO_PPC32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE) 474 AM_CCASFLAGS_PPC32_LINUX = @FLAG_M32@ -g 475 AM_FLAG_M3264_PPC64BE_LINUX = @FLAG_M64@ 476 AM_CFLAGS_PPC64BE_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) 477 AM_CFLAGS_PSO_PPC64BE_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE) 478 AM_CCASFLAGS_PPC64BE_LINUX = @FLAG_M64@ -g 479 AM_FLAG_M3264_PPC64LE_LINUX = @FLAG_M64@ 480 AM_CFLAGS_PPC64LE_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) 481 AM_CFLAGS_PSO_PPC64LE_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE) 482 AM_CCASFLAGS_PPC64LE_LINUX = @FLAG_M64@ -g 483 AM_FLAG_M3264_ARM_LINUX = @FLAG_M32@ 484 AM_CFLAGS_ARM_LINUX = @FLAG_M32@ \ 485 $(AM_CFLAGS_BASE) -marm -mcpu=cortex-a8 486 487 AM_CFLAGS_PSO_ARM_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) \ 488 -marm -mcpu=cortex-a8 $(AM_CFLAGS_PSO_BASE) 489 490 AM_CCASFLAGS_ARM_LINUX = @FLAG_M32@ \ 491 -marm -mcpu=cortex-a8 -g 492 493 AM_FLAG_M3264_ARM64_LINUX = @FLAG_M64@ 494 AM_CFLAGS_ARM64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) 495 AM_CFLAGS_PSO_ARM64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE) 496 AM_CCASFLAGS_ARM64_LINUX = @FLAG_M64@ -g 497 AM_FLAG_M3264_X86_DARWIN = -arch i386 498 AM_CFLAGS_X86_DARWIN = $(WERROR) -arch i386 $(AM_CFLAGS_BASE) \ 499 -mmacosx-version-min=10.6 \ 500 -fno-stack-protector -fno-pic -fno-PIC 501 502 AM_CFLAGS_PSO_X86_DARWIN = $(AM_CFLAGS_X86_DARWIN) $(AM_CFLAGS_PSO_BASE) 503 AM_CCASFLAGS_X86_DARWIN = -arch i386 -g 504 AM_FLAG_M3264_AMD64_DARWIN = -arch x86_64 505 AM_CFLAGS_AMD64_DARWIN = $(WERROR) -arch x86_64 $(AM_CFLAGS_BASE) \ 506 -mmacosx-version-min=10.6 -fno-stack-protector 507 508 AM_CFLAGS_PSO_AMD64_DARWIN = $(AM_CFLAGS_AMD64_DARWIN) $(AM_CFLAGS_PSO_BASE) 509 AM_CCASFLAGS_AMD64_DARWIN = -arch x86_64 -g 510 AM_FLAG_M3264_S390X_LINUX = @FLAG_M64@ 511 AM_CFLAGS_S390X_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) -fomit-frame-pointer 512 AM_CFLAGS_PSO_S390X_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE) 513 AM_CCASFLAGS_S390X_LINUX = @FLAG_M64@ -g -mzarch -march=z900 514 AM_FLAG_M3264_MIPS32_LINUX = @FLAG_M32@ 515 AM_CFLAGS_MIPS32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) @FLAG_MIPS32@ 516 AM_CFLAGS_PSO_MIPS32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) @FLAG_MIPS32@ \ 517 $(AM_CFLAGS_PSO_BASE) 518 519 AM_CCASFLAGS_MIPS32_LINUX = @FLAG_M32@ -g @FLAG_MIPS32@ 520 AM_FLAG_M3264_MIPS64_LINUX = @FLAG_M64@ 521 AM_CFLAGS_MIPS64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) @FLAG_MIPS64@ 522 AM_CFLAGS_PSO_MIPS64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) @FLAG_MIPS64@ \ 523 $(AM_CFLAGS_PSO_BASE) 524 525 AM_CCASFLAGS_MIPS64_LINUX = @FLAG_M64@ -g @FLAG_MIPS64@ 526 AM_FLAG_M3264_X86_SOLARIS = @FLAG_M32@ 527 AM_CFLAGS_X86_SOLARIS = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY_2@ \ 528 $(AM_CFLAGS_BASE) -fomit-frame-pointer \ 529 @SOLARIS_UNDEF_LARGESOURCE@ 530 531 AM_CFLAGS_PSO_X86_SOLARIS = @FLAG_M32@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE) 532 AM_CCASFLAGS_X86_SOLARIS = @FLAG_M32@ -g -D_ASM 533 AM_FLAG_M3264_AMD64_SOLARIS = @FLAG_M64@ 534 AM_CFLAGS_AMD64_SOLARIS = @FLAG_M64@ \ 535 $(AM_CFLAGS_BASE) -fomit-frame-pointer 536 537 AM_CFLAGS_PSO_AMD64_SOLARIS = @FLAG_M64@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE) 538 AM_CCASFLAGS_AMD64_SOLARIS = @FLAG_M64@ -g -D_ASM 539 540 # Flags for the primary target. These must be used to build the 541 # regtests and performance tests. In fact, these must be used to 542 # build anything which is built only once on a dual-arch build. 543 # 544 AM_FLAG_M3264_PRI = $(AM_FLAG_M3264_@VGCONF_PLATFORM_PRI_CAPS@) 545 AM_CPPFLAGS_PRI = $(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) 546 AM_CFLAGS_PRI = $(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) 547 AM_CCASFLAGS_PRI = $(AM_CCASFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) 548 @VGCONF_HAVE_PLATFORM_SEC_FALSE@AM_FLAG_M3264_SEC = 549 @VGCONF_HAVE_PLATFORM_SEC_TRUE@AM_FLAG_M3264_SEC = $(AM_FLAG_M3264_@VGCONF_PLATFORM_SEC_CAPS@) 550 551 # Baseline link flags for making vgpreload shared objects. 552 # 553 PRELOAD_LDFLAGS_COMMON_LINUX = -nodefaultlibs -shared \ 554 -Wl,-z,interpose,-z,initfirst $(am__append_3) 555 PRELOAD_LDFLAGS_COMMON_DARWIN = -dynamic -dynamiclib -all_load 556 PRELOAD_LDFLAGS_COMMON_SOLARIS = -nodefaultlibs -shared \ 557 -Wl,-z,interpose,-z,initfirst $(am__append_2) 558 PRELOAD_LDFLAGS_X86_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@ 559 PRELOAD_LDFLAGS_AMD64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ 560 PRELOAD_LDFLAGS_PPC32_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@ 561 PRELOAD_LDFLAGS_PPC64BE_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ 562 PRELOAD_LDFLAGS_PPC64LE_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ 563 PRELOAD_LDFLAGS_ARM_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@ 564 PRELOAD_LDFLAGS_ARM64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ 565 PRELOAD_LDFLAGS_X86_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch i386 566 PRELOAD_LDFLAGS_AMD64_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch x86_64 567 PRELOAD_LDFLAGS_S390X_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ 568 PRELOAD_LDFLAGS_MIPS32_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@ 569 PRELOAD_LDFLAGS_MIPS64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ 570 PRELOAD_LDFLAGS_X86_SOLARIS = $(PRELOAD_LDFLAGS_COMMON_SOLARIS) @FLAG_M32@ 571 PRELOAD_LDFLAGS_AMD64_SOLARIS = $(PRELOAD_LDFLAGS_COMMON_SOLARIS) @FLAG_M64@ 572 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ 573 -I$(top_srcdir)/coregrind -I$(top_builddir)/include \ 574 -I$(top_srcdir)/VEX/pub -I$(top_builddir)/VEX/pub \ 575 -DVGA_@VGCONF_ARCH_PRI@=1 -DVGO_@VGCONF_OS@=1 \ 576 -DVGP_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1 \ 577 -DVGPV_@VGCONF_ARCH_PRI@_@VGCONF_OS@_@VGCONF_PLATVARIANT@=1 \ 578 $(am__append_4) 579 580 # Nb: Tools need to augment these flags with an arch-selection option, such 581 # as $(AM_FLAG_M3264_PRI). 582 AM_CFLAGS = -Winline -Wall -Wshadow -Wno-long-long -g \ 583 @FLAG_FNO_STACK_PROTECTOR@ $(am__append_5) $(am__append_6) \ 584 $(AM_FLAG_M3264_PRI) 585 AM_CXXFLAGS = -Winline -Wall -Wshadow -Wno-long-long -g \ 586 @FLAG_FNO_STACK_PROTECTOR@ $(am__append_7) \ 587 $(AM_FLAG_M3264_PRI) 588 # Include AM_CPPFLAGS in AM_CCASFLAGS to allow for older versions of 589 # automake; see comments in Makefile.all.am for more detail. 590 AM_CCASFLAGS = $(AM_CPPFLAGS) 591 @VGCONF_OS_IS_DARWIN_TRUE@noinst_DSYMS = $(check_PROGRAMS) 592 SUBDIRS = . $(am__append_8) $(am__append_9) $(am__append_10) \ 593 $(am__append_11) $(am__append_12) 594 DIST_SUBDIRS = x86 x86-linux amd64-linux ppc32-linux arm-linux . 595 dist_noinst_SCRIPTS = \ 596 filter_bb \ 597 filter_stderr 598 599 EXTRA_DIST = \ 600 logo.include logo.lzss_new 601 602 all: all-recursive 603 604 .SUFFIXES: 605 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.tool-tests.am $(top_srcdir)/Makefile.all.am $(am__configure_deps) 606 @for dep in $?; do \ 607 case '$(am__configure_deps)' in \ 608 *$$dep*) \ 609 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ 610 && { if test -f $@; then exit 0; else break; fi; }; \ 611 exit 1;; \ 612 esac; \ 613 done; \ 614 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign exp-bbv/tests/Makefile'; \ 615 $(am__cd) $(top_srcdir) && \ 616 $(AUTOMAKE) --foreign exp-bbv/tests/Makefile 617 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 618 @case '$?' in \ 619 *config.status*) \ 620 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ 621 *) \ 622 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ 623 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ 624 esac; 625 $(top_srcdir)/Makefile.tool-tests.am $(top_srcdir)/Makefile.all.am $(am__empty): 626 627 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 628 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 629 630 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 631 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 632 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) 633 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 634 $(am__aclocal_m4_deps): 635 636 clean-checkPROGRAMS: 637 -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS) 638 639 # This directory's subdirectories are mostly independent; you can cd 640 # into them and run 'make' without going through this Makefile. 641 # To change the values of 'make' variables: instead of editing Makefiles, 642 # (1) if the variable is set in 'config.status', edit 'config.status' 643 # (which will cause the Makefiles to be regenerated when you run 'make'); 644 # (2) otherwise, pass the desired values on the 'make' command line. 645 $(am__recursive_targets): 646 @fail=; \ 647 if $(am__make_keepgoing); then \ 648 failcom='fail=yes'; \ 649 else \ 650 failcom='exit 1'; \ 651 fi; \ 652 dot_seen=no; \ 653 target=`echo $@ | sed s/-recursive//`; \ 654 case "$@" in \ 655 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ 656 *) list='$(SUBDIRS)' ;; \ 657 esac; \ 658 for subdir in $$list; do \ 659 echo "Making $$target in $$subdir"; \ 660 if test "$$subdir" = "."; then \ 661 dot_seen=yes; \ 662 local_target="$$target-am"; \ 663 else \ 664 local_target="$$target"; \ 665 fi; \ 666 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ 667 || eval $$failcom; \ 668 done; \ 669 if test "$$dot_seen" = "no"; then \ 670 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ 671 fi; test -z "$$fail" 672 673 ID: $(am__tagged_files) 674 $(am__define_uniq_tagged_files); mkid -fID $$unique 675 tags: tags-recursive 676 TAGS: tags 677 678 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) 679 set x; \ 680 here=`pwd`; \ 681 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ 682 include_option=--etags-include; \ 683 empty_fix=.; \ 684 else \ 685 include_option=--include; \ 686 empty_fix=; \ 687 fi; \ 688 list='$(SUBDIRS)'; for subdir in $$list; do \ 689 if test "$$subdir" = .; then :; else \ 690 test ! -f $$subdir/TAGS || \ 691 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ 692 fi; \ 693 done; \ 694 $(am__define_uniq_tagged_files); \ 695 shift; \ 696 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ 697 test -n "$$unique" || unique=$$empty_fix; \ 698 if test $$# -gt 0; then \ 699 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 700 "$$@" $$unique; \ 701 else \ 702 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 703 $$unique; \ 704 fi; \ 705 fi 706 ctags: ctags-recursive 707 708 CTAGS: ctags 709 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) 710 $(am__define_uniq_tagged_files); \ 711 test -z "$(CTAGS_ARGS)$$unique" \ 712 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ 713 $$unique 714 715 GTAGS: 716 here=`$(am__cd) $(top_builddir) && pwd` \ 717 && $(am__cd) $(top_srcdir) \ 718 && gtags -i $(GTAGS_ARGS) "$$here" 719 cscopelist: cscopelist-recursive 720 721 cscopelist-am: $(am__tagged_files) 722 list='$(am__tagged_files)'; \ 723 case "$(srcdir)" in \ 724 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ 725 *) sdir=$(subdir)/$(srcdir) ;; \ 726 esac; \ 727 for i in $$list; do \ 728 if test -f "$$i"; then \ 729 echo "$(subdir)/$$i"; \ 730 else \ 731 echo "$$sdir/$$i"; \ 732 fi; \ 733 done >> $(top_builddir)/cscope.files 734 735 distclean-tags: 736 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 737 738 distdir: $(DISTFILES) 739 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 740 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 741 list='$(DISTFILES)'; \ 742 dist_files=`for file in $$list; do echo $$file; done | \ 743 sed -e "s|^$$srcdirstrip/||;t" \ 744 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ 745 case $$dist_files in \ 746 */*) $(MKDIR_P) `echo "$$dist_files" | \ 747 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ 748 sort -u` ;; \ 749 esac; \ 750 for file in $$dist_files; do \ 751 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ 752 if test -d $$d/$$file; then \ 753 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ 754 if test -d "$(distdir)/$$file"; then \ 755 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ 756 fi; \ 757 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ 758 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ 759 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ 760 fi; \ 761 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ 762 else \ 763 test -f "$(distdir)/$$file" \ 764 || cp -p $$d/$$file "$(distdir)/$$file" \ 765 || exit 1; \ 766 fi; \ 767 done 768 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ 769 if test "$$subdir" = .; then :; else \ 770 $(am__make_dryrun) \ 771 || test -d "$(distdir)/$$subdir" \ 772 || $(MKDIR_P) "$(distdir)/$$subdir" \ 773 || exit 1; \ 774 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ 775 $(am__relativize); \ 776 new_distdir=$$reldir; \ 777 dir1=$$subdir; dir2="$(top_distdir)"; \ 778 $(am__relativize); \ 779 new_top_distdir=$$reldir; \ 780 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ 781 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ 782 ($(am__cd) $$subdir && \ 783 $(MAKE) $(AM_MAKEFLAGS) \ 784 top_distdir="$$new_top_distdir" \ 785 distdir="$$new_distdir" \ 786 am__remove_distdir=: \ 787 am__skip_length_check=: \ 788 am__skip_mode_fix=: \ 789 distdir) \ 790 || exit 1; \ 791 fi; \ 792 done 793 check-am: all-am 794 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) 795 $(MAKE) $(AM_MAKEFLAGS) check-local 796 check: check-recursive 797 all-am: Makefile $(SCRIPTS) 798 installdirs: installdirs-recursive 799 installdirs-am: 800 install: install-recursive 801 install-exec: install-exec-recursive 802 install-data: install-data-recursive 803 uninstall: uninstall-recursive 804 805 install-am: all-am 806 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 807 808 installcheck: installcheck-recursive 809 install-strip: 810 if test -z '$(STRIP)'; then \ 811 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 812 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 813 install; \ 814 else \ 815 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 816 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 817 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ 818 fi 819 mostlyclean-generic: 820 821 clean-generic: 822 823 distclean-generic: 824 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) 825 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) 826 827 maintainer-clean-generic: 828 @echo "This command is intended for maintainers to use" 829 @echo "it deletes files that may require special tools to rebuild." 830 clean: clean-recursive 831 832 clean-am: clean-checkPROGRAMS clean-generic clean-local mostlyclean-am 833 834 distclean: distclean-recursive 835 -rm -f Makefile 836 distclean-am: clean-am distclean-generic distclean-tags 837 838 dvi: dvi-recursive 839 840 dvi-am: 841 842 html: html-recursive 843 844 html-am: 845 846 info: info-recursive 847 848 info-am: 849 850 install-data-am: 851 852 install-dvi: install-dvi-recursive 853 854 install-dvi-am: 855 856 install-exec-am: 857 858 install-html: install-html-recursive 859 860 install-html-am: 861 862 install-info: install-info-recursive 863 864 install-info-am: 865 866 install-man: 867 868 install-pdf: install-pdf-recursive 869 870 install-pdf-am: 871 872 install-ps: install-ps-recursive 873 874 install-ps-am: 875 876 installcheck-am: 877 878 maintainer-clean: maintainer-clean-recursive 879 -rm -f Makefile 880 maintainer-clean-am: distclean-am maintainer-clean-generic 881 882 mostlyclean: mostlyclean-recursive 883 884 mostlyclean-am: mostlyclean-generic 885 886 pdf: pdf-recursive 887 888 pdf-am: 889 890 ps: ps-recursive 891 892 ps-am: 893 894 uninstall-am: 895 896 .MAKE: $(am__recursive_targets) check-am install-am install-strip 897 898 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ 899 check-am check-local clean clean-checkPROGRAMS clean-generic \ 900 clean-local cscopelist-am ctags ctags-am distclean \ 901 distclean-generic distclean-tags distdir dvi dvi-am html \ 902 html-am info info-am install install-am install-data \ 903 install-data-am install-dvi install-dvi-am install-exec \ 904 install-exec-am install-html install-html-am install-info \ 905 install-info-am install-man install-pdf install-pdf-am \ 906 install-ps install-ps-am install-strip installcheck \ 907 installcheck-am installdirs installdirs-am maintainer-clean \ 908 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ 909 pdf-am ps ps-am tags tags-am uninstall uninstall-am 910 911 .PRECIOUS: Makefile 912 913 914 # This used to be required when Vex had a handwritten Makefile. It 915 # shouldn't be needed any more, though. 916 917 #---------------------------------------------------------------------------- 918 # noinst_PROGRAMS and noinst_DSYMS targets 919 #---------------------------------------------------------------------------- 920 921 # On Darwin, for a program 'p', the DWARF debug info is stored in the 922 # directory 'p.dSYM'. This must be generated after the executable is 923 # created, with 'dsymutil p'. We could redefine LINK with a script that 924 # executes 'dsymutil' after linking, but that's a pain. Instead we use this 925 # hook so that every time "make check" is run, we subsequently invoke 926 # 'dsymutil' on all the executables that lack a .dSYM directory, or that are 927 # newer than their corresponding .dSYM directory. 928 build-noinst_DSYMS: $(noinst_DSYMS) 929 for f in $(noinst_DSYMS); do \ 930 if [ ! -e $$f.dSYM -o $$f -nt $$f.dSYM ] ; then \ 931 echo "dsymutil $$f"; \ 932 dsymutil $$f; \ 933 fi; \ 934 done 935 936 # This is used by coregrind/Makefile.am and Makefile.tool.am for doing 937 # "in-place" installs. It copies $(noinst_PROGRAMS) into $inplacedir. 938 # It needs to be depended on by an 'all-local' rule. 939 inplace-noinst_PROGRAMS: $(noinst_PROGRAMS) 940 mkdir -p $(inplacedir); \ 941 for f in $(noinst_PROGRAMS) ; do \ 942 rm -f $(inplacedir)/$$f; \ 943 ln -f -s ../$(subdir)/$$f $(inplacedir); \ 944 done 945 946 # Similar to inplace-noinst_PROGRAMS 947 inplace-noinst_DSYMS: build-noinst_DSYMS 948 mkdir -p $(inplacedir); \ 949 for f in $(noinst_DSYMS); do \ 950 rm -f $(inplacedir)/$$f.dSYM; \ 951 ln -f -s ../$(subdir)/$$f.dSYM $(inplacedir); \ 952 done 953 954 # This is used by coregrind/Makefile.am and by <tool>/Makefile.am for doing 955 # "make install". It copies $(noinst_PROGRAMS) into $prefix/lib/valgrind/. 956 # It needs to be depended on by an 'install-exec-local' rule. 957 install-noinst_PROGRAMS: $(noinst_PROGRAMS) 958 $(mkinstalldirs) $(DESTDIR)$(pkglibdir); \ 959 for f in $(noinst_PROGRAMS); do \ 960 $(INSTALL_PROGRAM) $$f $(DESTDIR)$(pkglibdir); \ 961 done 962 963 # This is used by coregrind/Makefile.am and by <tool>/Makefile.am for doing 964 # "make uninstall". It removes $(noinst_PROGRAMS) from $prefix/lib/valgrind/. 965 # It needs to be depended on by an 'uninstall-local' rule. 966 uninstall-noinst_PROGRAMS: 967 for f in $(noinst_PROGRAMS); do \ 968 rm -f $(DESTDIR)$(pkglibdir)/$$f; \ 969 done 970 971 # Similar to install-noinst_PROGRAMS. 972 # Nb: we don't use $(INSTALL_PROGRAM) here because it doesn't work with 973 # directories. XXX: not sure whether the resulting permissions will be 974 # correct when using 'cp -R'... 975 install-noinst_DSYMS: build-noinst_DSYMS 976 $(mkinstalldirs) $(DESTDIR)$(pkglibdir); \ 977 for f in $(noinst_DSYMS); do \ 978 cp -R $$f.dSYM $(DESTDIR)$(pkglibdir); \ 979 done 980 981 # Similar to uninstall-noinst_PROGRAMS. 982 uninstall-noinst_DSYMS: 983 for f in $(noinst_DSYMS); do \ 984 rm -f $(DESTDIR)$(pkglibdir)/$$f.dSYM; \ 985 done 986 987 # This needs to be depended on by a 'clean-local' rule. 988 clean-noinst_DSYMS: 989 for f in $(noinst_DSYMS); do \ 990 rm -rf $$f.dSYM; \ 991 done 992 993 check-local: build-noinst_DSYMS 994 995 clean-local: clean-noinst_DSYMS 996 997 # Tell versions [3.59,3.63) of GNU make to not export all variables. 998 # Otherwise a system limit (for SysV at least) may be exceeded. 999 .NOEXPORT: 1000