1 # Makefile.in generated by automake 1.11.3 from Makefile.am. 2 # @configure_input@ 3 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software 6 # Foundation, Inc. 7 # This Makefile.in is free software; the Free Software Foundation 8 # gives unlimited permission to copy and/or distribute it, 9 # with or without modifications, as long as this notice is preserved. 10 11 # This program is distributed in the hope that it will be useful, 12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without 13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A 14 # PARTICULAR PURPOSE. 15 16 @SET_MAKE@ 17 18 # This file is used for tool tests, and also in perf/Makefile.am. 19 20 # This file should be included (directly or indirectly) by every 21 # Makefile.am that builds programs. And also the top-level Makefile.am. 22 23 #---------------------------------------------------------------------------- 24 # Global stuff 25 #---------------------------------------------------------------------------- 26 27 VPATH = @srcdir@ 28 pkgdatadir = $(datadir)/@PACKAGE@ 29 pkgincludedir = $(includedir)/@PACKAGE@ 30 pkglibdir = $(libdir)/@PACKAGE@ 31 pkglibexecdir = $(libexecdir)/@PACKAGE@ 32 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 33 install_sh_DATA = $(install_sh) -c -m 644 34 install_sh_PROGRAM = $(install_sh) -c 35 install_sh_SCRIPT = $(install_sh) -c 36 INSTALL_HEADER = $(INSTALL_DATA) 37 transform = $(program_transform_name) 38 NORMAL_INSTALL = : 39 PRE_INSTALL = : 40 POST_INSTALL = : 41 NORMAL_UNINSTALL = : 42 PRE_UNINSTALL = : 43 POST_UNINSTALL = : 44 build_triplet = @build@ 45 host_triplet = @host@ 46 DIST_COMMON = $(dist_noinst_SCRIPTS) $(srcdir)/Makefile.am \ 47 $(srcdir)/Makefile.in $(top_srcdir)/Makefile.all.am \ 48 $(top_srcdir)/Makefile.tool-tests.am 49 50 # The Android toolchain includes all kinds of stdlib helpers present in 51 # bionic which is bad because we are not linking with it and the Android 52 # linker will panic. 53 @VGCONF_PLATVARIANT_IS_ANDROID_TRUE@am__append_1 = -nostdlib 54 @VGCONF_HAVE_PLATFORM_SEC_TRUE@am__append_2 = -DVGA_SEC_@VGCONF_ARCH_SEC@=1 \ 55 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGP_SEC_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1 56 57 @HAS_WRITE_STRINGS_WARNING_TRUE@am__append_3 = -Wno-write-strings 58 @COMPILER_IS_CLANG_TRUE@am__append_4 = -Wno-format-extra-args \ 59 @COMPILER_IS_CLANG_TRUE@ -Wno-literal-range \ 60 @COMPILER_IS_CLANG_TRUE@ -Wno-string-plus-int # \ 61 @COMPILER_IS_CLANG_TRUE@ drd/tests/annotate_ignore_rw.c 62 @COMPILER_IS_CLANG_TRUE@am__append_5 = -Wno-unused-private-field # drd/tests/tsan_unittest.cpp 63 check_PROGRAMS = alloc-fns$(EXEEXT) basic$(EXEEXT) big-alloc$(EXEEXT) \ 64 culling1$(EXEEXT) culling2$(EXEEXT) custom_alloc$(EXEEXT) \ 65 deep$(EXEEXT) ignored$(EXEEXT) ignoring$(EXEEXT) \ 66 insig$(EXEEXT) long-names$(EXEEXT) long-time$(EXEEXT) \ 67 malloc_usable$(EXEEXT) new-cpp$(EXEEXT) null$(EXEEXT) \ 68 one$(EXEEXT) overloaded-new$(EXEEXT) pages_as_heap$(EXEEXT) \ 69 peak$(EXEEXT) realloc$(EXEEXT) thresholds$(EXEEXT) \ 70 zero$(EXEEXT) 71 subdir = massif/tests 72 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 73 am__aclocal_m4_deps = $(top_srcdir)/configure.ac 74 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 75 $(ACLOCAL_M4) 76 mkinstalldirs = $(install_sh) -d 77 CONFIG_HEADER = $(top_builddir)/config.h 78 CONFIG_CLEAN_FILES = 79 CONFIG_CLEAN_VPATH_FILES = 80 alloc_fns_SOURCES = alloc-fns.c 81 alloc_fns_OBJECTS = alloc-fns.$(OBJEXT) 82 alloc_fns_LDADD = $(LDADD) 83 basic_SOURCES = basic.c 84 basic_OBJECTS = basic.$(OBJEXT) 85 basic_LDADD = $(LDADD) 86 big_alloc_SOURCES = big-alloc.c 87 big_alloc_OBJECTS = big-alloc.$(OBJEXT) 88 big_alloc_LDADD = $(LDADD) 89 culling1_SOURCES = culling1.c 90 culling1_OBJECTS = culling1.$(OBJEXT) 91 culling1_LDADD = $(LDADD) 92 culling2_SOURCES = culling2.c 93 culling2_OBJECTS = culling2.$(OBJEXT) 94 culling2_LDADD = $(LDADD) 95 custom_alloc_SOURCES = custom_alloc.c 96 custom_alloc_OBJECTS = custom_alloc.$(OBJEXT) 97 custom_alloc_LDADD = $(LDADD) 98 deep_SOURCES = deep.c 99 deep_OBJECTS = deep.$(OBJEXT) 100 deep_LDADD = $(LDADD) 101 ignored_SOURCES = ignored.c 102 ignored_OBJECTS = ignored.$(OBJEXT) 103 ignored_LDADD = $(LDADD) 104 ignoring_SOURCES = ignoring.c 105 ignoring_OBJECTS = ignoring.$(OBJEXT) 106 ignoring_LDADD = $(LDADD) 107 insig_SOURCES = insig.c 108 insig_OBJECTS = insig.$(OBJEXT) 109 insig_LDADD = $(LDADD) 110 long_names_SOURCES = long-names.c 111 long_names_OBJECTS = long-names.$(OBJEXT) 112 long_names_LDADD = $(LDADD) 113 long_time_SOURCES = long-time.c 114 long_time_OBJECTS = long-time.$(OBJEXT) 115 long_time_LDADD = $(LDADD) 116 malloc_usable_SOURCES = malloc_usable.c 117 malloc_usable_OBJECTS = malloc_usable.$(OBJEXT) 118 malloc_usable_LDADD = $(LDADD) 119 am_new_cpp_OBJECTS = new-cpp.$(OBJEXT) 120 new_cpp_OBJECTS = $(am_new_cpp_OBJECTS) 121 new_cpp_LDADD = $(LDADD) 122 null_SOURCES = null.c 123 null_OBJECTS = null.$(OBJEXT) 124 null_LDADD = $(LDADD) 125 one_SOURCES = one.c 126 one_OBJECTS = one.$(OBJEXT) 127 one_LDADD = $(LDADD) 128 am_overloaded_new_OBJECTS = overloaded-new.$(OBJEXT) 129 overloaded_new_OBJECTS = $(am_overloaded_new_OBJECTS) 130 overloaded_new_LDADD = $(LDADD) 131 pages_as_heap_SOURCES = pages_as_heap.c 132 pages_as_heap_OBJECTS = pages_as_heap.$(OBJEXT) 133 pages_as_heap_LDADD = $(LDADD) 134 peak_SOURCES = peak.c 135 peak_OBJECTS = peak.$(OBJEXT) 136 peak_LDADD = $(LDADD) 137 realloc_SOURCES = realloc.c 138 realloc_OBJECTS = realloc.$(OBJEXT) 139 realloc_LDADD = $(LDADD) 140 thresholds_SOURCES = thresholds.c 141 thresholds_OBJECTS = thresholds.$(OBJEXT) 142 thresholds_LDADD = $(LDADD) 143 zero_SOURCES = zero.c 144 zero_OBJECTS = zero.$(OBJEXT) 145 zero_LDADD = $(LDADD) 146 SCRIPTS = $(dist_noinst_SCRIPTS) 147 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) 148 depcomp = $(SHELL) $(top_srcdir)/depcomp 149 am__depfiles_maybe = depfiles 150 am__mv = mv -f 151 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ 152 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 153 CCLD = $(CC) 154 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ 155 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ 156 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) 157 CXXLD = $(CXX) 158 CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ 159 -o $@ 160 SOURCES = alloc-fns.c basic.c big-alloc.c culling1.c culling2.c \ 161 custom_alloc.c deep.c ignored.c ignoring.c insig.c \ 162 long-names.c long-time.c malloc_usable.c $(new_cpp_SOURCES) \ 163 null.c one.c $(overloaded_new_SOURCES) pages_as_heap.c peak.c \ 164 realloc.c thresholds.c zero.c 165 DIST_SOURCES = alloc-fns.c basic.c big-alloc.c culling1.c culling2.c \ 166 custom_alloc.c deep.c ignored.c ignoring.c insig.c \ 167 long-names.c long-time.c malloc_usable.c $(new_cpp_SOURCES) \ 168 null.c one.c $(overloaded_new_SOURCES) pages_as_heap.c peak.c \ 169 realloc.c thresholds.c zero.c 170 ETAGS = etags 171 CTAGS = ctags 172 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 173 ACLOCAL = @ACLOCAL@ 174 AMTAR = @AMTAR@ 175 AR = @AR@ 176 AUTOCONF = @AUTOCONF@ 177 AUTOHEADER = @AUTOHEADER@ 178 AUTOMAKE = @AUTOMAKE@ 179 AWK = @AWK@ 180 BOOST_CFLAGS = @BOOST_CFLAGS@ 181 BOOST_LIBS = @BOOST_LIBS@ 182 CC = @CC@ 183 CCAS = @CCAS@ 184 CCASDEPMODE = @CCASDEPMODE@ 185 CCASFLAGS = @CCASFLAGS@ 186 CCDEPMODE = @CCDEPMODE@ 187 CFLAGS = @CFLAGS@ $(am__append_3) $(am__append_4) 188 CFLAGS_MPI = @CFLAGS_MPI@ 189 CPP = @CPP@ 190 CPPFLAGS = @CPPFLAGS@ 191 CXX = @CXX@ 192 CXXDEPMODE = @CXXDEPMODE@ 193 CXXFLAGS = @CXXFLAGS@ $(am__append_5) 194 CYGPATH_W = @CYGPATH_W@ 195 DEFAULT_SUPP = @DEFAULT_SUPP@ 196 DEFS = @DEFS@ 197 DEPDIR = @DEPDIR@ 198 DIFF = @DIFF@ 199 ECHO_C = @ECHO_C@ 200 ECHO_N = @ECHO_N@ 201 ECHO_T = @ECHO_T@ 202 EGREP = @EGREP@ 203 EXEEXT = @EXEEXT@ 204 FLAG_FNO_STACK_PROTECTOR = @FLAG_FNO_STACK_PROTECTOR@ 205 FLAG_M32 = @FLAG_M32@ 206 FLAG_M64 = @FLAG_M64@ 207 FLAG_MIPS32 = @FLAG_MIPS32@ 208 FLAG_MIPS64 = @FLAG_MIPS64@ 209 FLAG_MMMX = @FLAG_MMMX@ 210 FLAG_MSSE = @FLAG_MSSE@ 211 FLAG_NO_BUILD_ID = @FLAG_NO_BUILD_ID@ 212 FLAG_OCTEON = @FLAG_OCTEON@ 213 FLAG_OCTEON2 = @FLAG_OCTEON2@ 214 FLAG_T_TEXT = @FLAG_T_TEXT@ 215 FLAG_UNLIMITED_INLINE_UNIT_GROWTH = @FLAG_UNLIMITED_INLINE_UNIT_GROWTH@ 216 FLAG_W_EXTRA = @FLAG_W_EXTRA@ 217 FLAG_W_NO_EMPTY_BODY = @FLAG_W_NO_EMPTY_BODY@ 218 FLAG_W_NO_FORMAT_ZERO_LENGTH = @FLAG_W_NO_FORMAT_ZERO_LENGTH@ 219 FLAG_W_NO_NONNULL = @FLAG_W_NO_NONNULL@ 220 FLAG_W_NO_OVERFLOW = @FLAG_W_NO_OVERFLOW@ 221 FLAG_W_NO_UNINITIALIZED = @FLAG_W_NO_UNINITIALIZED@ 222 GDB = @GDB@ 223 GLIBC_VERSION = @GLIBC_VERSION@ 224 GREP = @GREP@ 225 INSTALL = @INSTALL@ 226 INSTALL_DATA = @INSTALL_DATA@ 227 INSTALL_PROGRAM = @INSTALL_PROGRAM@ 228 INSTALL_SCRIPT = @INSTALL_SCRIPT@ 229 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ 230 LDFLAGS = @LDFLAGS@ 231 LDFLAGS_MPI = @LDFLAGS_MPI@ 232 LIBOBJS = @LIBOBJS@ 233 LIBS = @LIBS@ 234 LN_S = @LN_S@ 235 LTLIBOBJS = @LTLIBOBJS@ 236 MAINT = @MAINT@ 237 MAKEINFO = @MAKEINFO@ 238 MKDIR_P = @MKDIR_P@ 239 MPI_CC = @MPI_CC@ 240 OBJEXT = @OBJEXT@ 241 PACKAGE = @PACKAGE@ 242 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ 243 PACKAGE_NAME = @PACKAGE_NAME@ 244 PACKAGE_STRING = @PACKAGE_STRING@ 245 PACKAGE_TARNAME = @PACKAGE_TARNAME@ 246 PACKAGE_URL = @PACKAGE_URL@ 247 PACKAGE_VERSION = @PACKAGE_VERSION@ 248 PATH_SEPARATOR = @PATH_SEPARATOR@ 249 PERL = @PERL@ 250 PREFERRED_STACK_BOUNDARY = @PREFERRED_STACK_BOUNDARY@ 251 RANLIB = @RANLIB@ 252 SED = @SED@ 253 SET_MAKE = @SET_MAKE@ 254 SHELL = @SHELL@ 255 STRIP = @STRIP@ 256 VALT_LOAD_ADDRESS_PRI = @VALT_LOAD_ADDRESS_PRI@ 257 VALT_LOAD_ADDRESS_SEC = @VALT_LOAD_ADDRESS_SEC@ 258 VERSION = @VERSION@ 259 VGCONF_ARCH_PRI = @VGCONF_ARCH_PRI@ 260 VGCONF_ARCH_SEC = @VGCONF_ARCH_SEC@ 261 VGCONF_OS = @VGCONF_OS@ 262 VGCONF_PLATFORM_PRI_CAPS = @VGCONF_PLATFORM_PRI_CAPS@ 263 VGCONF_PLATFORM_SEC_CAPS = @VGCONF_PLATFORM_SEC_CAPS@ 264 VGCONF_PLATVARIANT = @VGCONF_PLATVARIANT@ 265 abs_builddir = @abs_builddir@ 266 abs_srcdir = @abs_srcdir@ 267 abs_top_builddir = @abs_top_builddir@ 268 abs_top_srcdir = @abs_top_srcdir@ 269 ac_ct_CC = @ac_ct_CC@ 270 ac_ct_CXX = @ac_ct_CXX@ 271 am__include = @am__include@ 272 am__leading_dot = @am__leading_dot@ 273 am__quote = @am__quote@ 274 am__tar = @am__tar@ 275 am__untar = @am__untar@ 276 bindir = @bindir@ 277 build = @build@ 278 build_alias = @build_alias@ 279 build_cpu = @build_cpu@ 280 build_os = @build_os@ 281 build_vendor = @build_vendor@ 282 builddir = @builddir@ 283 datadir = @datadir@ 284 datarootdir = @datarootdir@ 285 docdir = @docdir@ 286 dvidir = @dvidir@ 287 exec_prefix = @exec_prefix@ 288 host = @host@ 289 host_alias = @host_alias@ 290 host_cpu = @host_cpu@ 291 host_os = @host_os@ 292 host_vendor = @host_vendor@ 293 htmldir = @htmldir@ 294 includedir = @includedir@ 295 infodir = @infodir@ 296 install_sh = @install_sh@ 297 libdir = @libdir@ 298 libexecdir = @libexecdir@ 299 localedir = @localedir@ 300 localstatedir = @localstatedir@ 301 mandir = @mandir@ 302 mkdir_p = @mkdir_p@ 303 oldincludedir = @oldincludedir@ 304 pdfdir = @pdfdir@ 305 prefix = @prefix@ 306 program_transform_name = @program_transform_name@ 307 psdir = @psdir@ 308 sbindir = @sbindir@ 309 sharedstatedir = @sharedstatedir@ 310 srcdir = @srcdir@ 311 sysconfdir = @sysconfdir@ 312 target_alias = @target_alias@ 313 top_build_prefix = @top_build_prefix@ 314 top_builddir = @top_builddir@ 315 top_srcdir = @top_srcdir@ 316 inplacedir = $(top_builddir)/.in_place 317 318 #---------------------------------------------------------------------------- 319 # Flags 320 #---------------------------------------------------------------------------- 321 322 # Baseline flags for all compilations. Aim here is to maximise 323 # performance and get whatever useful warnings we can out of gcc. 324 # -fno-builtin is important for defeating LLVM's idiom recognition 325 # that somehow causes VG_(memset) to get into infinite recursion. 326 AM_CFLAGS_BASE = \ 327 -O2 -g \ 328 -Wall \ 329 -Wmissing-prototypes \ 330 -Wshadow \ 331 -Wpointer-arith \ 332 -Wstrict-prototypes \ 333 -Wmissing-declarations \ 334 @FLAG_W_NO_FORMAT_ZERO_LENGTH@ \ 335 -fno-strict-aliasing \ 336 -fno-builtin 337 338 @VGCONF_OS_IS_DARWIN_FALSE@AM_CFLAGS_PIC = -fpic -O -g -fno-omit-frame-pointer -fno-strict-aliasing \ 339 @VGCONF_OS_IS_DARWIN_FALSE@ -fno-builtin 340 341 342 # These flags are used for building the preload shared objects. 343 # The aim is to give reasonable performance but also to have good 344 # stack traces, since users often see stack traces extending 345 # into (and through) the preloads. 346 @VGCONF_OS_IS_DARWIN_TRUE@AM_CFLAGS_PIC = -dynamic -O -g -fno-omit-frame-pointer -fno-strict-aliasing \ 347 @VGCONF_OS_IS_DARWIN_TRUE@ -mno-dynamic-no-pic -fpic -fPIC \ 348 @VGCONF_OS_IS_DARWIN_TRUE@ -fno-builtin 349 350 351 # Flags for specific targets. 352 # 353 # Nb: the AM_CPPFLAGS_* values are suitable for building tools and auxprogs. 354 # For building the core, coregrind/Makefile.am files add some extra things. 355 AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@ = \ 356 -I$(top_srcdir) \ 357 -I$(top_srcdir)/include \ 358 -I$(top_srcdir)/VEX/pub \ 359 -DVGA_@VGCONF_ARCH_PRI@=1 \ 360 -DVGO_@VGCONF_OS@=1 \ 361 -DVGP_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1 \ 362 -DVGPV_@VGCONF_ARCH_PRI@_@VGCONF_OS@_@VGCONF_PLATVARIANT@=1 363 364 @VGCONF_HAVE_PLATFORM_SEC_TRUE@AM_CPPFLAGS_@VGCONF_PLATFORM_SEC_CAPS@ = \ 365 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_srcdir) \ 366 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_srcdir)/include \ 367 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_srcdir)/VEX/pub \ 368 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGA_@VGCONF_ARCH_SEC@=1 \ 369 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGO_@VGCONF_OS@=1 \ 370 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGP_@VGCONF_ARCH_SEC@_@VGCONF_OS@=1 \ 371 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGPV_@VGCONF_ARCH_SEC@_@VGCONF_OS@_@VGCONF_PLATVARIANT@=1 372 373 AM_FLAG_M3264_X86_LINUX = @FLAG_M32@ 374 AM_CFLAGS_X86_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \ 375 $(AM_CFLAGS_BASE) -fomit-frame-pointer 376 377 AM_CCASFLAGS_X86_LINUX = @FLAG_M32@ -g 378 AM_FLAG_M3264_AMD64_LINUX = @FLAG_M64@ 379 AM_CFLAGS_AMD64_LINUX = @FLAG_M64@ @PREFERRED_STACK_BOUNDARY@ \ 380 $(AM_CFLAGS_BASE) -fomit-frame-pointer 381 382 AM_CCASFLAGS_AMD64_LINUX = @FLAG_M64@ -g 383 AM_FLAG_M3264_PPC32_LINUX = @FLAG_M32@ 384 AM_CFLAGS_PPC32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) 385 AM_CCASFLAGS_PPC32_LINUX = @FLAG_M32@ -g 386 AM_FLAG_M3264_PPC64_LINUX = @FLAG_M64@ 387 AM_CFLAGS_PPC64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) 388 AM_CCASFLAGS_PPC64_LINUX = @FLAG_M64@ -g 389 AM_FLAG_M3264_ARM_LINUX = @FLAG_M32@ 390 AM_CFLAGS_ARM_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \ 391 $(AM_CFLAGS_BASE) -marm -mcpu=cortex-a8 392 393 AM_CCASFLAGS_ARM_LINUX = @FLAG_M32@ \ 394 -marm -mcpu=cortex-a8 -g 395 396 AM_FLAG_M3264_ARM64_LINUX = @FLAG_M64@ 397 AM_CFLAGS_ARM64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) 398 AM_CCASFLAGS_ARM64_LINUX = @FLAG_M64@ -g 399 AM_FLAG_M3264_X86_DARWIN = -arch i386 400 AM_CFLAGS_X86_DARWIN = $(WERROR) -arch i386 $(AM_CFLAGS_BASE) \ 401 -mmacosx-version-min=10.5 \ 402 -fno-stack-protector -fno-pic -fno-PIC 403 404 AM_CCASFLAGS_X86_DARWIN = -arch i386 -g 405 AM_FLAG_M3264_AMD64_DARWIN = -arch x86_64 406 AM_CFLAGS_AMD64_DARWIN = $(WERROR) -arch x86_64 $(AM_CFLAGS_BASE) \ 407 -mmacosx-version-min=10.5 -fno-stack-protector 408 409 AM_CCASFLAGS_AMD64_DARWIN = -arch x86_64 -g 410 AM_FLAG_M3264_S390X_LINUX = @FLAG_M64@ 411 AM_CFLAGS_S390X_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) -fomit-frame-pointer 412 AM_CCASFLAGS_S390X_LINUX = @FLAG_M64@ -g -mzarch -march=z900 413 AM_FLAG_M3264_MIPS32_LINUX = @FLAG_M32@ 414 AM_CFLAGS_MIPS32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) @FLAG_MIPS32@ 415 AM_CCASFLAGS_MIPS32_LINUX = @FLAG_M32@ -g @FLAG_MIPS32@ 416 AM_FLAG_M3264_MIPS64_LINUX = @FLAG_M64@ 417 AM_CFLAGS_MIPS64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) @FLAG_MIPS64@ 418 AM_CCASFLAGS_MIPS64_LINUX = @FLAG_M64@ -g @FLAG_MIPS64@ 419 420 # Flags for the primary target. These must be used to build the 421 # regtests and performance tests. In fact, these must be used to 422 # build anything which is built only once on a dual-arch build. 423 # 424 AM_FLAG_M3264_PRI = $(AM_FLAG_M3264_@VGCONF_PLATFORM_PRI_CAPS@) 425 AM_CPPFLAGS_PRI = $(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) 426 AM_CFLAGS_PRI = $(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) 427 AM_CCASFLAGS_PRI = $(AM_CCASFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) 428 @VGCONF_HAVE_PLATFORM_SEC_FALSE@AM_FLAG_M3264_SEC = 429 @VGCONF_HAVE_PLATFORM_SEC_TRUE@AM_FLAG_M3264_SEC = $(AM_FLAG_M3264_@VGCONF_PLATFORM_SEC_CAPS@) 430 431 # Baseline link flags for making vgpreload shared objects. 432 # 433 PRELOAD_LDFLAGS_COMMON_LINUX = -nodefaultlibs -shared \ 434 -Wl,-z,interpose,-z,initfirst $(am__append_1) 435 PRELOAD_LDFLAGS_COMMON_DARWIN = -dynamic -dynamiclib -all_load 436 PRELOAD_LDFLAGS_X86_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@ 437 PRELOAD_LDFLAGS_AMD64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ 438 PRELOAD_LDFLAGS_PPC32_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@ 439 PRELOAD_LDFLAGS_PPC64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ 440 PRELOAD_LDFLAGS_ARM_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@ 441 PRELOAD_LDFLAGS_ARM64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ 442 PRELOAD_LDFLAGS_X86_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch i386 443 PRELOAD_LDFLAGS_AMD64_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch x86_64 444 PRELOAD_LDFLAGS_S390X_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ 445 PRELOAD_LDFLAGS_MIPS32_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@ 446 PRELOAD_LDFLAGS_MIPS64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ 447 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ 448 -I$(top_srcdir)/coregrind -I$(top_builddir)/include \ 449 -I$(top_srcdir)/VEX/pub -DVGA_@VGCONF_ARCH_PRI@=1 \ 450 -DVGO_@VGCONF_OS@=1 -DVGP_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1 \ 451 -DVGPV_@VGCONF_ARCH_PRI@_@VGCONF_OS@_@VGCONF_PLATVARIANT@=1 \ 452 $(am__append_2) 453 454 # Nb: Tools need to augment these flags with an arch-selection option, such 455 # as $(AM_FLAG_M3264_PRI). 456 AM_CFLAGS = -Winline -Wall -Wshadow -g $(AM_FLAG_M3264_PRI) 457 AM_CXXFLAGS = -Winline -Wall -Wshadow -g $(AM_FLAG_M3264_PRI) 458 # Include AM_CPPFLAGS in AM_CCASFLAGS to allow for older versions of 459 # automake; see comments in Makefile.all.am for more detail. 460 AM_CCASFLAGS = $(AM_CPPFLAGS) 461 @VGCONF_OS_IS_DARWIN_TRUE@noinst_DSYMS = $(check_PROGRAMS) 462 dist_noinst_SCRIPTS = filter_stderr filter_verbose 463 EXTRA_DIST = \ 464 alloc-fns-A.post.exp alloc-fns-A.stderr.exp alloc-fns-A.vgtest \ 465 alloc-fns-B.post.exp alloc-fns-B.stderr.exp alloc-fns-B.vgtest \ 466 basic.post.exp basic.stderr.exp basic.vgtest \ 467 basic2.post.exp basic2.stderr.exp basic2.vgtest \ 468 big-alloc.post.exp big-alloc.post.exp-64bit \ 469 big-alloc.stderr.exp big-alloc.vgtest \ 470 deep-A.post.exp deep-A.stderr.exp deep-A.vgtest \ 471 deep-B.post.exp deep-B.stderr.exp deep-B.vgtest \ 472 deep-C.post.exp deep-C.stderr.exp deep-C.vgtest \ 473 deep-D.post.exp deep-D.stderr.exp deep-D.vgtest \ 474 culling1.stderr.exp culling1.vgtest \ 475 culling2.stderr.exp culling2.vgtest \ 476 custom_alloc.post.exp custom_alloc.stderr.exp custom_alloc.vgtest \ 477 ignored.post.exp ignored.stderr.exp ignored.vgtest \ 478 ignoring.post.exp ignoring.stderr.exp ignoring.vgtest \ 479 insig.post.exp insig.stderr.exp insig.vgtest \ 480 long-names.post.exp long-names.stderr.exp long-names.vgtest \ 481 long-time.post.exp long-time.stderr.exp long-time.vgtest \ 482 malloc_usable.stderr.exp malloc_usable.vgtest \ 483 new-cpp.post.exp new-cpp.stderr.exp new-cpp.vgtest \ 484 no-stack-no-heap.post.exp no-stack-no-heap.stderr.exp no-stack-no-heap.vgtest \ 485 null.post.exp null.stderr.exp null.vgtest \ 486 one.post.exp one.post.exp2 one.stderr.exp one.vgtest \ 487 overloaded-new.post.exp overloaded-new.post.exp-mips32 \ 488 overloaded-new.stderr.exp overloaded-new.vgtest \ 489 pages_as_heap.stderr.exp pages_as_heap.vgtest \ 490 peak.post.exp peak.stderr.exp peak.vgtest \ 491 peak2.post.exp peak2.stderr.exp peak2.vgtest \ 492 realloc.post.exp realloc.stderr.exp realloc.vgtest \ 493 thresholds_0_0.post.exp thresholds_0_0.stderr.exp thresholds_0_0.vgtest \ 494 thresholds_0_10.post.exp thresholds_0_10.stderr.exp thresholds_0_10.vgtest \ 495 thresholds_10_0.post.exp thresholds_10_0.stderr.exp thresholds_10_0.vgtest \ 496 thresholds_5_0.post.exp thresholds_5_0.stderr.exp thresholds_5_0.vgtest \ 497 thresholds_5_10.post.exp thresholds_5_10.stderr.exp thresholds_5_10.vgtest \ 498 thresholds_10_10.post.exp thresholds_10_10.stderr.exp thresholds_10_10.vgtest \ 499 zero1.post.exp zero1.stderr.exp zero1.vgtest \ 500 zero2.post.exp zero2.stderr.exp zero2.vgtest 501 502 503 # C++ tests 504 new_cpp_SOURCES = new-cpp.cpp 505 overloaded_new_SOURCES = overloaded-new.cpp 506 all: all-am 507 508 .SUFFIXES: 509 .SUFFIXES: .c .cpp .o .obj 510 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.tool-tests.am $(top_srcdir)/Makefile.all.am $(am__configure_deps) 511 @for dep in $?; do \ 512 case '$(am__configure_deps)' in \ 513 *$$dep*) \ 514 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ 515 && { if test -f $@; then exit 0; else break; fi; }; \ 516 exit 1;; \ 517 esac; \ 518 done; \ 519 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign massif/tests/Makefile'; \ 520 $(am__cd) $(top_srcdir) && \ 521 $(AUTOMAKE) --foreign massif/tests/Makefile 522 .PRECIOUS: Makefile 523 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 524 @case '$?' in \ 525 *config.status*) \ 526 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ 527 *) \ 528 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ 529 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ 530 esac; 531 $(top_srcdir)/Makefile.tool-tests.am $(top_srcdir)/Makefile.all.am: 532 533 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 534 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 535 536 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 537 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 538 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) 539 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 540 $(am__aclocal_m4_deps): 541 542 clean-checkPROGRAMS: 543 -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS) 544 alloc-fns$(EXEEXT): $(alloc_fns_OBJECTS) $(alloc_fns_DEPENDENCIES) $(EXTRA_alloc_fns_DEPENDENCIES) 545 @rm -f alloc-fns$(EXEEXT) 546 $(LINK) $(alloc_fns_OBJECTS) $(alloc_fns_LDADD) $(LIBS) 547 basic$(EXEEXT): $(basic_OBJECTS) $(basic_DEPENDENCIES) $(EXTRA_basic_DEPENDENCIES) 548 @rm -f basic$(EXEEXT) 549 $(LINK) $(basic_OBJECTS) $(basic_LDADD) $(LIBS) 550 big-alloc$(EXEEXT): $(big_alloc_OBJECTS) $(big_alloc_DEPENDENCIES) $(EXTRA_big_alloc_DEPENDENCIES) 551 @rm -f big-alloc$(EXEEXT) 552 $(LINK) $(big_alloc_OBJECTS) $(big_alloc_LDADD) $(LIBS) 553 culling1$(EXEEXT): $(culling1_OBJECTS) $(culling1_DEPENDENCIES) $(EXTRA_culling1_DEPENDENCIES) 554 @rm -f culling1$(EXEEXT) 555 $(LINK) $(culling1_OBJECTS) $(culling1_LDADD) $(LIBS) 556 culling2$(EXEEXT): $(culling2_OBJECTS) $(culling2_DEPENDENCIES) $(EXTRA_culling2_DEPENDENCIES) 557 @rm -f culling2$(EXEEXT) 558 $(LINK) $(culling2_OBJECTS) $(culling2_LDADD) $(LIBS) 559 custom_alloc$(EXEEXT): $(custom_alloc_OBJECTS) $(custom_alloc_DEPENDENCIES) $(EXTRA_custom_alloc_DEPENDENCIES) 560 @rm -f custom_alloc$(EXEEXT) 561 $(LINK) $(custom_alloc_OBJECTS) $(custom_alloc_LDADD) $(LIBS) 562 deep$(EXEEXT): $(deep_OBJECTS) $(deep_DEPENDENCIES) $(EXTRA_deep_DEPENDENCIES) 563 @rm -f deep$(EXEEXT) 564 $(LINK) $(deep_OBJECTS) $(deep_LDADD) $(LIBS) 565 ignored$(EXEEXT): $(ignored_OBJECTS) $(ignored_DEPENDENCIES) $(EXTRA_ignored_DEPENDENCIES) 566 @rm -f ignored$(EXEEXT) 567 $(LINK) $(ignored_OBJECTS) $(ignored_LDADD) $(LIBS) 568 ignoring$(EXEEXT): $(ignoring_OBJECTS) $(ignoring_DEPENDENCIES) $(EXTRA_ignoring_DEPENDENCIES) 569 @rm -f ignoring$(EXEEXT) 570 $(LINK) $(ignoring_OBJECTS) $(ignoring_LDADD) $(LIBS) 571 insig$(EXEEXT): $(insig_OBJECTS) $(insig_DEPENDENCIES) $(EXTRA_insig_DEPENDENCIES) 572 @rm -f insig$(EXEEXT) 573 $(LINK) $(insig_OBJECTS) $(insig_LDADD) $(LIBS) 574 long-names$(EXEEXT): $(long_names_OBJECTS) $(long_names_DEPENDENCIES) $(EXTRA_long_names_DEPENDENCIES) 575 @rm -f long-names$(EXEEXT) 576 $(LINK) $(long_names_OBJECTS) $(long_names_LDADD) $(LIBS) 577 long-time$(EXEEXT): $(long_time_OBJECTS) $(long_time_DEPENDENCIES) $(EXTRA_long_time_DEPENDENCIES) 578 @rm -f long-time$(EXEEXT) 579 $(LINK) $(long_time_OBJECTS) $(long_time_LDADD) $(LIBS) 580 malloc_usable$(EXEEXT): $(malloc_usable_OBJECTS) $(malloc_usable_DEPENDENCIES) $(EXTRA_malloc_usable_DEPENDENCIES) 581 @rm -f malloc_usable$(EXEEXT) 582 $(LINK) $(malloc_usable_OBJECTS) $(malloc_usable_LDADD) $(LIBS) 583 new-cpp$(EXEEXT): $(new_cpp_OBJECTS) $(new_cpp_DEPENDENCIES) $(EXTRA_new_cpp_DEPENDENCIES) 584 @rm -f new-cpp$(EXEEXT) 585 $(CXXLINK) $(new_cpp_OBJECTS) $(new_cpp_LDADD) $(LIBS) 586 null$(EXEEXT): $(null_OBJECTS) $(null_DEPENDENCIES) $(EXTRA_null_DEPENDENCIES) 587 @rm -f null$(EXEEXT) 588 $(LINK) $(null_OBJECTS) $(null_LDADD) $(LIBS) 589 one$(EXEEXT): $(one_OBJECTS) $(one_DEPENDENCIES) $(EXTRA_one_DEPENDENCIES) 590 @rm -f one$(EXEEXT) 591 $(LINK) $(one_OBJECTS) $(one_LDADD) $(LIBS) 592 overloaded-new$(EXEEXT): $(overloaded_new_OBJECTS) $(overloaded_new_DEPENDENCIES) $(EXTRA_overloaded_new_DEPENDENCIES) 593 @rm -f overloaded-new$(EXEEXT) 594 $(CXXLINK) $(overloaded_new_OBJECTS) $(overloaded_new_LDADD) $(LIBS) 595 pages_as_heap$(EXEEXT): $(pages_as_heap_OBJECTS) $(pages_as_heap_DEPENDENCIES) $(EXTRA_pages_as_heap_DEPENDENCIES) 596 @rm -f pages_as_heap$(EXEEXT) 597 $(LINK) $(pages_as_heap_OBJECTS) $(pages_as_heap_LDADD) $(LIBS) 598 peak$(EXEEXT): $(peak_OBJECTS) $(peak_DEPENDENCIES) $(EXTRA_peak_DEPENDENCIES) 599 @rm -f peak$(EXEEXT) 600 $(LINK) $(peak_OBJECTS) $(peak_LDADD) $(LIBS) 601 realloc$(EXEEXT): $(realloc_OBJECTS) $(realloc_DEPENDENCIES) $(EXTRA_realloc_DEPENDENCIES) 602 @rm -f realloc$(EXEEXT) 603 $(LINK) $(realloc_OBJECTS) $(realloc_LDADD) $(LIBS) 604 thresholds$(EXEEXT): $(thresholds_OBJECTS) $(thresholds_DEPENDENCIES) $(EXTRA_thresholds_DEPENDENCIES) 605 @rm -f thresholds$(EXEEXT) 606 $(LINK) $(thresholds_OBJECTS) $(thresholds_LDADD) $(LIBS) 607 zero$(EXEEXT): $(zero_OBJECTS) $(zero_DEPENDENCIES) $(EXTRA_zero_DEPENDENCIES) 608 @rm -f zero$(EXEEXT) 609 $(LINK) $(zero_OBJECTS) $(zero_LDADD) $(LIBS) 610 611 mostlyclean-compile: 612 -rm -f *.$(OBJEXT) 613 614 distclean-compile: 615 -rm -f *.tab.c 616 617 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/alloc-fns.Po@am__quote@ 618 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/basic.Po@am__quote@ 619 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/big-alloc.Po@am__quote@ 620 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/culling1.Po@am__quote@ 621 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/culling2.Po@am__quote@ 622 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/custom_alloc.Po@am__quote@ 623 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/deep.Po@am__quote@ 624 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ignored.Po@am__quote@ 625 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ignoring.Po@am__quote@ 626 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/insig.Po@am__quote@ 627 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/long-names.Po@am__quote@ 628 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/long-time.Po@am__quote@ 629 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/malloc_usable.Po@am__quote@ 630 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/new-cpp.Po@am__quote@ 631 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/null.Po@am__quote@ 632 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/one.Po@am__quote@ 633 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/overloaded-new.Po@am__quote@ 634 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pages_as_heap.Po@am__quote@ 635 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/peak.Po@am__quote@ 636 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realloc.Po@am__quote@ 637 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/thresholds.Po@am__quote@ 638 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/zero.Po@am__quote@ 639 640 .c.o: 641 @am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ 642 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ 643 @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po 644 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 645 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 646 @am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ $< 647 648 .c.obj: 649 @am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ 650 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ 651 @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po 652 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 653 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 654 @am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` 655 656 .cpp.o: 657 @am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ 658 @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ 659 @am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po 660 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 661 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 662 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< 663 664 .cpp.obj: 665 @am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ 666 @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ 667 @am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po 668 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 669 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 670 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` 671 672 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) 673 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 674 unique=`for i in $$list; do \ 675 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 676 done | \ 677 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 678 END { if (nonempty) { for (i in files) print i; }; }'`; \ 679 mkid -fID $$unique 680 tags: TAGS 681 682 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ 683 $(TAGS_FILES) $(LISP) 684 set x; \ 685 here=`pwd`; \ 686 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 687 unique=`for i in $$list; do \ 688 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 689 done | \ 690 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 691 END { if (nonempty) { for (i in files) print i; }; }'`; \ 692 shift; \ 693 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ 694 test -n "$$unique" || unique=$$empty_fix; \ 695 if test $$# -gt 0; then \ 696 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 697 "$$@" $$unique; \ 698 else \ 699 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 700 $$unique; \ 701 fi; \ 702 fi 703 ctags: CTAGS 704 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ 705 $(TAGS_FILES) $(LISP) 706 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 707 unique=`for i in $$list; do \ 708 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 709 done | \ 710 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 711 END { if (nonempty) { for (i in files) print i; }; }'`; \ 712 test -z "$(CTAGS_ARGS)$$unique" \ 713 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ 714 $$unique 715 716 GTAGS: 717 here=`$(am__cd) $(top_builddir) && pwd` \ 718 && $(am__cd) $(top_srcdir) \ 719 && gtags -i $(GTAGS_ARGS) "$$here" 720 721 distclean-tags: 722 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 723 724 distdir: $(DISTFILES) 725 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 726 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 727 list='$(DISTFILES)'; \ 728 dist_files=`for file in $$list; do echo $$file; done | \ 729 sed -e "s|^$$srcdirstrip/||;t" \ 730 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ 731 case $$dist_files in \ 732 */*) $(MKDIR_P) `echo "$$dist_files" | \ 733 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ 734 sort -u` ;; \ 735 esac; \ 736 for file in $$dist_files; do \ 737 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ 738 if test -d $$d/$$file; then \ 739 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ 740 if test -d "$(distdir)/$$file"; then \ 741 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ 742 fi; \ 743 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ 744 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ 745 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ 746 fi; \ 747 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ 748 else \ 749 test -f "$(distdir)/$$file" \ 750 || cp -p $$d/$$file "$(distdir)/$$file" \ 751 || exit 1; \ 752 fi; \ 753 done 754 check-am: all-am 755 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) 756 $(MAKE) $(AM_MAKEFLAGS) check-local 757 check: check-am 758 all-am: Makefile $(SCRIPTS) 759 installdirs: 760 install: install-am 761 install-exec: install-exec-am 762 install-data: install-data-am 763 uninstall: uninstall-am 764 765 install-am: all-am 766 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 767 768 installcheck: installcheck-am 769 install-strip: 770 if test -z '$(STRIP)'; then \ 771 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 772 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 773 install; \ 774 else \ 775 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 776 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 777 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ 778 fi 779 mostlyclean-generic: 780 781 clean-generic: 782 783 distclean-generic: 784 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) 785 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) 786 787 maintainer-clean-generic: 788 @echo "This command is intended for maintainers to use" 789 @echo "it deletes files that may require special tools to rebuild." 790 clean: clean-am 791 792 clean-am: clean-checkPROGRAMS clean-generic clean-local mostlyclean-am 793 794 distclean: distclean-am 795 -rm -rf ./$(DEPDIR) 796 -rm -f Makefile 797 distclean-am: clean-am distclean-compile distclean-generic \ 798 distclean-tags 799 800 dvi: dvi-am 801 802 dvi-am: 803 804 html: html-am 805 806 html-am: 807 808 info: info-am 809 810 info-am: 811 812 install-data-am: 813 814 install-dvi: install-dvi-am 815 816 install-dvi-am: 817 818 install-exec-am: 819 820 install-html: install-html-am 821 822 install-html-am: 823 824 install-info: install-info-am 825 826 install-info-am: 827 828 install-man: 829 830 install-pdf: install-pdf-am 831 832 install-pdf-am: 833 834 install-ps: install-ps-am 835 836 install-ps-am: 837 838 installcheck-am: 839 840 maintainer-clean: maintainer-clean-am 841 -rm -rf ./$(DEPDIR) 842 -rm -f Makefile 843 maintainer-clean-am: distclean-am maintainer-clean-generic 844 845 mostlyclean: mostlyclean-am 846 847 mostlyclean-am: mostlyclean-compile mostlyclean-generic 848 849 pdf: pdf-am 850 851 pdf-am: 852 853 ps: ps-am 854 855 ps-am: 856 857 uninstall-am: 858 859 .MAKE: check-am install-am install-strip 860 861 .PHONY: CTAGS GTAGS all all-am check check-am check-local clean \ 862 clean-checkPROGRAMS clean-generic clean-local ctags distclean \ 863 distclean-compile distclean-generic distclean-tags distdir dvi \ 864 dvi-am html html-am info info-am install install-am \ 865 install-data install-data-am install-dvi install-dvi-am \ 866 install-exec install-exec-am install-html install-html-am \ 867 install-info install-info-am install-man install-pdf \ 868 install-pdf-am install-ps install-ps-am install-strip \ 869 installcheck installcheck-am installdirs maintainer-clean \ 870 maintainer-clean-generic mostlyclean mostlyclean-compile \ 871 mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ 872 uninstall-am 873 874 875 # This used to be required when Vex had a handwritten Makefile. It 876 # shouldn't be needed any more, though. 877 878 #---------------------------------------------------------------------------- 879 # noinst_PROGRAMS and noinst_DSYMS targets 880 #---------------------------------------------------------------------------- 881 882 # On Darwin, for a program 'p', the DWARF debug info is stored in the 883 # directory 'p.dSYM'. This must be generated after the executable is 884 # created, with 'dsymutil p'. We could redefine LINK with a script that 885 # executes 'dsymutil' after linking, but that's a pain. Instead we use this 886 # hook so that every time "make check" is run, we subsequently invoke 887 # 'dsymutil' on all the executables that lack a .dSYM directory, or that are 888 # newer than their corresponding .dSYM directory. 889 build-noinst_DSYMS: $(noinst_DSYMS) 890 for f in $(noinst_DSYMS); do \ 891 if [ ! -e $$f.dSYM -o $$f -nt $$f.dSYM ] ; then \ 892 echo "dsymutil $$f"; \ 893 dsymutil $$f; \ 894 fi; \ 895 done 896 897 # This is used by coregrind/Makefile.am and Makefile.tool.am for doing 898 # "in-place" installs. It copies $(noinst_PROGRAMS) into $inplacedir. 899 # It needs to be depended on by an 'all-local' rule. 900 inplace-noinst_PROGRAMS: $(noinst_PROGRAMS) 901 mkdir -p $(inplacedir); \ 902 for f in $(noinst_PROGRAMS) ; do \ 903 rm -f $(inplacedir)/$$f; \ 904 ln -f -s ../$(subdir)/$$f $(inplacedir); \ 905 done 906 907 # Similar to inplace-noinst_PROGRAMS 908 inplace-noinst_DSYMS: build-noinst_DSYMS 909 mkdir -p $(inplacedir); \ 910 for f in $(noinst_DSYMS); do \ 911 rm -f $(inplacedir)/$$f.dSYM; \ 912 ln -f -s ../$(subdir)/$$f.dSYM $(inplacedir); \ 913 done 914 915 # This is used by coregrind/Makefile.am and by <tool>/Makefile.am for doing 916 # "make install". It copies $(noinst_PROGRAMS) into $prefix/lib/valgrind/. 917 # It needs to be depended on by an 'install-exec-local' rule. 918 install-noinst_PROGRAMS: $(noinst_PROGRAMS) 919 $(mkinstalldirs) $(DESTDIR)$(pkglibdir); \ 920 for f in $(noinst_PROGRAMS); do \ 921 $(INSTALL_PROGRAM) $$f $(DESTDIR)$(pkglibdir); \ 922 done 923 924 # Similar to install-noinst_PROGRAMS. 925 # Nb: we don't use $(INSTALL_PROGRAM) here because it doesn't work with 926 # directories. XXX: not sure whether the resulting permissions will be 927 # correct when using 'cp -R'... 928 install-noinst_DSYMS: build-noinst_DSYMS 929 $(mkinstalldirs) $(DESTDIR)$(pkglibdir); \ 930 for f in $(noinst_DSYMS); do \ 931 cp -R $$f.dSYM $(DESTDIR)$(pkglibdir); \ 932 done 933 934 # This needs to be depended on by a 'clean-local' rule. 935 clean-noinst_DSYMS: 936 for f in $(noinst_DSYMS); do \ 937 rm -rf $$f.dSYM; \ 938 done 939 940 check-local: build-noinst_DSYMS 941 942 clean-local: clean-noinst_DSYMS 943 944 # Tell versions [3.59,3.63) of GNU make to not export all variables. 945 # Otherwise a system limit (for SysV at least) may be exceeded. 946 .NOEXPORT: 947