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