]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/valgrind/src/valgrind-3.6.0-svn/Makefile.in
24bb4d0530e7342500bcab74ffa6244baad93b66
[l4.git] / l4 / pkg / valgrind / src / valgrind-3.6.0-svn / Makefile.in
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_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@
184 GDB = @GDB@
185 GENERATED_SUPP = @GENERATED_SUPP@
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 SET_MAKE = @SET_MAKE@
218 SHELL = @SHELL@
219 STRIP = @STRIP@
220 VALT_LOAD_ADDRESS = @VALT_LOAD_ADDRESS@
221 VERSION = @VERSION@
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@
236 am__tar = @am__tar@
237 am__untar = @am__untar@
238 bindir = @bindir@
239 build = @build@
240 build_alias = @build_alias@
241 build_cpu = @build_cpu@
242 build_os = @build_os@
243 build_vendor = @build_vendor@
244 builddir = @builddir@
245 datadir = @datadir@
246 datarootdir = @datarootdir@
247 docdir = @docdir@
248 dvidir = @dvidir@
249 exec_prefix = @exec_prefix@
250 host = @host@
251 host_alias = @host_alias@
252 host_cpu = @host_cpu@
253 host_os = @host_os@
254 host_vendor = @host_vendor@
255 htmldir = @htmldir@
256 includedir = @includedir@
257 infodir = @infodir@
258 install_sh = @install_sh@
259 libdir = @libdir@
260 libexecdir = @libexecdir@
261 localedir = @localedir@
262 localstatedir = @localstatedir@
263 mandir = @mandir@
264 mkdir_p = @mkdir_p@
265 oldincludedir = @oldincludedir@
266 pdfdir = @pdfdir@
267 prefix = @prefix@
268 program_transform_name = @program_transform_name@
269 psdir = @psdir@
270 sbindir = @sbindir@
271 sharedstatedir = @sharedstatedir@
272 srcdir = @srcdir@
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
280
281 #----------------------------------------------------------------------------
282 # Flags
283 #----------------------------------------------------------------------------
284
285 # Baseline flags for all compilations.  Aim here is to maximise
286 # performance and get whatever useful warnings we can out of gcc.
287 AM_CFLAGS_BASE = \
288         -O2 -g \
289         -Wall \
290         -Wmissing-prototypes \
291         -Wshadow \
292         -Wpointer-arith \
293         -Wstrict-prototypes \
294         -Wmissing-declarations \
295         @FLAG_W_NO_FORMAT_ZERO_LENGTH@ \
296         -fno-strict-aliasing
297
298 @VGCONF_OS_IS_DARWIN_FALSE@AM_CFLAGS_PIC = -fpic -O -g -fno-omit-frame-pointer -fno-strict-aliasing
299
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
313
314
315 # Flags for specific targets.
316 #
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.
319 #
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
335
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
344
345 AM_FLAG_M3264_X86_LINUX = @FLAG_M32@
346 AM_CFLAGS_X86_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \
347                                 $(AM_CFLAGS_BASE)
348
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)
353
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@ \
363                                 $(AM_CFLAGS_BASE)
364
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
370
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
375
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 \
379                             -mdynamic-no-pic
380
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
385
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)
390
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)
394
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.
398 #
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@)
406
407 # Baseline link flags for making vgpreload shared objects.
408 #
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
431
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
435
436
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
454
455
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)
465
466 DIST_SUBDIRS = $(SUBDIRS)
467 SUPP_FILES = \
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 \
473         glibc-2.X-drd.supp \
474         exp-ptrcheck.supp \
475         darwin9.supp darwin9-drd.supp
476
477 DEFAULT_SUPP_FILES = @DEFAULT_SUPP@
478 GENERATED_SUPP_FILES = @GENERATED_SUPP@
479
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
488
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
491 # or NEWS.
492 # We include valgrind.spec as well as valgrind.spec.in to save packagers
493 # from having to run configure (bug 188560).
494 EXTRA_DIST = \
495         COPYING.DOCS \
496         README_DEVELOPERS \
497         README_PACKAGERS \
498         README_MISSING_SYSCALL_OR_IOCTL \
499         valgrind.pc.in \
500         valgrind.spec.in \
501         valgrind.spec
502
503 dist_noinst_SCRIPTS = \
504         vg-in-place
505
506 all: $(BUILT_SOURCES) config.h
507         $(MAKE) $(AM_MAKEFLAGS) all-recursive
508
509 .SUFFIXES:
510 am--refresh:
511         @:
512 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.all.am $(am__configure_deps)
513         @for dep in $?; do \
514           case '$(am__configure_deps)' in \
515             *$$dep*) \
516               echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
517               $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
518                 && exit 0; \
519               exit 1;; \
520           esac; \
521         done; \
522         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
523         $(am__cd) $(top_srcdir) && \
524           $(AUTOMAKE) --foreign Makefile
525 .PRECIOUS: Makefile
526 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
527         @case '$?' in \
528           *config.status*) \
529             echo ' $(SHELL) ./config.status'; \
530             $(SHELL) ./config.status;; \
531           *) \
532             echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
533             cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
534         esac;
535
536 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
537         $(SHELL) ./config.status --recheck
538
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):
544
545 config.h: stamp-h1
546         @if test ! -f $@; then \
547           rm -f stamp-h1; \
548           $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
549         else :; fi
550
551 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
552         @rm -f stamp-h1
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))
556         rm -f stamp-h1
557         touch $@
558
559 distclean-hdr:
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)
570         @$(NORMAL_INSTALL)
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; \
575           echo "$$d$$p"; \
576         done | $(am__base_list) | \
577         while read files; do \
578           echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
579           $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
580         done
581
582 uninstall-pkgconfigDATA:
583         @$(NORMAL_UNINSTALL)
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)
590         @$(NORMAL_INSTALL)
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; \
595           echo "$$d$$p"; \
596         done | $(am__base_list) | \
597         while read files; do \
598           echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkglibdir)'"; \
599           $(INSTALL_DATA) $$files "$(DESTDIR)$(pkglibdir)" || exit $$?; \
600         done
601
602 uninstall-pkglibDATA:
603         @$(NORMAL_UNINSTALL)
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
609
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 \
619           case $$f in \
620             *=* | --[!k]*);; \
621             *k*) failcom='fail=yes';; \
622           esac; \
623         done; \
624         dot_seen=no; \
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 \
629             dot_seen=yes; \
630             local_target="$$target-am"; \
631           else \
632             local_target="$$target"; \
633           fi; \
634           ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
635           || eval $$failcom; \
636         done; \
637         if test "$$dot_seen" = "no"; then \
638           $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
639         fi; test -z "$$fail"
640
641 $(RECURSIVE_CLEAN_TARGETS):
642         @fail= failcom='exit 1'; \
643         for f in x $$MAKEFLAGS; do \
644           case $$f in \
645             *=* | --[!k]*);; \
646             *k*) failcom='fail=yes';; \
647           esac; \
648         done; \
649         dot_seen=no; \
650         case "$@" in \
651           distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
652           *) list='$(SUBDIRS)' ;; \
653         esac; \
654         rev=''; for subdir in $$list; do \
655           if test "$$subdir" = "."; then :; else \
656             rev="$$subdir $$rev"; \
657           fi; \
658         done; \
659         rev="$$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"; \
665           else \
666             local_target="$$target"; \
667           fi; \
668           ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
669           || eval $$failcom; \
670         done && test -z "$$fail"
671 tags-recursive:
672         list='$(SUBDIRS)'; for subdir in $$list; do \
673           test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
674         done
675 ctags-recursive:
676         list='$(SUBDIRS)'; for subdir in $$list; do \
677           test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
678         done
679
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; \
684           done | \
685           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
686               END { if (nonempty) { for (i in files) print i; }; }'`; \
687         mkid -fID $$unique
688 tags: TAGS
689
690 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
691                 $(TAGS_FILES) $(LISP)
692         set x; \
693         here=`pwd`; \
694         if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
695           include_option=--etags-include; \
696           empty_fix=.; \
697         else \
698           include_option=--include; \
699           empty_fix=; \
700         fi; \
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"; \
705           fi; \
706         done; \
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; \
710           done | \
711           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
712               END { if (nonempty) { for (i in files) print i; }; }'`; \
713         shift; \
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) \
718               "$$@" $$unique; \
719           else \
720             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
721               $$unique; \
722           fi; \
723         fi
724 ctags: CTAGS
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; \
730           done | \
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) \
735              $$unique
736
737 GTAGS:
738         here=`$(am__cd) $(top_builddir) && pwd` \
739           && $(am__cd) $(top_srcdir) \
740           && gtags -i $(GTAGS_ARGS) "$$here"
741
742 distclean-tags:
743         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
744
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,/[^/]*$$,,' | \
757                            sort -u` ;; \
758         esac; \
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 {} \;; \
765             fi; \
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 {} \;; \
769             fi; \
770             cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
771           else \
772             test -f "$(distdir)/$$file" \
773             || cp -p $$d/$$file "$(distdir)/$$file" \
774             || exit 1; \
775           fi; \
776         done
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" \
781             || exit 1; \
782           fi; \
783         done
784         @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
785           if test "$$subdir" = .; then :; else \
786             dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
787             $(am__relativize); \
788             new_distdir=$$reldir; \
789             dir1=$$subdir; dir2="$(top_distdir)"; \
790             $(am__relativize); \
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=: \
801                 distdir) \
802               || exit 1; \
803           fi; \
804         done
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)"
812 dist-gzip: distdir
813         tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
814         $(am__remove_distdir)
815 dist-bzip2: distdir
816         tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
817         $(am__remove_distdir)
818
819 dist-lzma: distdir
820         tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
821         $(am__remove_distdir)
822
823 dist-xz: distdir
824         tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
825         $(am__remove_distdir)
826
827 dist-tarZ: distdir
828         tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
829         $(am__remove_distdir)
830
831 dist-shar: distdir
832         shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
833         $(am__remove_distdir)
834
835 dist-zip: distdir
836         -rm -f $(distdir).zip
837         zip -rq $(distdir).zip $(distdir)
838         $(am__remove_distdir)
839
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)
844
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
847 # tarfile.
848 distcheck: dist
849         case '$(DIST_ARCHIVES)' in \
850         *.tar.gz*) \
851           GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
852         *.tar.bz2*) \
853           bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
854         *.tar.lzma*) \
855           lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
856         *.tar.xz*) \
857           xz -dc $(distdir).tar.xz | $(am__untar) ;;\
858         *.tar.Z*) \
859           uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
860         *.shar.gz*) \
861           GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
862         *.zip*) \
863           unzip $(distdir).zip ;;\
864         esac
865         chmod -R a-w $(distdir); chmod a+w $(distdir)
866         mkdir $(distdir)/_build
867         mkdir $(distdir)/_inst
868         chmod a-w $(distdir)
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-$$$$/" \
872           && am__cwd=`pwd` \
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" \
883                 distuninstallcheck \
884           && chmod -R a-w "$$dc_install_base" \
885           && ({ \
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 \
896           && cd "$$am__cwd" \
897           || exit 1
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'
902 distuninstallcheck:
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)"; \
908                 fi ; \
909                 $(distuninstallcheck_listfiles) ; \
910                 exit 1; } >&2
911 distcleancheck: distclean
912         @if test '$(srcdir)' = . ; then \
913           echo "ERROR: distcleancheck can only run from a VPATH build" ; \
914           exit 1 ; \
915         fi
916         @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
917           || { echo "ERROR: files left in build directory after distclean:" ; \
918                $(distcleancheck_listfiles) ; \
919                exit 1; } >&2
920 check-am: all-am
921 check: $(BUILT_SOURCES)
922         $(MAKE) $(AM_MAKEFLAGS) check-recursive
923 all-am: Makefile $(SCRIPTS) $(DATA) config.h all-local
924 installdirs: installdirs-recursive
925 installdirs-am:
926         for dir in "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(pkglibdir)"; do \
927           test -z "$$dir" || $(MKDIR_P) "$$dir"; \
928         done
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
934
935 install-am: all-am
936         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
937
938 installcheck: installcheck-recursive
939 install-strip:
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
944 mostlyclean-generic:
945
946 clean-generic:
947         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
948
949 distclean-generic:
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)
952
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
958
959 clean-am: clean-generic clean-local mostlyclean-am
960
961 distclean: distclean-recursive
962         -rm -f $(am__CONFIG_DISTCLEAN_FILES)
963         -rm -f Makefile
964 distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
965
966 dvi: dvi-recursive
967
968 dvi-am:
969
970 html: html-recursive
971
972 html-am:
973
974 info: info-recursive
975
976 info-am:
977
978 install-data-am: install-pkgconfigDATA
979
980 install-dvi: install-dvi-recursive
981
982 install-dvi-am:
983
984 install-exec-am: install-pkglibDATA
985
986 install-html: install-html-recursive
987
988 install-html-am:
989
990 install-info: install-info-recursive
991
992 install-info-am:
993
994 install-man:
995
996 install-pdf: install-pdf-recursive
997
998 install-pdf-am:
999
1000 install-ps: install-ps-recursive
1001
1002 install-ps-am:
1003
1004 installcheck-am:
1005
1006 maintainer-clean: maintainer-clean-recursive
1007         -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1008         -rm -rf $(top_srcdir)/autom4te.cache
1009         -rm -f Makefile
1010 maintainer-clean-am: distclean-am maintainer-clean-generic
1011
1012 mostlyclean: mostlyclean-recursive
1013
1014 mostlyclean-am: mostlyclean-generic
1015
1016 pdf: pdf-recursive
1017
1018 pdf-am:
1019
1020 ps: ps-recursive
1021
1022 ps-am:
1023
1024 uninstall-am: uninstall-pkgconfigDATA uninstall-pkglibDATA
1025
1026 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check \
1027         ctags-recursive install install-am install-strip \
1028         tags-recursive
1029
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
1046
1047
1048 # This used to be required when Vex had a handwritten Makefile.  It
1049 # shouldn't be needed any more, though.
1050
1051 #----------------------------------------------------------------------------
1052 # noinst_PROGRAMS and noinst_DSYMS targets
1053 #----------------------------------------------------------------------------
1054
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"; \
1066               dsymutil $$f; \
1067           fi; \
1068         done
1069
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); \
1078         done
1079
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); \
1086         done
1087
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); \
1095         done
1096
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); \
1105         done
1106
1107 # This needs to be depended on by a 'clean-local' rule.
1108 clean-noinst_DSYMS:
1109         for f in $(noinst_DSYMS); do \
1110           rm -rf $$f.dSYM; \
1111         done
1112
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
1119
1120 regtest: check
1121         @PERL@ tests/vg_regtest $(TEST_TOOLS) $(TEST_EXP_TOOLS)
1122 nonexp-regtest: check
1123         @PERL@ tests/vg_regtest $(TEST_TOOLS)
1124 exp-regtest: check
1125         @PERL@ tests/vg_regtest $(TEST_EXP_TOOLS)
1126
1127 perf: check
1128         @PERL@ perf/vg_perf perf
1129
1130 all-local: default.supp
1131         mkdir -p $(inplacedir)
1132         rm -f $(inplacedir)/default.supp
1133         ln -s ../default.supp $(inplacedir)
1134
1135 clean-local:
1136         rm -rf $(inplacedir)
1137
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.
1140 .NOEXPORT: