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