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 = blockfault$(EXEEXT) brk-overflow1$(EXEEXT) \ 124 brk-overflow2$(EXEEXT) clonev$(EXEEXT) mremap$(EXEEXT) \ 125 mremap2$(EXEEXT) mremap3$(EXEEXT) mremap4$(EXEEXT) \ 126 mremap5$(EXEEXT) mremap6$(EXEEXT) pthread-stack$(EXEEXT) \ 127 stack-overflow$(EXEEXT) 128 subdir = none/tests/linux 129 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 130 am__aclocal_m4_deps = $(top_srcdir)/configure.ac 131 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 132 $(ACLOCAL_M4) 133 DIST_COMMON = $(srcdir)/Makefile.am $(dist_noinst_SCRIPTS) \ 134 $(am__DIST_COMMON) 135 mkinstalldirs = $(install_sh) -d 136 CONFIG_HEADER = $(top_builddir)/config.h 137 CONFIG_CLEAN_FILES = 138 CONFIG_CLEAN_VPATH_FILES = 139 blockfault_SOURCES = blockfault.c 140 blockfault_OBJECTS = blockfault.$(OBJEXT) 141 blockfault_LDADD = $(LDADD) 142 brk_overflow1_SOURCES = brk-overflow1.c 143 brk_overflow1_OBJECTS = brk-overflow1.$(OBJEXT) 144 brk_overflow1_LDADD = $(LDADD) 145 brk_overflow2_SOURCES = brk-overflow2.c 146 brk_overflow2_OBJECTS = brk-overflow2.$(OBJEXT) 147 brk_overflow2_LDADD = $(LDADD) 148 clonev_SOURCES = clonev.c 149 clonev_OBJECTS = clonev.$(OBJEXT) 150 clonev_DEPENDENCIES = 151 mremap_SOURCES = mremap.c 152 mremap_OBJECTS = mremap.$(OBJEXT) 153 mremap_LDADD = $(LDADD) 154 mremap2_SOURCES = mremap2.c 155 mremap2_OBJECTS = mremap2.$(OBJEXT) 156 mremap2_LDADD = $(LDADD) 157 mremap3_SOURCES = mremap3.c 158 mremap3_OBJECTS = mremap3.$(OBJEXT) 159 mremap3_LDADD = $(LDADD) 160 mremap4_SOURCES = mremap4.c 161 mremap4_OBJECTS = mremap4.$(OBJEXT) 162 mremap4_LDADD = $(LDADD) 163 mremap5_SOURCES = mremap5.c 164 mremap5_OBJECTS = mremap5.$(OBJEXT) 165 mremap5_LDADD = $(LDADD) 166 mremap6_SOURCES = mremap6.c 167 mremap6_OBJECTS = mremap6.$(OBJEXT) 168 mremap6_LDADD = $(LDADD) 169 pthread_stack_SOURCES = pthread-stack.c 170 pthread_stack_OBJECTS = pthread-stack.$(OBJEXT) 171 pthread_stack_DEPENDENCIES = 172 stack_overflow_SOURCES = stack-overflow.c 173 stack_overflow_OBJECTS = stack_overflow-stack-overflow.$(OBJEXT) 174 stack_overflow_LDADD = $(LDADD) 175 stack_overflow_LINK = $(CCLD) $(stack_overflow_CFLAGS) $(CFLAGS) \ 176 $(AM_LDFLAGS) $(LDFLAGS) -o $@ 177 SCRIPTS = $(dist_noinst_SCRIPTS) 178 AM_V_P = $(am__v_P_@AM_V@) 179 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) 180 am__v_P_0 = false 181 am__v_P_1 = : 182 AM_V_GEN = $(am__v_GEN_@AM_V@) 183 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) 184 am__v_GEN_0 = @echo " GEN " $@; 185 am__v_GEN_1 = 186 AM_V_at = $(am__v_at_@AM_V@) 187 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) 188 am__v_at_0 = @ 189 am__v_at_1 = 190 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) 191 depcomp = $(SHELL) $(top_srcdir)/depcomp 192 am__depfiles_maybe = depfiles 193 am__mv = mv -f 194 AM_V_lt = $(am__v_lt_@AM_V@) 195 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) 196 am__v_lt_0 = --silent 197 am__v_lt_1 = 198 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ 199 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 200 AM_V_CC = $(am__v_CC_@AM_V@) 201 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) 202 am__v_CC_0 = @echo " CC " $@; 203 am__v_CC_1 = 204 CCLD = $(CC) 205 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ 206 AM_V_CCLD = $(am__v_CCLD_@AM_V@) 207 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) 208 am__v_CCLD_0 = @echo " CCLD " $@; 209 am__v_CCLD_1 = 210 SOURCES = blockfault.c brk-overflow1.c brk-overflow2.c clonev.c \ 211 mremap.c mremap2.c mremap3.c mremap4.c mremap5.c mremap6.c \ 212 pthread-stack.c stack-overflow.c 213 DIST_SOURCES = blockfault.c brk-overflow1.c brk-overflow2.c clonev.c \ 214 mremap.c mremap2.c mremap3.c mremap4.c mremap5.c mremap6.c \ 215 pthread-stack.c stack-overflow.c 216 am__can_run_installinfo = \ 217 case $$AM_UPDATE_INFO_DIR in \ 218 n|no|NO) false;; \ 219 *) (install-info --version) >/dev/null 2>&1;; \ 220 esac 221 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) 222 # Read a list of newline-separated strings from the standard input, 223 # and print each of them once, without duplicates. Input order is 224 # *not* preserved. 225 am__uniquify_input = $(AWK) '\ 226 BEGIN { nonempty = 0; } \ 227 { items[$$0] = 1; nonempty = 1; } \ 228 END { if (nonempty) { for (i in items) print i; }; } \ 229 ' 230 # Make sure the list of sources is unique. This is necessary because, 231 # e.g., the same source file might be shared among _SOURCES variables 232 # for different programs/libraries. 233 am__define_uniq_tagged_files = \ 234 list='$(am__tagged_files)'; \ 235 unique=`for i in $$list; do \ 236 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 237 done | $(am__uniquify_input)` 238 ETAGS = etags 239 CTAGS = ctags 240 am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.all.am \ 241 $(top_srcdir)/Makefile.tool-tests.am $(top_srcdir)/depcomp 242 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 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 dist_noinst_SCRIPTS = filter_stderr 611 EXTRA_DIST = \ 612 blockfault.stderr.exp blockfault.vgtest \ 613 brk-overflow1.stderr.exp brk-overflow1.vgtest \ 614 brk-overflow2.stderr.exp brk-overflow2.vgtest \ 615 clonev.stdout.exp clonev.stderr.exp clonev.vgtest \ 616 mremap.stderr.exp mremap.stderr.exp-glibc27 mremap.stdout.exp \ 617 mremap.vgtest \ 618 mremap2.stderr.exp mremap2.stdout.exp mremap2.vgtest \ 619 mremap3.stderr.exp mremap3.stdout.exp mremap3.vgtest \ 620 mremap4.stderr.exp mremap4.vgtest \ 621 mremap5.stderr.exp mremap5.vgtest \ 622 mremap6.stderr.exp mremap6.vgtest \ 623 pthread-stack.stderr.exp pthread-stack.vgtest \ 624 stack-overflow.stderr.exp stack-overflow.vgtest 625 626 627 # Special needs 628 clonev_LDADD = -lpthread 629 pthread_stack_LDADD = -lpthread 630 stack_overflow_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_UNINITIALIZED@ \ 631 @FLAG_W_NO_INFINITE_RECURSION@ 632 633 all: all-am 634 635 .SUFFIXES: 636 .SUFFIXES: .c .o .obj 637 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.tool-tests.am $(top_srcdir)/Makefile.all.am $(am__configure_deps) 638 @for dep in $?; do \ 639 case '$(am__configure_deps)' in \ 640 *$$dep*) \ 641 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ 642 && { if test -f $@; then exit 0; else break; fi; }; \ 643 exit 1;; \ 644 esac; \ 645 done; \ 646 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign none/tests/linux/Makefile'; \ 647 $(am__cd) $(top_srcdir) && \ 648 $(AUTOMAKE) --foreign none/tests/linux/Makefile 649 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 650 @case '$?' in \ 651 *config.status*) \ 652 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ 653 *) \ 654 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ 655 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ 656 esac; 657 $(top_srcdir)/Makefile.tool-tests.am $(top_srcdir)/Makefile.all.am $(am__empty): 658 659 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 660 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 661 662 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 663 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 664 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) 665 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 666 $(am__aclocal_m4_deps): 667 668 clean-checkPROGRAMS: 669 -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS) 670 671 blockfault$(EXEEXT): $(blockfault_OBJECTS) $(blockfault_DEPENDENCIES) $(EXTRA_blockfault_DEPENDENCIES) 672 @rm -f blockfault$(EXEEXT) 673 $(AM_V_CCLD)$(LINK) $(blockfault_OBJECTS) $(blockfault_LDADD) $(LIBS) 674 675 brk-overflow1$(EXEEXT): $(brk_overflow1_OBJECTS) $(brk_overflow1_DEPENDENCIES) $(EXTRA_brk_overflow1_DEPENDENCIES) 676 @rm -f brk-overflow1$(EXEEXT) 677 $(AM_V_CCLD)$(LINK) $(brk_overflow1_OBJECTS) $(brk_overflow1_LDADD) $(LIBS) 678 679 brk-overflow2$(EXEEXT): $(brk_overflow2_OBJECTS) $(brk_overflow2_DEPENDENCIES) $(EXTRA_brk_overflow2_DEPENDENCIES) 680 @rm -f brk-overflow2$(EXEEXT) 681 $(AM_V_CCLD)$(LINK) $(brk_overflow2_OBJECTS) $(brk_overflow2_LDADD) $(LIBS) 682 683 clonev$(EXEEXT): $(clonev_OBJECTS) $(clonev_DEPENDENCIES) $(EXTRA_clonev_DEPENDENCIES) 684 @rm -f clonev$(EXEEXT) 685 $(AM_V_CCLD)$(LINK) $(clonev_OBJECTS) $(clonev_LDADD) $(LIBS) 686 687 mremap$(EXEEXT): $(mremap_OBJECTS) $(mremap_DEPENDENCIES) $(EXTRA_mremap_DEPENDENCIES) 688 @rm -f mremap$(EXEEXT) 689 $(AM_V_CCLD)$(LINK) $(mremap_OBJECTS) $(mremap_LDADD) $(LIBS) 690 691 mremap2$(EXEEXT): $(mremap2_OBJECTS) $(mremap2_DEPENDENCIES) $(EXTRA_mremap2_DEPENDENCIES) 692 @rm -f mremap2$(EXEEXT) 693 $(AM_V_CCLD)$(LINK) $(mremap2_OBJECTS) $(mremap2_LDADD) $(LIBS) 694 695 mremap3$(EXEEXT): $(mremap3_OBJECTS) $(mremap3_DEPENDENCIES) $(EXTRA_mremap3_DEPENDENCIES) 696 @rm -f mremap3$(EXEEXT) 697 $(AM_V_CCLD)$(LINK) $(mremap3_OBJECTS) $(mremap3_LDADD) $(LIBS) 698 699 mremap4$(EXEEXT): $(mremap4_OBJECTS) $(mremap4_DEPENDENCIES) $(EXTRA_mremap4_DEPENDENCIES) 700 @rm -f mremap4$(EXEEXT) 701 $(AM_V_CCLD)$(LINK) $(mremap4_OBJECTS) $(mremap4_LDADD) $(LIBS) 702 703 mremap5$(EXEEXT): $(mremap5_OBJECTS) $(mremap5_DEPENDENCIES) $(EXTRA_mremap5_DEPENDENCIES) 704 @rm -f mremap5$(EXEEXT) 705 $(AM_V_CCLD)$(LINK) $(mremap5_OBJECTS) $(mremap5_LDADD) $(LIBS) 706 707 mremap6$(EXEEXT): $(mremap6_OBJECTS) $(mremap6_DEPENDENCIES) $(EXTRA_mremap6_DEPENDENCIES) 708 @rm -f mremap6$(EXEEXT) 709 $(AM_V_CCLD)$(LINK) $(mremap6_OBJECTS) $(mremap6_LDADD) $(LIBS) 710 711 pthread-stack$(EXEEXT): $(pthread_stack_OBJECTS) $(pthread_stack_DEPENDENCIES) $(EXTRA_pthread_stack_DEPENDENCIES) 712 @rm -f pthread-stack$(EXEEXT) 713 $(AM_V_CCLD)$(LINK) $(pthread_stack_OBJECTS) $(pthread_stack_LDADD) $(LIBS) 714 715 stack-overflow$(EXEEXT): $(stack_overflow_OBJECTS) $(stack_overflow_DEPENDENCIES) $(EXTRA_stack_overflow_DEPENDENCIES) 716 @rm -f stack-overflow$(EXEEXT) 717 $(AM_V_CCLD)$(stack_overflow_LINK) $(stack_overflow_OBJECTS) $(stack_overflow_LDADD) $(LIBS) 718 719 mostlyclean-compile: 720 -rm -f *.$(OBJEXT) 721 722 distclean-compile: 723 -rm -f *.tab.c 724 725 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/blockfault.Po@am__quote@ 726 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/brk-overflow1.Po@am__quote@ 727 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/brk-overflow2.Po@am__quote@ 728 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/clonev.Po@am__quote@ 729 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mremap.Po@am__quote@ 730 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mremap2.Po@am__quote@ 731 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mremap3.Po@am__quote@ 732 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mremap4.Po@am__quote@ 733 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mremap5.Po@am__quote@ 734 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mremap6.Po@am__quote@ 735 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pthread-stack.Po@am__quote@ 736 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stack_overflow-stack-overflow.Po@am__quote@ 737 738 .c.o: 739 @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ 740 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ 741 @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po 742 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 743 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 744 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< 745 746 .c.obj: 747 @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ 748 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ 749 @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po 750 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 751 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 752 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` 753 754 stack_overflow-stack-overflow.o: stack-overflow.c 755 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(stack_overflow_CFLAGS) $(CFLAGS) -MT stack_overflow-stack-overflow.o -MD -MP -MF $(DEPDIR)/stack_overflow-stack-overflow.Tpo -c -o stack_overflow-stack-overflow.o `test -f 'stack-overflow.c' || echo '$(srcdir)/'`stack-overflow.c 756 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/stack_overflow-stack-overflow.Tpo $(DEPDIR)/stack_overflow-stack-overflow.Po 757 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='stack-overflow.c' object='stack_overflow-stack-overflow.o' libtool=no @AMDEPBACKSLASH@ 758 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 759 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(stack_overflow_CFLAGS) $(CFLAGS) -c -o stack_overflow-stack-overflow.o `test -f 'stack-overflow.c' || echo '$(srcdir)/'`stack-overflow.c 760 761 stack_overflow-stack-overflow.obj: stack-overflow.c 762 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(stack_overflow_CFLAGS) $(CFLAGS) -MT stack_overflow-stack-overflow.obj -MD -MP -MF $(DEPDIR)/stack_overflow-stack-overflow.Tpo -c -o stack_overflow-stack-overflow.obj `if test -f 'stack-overflow.c'; then $(CYGPATH_W) 'stack-overflow.c'; else $(CYGPATH_W) '$(srcdir)/stack-overflow.c'; fi` 763 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/stack_overflow-stack-overflow.Tpo $(DEPDIR)/stack_overflow-stack-overflow.Po 764 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='stack-overflow.c' object='stack_overflow-stack-overflow.obj' libtool=no @AMDEPBACKSLASH@ 765 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 766 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(stack_overflow_CFLAGS) $(CFLAGS) -c -o stack_overflow-stack-overflow.obj `if test -f 'stack-overflow.c'; then $(CYGPATH_W) 'stack-overflow.c'; else $(CYGPATH_W) '$(srcdir)/stack-overflow.c'; fi` 767 768 ID: $(am__tagged_files) 769 $(am__define_uniq_tagged_files); mkid -fID $$unique 770 tags: tags-am 771 TAGS: tags 772 773 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) 774 set x; \ 775 here=`pwd`; \ 776 $(am__define_uniq_tagged_files); \ 777 shift; \ 778 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ 779 test -n "$$unique" || unique=$$empty_fix; \ 780 if test $$# -gt 0; then \ 781 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 782 "$$@" $$unique; \ 783 else \ 784 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 785 $$unique; \ 786 fi; \ 787 fi 788 ctags: ctags-am 789 790 CTAGS: ctags 791 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) 792 $(am__define_uniq_tagged_files); \ 793 test -z "$(CTAGS_ARGS)$$unique" \ 794 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ 795 $$unique 796 797 GTAGS: 798 here=`$(am__cd) $(top_builddir) && pwd` \ 799 && $(am__cd) $(top_srcdir) \ 800 && gtags -i $(GTAGS_ARGS) "$$here" 801 cscopelist: cscopelist-am 802 803 cscopelist-am: $(am__tagged_files) 804 list='$(am__tagged_files)'; \ 805 case "$(srcdir)" in \ 806 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ 807 *) sdir=$(subdir)/$(srcdir) ;; \ 808 esac; \ 809 for i in $$list; do \ 810 if test -f "$$i"; then \ 811 echo "$(subdir)/$$i"; \ 812 else \ 813 echo "$$sdir/$$i"; \ 814 fi; \ 815 done >> $(top_builddir)/cscope.files 816 817 distclean-tags: 818 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 819 820 distdir: $(DISTFILES) 821 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 822 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 823 list='$(DISTFILES)'; \ 824 dist_files=`for file in $$list; do echo $$file; done | \ 825 sed -e "s|^$$srcdirstrip/||;t" \ 826 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ 827 case $$dist_files in \ 828 */*) $(MKDIR_P) `echo "$$dist_files" | \ 829 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ 830 sort -u` ;; \ 831 esac; \ 832 for file in $$dist_files; do \ 833 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ 834 if test -d $$d/$$file; then \ 835 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ 836 if test -d "$(distdir)/$$file"; then \ 837 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ 838 fi; \ 839 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ 840 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ 841 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ 842 fi; \ 843 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ 844 else \ 845 test -f "$(distdir)/$$file" \ 846 || cp -p $$d/$$file "$(distdir)/$$file" \ 847 || exit 1; \ 848 fi; \ 849 done 850 check-am: all-am 851 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) 852 $(MAKE) $(AM_MAKEFLAGS) check-local 853 check: check-am 854 all-am: Makefile $(SCRIPTS) 855 installdirs: 856 install: install-am 857 install-exec: install-exec-am 858 install-data: install-data-am 859 uninstall: uninstall-am 860 861 install-am: all-am 862 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 863 864 installcheck: installcheck-am 865 install-strip: 866 if test -z '$(STRIP)'; then \ 867 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 868 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 869 install; \ 870 else \ 871 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 872 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 873 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ 874 fi 875 mostlyclean-generic: 876 877 clean-generic: 878 879 distclean-generic: 880 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) 881 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) 882 883 maintainer-clean-generic: 884 @echo "This command is intended for maintainers to use" 885 @echo "it deletes files that may require special tools to rebuild." 886 clean: clean-am 887 888 clean-am: clean-checkPROGRAMS clean-generic clean-local mostlyclean-am 889 890 distclean: distclean-am 891 -rm -rf ./$(DEPDIR) 892 -rm -f Makefile 893 distclean-am: clean-am distclean-compile distclean-generic \ 894 distclean-tags 895 896 dvi: dvi-am 897 898 dvi-am: 899 900 html: html-am 901 902 html-am: 903 904 info: info-am 905 906 info-am: 907 908 install-data-am: 909 910 install-dvi: install-dvi-am 911 912 install-dvi-am: 913 914 install-exec-am: 915 916 install-html: install-html-am 917 918 install-html-am: 919 920 install-info: install-info-am 921 922 install-info-am: 923 924 install-man: 925 926 install-pdf: install-pdf-am 927 928 install-pdf-am: 929 930 install-ps: install-ps-am 931 932 install-ps-am: 933 934 installcheck-am: 935 936 maintainer-clean: maintainer-clean-am 937 -rm -rf ./$(DEPDIR) 938 -rm -f Makefile 939 maintainer-clean-am: distclean-am maintainer-clean-generic 940 941 mostlyclean: mostlyclean-am 942 943 mostlyclean-am: mostlyclean-compile mostlyclean-generic 944 945 pdf: pdf-am 946 947 pdf-am: 948 949 ps: ps-am 950 951 ps-am: 952 953 uninstall-am: 954 955 .MAKE: check-am install-am install-strip 956 957 .PHONY: CTAGS GTAGS TAGS all all-am check check-am check-local clean \ 958 clean-checkPROGRAMS clean-generic clean-local cscopelist-am \ 959 ctags ctags-am distclean distclean-compile distclean-generic \ 960 distclean-tags distdir dvi dvi-am html html-am info info-am \ 961 install install-am install-data install-data-am install-dvi \ 962 install-dvi-am install-exec install-exec-am install-html \ 963 install-html-am install-info install-info-am install-man \ 964 install-pdf install-pdf-am install-ps install-ps-am \ 965 install-strip installcheck installcheck-am installdirs \ 966 maintainer-clean maintainer-clean-generic mostlyclean \ 967 mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \ 968 tags tags-am uninstall uninstall-am 969 970 .PRECIOUS: Makefile 971 972 973 # This used to be required when Vex had a handwritten Makefile. It 974 # shouldn't be needed any more, though. 975 976 #---------------------------------------------------------------------------- 977 # noinst_PROGRAMS and noinst_DSYMS targets 978 #---------------------------------------------------------------------------- 979 980 # On Darwin, for a program 'p', the DWARF debug info is stored in the 981 # directory 'p.dSYM'. This must be generated after the executable is 982 # created, with 'dsymutil p'. We could redefine LINK with a script that 983 # executes 'dsymutil' after linking, but that's a pain. Instead we use this 984 # hook so that every time "make check" is run, we subsequently invoke 985 # 'dsymutil' on all the executables that lack a .dSYM directory, or that are 986 # newer than their corresponding .dSYM directory. 987 build-noinst_DSYMS: $(noinst_DSYMS) 988 for f in $(noinst_DSYMS); do \ 989 if [ ! -e $$f.dSYM -o $$f -nt $$f.dSYM ] ; then \ 990 echo "dsymutil $$f"; \ 991 dsymutil $$f; \ 992 fi; \ 993 done 994 995 # This is used by coregrind/Makefile.am and Makefile.tool.am for doing 996 # "in-place" installs. It copies $(noinst_PROGRAMS) into $inplacedir. 997 # It needs to be depended on by an 'all-local' rule. 998 inplace-noinst_PROGRAMS: $(noinst_PROGRAMS) 999 mkdir -p $(inplacedir); \ 1000 for f in $(noinst_PROGRAMS) ; do \ 1001 rm -f $(inplacedir)/$$f; \ 1002 ln -f -s ../$(subdir)/$$f $(inplacedir); \ 1003 done 1004 1005 # Similar to inplace-noinst_PROGRAMS 1006 inplace-noinst_DSYMS: build-noinst_DSYMS 1007 mkdir -p $(inplacedir); \ 1008 for f in $(noinst_DSYMS); do \ 1009 rm -f $(inplacedir)/$$f.dSYM; \ 1010 ln -f -s ../$(subdir)/$$f.dSYM $(inplacedir); \ 1011 done 1012 1013 # This is used by coregrind/Makefile.am and by <tool>/Makefile.am for doing 1014 # "make install". It copies $(noinst_PROGRAMS) into $prefix/lib/valgrind/. 1015 # It needs to be depended on by an 'install-exec-local' rule. 1016 install-noinst_PROGRAMS: $(noinst_PROGRAMS) 1017 $(mkinstalldirs) $(DESTDIR)$(pkglibdir); \ 1018 for f in $(noinst_PROGRAMS); do \ 1019 $(INSTALL_PROGRAM) $$f $(DESTDIR)$(pkglibdir); \ 1020 done 1021 1022 # This is used by coregrind/Makefile.am and by <tool>/Makefile.am for doing 1023 # "make uninstall". It removes $(noinst_PROGRAMS) from $prefix/lib/valgrind/. 1024 # It needs to be depended on by an 'uninstall-local' rule. 1025 uninstall-noinst_PROGRAMS: 1026 for f in $(noinst_PROGRAMS); do \ 1027 rm -f $(DESTDIR)$(pkglibdir)/$$f; \ 1028 done 1029 1030 # Similar to install-noinst_PROGRAMS. 1031 # Nb: we don't use $(INSTALL_PROGRAM) here because it doesn't work with 1032 # directories. XXX: not sure whether the resulting permissions will be 1033 # correct when using 'cp -R'... 1034 install-noinst_DSYMS: build-noinst_DSYMS 1035 $(mkinstalldirs) $(DESTDIR)$(pkglibdir); \ 1036 for f in $(noinst_DSYMS); do \ 1037 cp -R $$f.dSYM $(DESTDIR)$(pkglibdir); \ 1038 done 1039 1040 # Similar to uninstall-noinst_PROGRAMS. 1041 uninstall-noinst_DSYMS: 1042 for f in $(noinst_DSYMS); do \ 1043 rm -f $(DESTDIR)$(pkglibdir)/$$f.dSYM; \ 1044 done 1045 1046 # This needs to be depended on by a 'clean-local' rule. 1047 clean-noinst_DSYMS: 1048 for f in $(noinst_DSYMS); do \ 1049 rm -rf $$f.dSYM; \ 1050 done 1051 1052 check-local: build-noinst_DSYMS 1053 1054 clean-local: clean-noinst_DSYMS 1055 1056 # Tell versions [3.59,3.63) of GNU make to not export all variables. 1057 # Otherwise a system limit (for SysV at least) may be exceeded. 1058 .NOEXPORT: 1059