• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Makefile.in generated by automake 1.11.3 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, 2010, 2011 Free Software
6# Foundation, 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
57@HAS_WRITE_STRINGS_WARNING_TRUE@am__append_3 = -Wno-write-strings
58@COMPILER_IS_CLANG_TRUE@am__append_4 = -Wno-format-extra-args \
59@COMPILER_IS_CLANG_TRUE@	-Wno-literal-range \
60@COMPILER_IS_CLANG_TRUE@	-Wno-string-plus-int # \
61@COMPILER_IS_CLANG_TRUE@	drd/tests/annotate_ignore_rw.c
62@COMPILER_IS_CLANG_TRUE@am__append_5 = -Wno-unused-private-field    # drd/tests/tsan_unittest.cpp
63@VGCONF_ARCHS_INCLUDE_X86_TRUE@am__append_6 = x86
64check_PROGRAMS = chdir$(EXEEXT) clreq$(EXEEXT) dlclose$(EXEEXT) \
65	myprint.so$(EXEEXT)
66subdir = cachegrind/tests
67ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
68am__aclocal_m4_deps = $(top_srcdir)/configure.ac
69am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
70	$(ACLOCAL_M4)
71mkinstalldirs = $(install_sh) -d
72CONFIG_HEADER = $(top_builddir)/config.h
73CONFIG_CLEAN_FILES =
74CONFIG_CLEAN_VPATH_FILES =
75chdir_SOURCES = chdir.c
76chdir_OBJECTS = chdir.$(OBJEXT)
77chdir_LDADD = $(LDADD)
78clreq_SOURCES = clreq.c
79clreq_OBJECTS = clreq.$(OBJEXT)
80clreq_LDADD = $(LDADD)
81dlclose_SOURCES = dlclose.c
82dlclose_OBJECTS = dlclose.$(OBJEXT)
83dlclose_DEPENDENCIES =
84myprint_so_SOURCES = myprint.c
85myprint_so_OBJECTS = myprint_so-myprint.$(OBJEXT)
86myprint_so_LDADD = $(LDADD)
87myprint_so_LINK = $(CCLD) $(myprint_so_CFLAGS) $(CFLAGS) \
88	$(myprint_so_LDFLAGS) $(LDFLAGS) -o $@
89SCRIPTS = $(dist_noinst_SCRIPTS)
90DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
91depcomp = $(SHELL) $(top_srcdir)/depcomp
92am__depfiles_maybe = depfiles
93am__mv = mv -f
94COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
95	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
96CCLD = $(CC)
97LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
98SOURCES = chdir.c clreq.c dlclose.c myprint.c
99DIST_SOURCES = chdir.c clreq.c dlclose.c myprint.c
100RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
101	html-recursive info-recursive install-data-recursive \
102	install-dvi-recursive install-exec-recursive \
103	install-html-recursive install-info-recursive \
104	install-pdf-recursive install-ps-recursive install-recursive \
105	installcheck-recursive installdirs-recursive pdf-recursive \
106	ps-recursive uninstall-recursive
107RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive	\
108  distclean-recursive maintainer-clean-recursive
109AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
110	$(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
111	distdir
112ETAGS = etags
113CTAGS = ctags
114DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
115am__relativize = \
116  dir0=`pwd`; \
117  sed_first='s,^\([^/]*\)/.*$$,\1,'; \
118  sed_rest='s,^[^/]*/*,,'; \
119  sed_last='s,^.*/\([^/]*\)$$,\1,'; \
120  sed_butlast='s,/*[^/]*$$,,'; \
121  while test -n "$$dir1"; do \
122    first=`echo "$$dir1" | sed -e "$$sed_first"`; \
123    if test "$$first" != "."; then \
124      if test "$$first" = ".."; then \
125        dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
126        dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
127      else \
128        first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
129        if test "$$first2" = "$$first"; then \
130          dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
131        else \
132          dir2="../$$dir2"; \
133        fi; \
134        dir0="$$dir0"/"$$first"; \
135      fi; \
136    fi; \
137    dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
138  done; \
139  reldir="$$dir2"
140ACLOCAL = @ACLOCAL@
141AMTAR = @AMTAR@
142AR = @AR@
143AUTOCONF = @AUTOCONF@
144AUTOHEADER = @AUTOHEADER@
145AUTOMAKE = @AUTOMAKE@
146AWK = @AWK@
147BOOST_CFLAGS = @BOOST_CFLAGS@
148BOOST_LIBS = @BOOST_LIBS@
149CC = @CC@
150CCAS = @CCAS@
151CCASDEPMODE = @CCASDEPMODE@
152CCASFLAGS = @CCASFLAGS@
153CCDEPMODE = @CCDEPMODE@
154CFLAGS = @CFLAGS@ $(am__append_3) $(am__append_4)
155CFLAGS_MPI = @CFLAGS_MPI@
156CPP = @CPP@
157CPPFLAGS = @CPPFLAGS@
158CXX = @CXX@
159CXXDEPMODE = @CXXDEPMODE@
160CXXFLAGS = @CXXFLAGS@ $(am__append_5)
161CYGPATH_W = @CYGPATH_W@
162DEFAULT_SUPP = @DEFAULT_SUPP@
163DEFS = @DEFS@
164DEPDIR = @DEPDIR@
165DIFF = @DIFF@
166ECHO_C = @ECHO_C@
167ECHO_N = @ECHO_N@
168ECHO_T = @ECHO_T@
169EGREP = @EGREP@
170EXEEXT = @EXEEXT@
171FLAG_FNO_STACK_PROTECTOR = @FLAG_FNO_STACK_PROTECTOR@
172FLAG_M32 = @FLAG_M32@
173FLAG_M64 = @FLAG_M64@
174FLAG_MIPS32 = @FLAG_MIPS32@
175FLAG_MIPS64 = @FLAG_MIPS64@
176FLAG_MMMX = @FLAG_MMMX@
177FLAG_MSSE = @FLAG_MSSE@
178FLAG_NO_BUILD_ID = @FLAG_NO_BUILD_ID@
179FLAG_OCTEON = @FLAG_OCTEON@
180FLAG_OCTEON2 = @FLAG_OCTEON2@
181FLAG_T_TEXT = @FLAG_T_TEXT@
182FLAG_UNLIMITED_INLINE_UNIT_GROWTH = @FLAG_UNLIMITED_INLINE_UNIT_GROWTH@
183FLAG_W_EXTRA = @FLAG_W_EXTRA@
184FLAG_W_NO_EMPTY_BODY = @FLAG_W_NO_EMPTY_BODY@
185FLAG_W_NO_FORMAT_ZERO_LENGTH = @FLAG_W_NO_FORMAT_ZERO_LENGTH@
186FLAG_W_NO_NONNULL = @FLAG_W_NO_NONNULL@
187FLAG_W_NO_OVERFLOW = @FLAG_W_NO_OVERFLOW@
188FLAG_W_NO_UNINITIALIZED = @FLAG_W_NO_UNINITIALIZED@
189GDB = @GDB@
190GLIBC_VERSION = @GLIBC_VERSION@
191GREP = @GREP@
192INSTALL = @INSTALL@
193INSTALL_DATA = @INSTALL_DATA@
194INSTALL_PROGRAM = @INSTALL_PROGRAM@
195INSTALL_SCRIPT = @INSTALL_SCRIPT@
196INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
197LDFLAGS = @LDFLAGS@
198LDFLAGS_MPI = @LDFLAGS_MPI@
199LIBOBJS = @LIBOBJS@
200LIBS = @LIBS@
201LN_S = @LN_S@
202LTLIBOBJS = @LTLIBOBJS@
203MAINT = @MAINT@
204MAKEINFO = @MAKEINFO@
205MKDIR_P = @MKDIR_P@
206MPI_CC = @MPI_CC@
207OBJEXT = @OBJEXT@
208PACKAGE = @PACKAGE@
209PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
210PACKAGE_NAME = @PACKAGE_NAME@
211PACKAGE_STRING = @PACKAGE_STRING@
212PACKAGE_TARNAME = @PACKAGE_TARNAME@
213PACKAGE_URL = @PACKAGE_URL@
214PACKAGE_VERSION = @PACKAGE_VERSION@
215PATH_SEPARATOR = @PATH_SEPARATOR@
216PERL = @PERL@
217PREFERRED_STACK_BOUNDARY = @PREFERRED_STACK_BOUNDARY@
218RANLIB = @RANLIB@
219SED = @SED@
220SET_MAKE = @SET_MAKE@
221SHELL = @SHELL@
222STRIP = @STRIP@
223VALT_LOAD_ADDRESS_PRI = @VALT_LOAD_ADDRESS_PRI@
224VALT_LOAD_ADDRESS_SEC = @VALT_LOAD_ADDRESS_SEC@
225VERSION = @VERSION@
226VGCONF_ARCH_PRI = @VGCONF_ARCH_PRI@
227VGCONF_ARCH_SEC = @VGCONF_ARCH_SEC@
228VGCONF_OS = @VGCONF_OS@
229VGCONF_PLATFORM_PRI_CAPS = @VGCONF_PLATFORM_PRI_CAPS@
230VGCONF_PLATFORM_SEC_CAPS = @VGCONF_PLATFORM_SEC_CAPS@
231VGCONF_PLATVARIANT = @VGCONF_PLATVARIANT@
232abs_builddir = @abs_builddir@
233abs_srcdir = @abs_srcdir@
234abs_top_builddir = @abs_top_builddir@
235abs_top_srcdir = @abs_top_srcdir@
236ac_ct_CC = @ac_ct_CC@
237ac_ct_CXX = @ac_ct_CXX@
238am__include = @am__include@
239am__leading_dot = @am__leading_dot@
240am__quote = @am__quote@
241am__tar = @am__tar@
242am__untar = @am__untar@
243bindir = @bindir@
244build = @build@
245build_alias = @build_alias@
246build_cpu = @build_cpu@
247build_os = @build_os@
248build_vendor = @build_vendor@
249builddir = @builddir@
250datadir = @datadir@
251datarootdir = @datarootdir@
252docdir = @docdir@
253dvidir = @dvidir@
254exec_prefix = @exec_prefix@
255host = @host@
256host_alias = @host_alias@
257host_cpu = @host_cpu@
258host_os = @host_os@
259host_vendor = @host_vendor@
260htmldir = @htmldir@
261includedir = @includedir@
262infodir = @infodir@
263install_sh = @install_sh@
264libdir = @libdir@
265libexecdir = @libexecdir@
266localedir = @localedir@
267localstatedir = @localstatedir@
268mandir = @mandir@
269mkdir_p = @mkdir_p@
270oldincludedir = @oldincludedir@
271pdfdir = @pdfdir@
272prefix = @prefix@
273program_transform_name = @program_transform_name@
274psdir = @psdir@
275sbindir = @sbindir@
276sharedstatedir = @sharedstatedir@
277srcdir = @srcdir@
278sysconfdir = @sysconfdir@
279target_alias = @target_alias@
280top_build_prefix = @top_build_prefix@
281top_builddir = @top_builddir@
282top_srcdir = @top_srcdir@
283inplacedir = $(top_builddir)/.in_place
284
285#----------------------------------------------------------------------------
286# Flags
287#----------------------------------------------------------------------------
288
289# Baseline flags for all compilations.  Aim here is to maximise
290# performance and get whatever useful warnings we can out of gcc.
291# -fno-builtin is important for defeating LLVM's idiom recognition
292# that somehow causes VG_(memset) to get into infinite recursion.
293AM_CFLAGS_BASE = \
294	-O2 -g \
295	-Wall \
296	-Wmissing-prototypes \
297	-Wshadow \
298	-Wpointer-arith \
299	-Wstrict-prototypes \
300	-Wmissing-declarations \
301	@FLAG_W_NO_FORMAT_ZERO_LENGTH@ \
302	-fno-strict-aliasing \
303	-fno-builtin
304
305@VGCONF_OS_IS_DARWIN_FALSE@AM_CFLAGS_PIC = -fpic -O -g -fno-omit-frame-pointer -fno-strict-aliasing \
306@VGCONF_OS_IS_DARWIN_FALSE@		-fno-builtin
307
308
309# These flags are used for building the preload shared objects.
310# The aim is to give reasonable performance but also to have good
311# stack traces, since users often see stack traces extending
312# into (and through) the preloads.
313@VGCONF_OS_IS_DARWIN_TRUE@AM_CFLAGS_PIC = -dynamic -O -g -fno-omit-frame-pointer -fno-strict-aliasing \
314@VGCONF_OS_IS_DARWIN_TRUE@		-mno-dynamic-no-pic -fpic -fPIC \
315@VGCONF_OS_IS_DARWIN_TRUE@		-fno-builtin
316
317
318# Flags for specific targets.
319#
320# Nb: the AM_CPPFLAGS_* values are suitable for building tools and auxprogs.
321# For building the core, coregrind/Makefile.am files add some extra things.
322AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@ = \
323	-I$(top_srcdir) \
324	-I$(top_srcdir)/include \
325	-I$(top_srcdir)/VEX/pub \
326	-DVGA_@VGCONF_ARCH_PRI@=1 \
327	-DVGO_@VGCONF_OS@=1 \
328	-DVGP_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1 \
329	-DVGPV_@VGCONF_ARCH_PRI@_@VGCONF_OS@_@VGCONF_PLATVARIANT@=1
330
331@VGCONF_HAVE_PLATFORM_SEC_TRUE@AM_CPPFLAGS_@VGCONF_PLATFORM_SEC_CAPS@ = \
332@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-I$(top_srcdir) \
333@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-I$(top_srcdir)/include \
334@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-I$(top_srcdir)/VEX/pub \
335@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-DVGA_@VGCONF_ARCH_SEC@=1 \
336@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-DVGO_@VGCONF_OS@=1 \
337@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-DVGP_@VGCONF_ARCH_SEC@_@VGCONF_OS@=1 \
338@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-DVGPV_@VGCONF_ARCH_SEC@_@VGCONF_OS@_@VGCONF_PLATVARIANT@=1
339
340AM_FLAG_M3264_X86_LINUX = @FLAG_M32@
341AM_CFLAGS_X86_LINUX = @FLAG_M32@  @PREFERRED_STACK_BOUNDARY@ \
342				$(AM_CFLAGS_BASE) -fomit-frame-pointer
343
344AM_CCASFLAGS_X86_LINUX = @FLAG_M32@ -g
345AM_FLAG_M3264_AMD64_LINUX = @FLAG_M64@
346AM_CFLAGS_AMD64_LINUX = @FLAG_M64@ @PREFERRED_STACK_BOUNDARY@ \
347				$(AM_CFLAGS_BASE) -fomit-frame-pointer
348
349AM_CCASFLAGS_AMD64_LINUX = @FLAG_M64@ -g
350AM_FLAG_M3264_PPC32_LINUX = @FLAG_M32@
351AM_CFLAGS_PPC32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE)
352AM_CCASFLAGS_PPC32_LINUX = @FLAG_M32@ -g
353AM_FLAG_M3264_PPC64_LINUX = @FLAG_M64@
354AM_CFLAGS_PPC64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE)
355AM_CCASFLAGS_PPC64_LINUX = @FLAG_M64@ -g
356AM_FLAG_M3264_ARM_LINUX = @FLAG_M32@
357AM_CFLAGS_ARM_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \
358			 	$(AM_CFLAGS_BASE) -marm -mcpu=cortex-a8
359
360AM_CCASFLAGS_ARM_LINUX = @FLAG_M32@ \
361				-marm -mcpu=cortex-a8 -g
362
363AM_FLAG_M3264_ARM64_LINUX = @FLAG_M64@
364AM_CFLAGS_ARM64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE)
365AM_CCASFLAGS_ARM64_LINUX = @FLAG_M64@ -g
366AM_FLAG_M3264_X86_DARWIN = -arch i386
367AM_CFLAGS_X86_DARWIN = $(WERROR) -arch i386 $(AM_CFLAGS_BASE) \
368				-mmacosx-version-min=10.5 \
369				-fno-stack-protector -fno-pic -fno-PIC
370
371AM_CCASFLAGS_X86_DARWIN = -arch i386 -g
372AM_FLAG_M3264_AMD64_DARWIN = -arch x86_64
373AM_CFLAGS_AMD64_DARWIN = $(WERROR) -arch x86_64 $(AM_CFLAGS_BASE) \
374			    -mmacosx-version-min=10.5 -fno-stack-protector
375
376AM_CCASFLAGS_AMD64_DARWIN = -arch x86_64 -g
377AM_FLAG_M3264_S390X_LINUX = @FLAG_M64@
378AM_CFLAGS_S390X_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) -fomit-frame-pointer
379AM_CCASFLAGS_S390X_LINUX = @FLAG_M64@ -g -mzarch -march=z900
380AM_FLAG_M3264_MIPS32_LINUX = @FLAG_M32@
381AM_CFLAGS_MIPS32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) @FLAG_MIPS32@
382AM_CCASFLAGS_MIPS32_LINUX = @FLAG_M32@ -g @FLAG_MIPS32@
383AM_FLAG_M3264_MIPS64_LINUX = @FLAG_M64@
384AM_CFLAGS_MIPS64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) @FLAG_MIPS64@
385AM_CCASFLAGS_MIPS64_LINUX = @FLAG_M64@ -g @FLAG_MIPS64@
386
387# Flags for the primary target.  These must be used to build the
388# regtests and performance tests.  In fact, these must be used to
389# build anything which is built only once on a dual-arch build.
390#
391AM_FLAG_M3264_PRI = $(AM_FLAG_M3264_@VGCONF_PLATFORM_PRI_CAPS@)
392AM_CPPFLAGS_PRI = $(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
393AM_CFLAGS_PRI = $(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
394AM_CCASFLAGS_PRI = $(AM_CCASFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
395@VGCONF_HAVE_PLATFORM_SEC_FALSE@AM_FLAG_M3264_SEC =
396@VGCONF_HAVE_PLATFORM_SEC_TRUE@AM_FLAG_M3264_SEC = $(AM_FLAG_M3264_@VGCONF_PLATFORM_SEC_CAPS@)
397
398# Baseline link flags for making vgpreload shared objects.
399#
400PRELOAD_LDFLAGS_COMMON_LINUX = -nodefaultlibs -shared \
401	-Wl,-z,interpose,-z,initfirst $(am__append_1)
402PRELOAD_LDFLAGS_COMMON_DARWIN = -dynamic -dynamiclib -all_load
403PRELOAD_LDFLAGS_X86_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
404PRELOAD_LDFLAGS_AMD64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
405PRELOAD_LDFLAGS_PPC32_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
406PRELOAD_LDFLAGS_PPC64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
407PRELOAD_LDFLAGS_ARM_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
408PRELOAD_LDFLAGS_ARM64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
409PRELOAD_LDFLAGS_X86_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch i386
410PRELOAD_LDFLAGS_AMD64_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch x86_64
411PRELOAD_LDFLAGS_S390X_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
412PRELOAD_LDFLAGS_MIPS32_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
413PRELOAD_LDFLAGS_MIPS64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
414AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \
415	-I$(top_srcdir)/coregrind -I$(top_builddir)/include \
416	-I$(top_srcdir)/VEX/pub -DVGA_@VGCONF_ARCH_PRI@=1 \
417	-DVGO_@VGCONF_OS@=1 -DVGP_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1 \
418	-DVGPV_@VGCONF_ARCH_PRI@_@VGCONF_OS@_@VGCONF_PLATVARIANT@=1 \
419	$(am__append_2)
420
421# Nb: Tools need to augment these flags with an arch-selection option, such
422# as $(AM_FLAG_M3264_PRI).
423AM_CFLAGS = -Winline -Wall -Wshadow -g $(AM_FLAG_M3264_PRI)
424AM_CXXFLAGS = -Winline -Wall -Wshadow -g $(AM_FLAG_M3264_PRI)
425# Include AM_CPPFLAGS in AM_CCASFLAGS to allow for older versions of
426# automake;  see comments in Makefile.all.am for more detail.
427AM_CCASFLAGS = $(AM_CPPFLAGS)
428@VGCONF_OS_IS_DARWIN_TRUE@noinst_DSYMS = $(check_PROGRAMS)
429SUBDIRS = . $(am__append_6)
430DIST_SUBDIRS = x86 .
431dist_noinst_SCRIPTS = filter_stderr filter_cachesim_discards
432EXTRA_DIST = \
433	chdir.vgtest chdir.stderr.exp \
434	clreq.vgtest clreq.stderr.exp \
435	dlclose.vgtest dlclose.stderr.exp dlclose.stdout.exp \
436	notpower2.vgtest notpower2.stderr.exp \
437	wrap5.vgtest wrap5.stderr.exp wrap5.stdout.exp
438
439
440# C ones
441dlclose_LDADD = -ldl
442@VGCONF_OS_IS_DARWIN_FALSE@myprint_so_LDFLAGS = $(AM_CFLAGS) -shared -fPIC
443@VGCONF_OS_IS_DARWIN_TRUE@myprint_so_LDFLAGS = $(AM_CFLAGS) -dynamic -dynamiclib -all_load -fpic
444myprint_so_CFLAGS = $(AM_CFLAGS) -fPIC
445all: all-recursive
446
447.SUFFIXES:
448.SUFFIXES: .c .o .obj
449$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.tool-tests.am $(top_srcdir)/Makefile.all.am $(am__configure_deps)
450	@for dep in $?; do \
451	  case '$(am__configure_deps)' in \
452	    *$$dep*) \
453	      ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
454	        && { if test -f $@; then exit 0; else break; fi; }; \
455	      exit 1;; \
456	  esac; \
457	done; \
458	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign cachegrind/tests/Makefile'; \
459	$(am__cd) $(top_srcdir) && \
460	  $(AUTOMAKE) --foreign cachegrind/tests/Makefile
461.PRECIOUS: Makefile
462Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
463	@case '$?' in \
464	  *config.status*) \
465	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
466	  *) \
467	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
468	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
469	esac;
470$(top_srcdir)/Makefile.tool-tests.am $(top_srcdir)/Makefile.all.am:
471
472$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
473	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
474
475$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
476	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
477$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
478	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
479$(am__aclocal_m4_deps):
480
481clean-checkPROGRAMS:
482	-test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
483chdir$(EXEEXT): $(chdir_OBJECTS) $(chdir_DEPENDENCIES) $(EXTRA_chdir_DEPENDENCIES)
484	@rm -f chdir$(EXEEXT)
485	$(LINK) $(chdir_OBJECTS) $(chdir_LDADD) $(LIBS)
486clreq$(EXEEXT): $(clreq_OBJECTS) $(clreq_DEPENDENCIES) $(EXTRA_clreq_DEPENDENCIES)
487	@rm -f clreq$(EXEEXT)
488	$(LINK) $(clreq_OBJECTS) $(clreq_LDADD) $(LIBS)
489dlclose$(EXEEXT): $(dlclose_OBJECTS) $(dlclose_DEPENDENCIES) $(EXTRA_dlclose_DEPENDENCIES)
490	@rm -f dlclose$(EXEEXT)
491	$(LINK) $(dlclose_OBJECTS) $(dlclose_LDADD) $(LIBS)
492myprint.so$(EXEEXT): $(myprint_so_OBJECTS) $(myprint_so_DEPENDENCIES) $(EXTRA_myprint_so_DEPENDENCIES)
493	@rm -f myprint.so$(EXEEXT)
494	$(myprint_so_LINK) $(myprint_so_OBJECTS) $(myprint_so_LDADD) $(LIBS)
495
496mostlyclean-compile:
497	-rm -f *.$(OBJEXT)
498
499distclean-compile:
500	-rm -f *.tab.c
501
502@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chdir.Po@am__quote@
503@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/clreq.Po@am__quote@
504@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dlclose.Po@am__quote@
505@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/myprint_so-myprint.Po@am__quote@
506
507.c.o:
508@am__fastdepCC_TRUE@	depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
509@am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
510@am__fastdepCC_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Po
511@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
512@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
513@am__fastdepCC_FALSE@	$(COMPILE) -c -o $@ $<
514
515.c.obj:
516@am__fastdepCC_TRUE@	depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
517@am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
518@am__fastdepCC_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Po
519@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
520@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
521@am__fastdepCC_FALSE@	$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
522
523myprint_so-myprint.o: myprint.c
524@am__fastdepCC_TRUE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(myprint_so_CFLAGS) $(CFLAGS) -MT myprint_so-myprint.o -MD -MP -MF $(DEPDIR)/myprint_so-myprint.Tpo -c -o myprint_so-myprint.o `test -f 'myprint.c' || echo '$(srcdir)/'`myprint.c
525@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/myprint_so-myprint.Tpo $(DEPDIR)/myprint_so-myprint.Po
526@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='myprint.c' object='myprint_so-myprint.o' libtool=no @AMDEPBACKSLASH@
527@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
528@am__fastdepCC_FALSE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(myprint_so_CFLAGS) $(CFLAGS) -c -o myprint_so-myprint.o `test -f 'myprint.c' || echo '$(srcdir)/'`myprint.c
529
530myprint_so-myprint.obj: myprint.c
531@am__fastdepCC_TRUE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(myprint_so_CFLAGS) $(CFLAGS) -MT myprint_so-myprint.obj -MD -MP -MF $(DEPDIR)/myprint_so-myprint.Tpo -c -o myprint_so-myprint.obj `if test -f 'myprint.c'; then $(CYGPATH_W) 'myprint.c'; else $(CYGPATH_W) '$(srcdir)/myprint.c'; fi`
532@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/myprint_so-myprint.Tpo $(DEPDIR)/myprint_so-myprint.Po
533@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='myprint.c' object='myprint_so-myprint.obj' libtool=no @AMDEPBACKSLASH@
534@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
535@am__fastdepCC_FALSE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(myprint_so_CFLAGS) $(CFLAGS) -c -o myprint_so-myprint.obj `if test -f 'myprint.c'; then $(CYGPATH_W) 'myprint.c'; else $(CYGPATH_W) '$(srcdir)/myprint.c'; fi`
536
537# This directory's subdirectories are mostly independent; you can cd
538# into them and run `make' without going through this Makefile.
539# To change the values of `make' variables: instead of editing Makefiles,
540# (1) if the variable is set in `config.status', edit `config.status'
541#     (which will cause the Makefiles to be regenerated when you run `make');
542# (2) otherwise, pass the desired values on the `make' command line.
543$(RECURSIVE_TARGETS):
544	@fail= failcom='exit 1'; \
545	for f in x $$MAKEFLAGS; do \
546	  case $$f in \
547	    *=* | --[!k]*);; \
548	    *k*) failcom='fail=yes';; \
549	  esac; \
550	done; \
551	dot_seen=no; \
552	target=`echo $@ | sed s/-recursive//`; \
553	list='$(SUBDIRS)'; for subdir in $$list; do \
554	  echo "Making $$target in $$subdir"; \
555	  if test "$$subdir" = "."; then \
556	    dot_seen=yes; \
557	    local_target="$$target-am"; \
558	  else \
559	    local_target="$$target"; \
560	  fi; \
561	  ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
562	  || eval $$failcom; \
563	done; \
564	if test "$$dot_seen" = "no"; then \
565	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
566	fi; test -z "$$fail"
567
568$(RECURSIVE_CLEAN_TARGETS):
569	@fail= failcom='exit 1'; \
570	for f in x $$MAKEFLAGS; do \
571	  case $$f in \
572	    *=* | --[!k]*);; \
573	    *k*) failcom='fail=yes';; \
574	  esac; \
575	done; \
576	dot_seen=no; \
577	case "$@" in \
578	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
579	  *) list='$(SUBDIRS)' ;; \
580	esac; \
581	rev=''; for subdir in $$list; do \
582	  if test "$$subdir" = "."; then :; else \
583	    rev="$$subdir $$rev"; \
584	  fi; \
585	done; \
586	rev="$$rev ."; \
587	target=`echo $@ | sed s/-recursive//`; \
588	for subdir in $$rev; do \
589	  echo "Making $$target in $$subdir"; \
590	  if test "$$subdir" = "."; then \
591	    local_target="$$target-am"; \
592	  else \
593	    local_target="$$target"; \
594	  fi; \
595	  ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
596	  || eval $$failcom; \
597	done && test -z "$$fail"
598tags-recursive:
599	list='$(SUBDIRS)'; for subdir in $$list; do \
600	  test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
601	done
602ctags-recursive:
603	list='$(SUBDIRS)'; for subdir in $$list; do \
604	  test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
605	done
606
607ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
608	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
609	unique=`for i in $$list; do \
610	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
611	  done | \
612	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
613	      END { if (nonempty) { for (i in files) print i; }; }'`; \
614	mkid -fID $$unique
615tags: TAGS
616
617TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
618		$(TAGS_FILES) $(LISP)
619	set x; \
620	here=`pwd`; \
621	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
622	  include_option=--etags-include; \
623	  empty_fix=.; \
624	else \
625	  include_option=--include; \
626	  empty_fix=; \
627	fi; \
628	list='$(SUBDIRS)'; for subdir in $$list; do \
629	  if test "$$subdir" = .; then :; else \
630	    test ! -f $$subdir/TAGS || \
631	      set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
632	  fi; \
633	done; \
634	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
635	unique=`for i in $$list; do \
636	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
637	  done | \
638	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
639	      END { if (nonempty) { for (i in files) print i; }; }'`; \
640	shift; \
641	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
642	  test -n "$$unique" || unique=$$empty_fix; \
643	  if test $$# -gt 0; then \
644	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
645	      "$$@" $$unique; \
646	  else \
647	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
648	      $$unique; \
649	  fi; \
650	fi
651ctags: CTAGS
652CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
653		$(TAGS_FILES) $(LISP)
654	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
655	unique=`for i in $$list; do \
656	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
657	  done | \
658	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
659	      END { if (nonempty) { for (i in files) print i; }; }'`; \
660	test -z "$(CTAGS_ARGS)$$unique" \
661	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
662	     $$unique
663
664GTAGS:
665	here=`$(am__cd) $(top_builddir) && pwd` \
666	  && $(am__cd) $(top_srcdir) \
667	  && gtags -i $(GTAGS_ARGS) "$$here"
668
669distclean-tags:
670	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
671
672distdir: $(DISTFILES)
673	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
674	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
675	list='$(DISTFILES)'; \
676	  dist_files=`for file in $$list; do echo $$file; done | \
677	  sed -e "s|^$$srcdirstrip/||;t" \
678	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
679	case $$dist_files in \
680	  */*) $(MKDIR_P) `echo "$$dist_files" | \
681			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
682			   sort -u` ;; \
683	esac; \
684	for file in $$dist_files; do \
685	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
686	  if test -d $$d/$$file; then \
687	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
688	    if test -d "$(distdir)/$$file"; then \
689	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
690	    fi; \
691	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
692	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
693	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
694	    fi; \
695	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
696	  else \
697	    test -f "$(distdir)/$$file" \
698	    || cp -p $$d/$$file "$(distdir)/$$file" \
699	    || exit 1; \
700	  fi; \
701	done
702	@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
703	  if test "$$subdir" = .; then :; else \
704	    test -d "$(distdir)/$$subdir" \
705	    || $(MKDIR_P) "$(distdir)/$$subdir" \
706	    || exit 1; \
707	  fi; \
708	done
709	@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
710	  if test "$$subdir" = .; then :; else \
711	    dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
712	    $(am__relativize); \
713	    new_distdir=$$reldir; \
714	    dir1=$$subdir; dir2="$(top_distdir)"; \
715	    $(am__relativize); \
716	    new_top_distdir=$$reldir; \
717	    echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
718	    echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
719	    ($(am__cd) $$subdir && \
720	      $(MAKE) $(AM_MAKEFLAGS) \
721	        top_distdir="$$new_top_distdir" \
722	        distdir="$$new_distdir" \
723		am__remove_distdir=: \
724		am__skip_length_check=: \
725		am__skip_mode_fix=: \
726	        distdir) \
727	      || exit 1; \
728	  fi; \
729	done
730check-am: all-am
731	$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
732	$(MAKE) $(AM_MAKEFLAGS) check-local
733check: check-recursive
734all-am: Makefile $(SCRIPTS)
735installdirs: installdirs-recursive
736installdirs-am:
737install: install-recursive
738install-exec: install-exec-recursive
739install-data: install-data-recursive
740uninstall: uninstall-recursive
741
742install-am: all-am
743	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
744
745installcheck: installcheck-recursive
746install-strip:
747	if test -z '$(STRIP)'; then \
748	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
749	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
750	      install; \
751	else \
752	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
753	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
754	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
755	fi
756mostlyclean-generic:
757
758clean-generic:
759
760distclean-generic:
761	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
762	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
763
764maintainer-clean-generic:
765	@echo "This command is intended for maintainers to use"
766	@echo "it deletes files that may require special tools to rebuild."
767clean: clean-recursive
768
769clean-am: clean-checkPROGRAMS clean-generic clean-local mostlyclean-am
770
771distclean: distclean-recursive
772	-rm -rf ./$(DEPDIR)
773	-rm -f Makefile
774distclean-am: clean-am distclean-compile distclean-generic \
775	distclean-tags
776
777dvi: dvi-recursive
778
779dvi-am:
780
781html: html-recursive
782
783html-am:
784
785info: info-recursive
786
787info-am:
788
789install-data-am:
790
791install-dvi: install-dvi-recursive
792
793install-dvi-am:
794
795install-exec-am:
796
797install-html: install-html-recursive
798
799install-html-am:
800
801install-info: install-info-recursive
802
803install-info-am:
804
805install-man:
806
807install-pdf: install-pdf-recursive
808
809install-pdf-am:
810
811install-ps: install-ps-recursive
812
813install-ps-am:
814
815installcheck-am:
816
817maintainer-clean: maintainer-clean-recursive
818	-rm -rf ./$(DEPDIR)
819	-rm -f Makefile
820maintainer-clean-am: distclean-am maintainer-clean-generic
821
822mostlyclean: mostlyclean-recursive
823
824mostlyclean-am: mostlyclean-compile mostlyclean-generic
825
826pdf: pdf-recursive
827
828pdf-am:
829
830ps: ps-recursive
831
832ps-am:
833
834uninstall-am:
835
836.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) check-am \
837	ctags-recursive install-am install-strip tags-recursive
838
839.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
840	all all-am check check-am check-local clean \
841	clean-checkPROGRAMS clean-generic clean-local ctags \
842	ctags-recursive distclean distclean-compile distclean-generic \
843	distclean-tags distdir dvi dvi-am html html-am info info-am \
844	install install-am install-data install-data-am install-dvi \
845	install-dvi-am install-exec install-exec-am install-html \
846	install-html-am install-info install-info-am install-man \
847	install-pdf install-pdf-am install-ps install-ps-am \
848	install-strip installcheck installcheck-am installdirs \
849	installdirs-am maintainer-clean maintainer-clean-generic \
850	mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \
851	ps ps-am tags tags-recursive uninstall uninstall-am
852
853
854# This used to be required when Vex had a handwritten Makefile.  It
855# shouldn't be needed any more, though.
856
857#----------------------------------------------------------------------------
858# noinst_PROGRAMS and noinst_DSYMS targets
859#----------------------------------------------------------------------------
860
861# On Darwin, for a program 'p', the DWARF debug info is stored in the
862# directory 'p.dSYM'.  This must be generated after the executable is
863# created, with 'dsymutil p'.  We could redefine LINK with a script that
864# executes 'dsymutil' after linking, but that's a pain.  Instead we use this
865# hook so that every time "make check" is run, we subsequently invoke
866# 'dsymutil' on all the executables that lack a .dSYM directory, or that are
867# newer than their corresponding .dSYM directory.
868build-noinst_DSYMS: $(noinst_DSYMS)
869	for f in $(noinst_DSYMS); do \
870	  if [ ! -e $$f.dSYM  -o  $$f -nt $$f.dSYM ] ; then \
871	      echo "dsymutil $$f"; \
872	      dsymutil $$f; \
873	  fi; \
874	done
875
876# This is used by coregrind/Makefile.am and Makefile.tool.am for doing
877# "in-place" installs.  It copies $(noinst_PROGRAMS) into $inplacedir.
878# It needs to be depended on by an 'all-local' rule.
879inplace-noinst_PROGRAMS: $(noinst_PROGRAMS)
880	mkdir -p $(inplacedir); \
881	for f in $(noinst_PROGRAMS) ; do \
882	  rm -f $(inplacedir)/$$f; \
883	  ln -f -s ../$(subdir)/$$f $(inplacedir); \
884	done
885
886# Similar to inplace-noinst_PROGRAMS
887inplace-noinst_DSYMS: build-noinst_DSYMS
888	mkdir -p $(inplacedir); \
889	for f in $(noinst_DSYMS); do \
890	  rm -f $(inplacedir)/$$f.dSYM; \
891	  ln -f -s ../$(subdir)/$$f.dSYM $(inplacedir); \
892	done
893
894# This is used by coregrind/Makefile.am and by <tool>/Makefile.am for doing
895# "make install".  It copies $(noinst_PROGRAMS) into $prefix/lib/valgrind/.
896# It needs to be depended on by an 'install-exec-local' rule.
897install-noinst_PROGRAMS: $(noinst_PROGRAMS)
898	$(mkinstalldirs) $(DESTDIR)$(pkglibdir); \
899	for f in $(noinst_PROGRAMS); do \
900	  $(INSTALL_PROGRAM) $$f $(DESTDIR)$(pkglibdir); \
901	done
902
903# Similar to install-noinst_PROGRAMS.
904# Nb: we don't use $(INSTALL_PROGRAM) here because it doesn't work with
905# directories.  XXX: not sure whether the resulting permissions will be
906# correct when using 'cp -R'...
907install-noinst_DSYMS: build-noinst_DSYMS
908	$(mkinstalldirs) $(DESTDIR)$(pkglibdir); \
909	for f in $(noinst_DSYMS); do \
910	  cp -R $$f.dSYM $(DESTDIR)$(pkglibdir); \
911	done
912
913# This needs to be depended on by a 'clean-local' rule.
914clean-noinst_DSYMS:
915	for f in $(noinst_DSYMS); do \
916	  rm -rf $$f.dSYM; \
917	done
918
919check-local: build-noinst_DSYMS
920
921clean-local: clean-noinst_DSYMS
922
923# Tell versions [3.59,3.63) of GNU make to not export all variables.
924# Otherwise a system limit (for SysV at least) may be exceeded.
925.NOEXPORT:
926