1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
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.
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
18 # This file should be included (directly or indirectly) by every
19 # Makefile.am that builds programs. And also the top-level Makefile.am.
21 #----------------------------------------------------------------------------
23 #----------------------------------------------------------------------------
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)
43 build_triplet = @build@
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 \
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) \
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)
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/||"`;; \
81 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
83 am__nobase_strip_setup = \
84 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
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] }'
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
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)"; }; }
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"`; \
126 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
127 if test "$$first2" = "$$first"; then \
128 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
132 dir0="$$dir0"/"$$first"; \
135 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
138 DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
140 distuninstallcheck_listfiles = find . -type f -print
141 distcleancheck_listfiles = find . -type f -print
145 AUTOCONF = @AUTOCONF@
146 AUTOHEADER = @AUTOHEADER@
147 AUTOMAKE = @AUTOMAKE@
149 BOOST_CFLAGS = @BOOST_CFLAGS@
150 BOOST_LIBS = @BOOST_LIBS@
153 CCASDEPMODE = @CCASDEPMODE@
154 CCASFLAGS = @CCASFLAGS@
155 CCDEPMODE = @CCDEPMODE@
158 CPPFLAGS = @CPPFLAGS@
160 CXXDEPMODE = @CXXDEPMODE@
161 CXXFLAGS = @CXXFLAGS@
162 CYGPATH_W = @CYGPATH_W@
163 DEFAULT_SUPP = @DEFAULT_SUPP@
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_UNLIMITED_INLINE_UNIT_GROWTH = @FLAG_UNLIMITED_INLINE_UNIT_GROWTH@
180 FLAG_W_EXTRA = @FLAG_W_EXTRA@
181 FLAG_W_NO_EMPTY_BODY = @FLAG_W_NO_EMPTY_BODY@
182 FLAG_W_NO_FORMAT_ZERO_LENGTH = @FLAG_W_NO_FORMAT_ZERO_LENGTH@
183 FLAG_W_NO_UNINITIALIZED = @FLAG_W_NO_UNINITIALIZED@
185 GENERATED_SUPP = @GENERATED_SUPP@
186 GLIBC_VERSION = @GLIBC_VERSION@
189 INSTALL_DATA = @INSTALL_DATA@
190 INSTALL_PROGRAM = @INSTALL_PROGRAM@
191 INSTALL_SCRIPT = @INSTALL_SCRIPT@
192 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
197 LTLIBOBJS = @LTLIBOBJS@
199 MAKEINFO = @MAKEINFO@
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@
212 PKG_CONFIG = @PKG_CONFIG@
213 PREFERRED_STACK_BOUNDARY = @PREFERRED_STACK_BOUNDARY@
214 QTCORE_CFLAGS = @QTCORE_CFLAGS@
215 QTCORE_LIBS = @QTCORE_LIBS@
217 SET_MAKE = @SET_MAKE@
220 VALT_LOAD_ADDRESS = @VALT_LOAD_ADDRESS@
222 VGCONF_ARCH_PRI = @VGCONF_ARCH_PRI@
223 VGCONF_ARCH_SEC = @VGCONF_ARCH_SEC@
224 VGCONF_OS = @VGCONF_OS@
225 VGCONF_PLATFORM_PRI_CAPS = @VGCONF_PLATFORM_PRI_CAPS@
226 VGCONF_PLATFORM_SEC_CAPS = @VGCONF_PLATFORM_SEC_CAPS@
227 abs_builddir = @abs_builddir@
228 abs_srcdir = @abs_srcdir@
229 abs_top_builddir = @abs_top_builddir@
230 abs_top_srcdir = @abs_top_srcdir@
231 ac_ct_CC = @ac_ct_CC@
232 ac_ct_CXX = @ac_ct_CXX@
233 am__include = @am__include@
234 am__leading_dot = @am__leading_dot@
235 am__quote = @am__quote@
237 am__untar = @am__untar@
240 build_alias = @build_alias@
241 build_cpu = @build_cpu@
242 build_os = @build_os@
243 build_vendor = @build_vendor@
244 builddir = @builddir@
246 datarootdir = @datarootdir@
249 exec_prefix = @exec_prefix@
251 host_alias = @host_alias@
252 host_cpu = @host_cpu@
254 host_vendor = @host_vendor@
256 includedir = @includedir@
258 install_sh = @install_sh@
260 libexecdir = @libexecdir@
261 localedir = @localedir@
262 localstatedir = @localstatedir@
265 oldincludedir = @oldincludedir@
268 program_transform_name = @program_transform_name@
271 sharedstatedir = @sharedstatedir@
273 sysconfdir = @sysconfdir@
274 target_alias = @target_alias@
275 top_build_prefix = @top_build_prefix@
276 top_builddir = @top_builddir@
277 top_srcdir = @top_srcdir@
278 AUTOMAKE_OPTIONS = foreign 1.7 dist-bzip2
279 inplacedir = $(top_builddir)/.in_place
281 #----------------------------------------------------------------------------
283 #----------------------------------------------------------------------------
285 # Baseline flags for all compilations. Aim here is to maximise
286 # performance and get whatever useful warnings we can out of gcc.
290 -Wmissing-prototypes \
293 -Wstrict-prototypes \
294 -Wmissing-declarations \
295 @FLAG_W_NO_FORMAT_ZERO_LENGTH@ \
298 @VGCONF_OS_IS_DARWIN_FALSE@AM_CFLAGS_PIC = -fpic -O -g -fno-omit-frame-pointer -fno-strict-aliasing
300 # These flags are used for building the preload shared objects.
301 # The aim is to give reasonable performance but also to have good
302 # stack traces, since users often see stack traces extending
303 # into (and through) the preloads.
304 @VGCONF_OS_IS_DARWIN_TRUE@AM_CFLAGS_PIC = -dynamic -O -g -fno-omit-frame-pointer -fno-strict-aliasing -mno-dynamic-no-pic
305 @VGCONF_OS_IS_L4RE_FALSE@AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@ = \
306 @VGCONF_OS_IS_L4RE_FALSE@ -I$(top_srcdir) \
307 @VGCONF_OS_IS_L4RE_FALSE@ -I$(top_srcdir)/include \
308 @VGCONF_OS_IS_L4RE_FALSE@ -I$(top_srcdir)/VEX/pub \
309 @VGCONF_OS_IS_L4RE_FALSE@ -I$(top_builddir)/VEX/pub \
310 @VGCONF_OS_IS_L4RE_FALSE@ -DVGA_@VGCONF_ARCH_PRI@=1 \
311 @VGCONF_OS_IS_L4RE_FALSE@ -DVGO_@VGCONF_OS@=1 \
312 @VGCONF_OS_IS_L4RE_FALSE@ -DVGP_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1
315 # Flags for specific targets.
317 # Nb: the AM_CPPFLAGS_* values are suitable for building tools and auxprogs.
318 # For building the core, coregrind/Makefile.am files add some extra things.
320 # Also: in newer versions of automake (1.10 onwards?) asm files ending with
321 # '.S' are considered "pre-processed" (as opposed to those ending in '.s')
322 # and so the CPPFLAGS are passed to the assembler. But this is not true for
323 # older automakes (e.g. 1.8.5, 1.9.6), sigh. So we include
324 # AM_CPPFLAGS_<PLATFORM> in each AM_CCASFLAGS_<PLATFORM> variable. This
325 # means some of the flags are duplicated on systems with newer versions of
326 # automake, but this does not really matter and seems hard to avoid.
327 @VGCONF_OS_IS_L4RE_TRUE@AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@ = $(L4_CPPFLAGS)\
328 @VGCONF_OS_IS_L4RE_TRUE@ -I$(top_srcdir) \
329 @VGCONF_OS_IS_L4RE_TRUE@ -I$(top_srcdir)/include \
330 @VGCONF_OS_IS_L4RE_TRUE@ -I$(top_srcdir)/VEX/pub \
331 @VGCONF_OS_IS_L4RE_TRUE@ -I$(top_builddir)/VEX/pub \
332 @VGCONF_OS_IS_L4RE_TRUE@ -DVGA_@VGCONF_ARCH_PRI@=1 \
333 @VGCONF_OS_IS_L4RE_TRUE@ -DVGO_@VGCONF_OS@=1 \
334 @VGCONF_OS_IS_L4RE_TRUE@ -DVGP_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1
336 @VGCONF_HAVE_PLATFORM_SEC_TRUE@AM_CPPFLAGS_@VGCONF_PLATFORM_SEC_CAPS@ = \
337 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_srcdir) \
338 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_srcdir)/include \
339 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_srcdir)/VEX/pub \
340 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_builddir)/VEX/pub \
341 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGA_@VGCONF_ARCH_SEC@=1 \
342 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGO_@VGCONF_OS@=1 \
343 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGP_@VGCONF_ARCH_SEC@_@VGCONF_OS@=1
345 AM_FLAG_M3264_X86_LINUX = @FLAG_M32@
346 AM_CFLAGS_X86_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \
349 AM_CCASFLAGS_X86_LINUX = $(AM_CPPFLAGS_X86_LINUX) @FLAG_M32@ -g
350 AM_FLAG_M3264_AMD64_LINUX = @FLAG_M64@
351 AM_CFLAGS_AMD64_LINUX = @FLAG_M64@ -fomit-frame-pointer \
352 @PREFERRED_STACK_BOUNDARY@ $(AM_CFLAGS_BASE)
354 AM_CCASFLAGS_AMD64_LINUX = $(AM_CPPFLAGS_AMD64_LINUX) @FLAG_M64@ -g
355 AM_FLAG_M3264_PPC32_LINUX = @FLAG_M32@
356 AM_CFLAGS_PPC32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE)
357 AM_CCASFLAGS_PPC32_LINUX = $(AM_CPPFLAGS_PPC32_LINUX) @FLAG_M32@ -g
358 AM_FLAG_M3264_PPC64_LINUX = @FLAG_M64@
359 AM_CFLAGS_PPC64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE)
360 AM_CCASFLAGS_PPC64_LINUX = $(AM_CPPFLAGS_PPC64_LINUX) @FLAG_M64@ -g
361 AM_FLAG_M3264_ARM_LINUX = @FLAG_M32@
362 AM_CFLAGS_ARM_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \
365 AM_CCASFLAGS_ARM_LINUX = $(AM_CPPFLAGS_ARM_LINUX) @FLAG_M32@ -g
366 AM_FLAG_M3264_PPC32_AIX5 = @FLAG_MAIX32@
367 AM_CFLAGS_PPC32_AIX5 = @FLAG_MAIX32@ -mcpu=powerpc $(AM_CFLAGS_BASE)
368 AM_CCASFLAGS_PPC32_AIX5 = $(AM_CPPFLAGS_PPC32_AIX5) \
369 @FLAG_MAIX32@ -mcpu=powerpc -g
371 AM_FLAG_M3264_PPC64_AIX5 = @FLAG_MAIX64@
372 AM_CFLAGS_PPC64_AIX5 = @FLAG_MAIX64@ -mcpu=powerpc64 $(AM_CFLAGS_BASE)
373 AM_CCASFLAGS_PPC64_AIX5 = $(AM_CPPFLAGS_PPC64_AIX5) \
374 @FLAG_MAIX64@ -mcpu=powerpc64 -g
376 AM_FLAG_M3264_X86_DARWIN = -arch i386
377 AM_CFLAGS_X86_DARWIN = $(WERROR) -arch i386 $(AM_CFLAGS_BASE) \
378 -mmacosx-version-min=10.5 -fno-stack-protector \
381 AM_CCASFLAGS_X86_DARWIN = $(AM_CPPFLAGS_X86_DARWIN) -arch i386 -g
382 AM_FLAG_M3264_AMD64_DARWIN = -arch x86_64
383 AM_CFLAGS_AMD64_DARWIN = $(WERROR) -arch x86_64 $(AM_CFLAGS_BASE) \
384 -mmacosx-version-min=10.5 -fno-stack-protector
386 AM_CCASFLAGS_AMD64_DARWIN = $(AM_CPPFLAGS_AMD64_DARWIN) -arch x86_64 -g
387 AM_FLAG_M3264_X86_L4RE = @FLAG_M32@
388 AM_CFLAGS_X86_L4RE = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \
389 $(L4_CFLAGS) $(AM_CFLAGS_BASE)
391 AM_CCASFLAGS_X86_L4RE = $(L4_CPPFLAGS) @FLAG_M32@ -g
392 AM_CXXFLAGS_X86_L4RE = $(L4_CXXFLAGS) @FLAG_M32@
393 #AM_CPPFLAGS_X86_L4RE = $(L4_CPPFLAGS) $(AM_CPPFLAGS_X86_L4RE)
395 # Flags for the primary target. These must be used to build the
396 # regtests and performance tests. In fact, these must be used to
397 # build anything which is built only once on a dual-arch build.
399 AM_FLAG_M3264_PRI = $(AM_FLAG_M3264_@VGCONF_PLATFORM_PRI_CAPS@)
400 AM_CPPFLAGS_PRI = $(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
401 AM_CFLAGS_PRI = $(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
402 AM_CCASFLAGS_PRI = $(AM_CCASFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
403 AM_CXXFLAGS_PRI = $(AM_CXXFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
404 @VGCONF_HAVE_PLATFORM_SEC_FALSE@AM_FLAG_M3264_SEC =
405 @VGCONF_HAVE_PLATFORM_SEC_TRUE@AM_FLAG_M3264_SEC = $(AM_FLAG_M3264_@VGCONF_PLATFORM_SEC_CAPS@)
407 # Baseline link flags for making vgpreload shared objects.
409 PRELOAD_LDFLAGS_COMMON_LINUX = -nodefaultlibs -shared -Wl,-z,interpose,-z,initfirst
410 PRELOAD_LDFLAGS_COMMON_AIX5 = -nodefaultlibs -shared -Wl,-G -Wl,-bnogc
411 PRELOAD_LDFLAGS_COMMON_DARWIN = -dynamic -dynamiclib -all_load
412 PRELOAD_LDFLAGS_COMMON_L4RE = -nodefaultlibs -shared -Wl,-z,interpose,-z,initfirst
413 PRELOAD_LDFLAGS_X86_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
414 PRELOAD_LDFLAGS_AMD64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
415 PRELOAD_LDFLAGS_PPC32_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
416 PRELOAD_LDFLAGS_PPC64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
417 PRELOAD_LDFLAGS_ARM_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
418 PRELOAD_LDFLAGS_PPC32_AIX5 = $(PRELOAD_LDFLAGS_COMMON_AIX5) @FLAG_MAIX32@
419 PRELOAD_LDFLAGS_PPC64_AIX5 = $(PRELOAD_LDFLAGS_COMMON_AIX5) @FLAG_MAIX64@
420 PRELOAD_LDFLAGS_X86_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch i386
421 PRELOAD_LDFLAGS_AMD64_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch x86_64
422 PRELOAD_LDFLAGS_X86_L4RE = $(PRELOAD_LDFLAGS_COMMON_L4RE) @FLAG_M32@
423 @VGCONF_OS_IS_L4RE_FALSE@TOOLS = memcheck \
424 @VGCONF_OS_IS_L4RE_FALSE@ cachegrind \
425 @VGCONF_OS_IS_L4RE_FALSE@ callgrind \
426 @VGCONF_OS_IS_L4RE_FALSE@ massif \
427 @VGCONF_OS_IS_L4RE_FALSE@ lackey \
428 @VGCONF_OS_IS_L4RE_FALSE@ none \
429 @VGCONF_OS_IS_L4RE_FALSE@ helgrind \
430 @VGCONF_OS_IS_L4RE_FALSE@ drd
432 @VGCONF_OS_IS_L4RE_TRUE@TOOLS = none memcheck
433 @VGCONF_OS_IS_L4RE_FALSE@EXP_TOOLS = exp-ptrcheck \
434 @VGCONF_OS_IS_L4RE_FALSE@ exp-bbv
437 # DDD: once all tools work on Darwin, TEST_TOOLS and TEST_EXP_TOOLS can be
438 # replaced with TOOLS and EXP_TOOLS.
439 TEST_TOOLS = $(TOOLS)
440 @VGCONF_OS_IS_DARWIN_FALSE@TEST_EXP_TOOLS = $(EXP_TOOLS)
441 @VGCONF_OS_IS_DARWIN_TRUE@TEST_EXP_TOOLS = exp-bbv
442 @VGCONF_OS_IS_L4RE_FALSE@SUBDIRS = \
443 @VGCONF_OS_IS_L4RE_FALSE@ include \
444 @VGCONF_OS_IS_L4RE_FALSE@ VEX \
445 @VGCONF_OS_IS_L4RE_FALSE@ coregrind \
446 @VGCONF_OS_IS_L4RE_FALSE@ . \
447 @VGCONF_OS_IS_L4RE_FALSE@ $(TOOLS) \
448 @VGCONF_OS_IS_L4RE_FALSE@ $(EXP_TOOLS) \
449 @VGCONF_OS_IS_L4RE_FALSE@ tests \
450 @VGCONF_OS_IS_L4RE_FALSE@ perf \
451 @VGCONF_OS_IS_L4RE_FALSE@ auxprogs \
452 @VGCONF_OS_IS_L4RE_FALSE@ mpi \
453 @VGCONF_OS_IS_L4RE_FALSE@ docs
456 # Put docs last because building the HTML is slow and we want to get
457 # everything else working before we try it.
458 @VGCONF_OS_IS_L4RE_TRUE@SUBDIRS = \
459 @VGCONF_OS_IS_L4RE_TRUE@ include \
460 @VGCONF_OS_IS_L4RE_TRUE@ VEX \
461 @VGCONF_OS_IS_L4RE_TRUE@ coregrind \
462 @VGCONF_OS_IS_L4RE_TRUE@ . \
463 @VGCONF_OS_IS_L4RE_TRUE@ $(TOOLS) \
464 @VGCONF_OS_IS_L4RE_TRUE@ $(EXP_TOOLS)
466 DIST_SUBDIRS = $(SUBDIRS)
468 glibc-2.2.supp glibc-2.3.supp glibc-2.4.supp glibc-2.5.supp \
469 glibc-2.6.supp glibc-2.7.supp glibc-2.X.supp.in \
470 aix5libc.supp xfree-3.supp xfree-4.supp \
471 glibc-2.34567-NPTL-helgrind.supp \
472 glibc-2.2-LinuxThreads-helgrind.supp \
475 darwin9.supp darwin9-drd.supp
477 DEFAULT_SUPP_FILES = @DEFAULT_SUPP@
478 GENERATED_SUPP_FILES = @GENERATED_SUPP@
480 # We include all the base .supp files in the distribution, but not
481 # default.supp, as it is built from the base .supp files at compile-time.
482 dist_noinst_DATA = $(SUPP_FILES)
483 pkglib_DATA = default.supp
484 pkgconfigdir = $(libdir)/pkgconfig
485 pkgconfig_DATA = valgrind.pc
486 BUILT_SOURCES = default.supp valgrind.pc
487 CLEANFILES = default.supp
489 # Nb: no need to include any Makefile.am files here, or files included from
490 # them, as automake includes them automatically. Also not COPYING, README
492 # We include valgrind.spec as well as valgrind.spec.in to save packagers
493 # from having to run configure (bug 188560).
498 README_MISSING_SYSCALL_OR_IOCTL \
503 dist_noinst_SCRIPTS = \
506 all: $(BUILT_SOURCES) config.h
507 $(MAKE) $(AM_MAKEFLAGS) all-recursive
512 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.all.am $(am__configure_deps)
514 case '$(am__configure_deps)' in \
516 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
517 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
522 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
523 $(am__cd) $(top_srcdir) && \
524 $(AUTOMAKE) --foreign Makefile
526 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
529 echo ' $(SHELL) ./config.status'; \
530 $(SHELL) ./config.status;; \
532 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
533 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
536 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
537 $(SHELL) ./config.status --recheck
539 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
540 $(am__cd) $(srcdir) && $(AUTOCONF)
541 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
542 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
543 $(am__aclocal_m4_deps):
546 @if test ! -f $@; then \
548 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
551 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
553 cd $(top_builddir) && $(SHELL) ./config.status config.h
554 $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
555 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
560 -rm -f config.h stamp-h1
561 valgrind.spec: $(top_builddir)/config.status $(srcdir)/valgrind.spec.in
562 cd $(top_builddir) && $(SHELL) ./config.status $@
563 valgrind.pc: $(top_builddir)/config.status $(srcdir)/valgrind.pc.in
564 cd $(top_builddir) && $(SHELL) ./config.status $@
565 glibc-2.X.supp: $(top_builddir)/config.status $(srcdir)/glibc-2.X.supp.in
566 cd $(top_builddir) && $(SHELL) ./config.status $@
567 drd/scripts/download-and-build-splash2: $(top_builddir)/config.status $(top_srcdir)/drd/scripts/download-and-build-splash2.in
568 cd $(top_builddir) && $(SHELL) ./config.status $@
569 install-pkgconfigDATA: $(pkgconfig_DATA)
571 test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)"
572 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
573 for p in $$list; do \
574 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
576 done | $(am__base_list) | \
577 while read files; do \
578 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
579 $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
582 uninstall-pkgconfigDATA:
584 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
585 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
586 test -n "$$files" || exit 0; \
587 echo " ( cd '$(DESTDIR)$(pkgconfigdir)' && rm -f" $$files ")"; \
588 cd "$(DESTDIR)$(pkgconfigdir)" && rm -f $$files
589 install-pkglibDATA: $(pkglib_DATA)
591 test -z "$(pkglibdir)" || $(MKDIR_P) "$(DESTDIR)$(pkglibdir)"
592 @list='$(pkglib_DATA)'; test -n "$(pkglibdir)" || list=; \
593 for p in $$list; do \
594 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
596 done | $(am__base_list) | \
597 while read files; do \
598 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkglibdir)'"; \
599 $(INSTALL_DATA) $$files "$(DESTDIR)$(pkglibdir)" || exit $$?; \
602 uninstall-pkglibDATA:
604 @list='$(pkglib_DATA)'; test -n "$(pkglibdir)" || list=; \
605 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
606 test -n "$$files" || exit 0; \
607 echo " ( cd '$(DESTDIR)$(pkglibdir)' && rm -f" $$files ")"; \
608 cd "$(DESTDIR)$(pkglibdir)" && rm -f $$files
610 # This directory's subdirectories are mostly independent; you can cd
611 # into them and run `make' without going through this Makefile.
612 # To change the values of `make' variables: instead of editing Makefiles,
613 # (1) if the variable is set in `config.status', edit `config.status'
614 # (which will cause the Makefiles to be regenerated when you run `make');
615 # (2) otherwise, pass the desired values on the `make' command line.
616 $(RECURSIVE_TARGETS):
617 @fail= failcom='exit 1'; \
618 for f in x $$MAKEFLAGS; do \
621 *k*) failcom='fail=yes';; \
625 target=`echo $@ | sed s/-recursive//`; \
626 list='$(SUBDIRS)'; for subdir in $$list; do \
627 echo "Making $$target in $$subdir"; \
628 if test "$$subdir" = "."; then \
630 local_target="$$target-am"; \
632 local_target="$$target"; \
634 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
637 if test "$$dot_seen" = "no"; then \
638 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
641 $(RECURSIVE_CLEAN_TARGETS):
642 @fail= failcom='exit 1'; \
643 for f in x $$MAKEFLAGS; do \
646 *k*) failcom='fail=yes';; \
651 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
652 *) list='$(SUBDIRS)' ;; \
654 rev=''; for subdir in $$list; do \
655 if test "$$subdir" = "."; then :; else \
656 rev="$$subdir $$rev"; \
660 target=`echo $@ | sed s/-recursive//`; \
661 for subdir in $$rev; do \
662 echo "Making $$target in $$subdir"; \
663 if test "$$subdir" = "."; then \
664 local_target="$$target-am"; \
666 local_target="$$target"; \
668 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
670 done && test -z "$$fail"
672 list='$(SUBDIRS)'; for subdir in $$list; do \
673 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
676 list='$(SUBDIRS)'; for subdir in $$list; do \
677 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
680 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
681 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
682 unique=`for i in $$list; do \
683 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
685 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
686 END { if (nonempty) { for (i in files) print i; }; }'`; \
690 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
691 $(TAGS_FILES) $(LISP)
694 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
695 include_option=--etags-include; \
698 include_option=--include; \
701 list='$(SUBDIRS)'; for subdir in $$list; do \
702 if test "$$subdir" = .; then :; else \
703 test ! -f $$subdir/TAGS || \
704 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
707 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
708 unique=`for i in $$list; do \
709 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
711 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
712 END { if (nonempty) { for (i in files) print i; }; }'`; \
714 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
715 test -n "$$unique" || unique=$$empty_fix; \
716 if test $$# -gt 0; then \
717 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
720 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
725 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
726 $(TAGS_FILES) $(LISP)
727 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
728 unique=`for i in $$list; do \
729 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
731 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
732 END { if (nonempty) { for (i in files) print i; }; }'`; \
733 test -z "$(CTAGS_ARGS)$$unique" \
734 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
738 here=`$(am__cd) $(top_builddir) && pwd` \
739 && $(am__cd) $(top_srcdir) \
740 && gtags -i $(GTAGS_ARGS) "$$here"
743 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
745 distdir: $(DISTFILES)
746 $(am__remove_distdir)
747 test -d "$(distdir)" || mkdir "$(distdir)"
748 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
749 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
750 list='$(DISTFILES)'; \
751 dist_files=`for file in $$list; do echo $$file; done | \
752 sed -e "s|^$$srcdirstrip/||;t" \
753 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
754 case $$dist_files in \
755 */*) $(MKDIR_P) `echo "$$dist_files" | \
756 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
759 for file in $$dist_files; do \
760 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
761 if test -d $$d/$$file; then \
762 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
763 if test -d "$(distdir)/$$file"; then \
764 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
766 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
767 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
768 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
770 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
772 test -f "$(distdir)/$$file" \
773 || cp -p $$d/$$file "$(distdir)/$$file" \
777 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
778 if test "$$subdir" = .; then :; else \
779 test -d "$(distdir)/$$subdir" \
780 || $(MKDIR_P) "$(distdir)/$$subdir" \
784 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
785 if test "$$subdir" = .; then :; else \
786 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
788 new_distdir=$$reldir; \
789 dir1=$$subdir; dir2="$(top_distdir)"; \
791 new_top_distdir=$$reldir; \
792 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
793 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
794 ($(am__cd) $$subdir && \
795 $(MAKE) $(AM_MAKEFLAGS) \
796 top_distdir="$$new_top_distdir" \
797 distdir="$$new_distdir" \
798 am__remove_distdir=: \
799 am__skip_length_check=: \
800 am__skip_mode_fix=: \
805 -test -n "$(am__skip_mode_fix)" \
806 || find "$(distdir)" -type d ! -perm -755 \
807 -exec chmod u+rwx,go+rx {} \; -o \
808 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
809 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
810 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
811 || chmod -R a+r "$(distdir)"
813 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
814 $(am__remove_distdir)
816 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
817 $(am__remove_distdir)
820 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
821 $(am__remove_distdir)
824 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
825 $(am__remove_distdir)
828 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
829 $(am__remove_distdir)
832 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
833 $(am__remove_distdir)
836 -rm -f $(distdir).zip
837 zip -rq $(distdir).zip $(distdir)
838 $(am__remove_distdir)
840 dist dist-all: distdir
841 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
842 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
843 $(am__remove_distdir)
845 # This target untars the dist file and tries a VPATH configuration. Then
846 # it guarantees that the distribution is self-contained by making another
849 case '$(DIST_ARCHIVES)' in \
851 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
853 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
855 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
857 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
859 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
861 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
863 unzip $(distdir).zip ;;\
865 chmod -R a-w $(distdir); chmod a+w $(distdir)
866 mkdir $(distdir)/_build
867 mkdir $(distdir)/_inst
869 test -d $(distdir)/_build || exit 0; \
870 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
871 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
873 && $(am__cd) $(distdir)/_build \
874 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
875 $(DISTCHECK_CONFIGURE_FLAGS) \
876 && $(MAKE) $(AM_MAKEFLAGS) \
877 && $(MAKE) $(AM_MAKEFLAGS) dvi \
878 && $(MAKE) $(AM_MAKEFLAGS) check \
879 && $(MAKE) $(AM_MAKEFLAGS) install \
880 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
881 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
882 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
884 && chmod -R a-w "$$dc_install_base" \
886 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
887 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
888 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
889 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
890 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
891 } || { rm -rf "$$dc_destdir"; exit 1; }) \
892 && rm -rf "$$dc_destdir" \
893 && $(MAKE) $(AM_MAKEFLAGS) dist \
894 && rm -rf $(DIST_ARCHIVES) \
895 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
898 $(am__remove_distdir)
899 @(echo "$(distdir) archives ready for distribution: "; \
900 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
901 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
903 @$(am__cd) '$(distuninstallcheck_dir)' \
904 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
905 || { echo "ERROR: files left after uninstall:" ; \
906 if test -n "$(DESTDIR)"; then \
907 echo " (check DESTDIR support)"; \
909 $(distuninstallcheck_listfiles) ; \
911 distcleancheck: distclean
912 @if test '$(srcdir)' = . ; then \
913 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
916 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
917 || { echo "ERROR: files left in build directory after distclean:" ; \
918 $(distcleancheck_listfiles) ; \
921 check: $(BUILT_SOURCES)
922 $(MAKE) $(AM_MAKEFLAGS) check-recursive
923 all-am: Makefile $(SCRIPTS) $(DATA) config.h all-local
924 installdirs: installdirs-recursive
926 for dir in "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(pkglibdir)"; do \
927 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
929 install: $(BUILT_SOURCES)
930 $(MAKE) $(AM_MAKEFLAGS) install-recursive
931 install-exec: install-exec-recursive
932 install-data: install-data-recursive
933 uninstall: uninstall-recursive
936 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
938 installcheck: installcheck-recursive
940 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
941 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
942 `test -z '$(STRIP)' || \
943 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
947 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
950 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
951 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
953 maintainer-clean-generic:
954 @echo "This command is intended for maintainers to use"
955 @echo "it deletes files that may require special tools to rebuild."
956 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
957 clean: clean-recursive
959 clean-am: clean-generic clean-local mostlyclean-am
961 distclean: distclean-recursive
962 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
964 distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
978 install-data-am: install-pkgconfigDATA
980 install-dvi: install-dvi-recursive
984 install-exec-am: install-pkglibDATA
986 install-html: install-html-recursive
990 install-info: install-info-recursive
996 install-pdf: install-pdf-recursive
1000 install-ps: install-ps-recursive
1006 maintainer-clean: maintainer-clean-recursive
1007 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1008 -rm -rf $(top_srcdir)/autom4te.cache
1010 maintainer-clean-am: distclean-am maintainer-clean-generic
1012 mostlyclean: mostlyclean-recursive
1014 mostlyclean-am: mostlyclean-generic
1024 uninstall-am: uninstall-pkgconfigDATA uninstall-pkglibDATA
1026 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check \
1027 ctags-recursive install install-am install-strip \
1030 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
1031 all all-am all-local am--refresh check check-am clean \
1032 clean-generic clean-local ctags ctags-recursive dist dist-all \
1033 dist-bzip2 dist-gzip dist-lzma dist-shar dist-tarZ dist-xz \
1034 dist-zip distcheck distclean distclean-generic distclean-hdr \
1035 distclean-tags distcleancheck distdir distuninstallcheck dvi \
1036 dvi-am html html-am info info-am install install-am \
1037 install-data install-data-am install-dvi install-dvi-am \
1038 install-exec install-exec-am install-html install-html-am \
1039 install-info install-info-am install-man install-pdf \
1040 install-pdf-am install-pkgconfigDATA install-pkglibDATA \
1041 install-ps install-ps-am install-strip installcheck \
1042 installcheck-am installdirs installdirs-am maintainer-clean \
1043 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
1044 pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
1045 uninstall-pkgconfigDATA uninstall-pkglibDATA
1048 # This used to be required when Vex had a handwritten Makefile. It
1049 # shouldn't be needed any more, though.
1051 #----------------------------------------------------------------------------
1052 # noinst_PROGRAMS and noinst_DSYMS targets
1053 #----------------------------------------------------------------------------
1055 # On Darwin, for a program 'p', the DWARF debug info is stored in the
1056 # directory 'p.dSYM'. This must be generated after the executable is
1057 # created, with 'dsymutil p'. We could redefine LINK with a script that
1058 # executes 'dsymutil' after linking, but that's a pain. Instead we use this
1059 # hook so that every time "make check" is run, we subsequently invoke
1060 # 'dsymutil' on all the executables that lack a .dSYM directory, or that are
1061 # newer than their corresponding .dSYM directory.
1062 build-noinst_DSYMS: $(noinst_DSYMS)
1063 for f in $(noinst_DSYMS); do \
1064 if [ ! -e $$f.dSYM -o $$f -nt $$f.dSYM ] ; then \
1065 echo "dsymutil $$f"; \
1070 # This is used by coregrind/Makefile.am and Makefile.tool.am for doing
1071 # "in-place" installs. It copies $(noinst_PROGRAMS) into $inplacedir.
1072 # It needs to be depended on by an 'all-local' rule.
1073 inplace-noinst_PROGRAMS: $(noinst_PROGRAMS)
1074 mkdir -p $(inplacedir); \
1075 for f in $(noinst_PROGRAMS) ; do \
1076 rm -f $(inplacedir)/$$f; \
1077 ln -f -s ../$(subdir)/$$f $(inplacedir); \
1080 # Similar to inplace-noinst_PROGRAMS
1081 inplace-noinst_DSYMS: build-noinst_DSYMS
1082 mkdir -p $(inplacedir); \
1083 for f in $(noinst_DSYMS); do \
1084 rm -f $(inplacedir)/$$f.dSYM; \
1085 ln -f -s ../$(subdir)/$$f.dSYM $(inplacedir); \
1088 # This is used by coregrind/Makefile.am and by <tool>/Makefile.am for doing
1089 # "make install". It copies $(noinst_PROGRAMS) into $prefix/lib/valgrind/.
1090 # It needs to be depended on by an 'install-exec-local' rule.
1091 install-noinst_PROGRAMS: $(noinst_PROGRAMS)
1092 $(mkinstalldirs) $(DESTDIR)$(pkglibdir); \
1093 for f in $(noinst_PROGRAMS); do \
1094 $(INSTALL_PROGRAM) $$f $(DESTDIR)$(pkglibdir); \
1097 # Similar to install-noinst_PROGRAMS.
1098 # Nb: we don't use $(INSTALL_PROGRAM) here because it doesn't work with
1099 # directories. XXX: not sure whether the resulting permissions will be
1100 # correct when using 'cp -R'...
1101 install-noinst_DSYMS: build-noinst_DSYMS
1102 $(mkinstalldirs) $(DESTDIR)$(pkglibdir); \
1103 for f in $(noinst_DSYMS); do \
1104 cp -R $$f.dSYM $(DESTDIR)$(pkglibdir); \
1107 # This needs to be depended on by a 'clean-local' rule.
1109 for f in $(noinst_DSYMS); do \
1113 default.supp: $(DEFAULT_SUPP_FILES) $(GENERATED_SUPP_FILES)
1114 echo "# This is a generated file, composed of the following suppression rules:" > default.supp
1115 echo "# " $(addprefix $(srcdir)/, $(DEFAULT_SUPP_FILES)) >> default.supp
1116 cat $(addprefix $(srcdir)/, $(DEFAULT_SUPP_FILES)) >> default.supp
1117 echo "# " $(GENERATED_SUPP_FILES) >> default.supp
1118 cat $(GENERATED_SUPP_FILES) >> default.supp
1121 @PERL@ tests/vg_regtest $(TEST_TOOLS) $(TEST_EXP_TOOLS)
1122 nonexp-regtest: check
1123 @PERL@ tests/vg_regtest $(TEST_TOOLS)
1125 @PERL@ tests/vg_regtest $(TEST_EXP_TOOLS)
1128 @PERL@ perf/vg_perf perf
1130 all-local: default.supp
1131 mkdir -p $(inplacedir)
1132 rm -f $(inplacedir)/default.supp
1133 ln -s ../default.supp $(inplacedir)
1136 rm -rf $(inplacedir)
1138 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1139 # Otherwise a system limit (for SysV at least) may be exceeded.