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