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