• 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
27
28VPATH = @srcdir@
29pkgdatadir = $(datadir)/@PACKAGE@
30pkgincludedir = $(includedir)/@PACKAGE@
31pkglibdir = $(libdir)/@PACKAGE@
32pkglibexecdir = $(libexecdir)/@PACKAGE@
33am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
34install_sh_DATA = $(install_sh) -c -m 644
35install_sh_PROGRAM = $(install_sh) -c
36install_sh_SCRIPT = $(install_sh) -c
37INSTALL_HEADER = $(INSTALL_DATA)
38transform = $(program_transform_name)
39NORMAL_INSTALL = :
40PRE_INSTALL = :
41POST_INSTALL = :
42NORMAL_UNINSTALL = :
43PRE_UNINSTALL = :
44POST_UNINSTALL = :
45build_triplet = @build@
46host_triplet = @host@
47DIST_COMMON = $(dist_noinst_SCRIPTS) $(noinst_HEADERS) \
48	$(srcdir)/Makefile.am $(srcdir)/Makefile.in \
49	$(top_srcdir)/Makefile.all.am \
50	$(top_srcdir)/Makefile.tool-tests.am
51
52# The Android toolchain includes all kinds of stdlib helpers present in
53# bionic which is bad because we are not linking with it and the Android
54# linker will panic.
55@VGCONF_PLATVARIANT_IS_ANDROID_TRUE@am__append_1 = -nostdlib
56@VGCONF_HAVE_PLATFORM_SEC_TRUE@am__append_2 = -DVGA_SEC_@VGCONF_ARCH_SEC@=1  \
57@VGCONF_HAVE_PLATFORM_SEC_TRUE@		-DVGP_SEC_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1
58
59check_PROGRAMS = aio$(EXEEXT) env$(EXEEXT) pth-supp$(EXEEXT) \
60	scalar$(EXEEXT) scalar_fork$(EXEEXT) scalar_nocancel$(EXEEXT) \
61	scalar_vfork$(EXEEXT)
62subdir = memcheck/tests/darwin
63ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
64am__aclocal_m4_deps = $(top_srcdir)/configure.in
65am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
66	$(ACLOCAL_M4)
67mkinstalldirs = $(install_sh) -d
68CONFIG_HEADER = $(top_builddir)/config.h
69CONFIG_CLEAN_FILES =
70CONFIG_CLEAN_VPATH_FILES =
71aio_SOURCES = aio.c
72aio_OBJECTS = aio.$(OBJEXT)
73aio_LDADD = $(LDADD)
74env_SOURCES = env.c
75env_OBJECTS = env.$(OBJEXT)
76env_LDADD = $(LDADD)
77pth_supp_SOURCES = pth-supp.c
78pth_supp_OBJECTS = pth-supp.$(OBJEXT)
79pth_supp_LDADD = $(LDADD)
80scalar_SOURCES = scalar.c
81scalar_OBJECTS = scalar.$(OBJEXT)
82scalar_LDADD = $(LDADD)
83scalar_fork_SOURCES = scalar_fork.c
84scalar_fork_OBJECTS = scalar_fork.$(OBJEXT)
85scalar_fork_LDADD = $(LDADD)
86scalar_nocancel_SOURCES = scalar_nocancel.c
87scalar_nocancel_OBJECTS = scalar_nocancel.$(OBJEXT)
88scalar_nocancel_LDADD = $(LDADD)
89scalar_vfork_SOURCES = scalar_vfork.c
90scalar_vfork_OBJECTS = scalar_vfork.$(OBJEXT)
91scalar_vfork_LDADD = $(LDADD)
92SCRIPTS = $(dist_noinst_SCRIPTS)
93DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
94depcomp = $(SHELL) $(top_srcdir)/depcomp
95am__depfiles_maybe = depfiles
96am__mv = mv -f
97COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
98	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
99CCLD = $(CC)
100LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
101SOURCES = aio.c env.c pth-supp.c scalar.c scalar_fork.c \
102	scalar_nocancel.c scalar_vfork.c
103DIST_SOURCES = aio.c env.c pth-supp.c scalar.c scalar_fork.c \
104	scalar_nocancel.c scalar_vfork.c
105HEADERS = $(noinst_HEADERS)
106ETAGS = etags
107CTAGS = ctags
108DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
109ACLOCAL = @ACLOCAL@
110AMTAR = @AMTAR@
111AR = @AR@
112AUTOCONF = @AUTOCONF@
113AUTOHEADER = @AUTOHEADER@
114AUTOMAKE = @AUTOMAKE@
115AWK = @AWK@
116BOOST_CFLAGS = @BOOST_CFLAGS@
117BOOST_LIBS = @BOOST_LIBS@
118CC = @CC@
119CCAS = @CCAS@
120CCASDEPMODE = @CCASDEPMODE@
121CCASFLAGS = @CCASFLAGS@
122CCDEPMODE = @CCDEPMODE@
123CFLAGS = @CFLAGS@
124CFLAGS_MPI = @CFLAGS_MPI@
125CPP = @CPP@
126CPPFLAGS = @CPPFLAGS@
127CXX = @CXX@
128CXXDEPMODE = @CXXDEPMODE@
129CXXFLAGS = @CXXFLAGS@
130CYGPATH_W = @CYGPATH_W@
131DEFAULT_SUPP = @DEFAULT_SUPP@
132DEFS = @DEFS@
133DEPDIR = @DEPDIR@
134DIFF = @DIFF@
135ECHO_C = @ECHO_C@
136ECHO_N = @ECHO_N@
137ECHO_T = @ECHO_T@
138EGREP = @EGREP@
139EXEEXT = @EXEEXT@
140FLAG_FNO_STACK_PROTECTOR = @FLAG_FNO_STACK_PROTECTOR@
141FLAG_M32 = @FLAG_M32@
142FLAG_M64 = @FLAG_M64@
143FLAG_MMMX = @FLAG_MMMX@
144FLAG_MSSE = @FLAG_MSSE@
145FLAG_NO_BUILD_ID = @FLAG_NO_BUILD_ID@
146FLAG_UNLIMITED_INLINE_UNIT_GROWTH = @FLAG_UNLIMITED_INLINE_UNIT_GROWTH@
147FLAG_W_EXTRA = @FLAG_W_EXTRA@
148FLAG_W_NO_EMPTY_BODY = @FLAG_W_NO_EMPTY_BODY@
149FLAG_W_NO_FORMAT_ZERO_LENGTH = @FLAG_W_NO_FORMAT_ZERO_LENGTH@
150FLAG_W_NO_NONNULL = @FLAG_W_NO_NONNULL@
151FLAG_W_NO_OVERFLOW = @FLAG_W_NO_OVERFLOW@
152FLAG_W_NO_UNINITIALIZED = @FLAG_W_NO_UNINITIALIZED@
153GDB = @GDB@
154GLIBC_VERSION = @GLIBC_VERSION@
155GREP = @GREP@
156INSTALL = @INSTALL@
157INSTALL_DATA = @INSTALL_DATA@
158INSTALL_PROGRAM = @INSTALL_PROGRAM@
159INSTALL_SCRIPT = @INSTALL_SCRIPT@
160INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
161LDFLAGS = @LDFLAGS@
162LDFLAGS_MPI = @LDFLAGS_MPI@
163LIBOBJS = @LIBOBJS@
164LIBS = @LIBS@
165LN_S = @LN_S@
166LTLIBOBJS = @LTLIBOBJS@
167MAINT = @MAINT@
168MAKEINFO = @MAKEINFO@
169MKDIR_P = @MKDIR_P@
170MPI_CC = @MPI_CC@
171OBJEXT = @OBJEXT@
172PACKAGE = @PACKAGE@
173PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
174PACKAGE_NAME = @PACKAGE_NAME@
175PACKAGE_STRING = @PACKAGE_STRING@
176PACKAGE_TARNAME = @PACKAGE_TARNAME@
177PACKAGE_URL = @PACKAGE_URL@
178PACKAGE_VERSION = @PACKAGE_VERSION@
179PATH_SEPARATOR = @PATH_SEPARATOR@
180PERL = @PERL@
181PREFERRED_STACK_BOUNDARY = @PREFERRED_STACK_BOUNDARY@
182RANLIB = @RANLIB@
183SED = @SED@
184SET_MAKE = @SET_MAKE@
185SHELL = @SHELL@
186STRIP = @STRIP@
187VALT_LOAD_ADDRESS_PRI = @VALT_LOAD_ADDRESS_PRI@
188VALT_LOAD_ADDRESS_SEC = @VALT_LOAD_ADDRESS_SEC@
189VERSION = @VERSION@
190VGCONF_ARCH_PRI = @VGCONF_ARCH_PRI@
191VGCONF_ARCH_SEC = @VGCONF_ARCH_SEC@
192VGCONF_OS = @VGCONF_OS@
193VGCONF_PLATFORM_PRI_CAPS = @VGCONF_PLATFORM_PRI_CAPS@
194VGCONF_PLATFORM_SEC_CAPS = @VGCONF_PLATFORM_SEC_CAPS@
195VGCONF_PLATVARIANT = @VGCONF_PLATVARIANT@
196abs_builddir = @abs_builddir@
197abs_srcdir = @abs_srcdir@
198abs_top_builddir = @abs_top_builddir@
199abs_top_srcdir = @abs_top_srcdir@
200ac_ct_CC = @ac_ct_CC@
201ac_ct_CXX = @ac_ct_CXX@
202am__include = @am__include@
203am__leading_dot = @am__leading_dot@
204am__quote = @am__quote@
205am__tar = @am__tar@
206am__untar = @am__untar@
207bindir = @bindir@
208build = @build@
209build_alias = @build_alias@
210build_cpu = @build_cpu@
211build_os = @build_os@
212build_vendor = @build_vendor@
213builddir = @builddir@
214datadir = @datadir@
215datarootdir = @datarootdir@
216docdir = @docdir@
217dvidir = @dvidir@
218exec_prefix = @exec_prefix@
219host = @host@
220host_alias = @host_alias@
221host_cpu = @host_cpu@
222host_os = @host_os@
223host_vendor = @host_vendor@
224htmldir = @htmldir@
225includedir = @includedir@
226infodir = @infodir@
227install_sh = @install_sh@
228libdir = @libdir@
229libexecdir = @libexecdir@
230localedir = @localedir@
231localstatedir = @localstatedir@
232mandir = @mandir@
233mkdir_p = @mkdir_p@
234oldincludedir = @oldincludedir@
235pdfdir = @pdfdir@
236prefix = @prefix@
237program_transform_name = @program_transform_name@
238psdir = @psdir@
239sbindir = @sbindir@
240sharedstatedir = @sharedstatedir@
241srcdir = @srcdir@
242sysconfdir = @sysconfdir@
243target_alias = @target_alias@
244top_build_prefix = @top_build_prefix@
245top_builddir = @top_builddir@
246top_srcdir = @top_srcdir@
247inplacedir = $(top_builddir)/.in_place
248
249#----------------------------------------------------------------------------
250# Flags
251#----------------------------------------------------------------------------
252
253# Baseline flags for all compilations.  Aim here is to maximise
254# performance and get whatever useful warnings we can out of gcc.
255# -fno-builtin is important for defeating LLVM's idiom recognition
256# that somehow causes VG_(memset) to get into infinite recursion.
257AM_CFLAGS_BASE = \
258	-O2 -g \
259	-Wall \
260	-Wmissing-prototypes \
261	-Wshadow \
262	-Wpointer-arith \
263	-Wstrict-prototypes \
264	-Wmissing-declarations \
265	@FLAG_W_NO_FORMAT_ZERO_LENGTH@ \
266	-fno-strict-aliasing \
267	-fno-builtin
268
269@VGCONF_OS_IS_DARWIN_FALSE@AM_CFLAGS_PIC = -fpic -O -g -fno-omit-frame-pointer -fno-strict-aliasing \
270@VGCONF_OS_IS_DARWIN_FALSE@		-fno-builtin
271
272
273# These flags are used for building the preload shared objects.
274# The aim is to give reasonable performance but also to have good
275# stack traces, since users often see stack traces extending
276# into (and through) the preloads.
277@VGCONF_OS_IS_DARWIN_TRUE@AM_CFLAGS_PIC = -dynamic -O -g -fno-omit-frame-pointer -fno-strict-aliasing \
278@VGCONF_OS_IS_DARWIN_TRUE@		-mno-dynamic-no-pic -fpic -fPIC \
279@VGCONF_OS_IS_DARWIN_TRUE@		-fno-builtin
280
281
282# Flags for specific targets.
283#
284# Nb: the AM_CPPFLAGS_* values are suitable for building tools and auxprogs.
285# For building the core, coregrind/Makefile.am files add some extra things.
286AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@ = \
287	-I$(top_srcdir) \
288	-I$(top_srcdir)/include \
289	-I$(top_srcdir)/VEX/pub \
290	-DVGA_@VGCONF_ARCH_PRI@=1 \
291	-DVGO_@VGCONF_OS@=1 \
292	-DVGP_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1 \
293	-DVGPV_@VGCONF_ARCH_PRI@_@VGCONF_OS@_@VGCONF_PLATVARIANT@=1
294
295@VGCONF_HAVE_PLATFORM_SEC_TRUE@AM_CPPFLAGS_@VGCONF_PLATFORM_SEC_CAPS@ = \
296@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-I$(top_srcdir) \
297@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-I$(top_srcdir)/include \
298@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-I$(top_srcdir)/VEX/pub \
299@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-DVGA_@VGCONF_ARCH_SEC@=1 \
300@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-DVGO_@VGCONF_OS@=1 \
301@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-DVGP_@VGCONF_ARCH_SEC@_@VGCONF_OS@=1 \
302@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-DVGPV_@VGCONF_ARCH_SEC@_@VGCONF_OS@_@VGCONF_PLATVARIANT@=1
303
304AM_FLAG_M3264_X86_LINUX = @FLAG_M32@
305AM_CFLAGS_X86_LINUX = @FLAG_M32@  @PREFERRED_STACK_BOUNDARY@ \
306				$(AM_CFLAGS_BASE) -fomit-frame-pointer
307
308AM_CCASFLAGS_X86_LINUX = @FLAG_M32@ -g
309AM_FLAG_M3264_AMD64_LINUX = @FLAG_M64@
310AM_CFLAGS_AMD64_LINUX = @FLAG_M64@ @PREFERRED_STACK_BOUNDARY@ \
311				$(AM_CFLAGS_BASE) -fomit-frame-pointer
312
313AM_CCASFLAGS_AMD64_LINUX = @FLAG_M64@ -g
314AM_FLAG_M3264_PPC32_LINUX = @FLAG_M32@
315AM_CFLAGS_PPC32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE)
316AM_CCASFLAGS_PPC32_LINUX = @FLAG_M32@ -g
317AM_FLAG_M3264_PPC64_LINUX = @FLAG_M64@
318AM_CFLAGS_PPC64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE)
319AM_CCASFLAGS_PPC64_LINUX = @FLAG_M64@ -g
320AM_FLAG_M3264_ARM_LINUX = @FLAG_M32@
321AM_CFLAGS_ARM_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \
322			 	$(AM_CFLAGS_BASE) -marm -mcpu=cortex-a8
323
324AM_CCASFLAGS_ARM_LINUX = @FLAG_M32@ \
325				-marm -mcpu=cortex-a8 -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 = -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 = -arch x86_64 -g
338AM_FLAG_M3264_S390X_LINUX = @FLAG_M64@
339AM_CFLAGS_S390X_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) -fomit-frame-pointer
340AM_CCASFLAGS_S390X_LINUX = @FLAG_M64@ -g -mzarch -march=z900
341AM_FLAG_M3264_MIPS32_LINUX = @FLAG_M32@
342AM_CFLAGS_MIPS32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) -mips32
343AM_CCASFLAGS_MIPS32_LINUX = @FLAG_M32@ -mips32 -g
344
345# Flags for the primary target.  These must be used to build the
346# regtests and performance tests.  In fact, these must be used to
347# build anything which is built only once on a dual-arch build.
348#
349AM_FLAG_M3264_PRI = $(AM_FLAG_M3264_@VGCONF_PLATFORM_PRI_CAPS@)
350AM_CPPFLAGS_PRI = $(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
351AM_CFLAGS_PRI = $(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
352AM_CCASFLAGS_PRI = $(AM_CCASFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
353@VGCONF_HAVE_PLATFORM_SEC_FALSE@AM_FLAG_M3264_SEC =
354@VGCONF_HAVE_PLATFORM_SEC_TRUE@AM_FLAG_M3264_SEC = $(AM_FLAG_M3264_@VGCONF_PLATFORM_SEC_CAPS@)
355
356# Baseline link flags for making vgpreload shared objects.
357#
358PRELOAD_LDFLAGS_COMMON_LINUX = -nodefaultlibs -shared \
359	-Wl,-z,interpose,-z,initfirst $(am__append_1)
360PRELOAD_LDFLAGS_COMMON_DARWIN = -dynamic -dynamiclib -all_load
361PRELOAD_LDFLAGS_X86_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
362PRELOAD_LDFLAGS_AMD64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
363PRELOAD_LDFLAGS_PPC32_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
364PRELOAD_LDFLAGS_PPC64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
365PRELOAD_LDFLAGS_ARM_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
366PRELOAD_LDFLAGS_X86_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch i386
367PRELOAD_LDFLAGS_AMD64_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch x86_64
368PRELOAD_LDFLAGS_S390X_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
369PRELOAD_LDFLAGS_MIPS32_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
370AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \
371	-I$(top_srcdir)/coregrind -I$(top_builddir)/include \
372	-I$(top_srcdir)/VEX/pub -DVGA_@VGCONF_ARCH_PRI@=1 \
373	-DVGO_@VGCONF_OS@=1 -DVGP_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1 \
374	-DVGPV_@VGCONF_ARCH_PRI@_@VGCONF_OS@_@VGCONF_PLATVARIANT@=1 \
375	$(am__append_2)
376
377# Nb: Tools need to augment these flags with an arch-selection option, such
378# as $(AM_FLAG_M3264_PRI).
379AM_CFLAGS = -Winline -Wall -Wshadow -g $(AM_FLAG_M3264_PRI) \
380	$(FLAG_MMMX) $(FLAG_MSSE)
381AM_CXXFLAGS = -Winline -Wall -Wshadow -g $(AM_FLAG_M3264_PRI) \
382	$(FLAG_MMMX) $(FLAG_MSSE)
383# Include AM_CPPFLAGS in AM_CCASFLAGS to allow for older versions of
384# automake;  see comments in Makefile.all.am for more detail.
385AM_CCASFLAGS = $(AM_CPPFLAGS) $(AM_FLAG_M3264_PRI)
386@VGCONF_OS_IS_DARWIN_TRUE@noinst_DSYMS = $(check_PROGRAMS)
387dist_noinst_SCRIPTS = filter_stderr
388noinst_HEADERS = scalar.h
389EXTRA_DIST = \
390	aio.stderr.exp aio.vgtest \
391	env.stderr.exp env.vgtest \
392	pth-supp.stderr.exp pth-supp.vgtest \
393	scalar.stderr.exp scalar.vgtest \
394	scalar_fork.stderr.exp scalar_fork.vgtest \
395	scalar_nocancel.stderr.exp scalar_nocancel.vgtest \
396	scalar_vfork.stderr.exp scalar_vfork.vgtest
397
398all: all-am
399
400.SUFFIXES:
401.SUFFIXES: .c .o .obj
402$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.tool-tests.am $(top_srcdir)/Makefile.all.am $(am__configure_deps)
403	@for dep in $?; do \
404	  case '$(am__configure_deps)' in \
405	    *$$dep*) \
406	      ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
407	        && { if test -f $@; then exit 0; else break; fi; }; \
408	      exit 1;; \
409	  esac; \
410	done; \
411	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign memcheck/tests/darwin/Makefile'; \
412	$(am__cd) $(top_srcdir) && \
413	  $(AUTOMAKE) --foreign memcheck/tests/darwin/Makefile
414.PRECIOUS: Makefile
415Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
416	@case '$?' in \
417	  *config.status*) \
418	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
419	  *) \
420	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
421	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
422	esac;
423
424$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
425	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
426
427$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
428	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
429$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
430	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
431$(am__aclocal_m4_deps):
432
433clean-checkPROGRAMS:
434	-test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
435aio$(EXEEXT): $(aio_OBJECTS) $(aio_DEPENDENCIES)
436	@rm -f aio$(EXEEXT)
437	$(LINK) $(aio_OBJECTS) $(aio_LDADD) $(LIBS)
438env$(EXEEXT): $(env_OBJECTS) $(env_DEPENDENCIES)
439	@rm -f env$(EXEEXT)
440	$(LINK) $(env_OBJECTS) $(env_LDADD) $(LIBS)
441pth-supp$(EXEEXT): $(pth_supp_OBJECTS) $(pth_supp_DEPENDENCIES)
442	@rm -f pth-supp$(EXEEXT)
443	$(LINK) $(pth_supp_OBJECTS) $(pth_supp_LDADD) $(LIBS)
444scalar$(EXEEXT): $(scalar_OBJECTS) $(scalar_DEPENDENCIES)
445	@rm -f scalar$(EXEEXT)
446	$(LINK) $(scalar_OBJECTS) $(scalar_LDADD) $(LIBS)
447scalar_fork$(EXEEXT): $(scalar_fork_OBJECTS) $(scalar_fork_DEPENDENCIES)
448	@rm -f scalar_fork$(EXEEXT)
449	$(LINK) $(scalar_fork_OBJECTS) $(scalar_fork_LDADD) $(LIBS)
450scalar_nocancel$(EXEEXT): $(scalar_nocancel_OBJECTS) $(scalar_nocancel_DEPENDENCIES)
451	@rm -f scalar_nocancel$(EXEEXT)
452	$(LINK) $(scalar_nocancel_OBJECTS) $(scalar_nocancel_LDADD) $(LIBS)
453scalar_vfork$(EXEEXT): $(scalar_vfork_OBJECTS) $(scalar_vfork_DEPENDENCIES)
454	@rm -f scalar_vfork$(EXEEXT)
455	$(LINK) $(scalar_vfork_OBJECTS) $(scalar_vfork_LDADD) $(LIBS)
456
457mostlyclean-compile:
458	-rm -f *.$(OBJEXT)
459
460distclean-compile:
461	-rm -f *.tab.c
462
463@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/aio.Po@am__quote@
464@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/env.Po@am__quote@
465@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pth-supp.Po@am__quote@
466@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scalar.Po@am__quote@
467@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scalar_fork.Po@am__quote@
468@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scalar_nocancel.Po@am__quote@
469@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scalar_vfork.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) $(HEADERS)
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