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 should be included (directly or indirectly) by every 19 # Makefile.am that builds programs. And also the top-level Makefile.am. 20 21 #---------------------------------------------------------------------------- 22 # Global stuff 23 #---------------------------------------------------------------------------- 24 25 26 VPATH = @srcdir@ 27 pkgdatadir = $(datadir)/@PACKAGE@ 28 pkgincludedir = $(includedir)/@PACKAGE@ 29 pkglibdir = $(libdir)/@PACKAGE@ 30 pkglibexecdir = $(libexecdir)/@PACKAGE@ 31 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 32 install_sh_DATA = $(install_sh) -c -m 644 33 install_sh_PROGRAM = $(install_sh) -c 34 install_sh_SCRIPT = $(install_sh) -c 35 INSTALL_HEADER = $(INSTALL_DATA) 36 transform = $(program_transform_name) 37 NORMAL_INSTALL = : 38 PRE_INSTALL = : 39 POST_INSTALL = : 40 NORMAL_UNINSTALL = : 41 PRE_UNINSTALL = : 42 POST_UNINSTALL = : 43 build_triplet = @build@ 44 host_triplet = @host@ 45 DIST_COMMON = README $(am__configure_deps) $(dist_noinst_DATA) \ 46 $(dist_noinst_SCRIPTS) $(srcdir)/Makefile.am \ 47 $(srcdir)/Makefile.in $(srcdir)/config.h.in \ 48 $(srcdir)/glibc-2.X.supp.in $(srcdir)/valgrind.pc.in \ 49 $(srcdir)/valgrind.spec.in $(top_srcdir)/Makefile.all.am \ 50 $(top_srcdir)/configure \ 51 $(top_srcdir)/drd/scripts/download-and-build-splash2.in \ 52 AUTHORS COPYING NEWS compile config.guess config.sub depcomp \ 53 install-sh missing 54 subdir = . 55 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 56 am__aclocal_m4_deps = $(top_srcdir)/configure.in 57 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 58 $(ACLOCAL_M4) 59 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ 60 configure.lineno config.status.lineno 61 mkinstalldirs = $(install_sh) -d 62 CONFIG_HEADER = config.h 63 CONFIG_CLEAN_FILES = valgrind.spec valgrind.pc glibc-2.X.supp \ 64 drd/scripts/download-and-build-splash2 65 CONFIG_CLEAN_VPATH_FILES = 66 SCRIPTS = $(dist_noinst_SCRIPTS) 67 SOURCES = 68 DIST_SOURCES = 69 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ 70 html-recursive info-recursive install-data-recursive \ 71 install-dvi-recursive install-exec-recursive \ 72 install-html-recursive install-info-recursive \ 73 install-pdf-recursive install-ps-recursive install-recursive \ 74 installcheck-recursive installdirs-recursive pdf-recursive \ 75 ps-recursive uninstall-recursive 76 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; 77 am__vpath_adj = case $$p in \ 78 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ 79 *) f=$$p;; \ 80 esac; 81 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; 82 am__install_max = 40 83 am__nobase_strip_setup = \ 84 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` 85 am__nobase_strip = \ 86 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" 87 am__nobase_list = $(am__nobase_strip_setup); \ 88 for p in $$list; do echo "$$p $$p"; done | \ 89 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ 90 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ 91 if (++n[$$2] == $(am__install_max)) \ 92 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ 93 END { for (dir in files) print dir, files[dir] }' 94 am__base_list = \ 95 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ 96 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' 97 am__installdirs = "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(pkglibdir)" 98 DATA = $(dist_noinst_DATA) $(pkgconfig_DATA) $(pkglib_DATA) 99 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ 100 distclean-recursive maintainer-clean-recursive 101 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ 102 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ 103 distdir dist dist-all distcheck 104 ETAGS = etags 105 CTAGS = ctags 106 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 107 distdir = $(PACKAGE)-$(VERSION) 108 top_distdir = $(distdir) 109 am__remove_distdir = \ 110 { test ! -d "$(distdir)" \ 111 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ 112 && rm -fr "$(distdir)"; }; } 113 am__relativize = \ 114 dir0=`pwd`; \ 115 sed_first='s,^\([^/]*\)/.*$$,\1,'; \ 116 sed_rest='s,^[^/]*/*,,'; \ 117 sed_last='s,^.*/\([^/]*\)$$,\1,'; \ 118 sed_butlast='s,/*[^/]*$$,,'; \ 119 while test -n "$$dir1"; do \ 120 first=`echo "$$dir1" | sed -e "$$sed_first"`; \ 121 if test "$$first" != "."; then \ 122 if test "$$first" = ".."; then \ 123 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ 124 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ 125 else \ 126 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ 127 if test "$$first2" = "$$first"; then \ 128 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ 129 else \ 130 dir2="../$$dir2"; \ 131 fi; \ 132 dir0="$$dir0"/"$$first"; \ 133 fi; \ 134 fi; \ 135 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ 136 done; \ 137 reldir="$$dir2" 138 DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2 139 GZIP_ENV = --best 140 distuninstallcheck_listfiles = find . -type f -print 141 distcleancheck_listfiles = find . -type f -print 142 ACLOCAL = @ACLOCAL@ 143 AMTAR = @AMTAR@ 144 AR = @AR@ 145 AUTOCONF = @AUTOCONF@ 146 AUTOHEADER = @AUTOHEADER@ 147 AUTOMAKE = @AUTOMAKE@ 148 AWK = @AWK@ 149 BOOST_CFLAGS = @BOOST_CFLAGS@ 150 BOOST_LIBS = @BOOST_LIBS@ 151 CC = @CC@ 152 CCAS = @CCAS@ 153 CCASDEPMODE = @CCASDEPMODE@ 154 CCASFLAGS = @CCASFLAGS@ 155 CCDEPMODE = @CCDEPMODE@ 156 CFLAGS = @CFLAGS@ 157 CPP = @CPP@ 158 CPPFLAGS = @CPPFLAGS@ 159 CXX = @CXX@ 160 CXXDEPMODE = @CXXDEPMODE@ 161 CXXFLAGS = @CXXFLAGS@ 162 CYGPATH_W = @CYGPATH_W@ 163 DEFAULT_SUPP = @DEFAULT_SUPP@ 164 DEFS = @DEFS@ 165 DEPDIR = @DEPDIR@ 166 DIFF = @DIFF@ 167 ECHO_C = @ECHO_C@ 168 ECHO_N = @ECHO_N@ 169 ECHO_T = @ECHO_T@ 170 EGREP = @EGREP@ 171 EXEEXT = @EXEEXT@ 172 FLAG_FNO_STACK_PROTECTOR = @FLAG_FNO_STACK_PROTECTOR@ 173 FLAG_M32 = @FLAG_M32@ 174 FLAG_M64 = @FLAG_M64@ 175 FLAG_MAIX32 = @FLAG_MAIX32@ 176 FLAG_MAIX64 = @FLAG_MAIX64@ 177 FLAG_MMMX = @FLAG_MMMX@ 178 FLAG_MSSE = @FLAG_MSSE@ 179 FLAG_NO_BUILD_ID = @FLAG_NO_BUILD_ID@ 180 FLAG_UNLIMITED_INLINE_UNIT_GROWTH = @FLAG_UNLIMITED_INLINE_UNIT_GROWTH@ 181 FLAG_W_EXTRA = @FLAG_W_EXTRA@ 182 FLAG_W_NO_EMPTY_BODY = @FLAG_W_NO_EMPTY_BODY@ 183 FLAG_W_NO_FORMAT_ZERO_LENGTH = @FLAG_W_NO_FORMAT_ZERO_LENGTH@ 184 FLAG_W_NO_UNINITIALIZED = @FLAG_W_NO_UNINITIALIZED@ 185 GDB = @GDB@ 186 GLIBC_VERSION = @GLIBC_VERSION@ 187 GREP = @GREP@ 188 INSTALL = @INSTALL@ 189 INSTALL_DATA = @INSTALL_DATA@ 190 INSTALL_PROGRAM = @INSTALL_PROGRAM@ 191 INSTALL_SCRIPT = @INSTALL_SCRIPT@ 192 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ 193 LDFLAGS = @LDFLAGS@ 194 LIBOBJS = @LIBOBJS@ 195 LIBS = @LIBS@ 196 LN_S = @LN_S@ 197 LTLIBOBJS = @LTLIBOBJS@ 198 MAINT = @MAINT@ 199 MAKEINFO = @MAKEINFO@ 200 MKDIR_P = @MKDIR_P@ 201 MPI_CC = @MPI_CC@ 202 OBJEXT = @OBJEXT@ 203 PACKAGE = @PACKAGE@ 204 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ 205 PACKAGE_NAME = @PACKAGE_NAME@ 206 PACKAGE_STRING = @PACKAGE_STRING@ 207 PACKAGE_TARNAME = @PACKAGE_TARNAME@ 208 PACKAGE_URL = @PACKAGE_URL@ 209 PACKAGE_VERSION = @PACKAGE_VERSION@ 210 PATH_SEPARATOR = @PATH_SEPARATOR@ 211 PERL = @PERL@ 212 PKG_CONFIG = @PKG_CONFIG@ 213 PREFERRED_STACK_BOUNDARY = @PREFERRED_STACK_BOUNDARY@ 214 QTCORE_CFLAGS = @QTCORE_CFLAGS@ 215 QTCORE_LIBS = @QTCORE_LIBS@ 216 RANLIB = @RANLIB@ 217 SED = @SED@ 218 SET_MAKE = @SET_MAKE@ 219 SHELL = @SHELL@ 220 STRIP = @STRIP@ 221 VALT_LOAD_ADDRESS_PRI = @VALT_LOAD_ADDRESS_PRI@ 222 VALT_LOAD_ADDRESS_SEC = @VALT_LOAD_ADDRESS_SEC@ 223 VERSION = @VERSION@ 224 VGCONF_ARCH_PRI = @VGCONF_ARCH_PRI@ 225 VGCONF_ARCH_SEC = @VGCONF_ARCH_SEC@ 226 VGCONF_OS = @VGCONF_OS@ 227 VGCONF_PLATFORM_PRI_CAPS = @VGCONF_PLATFORM_PRI_CAPS@ 228 VGCONF_PLATFORM_SEC_CAPS = @VGCONF_PLATFORM_SEC_CAPS@ 229 abs_builddir = @abs_builddir@ 230 abs_srcdir = @abs_srcdir@ 231 abs_top_builddir = @abs_top_builddir@ 232 abs_top_srcdir = @abs_top_srcdir@ 233 ac_ct_CC = @ac_ct_CC@ 234 ac_ct_CXX = @ac_ct_CXX@ 235 am__include = @am__include@ 236 am__leading_dot = @am__leading_dot@ 237 am__quote = @am__quote@ 238 am__tar = @am__tar@ 239 am__untar = @am__untar@ 240 bindir = @bindir@ 241 build = @build@ 242 build_alias = @build_alias@ 243 build_cpu = @build_cpu@ 244 build_os = @build_os@ 245 build_vendor = @build_vendor@ 246 builddir = @builddir@ 247 datadir = @datadir@ 248 datarootdir = @datarootdir@ 249 docdir = @docdir@ 250 dvidir = @dvidir@ 251 exec_prefix = @exec_prefix@ 252 host = @host@ 253 host_alias = @host_alias@ 254 host_cpu = @host_cpu@ 255 host_os = @host_os@ 256 host_vendor = @host_vendor@ 257 htmldir = @htmldir@ 258 includedir = @includedir@ 259 infodir = @infodir@ 260 install_sh = @install_sh@ 261 libdir = @libdir@ 262 libexecdir = @libexecdir@ 263 localedir = @localedir@ 264 localstatedir = @localstatedir@ 265 mandir = @mandir@ 266 mkdir_p = @mkdir_p@ 267 oldincludedir = @oldincludedir@ 268 pdfdir = @pdfdir@ 269 prefix = @prefix@ 270 program_transform_name = @program_transform_name@ 271 psdir = @psdir@ 272 sbindir = @sbindir@ 273 sharedstatedir = @sharedstatedir@ 274 srcdir = @srcdir@ 275 sysconfdir = @sysconfdir@ 276 target_alias = @target_alias@ 277 top_build_prefix = @top_build_prefix@ 278 top_builddir = @top_builddir@ 279 top_srcdir = @top_srcdir@ 280 AUTOMAKE_OPTIONS = foreign 1.7 dist-bzip2 281 inplacedir = $(top_builddir)/.in_place 282 283 #---------------------------------------------------------------------------- 284 # Flags 285 #---------------------------------------------------------------------------- 286 287 # Baseline flags for all compilations. Aim here is to maximise 288 # performance and get whatever useful warnings we can out of gcc. 289 AM_CFLAGS_BASE = \ 290 -O2 -g \ 291 -Wall \ 292 -Wmissing-prototypes \ 293 -Wshadow \ 294 -Wpointer-arith \ 295 -Wstrict-prototypes \ 296 -Wmissing-declarations \ 297 @FLAG_W_NO_FORMAT_ZERO_LENGTH@ \ 298 -fno-strict-aliasing 299 300 @VGCONF_OS_IS_DARWIN_FALSE@AM_CFLAGS_PIC = -fpic -O -g -fno-omit-frame-pointer -fno-strict-aliasing 301 302 # These flags are used for building the preload shared objects. 303 # The aim is to give reasonable performance but also to have good 304 # stack traces, since users often see stack traces extending 305 # into (and through) the preloads. 306 @VGCONF_OS_IS_DARWIN_TRUE@AM_CFLAGS_PIC = -dynamic -O -g -fno-omit-frame-pointer -fno-strict-aliasing \ 307 @VGCONF_OS_IS_DARWIN_TRUE@ -mno-dynamic-no-pic -fpic -fPIC 308 309 310 # Flags for specific targets. 311 # 312 # Nb: the AM_CPPFLAGS_* values are suitable for building tools and auxprogs. 313 # For building the core, coregrind/Makefile.am files add some extra things. 314 # 315 # Also: in newer versions of automake (1.10 onwards?) asm files ending with 316 # '.S' are considered "pre-processed" (as opposed to those ending in '.s') 317 # and so the CPPFLAGS are passed to the assembler. But this is not true for 318 # older automakes (e.g. 1.8.5, 1.9.6), sigh. So we include 319 # AM_CPPFLAGS_<PLATFORM> in each AM_CCASFLAGS_<PLATFORM> variable. This 320 # means some of the flags are duplicated on systems with newer versions of 321 # automake, but this does not really matter and seems hard to avoid. 322 AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@ = \ 323 -I$(top_srcdir) \ 324 -I$(top_srcdir)/include \ 325 -I$(top_srcdir)/VEX/pub \ 326 -DVGA_@VGCONF_ARCH_PRI@=1 \ 327 -DVGO_@VGCONF_OS@=1 \ 328 -DVGP_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1 329 330 @VGCONF_HAVE_PLATFORM_SEC_TRUE@AM_CPPFLAGS_@VGCONF_PLATFORM_SEC_CAPS@ = \ 331 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_srcdir) \ 332 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_srcdir)/include \ 333 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_srcdir)/VEX/pub \ 334 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGA_@VGCONF_ARCH_SEC@=1 \ 335 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGO_@VGCONF_OS@=1 \ 336 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGP_@VGCONF_ARCH_SEC@_@VGCONF_OS@=1 337 338 AM_FLAG_M3264_X86_LINUX = @FLAG_M32@ 339 AM_CFLAGS_X86_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \ 340 $(AM_CFLAGS_BASE) 341 342 AM_CCASFLAGS_X86_LINUX = $(AM_CPPFLAGS_X86_LINUX) @FLAG_M32@ -g 343 AM_FLAG_M3264_AMD64_LINUX = @FLAG_M64@ 344 AM_CFLAGS_AMD64_LINUX = @FLAG_M64@ -fomit-frame-pointer \ 345 @PREFERRED_STACK_BOUNDARY@ $(AM_CFLAGS_BASE) 346 347 AM_CCASFLAGS_AMD64_LINUX = $(AM_CPPFLAGS_AMD64_LINUX) @FLAG_M64@ -g 348 AM_FLAG_M3264_PPC32_LINUX = @FLAG_M32@ 349 AM_CFLAGS_PPC32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) 350 AM_CCASFLAGS_PPC32_LINUX = $(AM_CPPFLAGS_PPC32_LINUX) @FLAG_M32@ -g 351 AM_FLAG_M3264_PPC64_LINUX = @FLAG_M64@ 352 AM_CFLAGS_PPC64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) 353 AM_CCASFLAGS_PPC64_LINUX = $(AM_CPPFLAGS_PPC64_LINUX) @FLAG_M64@ -g 354 AM_FLAG_M3264_ARM_LINUX = @FLAG_M32@ 355 AM_CFLAGS_ARM_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \ 356 $(AM_CFLAGS_BASE) -marm 357 358 AM_CCASFLAGS_ARM_LINUX = $(AM_CPPFLAGS_ARM_LINUX) @FLAG_M32@ -marm -g 359 AM_FLAG_M3264_PPC32_AIX5 = @FLAG_MAIX32@ 360 AM_CFLAGS_PPC32_AIX5 = @FLAG_MAIX32@ -mcpu=powerpc $(AM_CFLAGS_BASE) 361 AM_CCASFLAGS_PPC32_AIX5 = $(AM_CPPFLAGS_PPC32_AIX5) \ 362 @FLAG_MAIX32@ -mcpu=powerpc -g 363 364 AM_FLAG_M3264_PPC64_AIX5 = @FLAG_MAIX64@ 365 AM_CFLAGS_PPC64_AIX5 = @FLAG_MAIX64@ -mcpu=powerpc64 $(AM_CFLAGS_BASE) 366 AM_CCASFLAGS_PPC64_AIX5 = $(AM_CPPFLAGS_PPC64_AIX5) \ 367 @FLAG_MAIX64@ -mcpu=powerpc64 -g 368 369 AM_FLAG_M3264_X86_DARWIN = -arch i386 370 AM_CFLAGS_X86_DARWIN = $(WERROR) -arch i386 $(AM_CFLAGS_BASE) \ 371 -mmacosx-version-min=10.5 \ 372 -fno-stack-protector -fno-pic -fno-PIC 373 374 AM_CCASFLAGS_X86_DARWIN = $(AM_CPPFLAGS_X86_DARWIN) -arch i386 -g 375 AM_FLAG_M3264_AMD64_DARWIN = -arch x86_64 376 AM_CFLAGS_AMD64_DARWIN = $(WERROR) -arch x86_64 $(AM_CFLAGS_BASE) \ 377 -mmacosx-version-min=10.5 -fno-stack-protector 378 379 AM_CCASFLAGS_AMD64_DARWIN = $(AM_CPPFLAGS_AMD64_DARWIN) -arch x86_64 -g 380 381 # Flags for the primary target. These must be used to build the 382 # regtests and performance tests. In fact, these must be used to 383 # build anything which is built only once on a dual-arch build. 384 # 385 AM_FLAG_M3264_PRI = $(AM_FLAG_M3264_@VGCONF_PLATFORM_PRI_CAPS@) 386 AM_CPPFLAGS_PRI = $(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) 387 AM_CFLAGS_PRI = $(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) 388 AM_CCASFLAGS_PRI = $(AM_CCASFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) 389 @VGCONF_HAVE_PLATFORM_SEC_FALSE@AM_FLAG_M3264_SEC = 390 @VGCONF_HAVE_PLATFORM_SEC_TRUE@AM_FLAG_M3264_SEC = $(AM_FLAG_M3264_@VGCONF_PLATFORM_SEC_CAPS@) 391 392 # Baseline link flags for making vgpreload shared objects. 393 # 394 PRELOAD_LDFLAGS_COMMON_LINUX = -nodefaultlibs -shared -Wl,-z,interpose,-z,initfirst 395 PRELOAD_LDFLAGS_COMMON_AIX5 = -nodefaultlibs -shared -Wl,-G -Wl,-bnogc 396 PRELOAD_LDFLAGS_COMMON_DARWIN = -dynamic -dynamiclib -all_load 397 PRELOAD_LDFLAGS_X86_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@ 398 PRELOAD_LDFLAGS_AMD64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ 399 PRELOAD_LDFLAGS_PPC32_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@ 400 PRELOAD_LDFLAGS_PPC64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ 401 PRELOAD_LDFLAGS_ARM_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@ 402 PRELOAD_LDFLAGS_PPC32_AIX5 = $(PRELOAD_LDFLAGS_COMMON_AIX5) @FLAG_MAIX32@ 403 PRELOAD_LDFLAGS_PPC64_AIX5 = $(PRELOAD_LDFLAGS_COMMON_AIX5) @FLAG_MAIX64@ 404 PRELOAD_LDFLAGS_X86_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch i386 405 PRELOAD_LDFLAGS_AMD64_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch x86_64 406 TOOLS = memcheck \ 407 cachegrind \ 408 callgrind \ 409 massif \ 410 lackey \ 411 none \ 412 helgrind \ 413 drd 414 415 EXP_TOOLS = exp-ptrcheck \ 416 exp-bbv \ 417 exp-dhat 418 419 420 # DDD: once all tools work on Darwin, TEST_TOOLS and TEST_EXP_TOOLS can be 421 # replaced with TOOLS and EXP_TOOLS. 422 TEST_TOOLS = $(TOOLS) 423 @VGCONF_OS_IS_DARWIN_FALSE@TEST_EXP_TOOLS = $(EXP_TOOLS) 424 @VGCONF_OS_IS_DARWIN_TRUE@TEST_EXP_TOOLS = exp-bbv 425 426 # Put docs last because building the HTML is slow and we want to get 427 # everything else working before we try it. 428 SUBDIRS = \ 429 include \ 430 VEX \ 431 coregrind \ 432 . \ 433 $(TOOLS) \ 434 $(EXP_TOOLS) \ 435 tests \ 436 perf \ 437 auxprogs \ 438 mpi \ 439 docs 440 441 DIST_SUBDIRS = $(SUBDIRS) 442 SUPP_FILES = \ 443 glibc-2.2.supp glibc-2.3.supp glibc-2.4.supp glibc-2.5.supp \ 444 glibc-2.6.supp glibc-2.7.supp glibc-2.X.supp.in \ 445 aix5libc.supp xfree-3.supp xfree-4.supp \ 446 glibc-2.34567-NPTL-helgrind.supp \ 447 glibc-2.2-LinuxThreads-helgrind.supp \ 448 glibc-2.X-drd.supp \ 449 exp-ptrcheck.supp \ 450 darwin9.supp darwin9-drd.supp \ 451 darwin10.supp darwin10-drd.supp 452 453 DEFAULT_SUPP_FILES = @DEFAULT_SUPP@ 454 455 # We include all the base .supp files in the distribution, but not 456 # default.supp, as it is built from the base .supp files at compile-time. 457 dist_noinst_DATA = $(SUPP_FILES) 458 pkglib_DATA = default.supp 459 pkgconfigdir = $(libdir)/pkgconfig 460 pkgconfig_DATA = valgrind.pc 461 BUILT_SOURCES = default.supp valgrind.pc 462 CLEANFILES = default.supp 463 464 # Nb: no need to include any Makefile.am files here, or files included from 465 # them, as automake includes them automatically. Also not COPYING, README 466 # or NEWS. 467 # We include valgrind.spec as well as valgrind.spec.in to save packagers 468 # from having to run configure (bug 188560). 469 EXTRA_DIST = \ 470 COPYING.DOCS \ 471 README_DEVELOPERS \ 472 README_PACKAGERS \ 473 README_MISSING_SYSCALL_OR_IOCTL \ 474 valgrind.pc.in \ 475 valgrind.spec.in \ 476 valgrind.spec 477 478 dist_noinst_SCRIPTS = \ 479 vg-in-place 480 481 all: $(BUILT_SOURCES) config.h 482 $(MAKE) $(AM_MAKEFLAGS) all-recursive 483 484 .SUFFIXES: 485 am--refresh: 486 @: 487 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.all.am $(am__configure_deps) 488 @for dep in $?; do \ 489 case '$(am__configure_deps)' in \ 490 *$$dep*) \ 491 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \ 492 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \ 493 && exit 0; \ 494 exit 1;; \ 495 esac; \ 496 done; \ 497 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ 498 $(am__cd) $(top_srcdir) && \ 499 $(AUTOMAKE) --foreign Makefile 500 .PRECIOUS: Makefile 501 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 502 @case '$?' in \ 503 *config.status*) \ 504 echo ' $(SHELL) ./config.status'; \ 505 $(SHELL) ./config.status;; \ 506 *) \ 507 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ 508 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ 509 esac; 510 511 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 512 $(SHELL) ./config.status --recheck 513 514 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 515 $(am__cd) $(srcdir) && $(AUTOCONF) 516 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) 517 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) 518 $(am__aclocal_m4_deps): 519 520 config.h: stamp-h1 521 @if test ! -f $@; then \ 522 rm -f stamp-h1; \ 523 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ 524 else :; fi 525 526 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status 527 @rm -f stamp-h1 528 cd $(top_builddir) && $(SHELL) ./config.status config.h 529 $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 530 ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) 531 rm -f stamp-h1 532 touch $@ 533 534 distclean-hdr: 535 -rm -f config.h stamp-h1 536 valgrind.spec: $(top_builddir)/config.status $(srcdir)/valgrind.spec.in 537 cd $(top_builddir) && $(SHELL) ./config.status $@ 538 valgrind.pc: $(top_builddir)/config.status $(srcdir)/valgrind.pc.in 539 cd $(top_builddir) && $(SHELL) ./config.status $@ 540 glibc-2.X.supp: $(top_builddir)/config.status $(srcdir)/glibc-2.X.supp.in 541 cd $(top_builddir) && $(SHELL) ./config.status $@ 542 drd/scripts/download-and-build-splash2: $(top_builddir)/config.status $(top_srcdir)/drd/scripts/download-and-build-splash2.in 543 cd $(top_builddir) && $(SHELL) ./config.status $@ 544 install-pkgconfigDATA: $(pkgconfig_DATA) 545 @$(NORMAL_INSTALL) 546 test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" 547 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ 548 for p in $$list; do \ 549 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ 550 echo "$$d$$p"; \ 551 done | $(am__base_list) | \ 552 while read files; do \ 553 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \ 554 $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \ 555 done 556 557 uninstall-pkgconfigDATA: 558 @$(NORMAL_UNINSTALL) 559 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ 560 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ 561 test -n "$$files" || exit 0; \ 562 echo " ( cd '$(DESTDIR)$(pkgconfigdir)' && rm -f" $$files ")"; \ 563 cd "$(DESTDIR)$(pkgconfigdir)" && rm -f $$files 564 install-pkglibDATA: $(pkglib_DATA) 565 @$(NORMAL_INSTALL) 566 test -z "$(pkglibdir)" || $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" 567 @list='$(pkglib_DATA)'; test -n "$(pkglibdir)" || list=; \ 568 for p in $$list; do \ 569 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ 570 echo "$$d$$p"; \ 571 done | $(am__base_list) | \ 572 while read files; do \ 573 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkglibdir)'"; \ 574 $(INSTALL_DATA) $$files "$(DESTDIR)$(pkglibdir)" || exit $$?; \ 575 done 576 577 uninstall-pkglibDATA: 578 @$(NORMAL_UNINSTALL) 579 @list='$(pkglib_DATA)'; test -n "$(pkglibdir)" || list=; \ 580 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ 581 test -n "$$files" || exit 0; \ 582 echo " ( cd '$(DESTDIR)$(pkglibdir)' && rm -f" $$files ")"; \ 583 cd "$(DESTDIR)$(pkglibdir)" && rm -f $$files 584 585 # This directory's subdirectories are mostly independent; you can cd 586 # into them and run `make' without going through this Makefile. 587 # To change the values of `make' variables: instead of editing Makefiles, 588 # (1) if the variable is set in `config.status', edit `config.status' 589 # (which will cause the Makefiles to be regenerated when you run `make'); 590 # (2) otherwise, pass the desired values on the `make' command line. 591 $(RECURSIVE_TARGETS): 592 @fail= failcom='exit 1'; \ 593 for f in x $$MAKEFLAGS; do \ 594 case $$f in \ 595 *=* | --[!k]*);; \ 596 *k*) failcom='fail=yes';; \ 597 esac; \ 598 done; \ 599 dot_seen=no; \ 600 target=`echo $@ | sed s/-recursive//`; \ 601 list='$(SUBDIRS)'; for subdir in $$list; do \ 602 echo "Making $$target in $$subdir"; \ 603 if test "$$subdir" = "."; then \ 604 dot_seen=yes; \ 605 local_target="$$target-am"; \ 606 else \ 607 local_target="$$target"; \ 608 fi; \ 609 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ 610 || eval $$failcom; \ 611 done; \ 612 if test "$$dot_seen" = "no"; then \ 613 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ 614 fi; test -z "$$fail" 615 616 $(RECURSIVE_CLEAN_TARGETS): 617 @fail= failcom='exit 1'; \ 618 for f in x $$MAKEFLAGS; do \ 619 case $$f in \ 620 *=* | --[!k]*);; \ 621 *k*) failcom='fail=yes';; \ 622 esac; \ 623 done; \ 624 dot_seen=no; \ 625 case "$@" in \ 626 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ 627 *) list='$(SUBDIRS)' ;; \ 628 esac; \ 629 rev=''; for subdir in $$list; do \ 630 if test "$$subdir" = "."; then :; else \ 631 rev="$$subdir $$rev"; \ 632 fi; \ 633 done; \ 634 rev="$$rev ."; \ 635 target=`echo $@ | sed s/-recursive//`; \ 636 for subdir in $$rev; do \ 637 echo "Making $$target in $$subdir"; \ 638 if test "$$subdir" = "."; then \ 639 local_target="$$target-am"; \ 640 else \ 641 local_target="$$target"; \ 642 fi; \ 643 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ 644 || eval $$failcom; \ 645 done && test -z "$$fail" 646 tags-recursive: 647 list='$(SUBDIRS)'; for subdir in $$list; do \ 648 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ 649 done 650 ctags-recursive: 651 list='$(SUBDIRS)'; for subdir in $$list; do \ 652 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ 653 done 654 655 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) 656 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 657 unique=`for i in $$list; do \ 658 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 659 done | \ 660 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 661 END { if (nonempty) { for (i in files) print i; }; }'`; \ 662 mkid -fID $$unique 663 tags: TAGS 664 665 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ 666 $(TAGS_FILES) $(LISP) 667 set x; \ 668 here=`pwd`; \ 669 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ 670 include_option=--etags-include; \ 671 empty_fix=.; \ 672 else \ 673 include_option=--include; \ 674 empty_fix=; \ 675 fi; \ 676 list='$(SUBDIRS)'; for subdir in $$list; do \ 677 if test "$$subdir" = .; then :; else \ 678 test ! -f $$subdir/TAGS || \ 679 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ 680 fi; \ 681 done; \ 682 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ 683 unique=`for i in $$list; do \ 684 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 685 done | \ 686 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 687 END { if (nonempty) { for (i in files) print i; }; }'`; \ 688 shift; \ 689 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ 690 test -n "$$unique" || unique=$$empty_fix; \ 691 if test $$# -gt 0; then \ 692 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 693 "$$@" $$unique; \ 694 else \ 695 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 696 $$unique; \ 697 fi; \ 698 fi 699 ctags: CTAGS 700 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ 701 $(TAGS_FILES) $(LISP) 702 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ 703 unique=`for i in $$list; do \ 704 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 705 done | \ 706 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 707 END { if (nonempty) { for (i in files) print i; }; }'`; \ 708 test -z "$(CTAGS_ARGS)$$unique" \ 709 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ 710 $$unique 711 712 GTAGS: 713 here=`$(am__cd) $(top_builddir) && pwd` \ 714 && $(am__cd) $(top_srcdir) \ 715 && gtags -i $(GTAGS_ARGS) "$$here" 716 717 distclean-tags: 718 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 719 720 distdir: $(DISTFILES) 721 $(am__remove_distdir) 722 test -d "$(distdir)" || mkdir "$(distdir)" 723 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 724 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 725 list='$(DISTFILES)'; \ 726 dist_files=`for file in $$list; do echo $$file; done | \ 727 sed -e "s|^$$srcdirstrip/||;t" \ 728 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ 729 case $$dist_files in \ 730 */*) $(MKDIR_P) `echo "$$dist_files" | \ 731 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ 732 sort -u` ;; \ 733 esac; \ 734 for file in $$dist_files; do \ 735 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ 736 if test -d $$d/$$file; then \ 737 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ 738 if test -d "$(distdir)/$$file"; then \ 739 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ 740 fi; \ 741 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ 742 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ 743 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ 744 fi; \ 745 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ 746 else \ 747 test -f "$(distdir)/$$file" \ 748 || cp -p $$d/$$file "$(distdir)/$$file" \ 749 || exit 1; \ 750 fi; \ 751 done 752 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ 753 if test "$$subdir" = .; then :; else \ 754 test -d "$(distdir)/$$subdir" \ 755 || $(MKDIR_P) "$(distdir)/$$subdir" \ 756 || exit 1; \ 757 fi; \ 758 done 759 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ 760 if test "$$subdir" = .; then :; else \ 761 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ 762 $(am__relativize); \ 763 new_distdir=$$reldir; \ 764 dir1=$$subdir; dir2="$(top_distdir)"; \ 765 $(am__relativize); \ 766 new_top_distdir=$$reldir; \ 767 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ 768 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ 769 ($(am__cd) $$subdir && \ 770 $(MAKE) $(AM_MAKEFLAGS) \ 771 top_distdir="$$new_top_distdir" \ 772 distdir="$$new_distdir" \ 773 am__remove_distdir=: \ 774 am__skip_length_check=: \ 775 am__skip_mode_fix=: \ 776 distdir) \ 777 || exit 1; \ 778 fi; \ 779 done 780 -test -n "$(am__skip_mode_fix)" \ 781 || find "$(distdir)" -type d ! -perm -755 \ 782 -exec chmod u+rwx,go+rx {} \; -o \ 783 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ 784 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ 785 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ 786 || chmod -R a+r "$(distdir)" 787 dist-gzip: distdir 788 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz 789 $(am__remove_distdir) 790 dist-bzip2: distdir 791 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 792 $(am__remove_distdir) 793 794 dist-lzma: distdir 795 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma 796 $(am__remove_distdir) 797 798 dist-xz: distdir 799 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz 800 $(am__remove_distdir) 801 802 dist-tarZ: distdir 803 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z 804 $(am__remove_distdir) 805 806 dist-shar: distdir 807 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz 808 $(am__remove_distdir) 809 810 dist-zip: distdir 811 -rm -f $(distdir).zip 812 zip -rq $(distdir).zip $(distdir) 813 $(am__remove_distdir) 814 815 dist dist-all: distdir 816 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz 817 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 818 $(am__remove_distdir) 819 820 # This target untars the dist file and tries a VPATH configuration. Then 821 # it guarantees that the distribution is self-contained by making another 822 # tarfile. 823 distcheck: dist 824 case '$(DIST_ARCHIVES)' in \ 825 *.tar.gz*) \ 826 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ 827 *.tar.bz2*) \ 828 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ 829 *.tar.lzma*) \ 830 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ 831 *.tar.xz*) \ 832 xz -dc $(distdir).tar.xz | $(am__untar) ;;\ 833 *.tar.Z*) \ 834 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ 835 *.shar.gz*) \ 836 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ 837 *.zip*) \ 838 unzip $(distdir).zip ;;\ 839 esac 840 chmod -R a-w $(distdir); chmod a+w $(distdir) 841 mkdir $(distdir)/_build 842 mkdir $(distdir)/_inst 843 chmod a-w $(distdir) 844 test -d $(distdir)/_build || exit 0; \ 845 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ 846 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ 847 && am__cwd=`pwd` \ 848 && $(am__cd) $(distdir)/_build \ 849 && ../configure --srcdir=.. --prefix="$$dc_install_base" \ 850 $(DISTCHECK_CONFIGURE_FLAGS) \ 851 && $(MAKE) $(AM_MAKEFLAGS) \ 852 && $(MAKE) $(AM_MAKEFLAGS) dvi \ 853 && $(MAKE) $(AM_MAKEFLAGS) check \ 854 && $(MAKE) $(AM_MAKEFLAGS) install \ 855 && $(MAKE) $(AM_MAKEFLAGS) installcheck \ 856 && $(MAKE) $(AM_MAKEFLAGS) uninstall \ 857 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ 858 distuninstallcheck \ 859 && chmod -R a-w "$$dc_install_base" \ 860 && ({ \ 861 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ 862 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ 863 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ 864 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ 865 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ 866 } || { rm -rf "$$dc_destdir"; exit 1; }) \ 867 && rm -rf "$$dc_destdir" \ 868 && $(MAKE) $(AM_MAKEFLAGS) dist \ 869 && rm -rf $(DIST_ARCHIVES) \ 870 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ 871 && cd "$$am__cwd" \ 872 || exit 1 873 $(am__remove_distdir) 874 @(echo "$(distdir) archives ready for distribution: "; \ 875 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ 876 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' 877 distuninstallcheck: 878 @$(am__cd) '$(distuninstallcheck_dir)' \ 879 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ 880 || { echo "ERROR: files left after uninstall:" ; \ 881 if test -n "$(DESTDIR)"; then \ 882 echo " (check DESTDIR support)"; \ 883 fi ; \ 884 $(distuninstallcheck_listfiles) ; \ 885 exit 1; } >&2 886 distcleancheck: distclean 887 @if test '$(srcdir)' = . ; then \ 888 echo "ERROR: distcleancheck can only run from a VPATH build" ; \ 889 exit 1 ; \ 890 fi 891 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ 892 || { echo "ERROR: files left in build directory after distclean:" ; \ 893 $(distcleancheck_listfiles) ; \ 894 exit 1; } >&2 895 check-am: all-am 896 check: $(BUILT_SOURCES) 897 $(MAKE) $(AM_MAKEFLAGS) check-recursive 898 all-am: Makefile $(SCRIPTS) $(DATA) config.h all-local 899 installdirs: installdirs-recursive 900 installdirs-am: 901 for dir in "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(pkglibdir)"; do \ 902 test -z "$$dir" || $(MKDIR_P) "$$dir"; \ 903 done 904 install: $(BUILT_SOURCES) 905 $(MAKE) $(AM_MAKEFLAGS) install-recursive 906 install-exec: install-exec-recursive 907 install-data: install-data-recursive 908 uninstall: uninstall-recursive 909 910 install-am: all-am 911 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 912 913 installcheck: installcheck-recursive 914 install-strip: 915 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 916 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 917 `test -z '$(STRIP)' || \ 918 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install 919 mostlyclean-generic: 920 921 clean-generic: 922 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) 923 924 distclean-generic: 925 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) 926 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) 927 928 maintainer-clean-generic: 929 @echo "This command is intended for maintainers to use" 930 @echo "it deletes files that may require special tools to rebuild." 931 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) 932 clean: clean-recursive 933 934 clean-am: clean-generic clean-local mostlyclean-am 935 936 distclean: distclean-recursive 937 -rm -f $(am__CONFIG_DISTCLEAN_FILES) 938 -rm -f Makefile 939 distclean-am: clean-am distclean-generic distclean-hdr distclean-tags 940 941 dvi: dvi-recursive 942 943 dvi-am: 944 945 html: html-recursive 946 947 html-am: 948 949 info: info-recursive 950 951 info-am: 952 953 install-data-am: install-pkgconfigDATA 954 955 install-dvi: install-dvi-recursive 956 957 install-dvi-am: 958 959 install-exec-am: install-pkglibDATA 960 961 install-html: install-html-recursive 962 963 install-html-am: 964 965 install-info: install-info-recursive 966 967 install-info-am: 968 969 install-man: 970 971 install-pdf: install-pdf-recursive 972 973 install-pdf-am: 974 975 install-ps: install-ps-recursive 976 977 install-ps-am: 978 979 installcheck-am: 980 981 maintainer-clean: maintainer-clean-recursive 982 -rm -f $(am__CONFIG_DISTCLEAN_FILES) 983 -rm -rf $(top_srcdir)/autom4te.cache 984 -rm -f Makefile 985 maintainer-clean-am: distclean-am maintainer-clean-generic 986 987 mostlyclean: mostlyclean-recursive 988 989 mostlyclean-am: mostlyclean-generic 990 991 pdf: pdf-recursive 992 993 pdf-am: 994 995 ps: ps-recursive 996 997 ps-am: 998 999 uninstall-am: uninstall-pkgconfigDATA uninstall-pkglibDATA 1000 1001 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check \ 1002 ctags-recursive install install-am install-strip \ 1003 tags-recursive 1004 1005 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ 1006 all all-am all-local am--refresh check check-am clean \ 1007 clean-generic clean-local ctags ctags-recursive dist dist-all \ 1008 dist-bzip2 dist-gzip dist-lzma dist-shar dist-tarZ dist-xz \ 1009 dist-zip distcheck distclean distclean-generic distclean-hdr \ 1010 distclean-tags distcleancheck distdir distuninstallcheck dvi \ 1011 dvi-am html html-am info info-am install install-am \ 1012 install-data install-data-am install-dvi install-dvi-am \ 1013 install-exec install-exec-am install-html install-html-am \ 1014 install-info install-info-am install-man install-pdf \ 1015 install-pdf-am install-pkgconfigDATA install-pkglibDATA \ 1016 install-ps install-ps-am install-strip installcheck \ 1017 installcheck-am installdirs installdirs-am maintainer-clean \ 1018 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ 1019 pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \ 1020 uninstall-pkgconfigDATA uninstall-pkglibDATA 1021 1022 1023 # This used to be required when Vex had a handwritten Makefile. It 1024 # shouldn't be needed any more, though. 1025 1026 #---------------------------------------------------------------------------- 1027 # noinst_PROGRAMS and noinst_DSYMS targets 1028 #---------------------------------------------------------------------------- 1029 1030 # On Darwin, for a program 'p', the DWARF debug info is stored in the 1031 # directory 'p.dSYM'. This must be generated after the executable is 1032 # created, with 'dsymutil p'. We could redefine LINK with a script that 1033 # executes 'dsymutil' after linking, but that's a pain. Instead we use this 1034 # hook so that every time "make check" is run, we subsequently invoke 1035 # 'dsymutil' on all the executables that lack a .dSYM directory, or that are 1036 # newer than their corresponding .dSYM directory. 1037 build-noinst_DSYMS: $(noinst_DSYMS) 1038 for f in $(noinst_DSYMS); do \ 1039 if [ ! -e $$f.dSYM -o $$f -nt $$f.dSYM ] ; then \ 1040 echo "dsymutil $$f"; \ 1041 dsymutil $$f; \ 1042 fi; \ 1043 done 1044 1045 # This is used by coregrind/Makefile.am and Makefile.tool.am for doing 1046 # "in-place" installs. It copies $(noinst_PROGRAMS) into $inplacedir. 1047 # It needs to be depended on by an 'all-local' rule. 1048 inplace-noinst_PROGRAMS: $(noinst_PROGRAMS) 1049 mkdir -p $(inplacedir); \ 1050 for f in $(noinst_PROGRAMS) ; do \ 1051 rm -f $(inplacedir)/$$f; \ 1052 ln -f -s ../$(subdir)/$$f $(inplacedir); \ 1053 done 1054 1055 # Similar to inplace-noinst_PROGRAMS 1056 inplace-noinst_DSYMS: build-noinst_DSYMS 1057 mkdir -p $(inplacedir); \ 1058 for f in $(noinst_DSYMS); do \ 1059 rm -f $(inplacedir)/$$f.dSYM; \ 1060 ln -f -s ../$(subdir)/$$f.dSYM $(inplacedir); \ 1061 done 1062 1063 # This is used by coregrind/Makefile.am and by <tool>/Makefile.am for doing 1064 # "make install". It copies $(noinst_PROGRAMS) into $prefix/lib/valgrind/. 1065 # It needs to be depended on by an 'install-exec-local' rule. 1066 install-noinst_PROGRAMS: $(noinst_PROGRAMS) 1067 $(mkinstalldirs) $(DESTDIR)$(pkglibdir); \ 1068 for f in $(noinst_PROGRAMS); do \ 1069 $(INSTALL_PROGRAM) $$f $(DESTDIR)$(pkglibdir); \ 1070 done 1071 1072 # Similar to install-noinst_PROGRAMS. 1073 # Nb: we don't use $(INSTALL_PROGRAM) here because it doesn't work with 1074 # directories. XXX: not sure whether the resulting permissions will be 1075 # correct when using 'cp -R'... 1076 install-noinst_DSYMS: build-noinst_DSYMS 1077 $(mkinstalldirs) $(DESTDIR)$(pkglibdir); \ 1078 for f in $(noinst_DSYMS); do \ 1079 cp -R $$f.dSYM $(DESTDIR)$(pkglibdir); \ 1080 done 1081 1082 # This needs to be depended on by a 'clean-local' rule. 1083 clean-noinst_DSYMS: 1084 for f in $(noinst_DSYMS); do \ 1085 rm -rf $$f.dSYM; \ 1086 done 1087 1088 default.supp: $(DEFAULT_SUPP_FILES) 1089 echo "# This is a generated file, composed of the following suppression rules:" > default.supp 1090 echo "# " $(DEFAULT_SUPP_FILES) >> default.supp 1091 cat $(DEFAULT_SUPP_FILES) >> default.supp 1092 1093 regtest: check 1094 @PERL@ tests/vg_regtest $(TEST_TOOLS) $(TEST_EXP_TOOLS) 1095 nonexp-regtest: check 1096 @PERL@ tests/vg_regtest $(TEST_TOOLS) 1097 exp-regtest: check 1098 @PERL@ tests/vg_regtest $(TEST_EXP_TOOLS) 1099 1100 perf: check 1101 @PERL@ perf/vg_perf perf 1102 1103 all-local: default.supp 1104 mkdir -p $(inplacedir) 1105 rm -f $(inplacedir)/default.supp 1106 ln -s ../default.supp $(inplacedir) 1107 1108 clean-local: 1109 rm -rf $(inplacedir) 1110 1111 # Tell versions [3.59,3.63) of GNU make to not export all variables. 1112 # Otherwise a system limit (for SysV at least) may be exceeded. 1113 .NOEXPORT: 1114