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 27VPATH = @srcdir@ 28pkgdatadir = $(datadir)/@PACKAGE@ 29pkgincludedir = $(includedir)/@PACKAGE@ 30pkglibdir = $(libdir)/@PACKAGE@ 31pkglibexecdir = $(libexecdir)/@PACKAGE@ 32am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 33install_sh_DATA = $(install_sh) -c -m 644 34install_sh_PROGRAM = $(install_sh) -c 35install_sh_SCRIPT = $(install_sh) -c 36INSTALL_HEADER = $(INSTALL_DATA) 37transform = $(program_transform_name) 38NORMAL_INSTALL = : 39PRE_INSTALL = : 40POST_INSTALL = : 41NORMAL_UNINSTALL = : 42PRE_UNINSTALL = : 43POST_UNINSTALL = : 44build_triplet = @build@ 45host_triplet = @host@ 46DIST_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 63check_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) 71subdir = massif/tests 72ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 73am__aclocal_m4_deps = $(top_srcdir)/configure.ac 74am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 75 $(ACLOCAL_M4) 76mkinstalldirs = $(install_sh) -d 77CONFIG_HEADER = $(top_builddir)/config.h 78CONFIG_CLEAN_FILES = 79CONFIG_CLEAN_VPATH_FILES = 80alloc_fns_SOURCES = alloc-fns.c 81alloc_fns_OBJECTS = alloc-fns.$(OBJEXT) 82alloc_fns_LDADD = $(LDADD) 83basic_SOURCES = basic.c 84basic_OBJECTS = basic.$(OBJEXT) 85basic_LDADD = $(LDADD) 86big_alloc_SOURCES = big-alloc.c 87big_alloc_OBJECTS = big-alloc.$(OBJEXT) 88big_alloc_LDADD = $(LDADD) 89culling1_SOURCES = culling1.c 90culling1_OBJECTS = culling1.$(OBJEXT) 91culling1_LDADD = $(LDADD) 92culling2_SOURCES = culling2.c 93culling2_OBJECTS = culling2.$(OBJEXT) 94culling2_LDADD = $(LDADD) 95custom_alloc_SOURCES = custom_alloc.c 96custom_alloc_OBJECTS = custom_alloc.$(OBJEXT) 97custom_alloc_LDADD = $(LDADD) 98deep_SOURCES = deep.c 99deep_OBJECTS = deep.$(OBJEXT) 100deep_LDADD = $(LDADD) 101ignored_SOURCES = ignored.c 102ignored_OBJECTS = ignored.$(OBJEXT) 103ignored_LDADD = $(LDADD) 104ignoring_SOURCES = ignoring.c 105ignoring_OBJECTS = ignoring.$(OBJEXT) 106ignoring_LDADD = $(LDADD) 107insig_SOURCES = insig.c 108insig_OBJECTS = insig.$(OBJEXT) 109insig_LDADD = $(LDADD) 110long_names_SOURCES = long-names.c 111long_names_OBJECTS = long-names.$(OBJEXT) 112long_names_LDADD = $(LDADD) 113long_time_SOURCES = long-time.c 114long_time_OBJECTS = long-time.$(OBJEXT) 115long_time_LDADD = $(LDADD) 116malloc_usable_SOURCES = malloc_usable.c 117malloc_usable_OBJECTS = malloc_usable.$(OBJEXT) 118malloc_usable_LDADD = $(LDADD) 119am_new_cpp_OBJECTS = new-cpp.$(OBJEXT) 120new_cpp_OBJECTS = $(am_new_cpp_OBJECTS) 121new_cpp_LDADD = $(LDADD) 122null_SOURCES = null.c 123null_OBJECTS = null.$(OBJEXT) 124null_LDADD = $(LDADD) 125one_SOURCES = one.c 126one_OBJECTS = one.$(OBJEXT) 127one_LDADD = $(LDADD) 128am_overloaded_new_OBJECTS = overloaded-new.$(OBJEXT) 129overloaded_new_OBJECTS = $(am_overloaded_new_OBJECTS) 130overloaded_new_LDADD = $(LDADD) 131pages_as_heap_SOURCES = pages_as_heap.c 132pages_as_heap_OBJECTS = pages_as_heap.$(OBJEXT) 133pages_as_heap_LDADD = $(LDADD) 134peak_SOURCES = peak.c 135peak_OBJECTS = peak.$(OBJEXT) 136peak_LDADD = $(LDADD) 137realloc_SOURCES = realloc.c 138realloc_OBJECTS = realloc.$(OBJEXT) 139realloc_LDADD = $(LDADD) 140thresholds_SOURCES = thresholds.c 141thresholds_OBJECTS = thresholds.$(OBJEXT) 142thresholds_LDADD = $(LDADD) 143zero_SOURCES = zero.c 144zero_OBJECTS = zero.$(OBJEXT) 145zero_LDADD = $(LDADD) 146SCRIPTS = $(dist_noinst_SCRIPTS) 147DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) 148depcomp = $(SHELL) $(top_srcdir)/depcomp 149am__depfiles_maybe = depfiles 150am__mv = mv -f 151COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ 152 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 153CCLD = $(CC) 154LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ 155CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ 156 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) 157CXXLD = $(CXX) 158CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ 159 -o $@ 160SOURCES = 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 165DIST_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 170ETAGS = etags 171CTAGS = ctags 172DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 173ACLOCAL = @ACLOCAL@ 174AMTAR = @AMTAR@ 175AR = @AR@ 176AUTOCONF = @AUTOCONF@ 177AUTOHEADER = @AUTOHEADER@ 178AUTOMAKE = @AUTOMAKE@ 179AWK = @AWK@ 180BOOST_CFLAGS = @BOOST_CFLAGS@ 181BOOST_LIBS = @BOOST_LIBS@ 182CC = @CC@ 183CCAS = @CCAS@ 184CCASDEPMODE = @CCASDEPMODE@ 185CCASFLAGS = @CCASFLAGS@ 186CCDEPMODE = @CCDEPMODE@ 187CFLAGS = @CFLAGS@ $(am__append_3) $(am__append_4) 188CFLAGS_MPI = @CFLAGS_MPI@ 189CPP = @CPP@ 190CPPFLAGS = @CPPFLAGS@ 191CXX = @CXX@ 192CXXDEPMODE = @CXXDEPMODE@ 193CXXFLAGS = @CXXFLAGS@ $(am__append_5) 194CYGPATH_W = @CYGPATH_W@ 195DEFAULT_SUPP = @DEFAULT_SUPP@ 196DEFS = @DEFS@ 197DEPDIR = @DEPDIR@ 198DIFF = @DIFF@ 199ECHO_C = @ECHO_C@ 200ECHO_N = @ECHO_N@ 201ECHO_T = @ECHO_T@ 202EGREP = @EGREP@ 203EXEEXT = @EXEEXT@ 204FLAG_FNO_STACK_PROTECTOR = @FLAG_FNO_STACK_PROTECTOR@ 205FLAG_M32 = @FLAG_M32@ 206FLAG_M64 = @FLAG_M64@ 207FLAG_MIPS32 = @FLAG_MIPS32@ 208FLAG_MIPS64 = @FLAG_MIPS64@ 209FLAG_MMMX = @FLAG_MMMX@ 210FLAG_MSSE = @FLAG_MSSE@ 211FLAG_NO_BUILD_ID = @FLAG_NO_BUILD_ID@ 212FLAG_OCTEON = @FLAG_OCTEON@ 213FLAG_OCTEON2 = @FLAG_OCTEON2@ 214FLAG_T_TEXT = @FLAG_T_TEXT@ 215FLAG_UNLIMITED_INLINE_UNIT_GROWTH = @FLAG_UNLIMITED_INLINE_UNIT_GROWTH@ 216FLAG_W_EXTRA = @FLAG_W_EXTRA@ 217FLAG_W_NO_EMPTY_BODY = @FLAG_W_NO_EMPTY_BODY@ 218FLAG_W_NO_FORMAT_ZERO_LENGTH = @FLAG_W_NO_FORMAT_ZERO_LENGTH@ 219FLAG_W_NO_NONNULL = @FLAG_W_NO_NONNULL@ 220FLAG_W_NO_OVERFLOW = @FLAG_W_NO_OVERFLOW@ 221FLAG_W_NO_UNINITIALIZED = @FLAG_W_NO_UNINITIALIZED@ 222GDB = @GDB@ 223GLIBC_VERSION = @GLIBC_VERSION@ 224GREP = @GREP@ 225INSTALL = @INSTALL@ 226INSTALL_DATA = @INSTALL_DATA@ 227INSTALL_PROGRAM = @INSTALL_PROGRAM@ 228INSTALL_SCRIPT = @INSTALL_SCRIPT@ 229INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ 230LDFLAGS = @LDFLAGS@ 231LDFLAGS_MPI = @LDFLAGS_MPI@ 232LIBOBJS = @LIBOBJS@ 233LIBS = @LIBS@ 234LN_S = @LN_S@ 235LTLIBOBJS = @LTLIBOBJS@ 236MAINT = @MAINT@ 237MAKEINFO = @MAKEINFO@ 238MKDIR_P = @MKDIR_P@ 239MPI_CC = @MPI_CC@ 240OBJEXT = @OBJEXT@ 241PACKAGE = @PACKAGE@ 242PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ 243PACKAGE_NAME = @PACKAGE_NAME@ 244PACKAGE_STRING = @PACKAGE_STRING@ 245PACKAGE_TARNAME = @PACKAGE_TARNAME@ 246PACKAGE_URL = @PACKAGE_URL@ 247PACKAGE_VERSION = @PACKAGE_VERSION@ 248PATH_SEPARATOR = @PATH_SEPARATOR@ 249PERL = @PERL@ 250PREFERRED_STACK_BOUNDARY = @PREFERRED_STACK_BOUNDARY@ 251RANLIB = @RANLIB@ 252SED = @SED@ 253SET_MAKE = @SET_MAKE@ 254SHELL = @SHELL@ 255STRIP = @STRIP@ 256VALT_LOAD_ADDRESS_PRI = @VALT_LOAD_ADDRESS_PRI@ 257VALT_LOAD_ADDRESS_SEC = @VALT_LOAD_ADDRESS_SEC@ 258VERSION = @VERSION@ 259VGCONF_ARCH_PRI = @VGCONF_ARCH_PRI@ 260VGCONF_ARCH_SEC = @VGCONF_ARCH_SEC@ 261VGCONF_OS = @VGCONF_OS@ 262VGCONF_PLATFORM_PRI_CAPS = @VGCONF_PLATFORM_PRI_CAPS@ 263VGCONF_PLATFORM_SEC_CAPS = @VGCONF_PLATFORM_SEC_CAPS@ 264VGCONF_PLATVARIANT = @VGCONF_PLATVARIANT@ 265abs_builddir = @abs_builddir@ 266abs_srcdir = @abs_srcdir@ 267abs_top_builddir = @abs_top_builddir@ 268abs_top_srcdir = @abs_top_srcdir@ 269ac_ct_CC = @ac_ct_CC@ 270ac_ct_CXX = @ac_ct_CXX@ 271am__include = @am__include@ 272am__leading_dot = @am__leading_dot@ 273am__quote = @am__quote@ 274am__tar = @am__tar@ 275am__untar = @am__untar@ 276bindir = @bindir@ 277build = @build@ 278build_alias = @build_alias@ 279build_cpu = @build_cpu@ 280build_os = @build_os@ 281build_vendor = @build_vendor@ 282builddir = @builddir@ 283datadir = @datadir@ 284datarootdir = @datarootdir@ 285docdir = @docdir@ 286dvidir = @dvidir@ 287exec_prefix = @exec_prefix@ 288host = @host@ 289host_alias = @host_alias@ 290host_cpu = @host_cpu@ 291host_os = @host_os@ 292host_vendor = @host_vendor@ 293htmldir = @htmldir@ 294includedir = @includedir@ 295infodir = @infodir@ 296install_sh = @install_sh@ 297libdir = @libdir@ 298libexecdir = @libexecdir@ 299localedir = @localedir@ 300localstatedir = @localstatedir@ 301mandir = @mandir@ 302mkdir_p = @mkdir_p@ 303oldincludedir = @oldincludedir@ 304pdfdir = @pdfdir@ 305prefix = @prefix@ 306program_transform_name = @program_transform_name@ 307psdir = @psdir@ 308sbindir = @sbindir@ 309sharedstatedir = @sharedstatedir@ 310srcdir = @srcdir@ 311sysconfdir = @sysconfdir@ 312target_alias = @target_alias@ 313top_build_prefix = @top_build_prefix@ 314top_builddir = @top_builddir@ 315top_srcdir = @top_srcdir@ 316inplacedir = $(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. 326AM_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. 355AM_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 373AM_FLAG_M3264_X86_LINUX = @FLAG_M32@ 374AM_CFLAGS_X86_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \ 375 $(AM_CFLAGS_BASE) -fomit-frame-pointer 376 377AM_CCASFLAGS_X86_LINUX = @FLAG_M32@ -g 378AM_FLAG_M3264_AMD64_LINUX = @FLAG_M64@ 379AM_CFLAGS_AMD64_LINUX = @FLAG_M64@ @PREFERRED_STACK_BOUNDARY@ \ 380 $(AM_CFLAGS_BASE) -fomit-frame-pointer 381 382AM_CCASFLAGS_AMD64_LINUX = @FLAG_M64@ -g 383AM_FLAG_M3264_PPC32_LINUX = @FLAG_M32@ 384AM_CFLAGS_PPC32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) 385AM_CCASFLAGS_PPC32_LINUX = @FLAG_M32@ -g 386AM_FLAG_M3264_PPC64_LINUX = @FLAG_M64@ 387AM_CFLAGS_PPC64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) 388AM_CCASFLAGS_PPC64_LINUX = @FLAG_M64@ -g 389AM_FLAG_M3264_ARM_LINUX = @FLAG_M32@ 390AM_CFLAGS_ARM_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \ 391 $(AM_CFLAGS_BASE) -marm -mcpu=cortex-a8 392 393AM_CCASFLAGS_ARM_LINUX = @FLAG_M32@ \ 394 -marm -mcpu=cortex-a8 -g 395 396AM_FLAG_M3264_ARM64_LINUX = @FLAG_M64@ 397AM_CFLAGS_ARM64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) 398AM_CCASFLAGS_ARM64_LINUX = @FLAG_M64@ -g 399AM_FLAG_M3264_X86_DARWIN = -arch i386 400AM_CFLAGS_X86_DARWIN = $(WERROR) -arch i386 $(AM_CFLAGS_BASE) \ 401 -mmacosx-version-min=10.5 \ 402 -fno-stack-protector -fno-pic -fno-PIC 403 404AM_CCASFLAGS_X86_DARWIN = -arch i386 -g 405AM_FLAG_M3264_AMD64_DARWIN = -arch x86_64 406AM_CFLAGS_AMD64_DARWIN = $(WERROR) -arch x86_64 $(AM_CFLAGS_BASE) \ 407 -mmacosx-version-min=10.5 -fno-stack-protector 408 409AM_CCASFLAGS_AMD64_DARWIN = -arch x86_64 -g 410AM_FLAG_M3264_S390X_LINUX = @FLAG_M64@ 411AM_CFLAGS_S390X_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) -fomit-frame-pointer 412AM_CCASFLAGS_S390X_LINUX = @FLAG_M64@ -g -mzarch -march=z900 413AM_FLAG_M3264_MIPS32_LINUX = @FLAG_M32@ 414AM_CFLAGS_MIPS32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) @FLAG_MIPS32@ 415AM_CCASFLAGS_MIPS32_LINUX = @FLAG_M32@ -g @FLAG_MIPS32@ 416AM_FLAG_M3264_MIPS64_LINUX = @FLAG_M64@ 417AM_CFLAGS_MIPS64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) @FLAG_MIPS64@ 418AM_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# 424AM_FLAG_M3264_PRI = $(AM_FLAG_M3264_@VGCONF_PLATFORM_PRI_CAPS@) 425AM_CPPFLAGS_PRI = $(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) 426AM_CFLAGS_PRI = $(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) 427AM_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# 433PRELOAD_LDFLAGS_COMMON_LINUX = -nodefaultlibs -shared \ 434 -Wl,-z,interpose,-z,initfirst $(am__append_1) 435PRELOAD_LDFLAGS_COMMON_DARWIN = -dynamic -dynamiclib -all_load 436PRELOAD_LDFLAGS_X86_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@ 437PRELOAD_LDFLAGS_AMD64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ 438PRELOAD_LDFLAGS_PPC32_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@ 439PRELOAD_LDFLAGS_PPC64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ 440PRELOAD_LDFLAGS_ARM_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@ 441PRELOAD_LDFLAGS_ARM64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ 442PRELOAD_LDFLAGS_X86_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch i386 443PRELOAD_LDFLAGS_AMD64_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch x86_64 444PRELOAD_LDFLAGS_S390X_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ 445PRELOAD_LDFLAGS_MIPS32_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@ 446PRELOAD_LDFLAGS_MIPS64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ 447AM_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). 456AM_CFLAGS = -Winline -Wall -Wshadow -g $(AM_FLAG_M3264_PRI) 457AM_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. 460AM_CCASFLAGS = $(AM_CPPFLAGS) 461@VGCONF_OS_IS_DARWIN_TRUE@noinst_DSYMS = $(check_PROGRAMS) 462dist_noinst_SCRIPTS = filter_stderr filter_verbose 463EXTRA_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 504new_cpp_SOURCES = new-cpp.cpp 505overloaded_new_SOURCES = overloaded-new.cpp 506all: 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 523Makefile: $(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 542clean-checkPROGRAMS: 543 -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS) 544alloc-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) 547basic$(EXEEXT): $(basic_OBJECTS) $(basic_DEPENDENCIES) $(EXTRA_basic_DEPENDENCIES) 548 @rm -f basic$(EXEEXT) 549 $(LINK) $(basic_OBJECTS) $(basic_LDADD) $(LIBS) 550big-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) 553culling1$(EXEEXT): $(culling1_OBJECTS) $(culling1_DEPENDENCIES) $(EXTRA_culling1_DEPENDENCIES) 554 @rm -f culling1$(EXEEXT) 555 $(LINK) $(culling1_OBJECTS) $(culling1_LDADD) $(LIBS) 556culling2$(EXEEXT): $(culling2_OBJECTS) $(culling2_DEPENDENCIES) $(EXTRA_culling2_DEPENDENCIES) 557 @rm -f culling2$(EXEEXT) 558 $(LINK) $(culling2_OBJECTS) $(culling2_LDADD) $(LIBS) 559custom_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) 562deep$(EXEEXT): $(deep_OBJECTS) $(deep_DEPENDENCIES) $(EXTRA_deep_DEPENDENCIES) 563 @rm -f deep$(EXEEXT) 564 $(LINK) $(deep_OBJECTS) $(deep_LDADD) $(LIBS) 565ignored$(EXEEXT): $(ignored_OBJECTS) $(ignored_DEPENDENCIES) $(EXTRA_ignored_DEPENDENCIES) 566 @rm -f ignored$(EXEEXT) 567 $(LINK) $(ignored_OBJECTS) $(ignored_LDADD) $(LIBS) 568ignoring$(EXEEXT): $(ignoring_OBJECTS) $(ignoring_DEPENDENCIES) $(EXTRA_ignoring_DEPENDENCIES) 569 @rm -f ignoring$(EXEEXT) 570 $(LINK) $(ignoring_OBJECTS) $(ignoring_LDADD) $(LIBS) 571insig$(EXEEXT): $(insig_OBJECTS) $(insig_DEPENDENCIES) $(EXTRA_insig_DEPENDENCIES) 572 @rm -f insig$(EXEEXT) 573 $(LINK) $(insig_OBJECTS) $(insig_LDADD) $(LIBS) 574long-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) 577long-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) 580malloc_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) 583new-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) 586null$(EXEEXT): $(null_OBJECTS) $(null_DEPENDENCIES) $(EXTRA_null_DEPENDENCIES) 587 @rm -f null$(EXEEXT) 588 $(LINK) $(null_OBJECTS) $(null_LDADD) $(LIBS) 589one$(EXEEXT): $(one_OBJECTS) $(one_DEPENDENCIES) $(EXTRA_one_DEPENDENCIES) 590 @rm -f one$(EXEEXT) 591 $(LINK) $(one_OBJECTS) $(one_LDADD) $(LIBS) 592overloaded-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) 595pages_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) 598peak$(EXEEXT): $(peak_OBJECTS) $(peak_DEPENDENCIES) $(EXTRA_peak_DEPENDENCIES) 599 @rm -f peak$(EXEEXT) 600 $(LINK) $(peak_OBJECTS) $(peak_LDADD) $(LIBS) 601realloc$(EXEEXT): $(realloc_OBJECTS) $(realloc_DEPENDENCIES) $(EXTRA_realloc_DEPENDENCIES) 602 @rm -f realloc$(EXEEXT) 603 $(LINK) $(realloc_OBJECTS) $(realloc_LDADD) $(LIBS) 604thresholds$(EXEEXT): $(thresholds_OBJECTS) $(thresholds_DEPENDENCIES) $(EXTRA_thresholds_DEPENDENCIES) 605 @rm -f thresholds$(EXEEXT) 606 $(LINK) $(thresholds_OBJECTS) $(thresholds_LDADD) $(LIBS) 607zero$(EXEEXT): $(zero_OBJECTS) $(zero_DEPENDENCIES) $(EXTRA_zero_DEPENDENCIES) 608 @rm -f zero$(EXEEXT) 609 $(LINK) $(zero_OBJECTS) $(zero_LDADD) $(LIBS) 610 611mostlyclean-compile: 612 -rm -f *.$(OBJEXT) 613 614distclean-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 672ID: $(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 680tags: TAGS 681 682TAGS: $(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 703ctags: CTAGS 704CTAGS: $(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 716GTAGS: 717 here=`$(am__cd) $(top_builddir) && pwd` \ 718 && $(am__cd) $(top_srcdir) \ 719 && gtags -i $(GTAGS_ARGS) "$$here" 720 721distclean-tags: 722 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 723 724distdir: $(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 754check-am: all-am 755 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) 756 $(MAKE) $(AM_MAKEFLAGS) check-local 757check: check-am 758all-am: Makefile $(SCRIPTS) 759installdirs: 760install: install-am 761install-exec: install-exec-am 762install-data: install-data-am 763uninstall: uninstall-am 764 765install-am: all-am 766 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 767 768installcheck: installcheck-am 769install-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 779mostlyclean-generic: 780 781clean-generic: 782 783distclean-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 787maintainer-clean-generic: 788 @echo "This command is intended for maintainers to use" 789 @echo "it deletes files that may require special tools to rebuild." 790clean: clean-am 791 792clean-am: clean-checkPROGRAMS clean-generic clean-local mostlyclean-am 793 794distclean: distclean-am 795 -rm -rf ./$(DEPDIR) 796 -rm -f Makefile 797distclean-am: clean-am distclean-compile distclean-generic \ 798 distclean-tags 799 800dvi: dvi-am 801 802dvi-am: 803 804html: html-am 805 806html-am: 807 808info: info-am 809 810info-am: 811 812install-data-am: 813 814install-dvi: install-dvi-am 815 816install-dvi-am: 817 818install-exec-am: 819 820install-html: install-html-am 821 822install-html-am: 823 824install-info: install-info-am 825 826install-info-am: 827 828install-man: 829 830install-pdf: install-pdf-am 831 832install-pdf-am: 833 834install-ps: install-ps-am 835 836install-ps-am: 837 838installcheck-am: 839 840maintainer-clean: maintainer-clean-am 841 -rm -rf ./$(DEPDIR) 842 -rm -f Makefile 843maintainer-clean-am: distclean-am maintainer-clean-generic 844 845mostlyclean: mostlyclean-am 846 847mostlyclean-am: mostlyclean-compile mostlyclean-generic 848 849pdf: pdf-am 850 851pdf-am: 852 853ps: ps-am 854 855ps-am: 856 857uninstall-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. 889build-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. 900inplace-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 908inplace-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. 918install-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'... 928install-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. 935clean-noinst_DSYMS: 936 for f in $(noinst_DSYMS); do \ 937 rm -rf $$f.dSYM; \ 938 done 939 940check-local: build-noinst_DSYMS 941 942clean-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