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
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
51check_PROGRAMS = aio$(EXEEXT) env$(EXEEXT) pth-supp$(EXEEXT) \
52	scalar$(EXEEXT) scalar_fork$(EXEEXT) scalar_nocancel$(EXEEXT) \
53	scalar_vfork$(EXEEXT)
54subdir = memcheck/tests/darwin
55ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
56am__aclocal_m4_deps = $(top_srcdir)/configure.in
57am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
58	$(ACLOCAL_M4)
59mkinstalldirs = $(install_sh) -d
60CONFIG_HEADER = $(top_builddir)/config.h
61CONFIG_CLEAN_FILES =
62CONFIG_CLEAN_VPATH_FILES =
63aio_SOURCES = aio.c
64aio_OBJECTS = aio.$(OBJEXT)
65aio_LDADD = $(LDADD)
66env_SOURCES = env.c
67env_OBJECTS = env.$(OBJEXT)
68env_LDADD = $(LDADD)
69pth_supp_SOURCES = pth-supp.c
70pth_supp_OBJECTS = pth-supp.$(OBJEXT)
71pth_supp_LDADD = $(LDADD)
72scalar_SOURCES = scalar.c
73scalar_OBJECTS = scalar.$(OBJEXT)
74scalar_LDADD = $(LDADD)
75scalar_fork_SOURCES = scalar_fork.c
76scalar_fork_OBJECTS = scalar_fork.$(OBJEXT)
77scalar_fork_LDADD = $(LDADD)
78scalar_nocancel_SOURCES = scalar_nocancel.c
79scalar_nocancel_OBJECTS = scalar_nocancel.$(OBJEXT)
80scalar_nocancel_LDADD = $(LDADD)
81scalar_vfork_SOURCES = scalar_vfork.c
82scalar_vfork_OBJECTS = scalar_vfork.$(OBJEXT)
83scalar_vfork_LDADD = $(LDADD)
84SCRIPTS = $(dist_noinst_SCRIPTS)
85DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
86depcomp = $(SHELL) $(top_srcdir)/depcomp
87am__depfiles_maybe = depfiles
88am__mv = mv -f
89COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
90	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
91CCLD = $(CC)
92LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
93SOURCES = aio.c env.c pth-supp.c scalar.c scalar_fork.c \
94	scalar_nocancel.c scalar_vfork.c
95DIST_SOURCES = aio.c env.c pth-supp.c scalar.c scalar_fork.c \
96	scalar_nocancel.c scalar_vfork.c
97HEADERS = $(noinst_HEADERS)
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 @FLAG_M32@ $(FLAG_MMMX) \
374	$(FLAG_MSSE)
375AM_CXXFLAGS = -Winline -Wall -Wshadow -g @FLAG_M32@ $(FLAG_MMMX) \
376	$(FLAG_MSSE)
377# Include AM_CPPFLAGS in AM_CCASFLAGS to allow for older versions of
378# automake;  see comments in Makefile.all.am for more detail.
379AM_CCASFLAGS = $(AM_CPPFLAGS) @FLAG_M32@
380@VGCONF_OS_IS_DARWIN_TRUE@noinst_DSYMS = $(check_PROGRAMS)
381dist_noinst_SCRIPTS = filter_stderr
382noinst_HEADERS = scalar.h
383EXTRA_DIST = \
384	aio.stderr.exp aio.vgtest \
385	env.stderr.exp env.vgtest \
386	pth-supp.stderr.exp pth-supp.vgtest \
387	scalar.stderr.exp scalar.vgtest \
388	scalar_fork.stderr.exp scalar_fork.vgtest \
389	scalar_nocancel.stderr.exp scalar_nocancel.vgtest \
390	scalar_vfork.stderr.exp scalar_vfork.vgtest
391
392all: all-am
393
394.SUFFIXES:
395.SUFFIXES: .c .o .obj
396$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.tool-tests.am $(top_srcdir)/Makefile.all.am $(am__configure_deps)
397	@for dep in $?; do \
398	  case '$(am__configure_deps)' in \
399	    *$$dep*) \
400	      ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
401	        && { if test -f $@; then exit 0; else break; fi; }; \
402	      exit 1;; \
403	  esac; \
404	done; \
405	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign memcheck/tests/darwin/Makefile'; \
406	$(am__cd) $(top_srcdir) && \
407	  $(AUTOMAKE) --foreign memcheck/tests/darwin/Makefile
408.PRECIOUS: Makefile
409Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
410	@case '$?' in \
411	  *config.status*) \
412	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
413	  *) \
414	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
415	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
416	esac;
417
418$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
419	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
420
421$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
422	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
423$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
424	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
425$(am__aclocal_m4_deps):
426
427clean-checkPROGRAMS:
428	-test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
429aio$(EXEEXT): $(aio_OBJECTS) $(aio_DEPENDENCIES) 
430	@rm -f aio$(EXEEXT)
431	$(LINK) $(aio_OBJECTS) $(aio_LDADD) $(LIBS)
432env$(EXEEXT): $(env_OBJECTS) $(env_DEPENDENCIES) 
433	@rm -f env$(EXEEXT)
434	$(LINK) $(env_OBJECTS) $(env_LDADD) $(LIBS)
435pth-supp$(EXEEXT): $(pth_supp_OBJECTS) $(pth_supp_DEPENDENCIES) 
436	@rm -f pth-supp$(EXEEXT)
437	$(LINK) $(pth_supp_OBJECTS) $(pth_supp_LDADD) $(LIBS)
438scalar$(EXEEXT): $(scalar_OBJECTS) $(scalar_DEPENDENCIES) 
439	@rm -f scalar$(EXEEXT)
440	$(LINK) $(scalar_OBJECTS) $(scalar_LDADD) $(LIBS)
441scalar_fork$(EXEEXT): $(scalar_fork_OBJECTS) $(scalar_fork_DEPENDENCIES) 
442	@rm -f scalar_fork$(EXEEXT)
443	$(LINK) $(scalar_fork_OBJECTS) $(scalar_fork_LDADD) $(LIBS)
444scalar_nocancel$(EXEEXT): $(scalar_nocancel_OBJECTS) $(scalar_nocancel_DEPENDENCIES) 
445	@rm -f scalar_nocancel$(EXEEXT)
446	$(LINK) $(scalar_nocancel_OBJECTS) $(scalar_nocancel_LDADD) $(LIBS)
447scalar_vfork$(EXEEXT): $(scalar_vfork_OBJECTS) $(scalar_vfork_DEPENDENCIES) 
448	@rm -f scalar_vfork$(EXEEXT)
449	$(LINK) $(scalar_vfork_OBJECTS) $(scalar_vfork_LDADD) $(LIBS)
450
451mostlyclean-compile:
452	-rm -f *.$(OBJEXT)
453
454distclean-compile:
455	-rm -f *.tab.c
456
457@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/aio.Po@am__quote@
458@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/env.Po@am__quote@
459@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pth-supp.Po@am__quote@
460@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scalar.Po@am__quote@
461@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scalar_fork.Po@am__quote@
462@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scalar_nocancel.Po@am__quote@
463@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scalar_vfork.Po@am__quote@
464
465.c.o:
466@am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
467@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
468@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
469@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
470@am__fastdepCC_FALSE@	$(COMPILE) -c $<
471
472.c.obj:
473@am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
474@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
475@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
476@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
477@am__fastdepCC_FALSE@	$(COMPILE) -c `$(CYGPATH_W) '$<'`
478
479ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
480	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
481	unique=`for i in $$list; do \
482	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
483	  done | \
484	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
485	      END { if (nonempty) { for (i in files) print i; }; }'`; \
486	mkid -fID $$unique
487tags: TAGS
488
489TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
490		$(TAGS_FILES) $(LISP)
491	set x; \
492	here=`pwd`; \
493	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
494	unique=`for i in $$list; do \
495	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
496	  done | \
497	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
498	      END { if (nonempty) { for (i in files) print i; }; }'`; \
499	shift; \
500	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
501	  test -n "$$unique" || unique=$$empty_fix; \
502	  if test $$# -gt 0; then \
503	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
504	      "$$@" $$unique; \
505	  else \
506	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
507	      $$unique; \
508	  fi; \
509	fi
510ctags: CTAGS
511CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
512		$(TAGS_FILES) $(LISP)
513	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
514	unique=`for i in $$list; do \
515	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
516	  done | \
517	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
518	      END { if (nonempty) { for (i in files) print i; }; }'`; \
519	test -z "$(CTAGS_ARGS)$$unique" \
520	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
521	     $$unique
522
523GTAGS:
524	here=`$(am__cd) $(top_builddir) && pwd` \
525	  && $(am__cd) $(top_srcdir) \
526	  && gtags -i $(GTAGS_ARGS) "$$here"
527
528distclean-tags:
529	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
530
531distdir: $(DISTFILES)
532	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
533	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
534	list='$(DISTFILES)'; \
535	  dist_files=`for file in $$list; do echo $$file; done | \
536	  sed -e "s|^$$srcdirstrip/||;t" \
537	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
538	case $$dist_files in \
539	  */*) $(MKDIR_P) `echo "$$dist_files" | \
540			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
541			   sort -u` ;; \
542	esac; \
543	for file in $$dist_files; do \
544	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
545	  if test -d $$d/$$file; then \
546	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
547	    if test -d "$(distdir)/$$file"; then \
548	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
549	    fi; \
550	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
551	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
552	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
553	    fi; \
554	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
555	  else \
556	    test -f "$(distdir)/$$file" \
557	    || cp -p $$d/$$file "$(distdir)/$$file" \
558	    || exit 1; \
559	  fi; \
560	done
561check-am: all-am
562	$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
563	$(MAKE) $(AM_MAKEFLAGS) check-local
564check: check-am
565all-am: Makefile $(SCRIPTS) $(HEADERS)
566installdirs:
567install: install-am
568install-exec: install-exec-am
569install-data: install-data-am
570uninstall: uninstall-am
571
572install-am: all-am
573	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
574
575installcheck: installcheck-am
576install-strip:
577	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
578	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
579	  `test -z '$(STRIP)' || \
580	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
581mostlyclean-generic:
582
583clean-generic:
584
585distclean-generic:
586	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
587	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
588
589maintainer-clean-generic:
590	@echo "This command is intended for maintainers to use"
591	@echo "it deletes files that may require special tools to rebuild."
592clean: clean-am
593
594clean-am: clean-checkPROGRAMS clean-generic clean-local mostlyclean-am
595
596distclean: distclean-am
597	-rm -rf ./$(DEPDIR)
598	-rm -f Makefile
599distclean-am: clean-am distclean-compile distclean-generic \
600	distclean-tags
601
602dvi: dvi-am
603
604dvi-am:
605
606html: html-am
607
608html-am:
609
610info: info-am
611
612info-am:
613
614install-data-am:
615
616install-dvi: install-dvi-am
617
618install-dvi-am:
619
620install-exec-am:
621
622install-html: install-html-am
623
624install-html-am:
625
626install-info: install-info-am
627
628install-info-am:
629
630install-man:
631
632install-pdf: install-pdf-am
633
634install-pdf-am:
635
636install-ps: install-ps-am
637
638install-ps-am:
639
640installcheck-am:
641
642maintainer-clean: maintainer-clean-am
643	-rm -rf ./$(DEPDIR)
644	-rm -f Makefile
645maintainer-clean-am: distclean-am maintainer-clean-generic
646
647mostlyclean: mostlyclean-am
648
649mostlyclean-am: mostlyclean-compile mostlyclean-generic
650
651pdf: pdf-am
652
653pdf-am:
654
655ps: ps-am
656
657ps-am:
658
659uninstall-am:
660
661.MAKE: check-am install-am install-strip
662
663.PHONY: CTAGS GTAGS all all-am check check-am check-local clean \
664	clean-checkPROGRAMS clean-generic clean-local ctags distclean \
665	distclean-compile distclean-generic distclean-tags distdir dvi \
666	dvi-am html html-am info info-am install install-am \
667	install-data install-data-am install-dvi install-dvi-am \
668	install-exec install-exec-am install-html install-html-am \
669	install-info install-info-am install-man install-pdf \
670	install-pdf-am install-ps install-ps-am install-strip \
671	installcheck installcheck-am installdirs maintainer-clean \
672	maintainer-clean-generic mostlyclean mostlyclean-compile \
673	mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
674	uninstall-am
675
676
677# This used to be required when Vex had a handwritten Makefile.  It
678# shouldn't be needed any more, though.
679
680#----------------------------------------------------------------------------
681# noinst_PROGRAMS and noinst_DSYMS targets
682#----------------------------------------------------------------------------
683
684# On Darwin, for a program 'p', the DWARF debug info is stored in the
685# directory 'p.dSYM'.  This must be generated after the executable is
686# created, with 'dsymutil p'.  We could redefine LINK with a script that
687# executes 'dsymutil' after linking, but that's a pain.  Instead we use this
688# hook so that every time "make check" is run, we subsequently invoke
689# 'dsymutil' on all the executables that lack a .dSYM directory, or that are
690# newer than their corresponding .dSYM directory.
691build-noinst_DSYMS: $(noinst_DSYMS)
692	for f in $(noinst_DSYMS); do \
693	  if [ ! -e $$f.dSYM  -o  $$f -nt $$f.dSYM ] ; then \
694	      echo "dsymutil $$f"; \
695	      dsymutil $$f; \
696	  fi; \
697	done
698
699# This is used by coregrind/Makefile.am and Makefile.tool.am for doing
700# "in-place" installs.  It copies $(noinst_PROGRAMS) into $inplacedir.
701# It needs to be depended on by an 'all-local' rule.
702inplace-noinst_PROGRAMS: $(noinst_PROGRAMS)
703	mkdir -p $(inplacedir); \
704	for f in $(noinst_PROGRAMS) ; do \
705	  rm -f $(inplacedir)/$$f; \
706	  ln -f -s ../$(subdir)/$$f $(inplacedir); \
707	done
708
709# Similar to inplace-noinst_PROGRAMS
710inplace-noinst_DSYMS: build-noinst_DSYMS
711	mkdir -p $(inplacedir); \
712	for f in $(noinst_DSYMS); do \
713	  rm -f $(inplacedir)/$$f.dSYM; \
714	  ln -f -s ../$(subdir)/$$f.dSYM $(inplacedir); \
715	done
716
717# This is used by coregrind/Makefile.am and by <tool>/Makefile.am for doing
718# "make install".  It copies $(noinst_PROGRAMS) into $prefix/lib/valgrind/.
719# It needs to be depended on by an 'install-exec-local' rule.
720install-noinst_PROGRAMS: $(noinst_PROGRAMS)
721	$(mkinstalldirs) $(DESTDIR)$(pkglibdir); \
722	for f in $(noinst_PROGRAMS); do \
723	  $(INSTALL_PROGRAM) $$f $(DESTDIR)$(pkglibdir); \
724	done
725
726# Similar to install-noinst_PROGRAMS.
727# Nb: we don't use $(INSTALL_PROGRAM) here because it doesn't work with
728# directories.  XXX: not sure whether the resulting permissions will be
729# correct when using 'cp -R'...
730install-noinst_DSYMS: build-noinst_DSYMS
731	$(mkinstalldirs) $(DESTDIR)$(pkglibdir); \
732	for f in $(noinst_DSYMS); do \
733	  cp -R $$f.dSYM $(DESTDIR)$(pkglibdir); \
734	done
735
736# This needs to be depended on by a 'clean-local' rule.
737clean-noinst_DSYMS:
738	for f in $(noinst_DSYMS); do \
739	  rm -rf $$f.dSYM; \
740	done
741
742check-local: build-noinst_DSYMS
743
744clean-local: clean-noinst_DSYMS
745
746# Tell versions [3.59,3.63) of GNU make to not export all variables.
747# Otherwise a system limit (for SysV at least) may be exceeded.
748.NOEXPORT:
749