]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/valgrind/src/valgrind-3.6.0-svn/cachegrind/tests/Makefile.in
update
[l4.git] / l4 / pkg / valgrind / src / valgrind-3.6.0-svn / cachegrind / tests / Makefile.in
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 VPATH = @srcdir@
28 pkgdatadir = $(datadir)/@PACKAGE@
29 pkgincludedir = $(includedir)/@PACKAGE@
30 pkglibdir = $(libdir)/@PACKAGE@
31 pkglibexecdir = $(libexecdir)/@PACKAGE@
32 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
33 install_sh_DATA = $(install_sh) -c -m 644
34 install_sh_PROGRAM = $(install_sh) -c
35 install_sh_SCRIPT = $(install_sh) -c
36 INSTALL_HEADER = $(INSTALL_DATA)
37 transform = $(program_transform_name)
38 NORMAL_INSTALL = :
39 PRE_INSTALL = :
40 POST_INSTALL = :
41 NORMAL_UNINSTALL = :
42 PRE_UNINSTALL = :
43 POST_UNINSTALL = :
44 build_triplet = @build@
45 host_triplet = @host@
46 DIST_COMMON = $(dist_noinst_SCRIPTS) $(srcdir)/Makefile.am \
47         $(srcdir)/Makefile.in $(top_srcdir)/Makefile.all.am \
48         $(top_srcdir)/Makefile.tool-tests.am
49 @VGCONF_ARCHS_INCLUDE_X86_TRUE@am__append_1 = x86
50 check_PROGRAMS = chdir$(EXEEXT) clreq$(EXEEXT) dlclose$(EXEEXT) \
51         myprint.so$(EXEEXT)
52 subdir = cachegrind/tests
53 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
54 am__aclocal_m4_deps = $(top_srcdir)/configure.in
55 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
56         $(ACLOCAL_M4)
57 mkinstalldirs = $(install_sh) -d
58 CONFIG_HEADER = $(top_builddir)/config.h
59 CONFIG_CLEAN_FILES =
60 CONFIG_CLEAN_VPATH_FILES =
61 chdir_SOURCES = chdir.c
62 chdir_OBJECTS = chdir.$(OBJEXT)
63 chdir_LDADD = $(LDADD)
64 clreq_SOURCES = clreq.c
65 clreq_OBJECTS = clreq.$(OBJEXT)
66 clreq_LDADD = $(LDADD)
67 dlclose_SOURCES = dlclose.c
68 dlclose_OBJECTS = dlclose.$(OBJEXT)
69 dlclose_DEPENDENCIES =
70 am_myprint_so_OBJECTS = myprint_so-myprint.$(OBJEXT)
71 myprint_so_OBJECTS = $(am_myprint_so_OBJECTS)
72 myprint_so_LDADD = $(LDADD)
73 myprint_so_LINK = $(CCLD) $(myprint_so_CFLAGS) $(CFLAGS) \
74         $(myprint_so_LDFLAGS) $(LDFLAGS) -o $@
75 SCRIPTS = $(dist_noinst_SCRIPTS)
76 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
77 depcomp = $(SHELL) $(top_srcdir)/depcomp
78 am__depfiles_maybe = depfiles
79 am__mv = mv -f
80 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
81         $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
82 CCLD = $(CC)
83 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
84 SOURCES = chdir.c clreq.c dlclose.c $(myprint_so_SOURCES)
85 DIST_SOURCES = chdir.c clreq.c dlclose.c $(myprint_so_SOURCES)
86 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
87         html-recursive info-recursive install-data-recursive \
88         install-dvi-recursive install-exec-recursive \
89         install-html-recursive install-info-recursive \
90         install-pdf-recursive install-ps-recursive install-recursive \
91         installcheck-recursive installdirs-recursive pdf-recursive \
92         ps-recursive uninstall-recursive
93 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
94   distclean-recursive maintainer-clean-recursive
95 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
96         $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
97         distdir
98 ETAGS = etags
99 CTAGS = ctags
100 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
101 am__relativize = \
102   dir0=`pwd`; \
103   sed_first='s,^\([^/]*\)/.*$$,\1,'; \
104   sed_rest='s,^[^/]*/*,,'; \
105   sed_last='s,^.*/\([^/]*\)$$,\1,'; \
106   sed_butlast='s,/*[^/]*$$,,'; \
107   while test -n "$$dir1"; do \
108     first=`echo "$$dir1" | sed -e "$$sed_first"`; \
109     if test "$$first" != "."; then \
110       if test "$$first" = ".."; then \
111         dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
112         dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
113       else \
114         first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
115         if test "$$first2" = "$$first"; then \
116           dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
117         else \
118           dir2="../$$dir2"; \
119         fi; \
120         dir0="$$dir0"/"$$first"; \
121       fi; \
122     fi; \
123     dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
124   done; \
125   reldir="$$dir2"
126 ACLOCAL = @ACLOCAL@
127 AMTAR = @AMTAR@
128 AR = @AR@
129 AUTOCONF = @AUTOCONF@
130 AUTOHEADER = @AUTOHEADER@
131 AUTOMAKE = @AUTOMAKE@
132 AWK = @AWK@
133 BOOST_CFLAGS = @BOOST_CFLAGS@
134 BOOST_LIBS = @BOOST_LIBS@
135 CC = @CC@
136 CCAS = @CCAS@
137 CCASDEPMODE = @CCASDEPMODE@
138 CCASFLAGS = @CCASFLAGS@
139 CCDEPMODE = @CCDEPMODE@
140 CFLAGS = @CFLAGS@
141 CPP = @CPP@
142 CPPFLAGS = @CPPFLAGS@
143 CXX = @CXX@
144 CXXDEPMODE = @CXXDEPMODE@
145 CXXFLAGS = @CXXFLAGS@
146 CYGPATH_W = @CYGPATH_W@
147 DEFAULT_SUPP = @DEFAULT_SUPP@
148 DEFS = @DEFS@
149 DEPDIR = @DEPDIR@
150 DIFF = @DIFF@
151 ECHO_C = @ECHO_C@
152 ECHO_N = @ECHO_N@
153 ECHO_T = @ECHO_T@
154 EGREP = @EGREP@
155 EXEEXT = @EXEEXT@
156 FLAG_FNO_STACK_PROTECTOR = @FLAG_FNO_STACK_PROTECTOR@
157 FLAG_M32 = @FLAG_M32@
158 FLAG_M64 = @FLAG_M64@
159 FLAG_MAIX32 = @FLAG_MAIX32@
160 FLAG_MAIX64 = @FLAG_MAIX64@
161 FLAG_MMMX = @FLAG_MMMX@
162 FLAG_MSSE = @FLAG_MSSE@
163 FLAG_NO_BUILD_ID = @FLAG_NO_BUILD_ID@
164 FLAG_UNLIMITED_INLINE_UNIT_GROWTH = @FLAG_UNLIMITED_INLINE_UNIT_GROWTH@
165 FLAG_W_EXTRA = @FLAG_W_EXTRA@
166 FLAG_W_NO_EMPTY_BODY = @FLAG_W_NO_EMPTY_BODY@
167 FLAG_W_NO_FORMAT_ZERO_LENGTH = @FLAG_W_NO_FORMAT_ZERO_LENGTH@
168 FLAG_W_NO_NONNULL = @FLAG_W_NO_NONNULL@
169 FLAG_W_NO_OVERFLOW = @FLAG_W_NO_OVERFLOW@
170 FLAG_W_NO_UNINITIALIZED = @FLAG_W_NO_UNINITIALIZED@
171 GDB = @GDB@
172 GENERATED_SUPP = @GENERATED_SUPP@
173 GLIBC_VERSION = @GLIBC_VERSION@
174 GREP = @GREP@
175 INSTALL = @INSTALL@
176 INSTALL_DATA = @INSTALL_DATA@
177 INSTALL_PROGRAM = @INSTALL_PROGRAM@
178 INSTALL_SCRIPT = @INSTALL_SCRIPT@
179 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
180 LDFLAGS = @LDFLAGS@
181 LIBOBJS = @LIBOBJS@
182 LIBS = @LIBS@
183 LN_S = @LN_S@
184 LTLIBOBJS = @LTLIBOBJS@
185 MAINT = @MAINT@
186 MAKEINFO = @MAKEINFO@
187 MKDIR_P = @MKDIR_P@
188 MPI_CC = @MPI_CC@
189 OBJEXT = @OBJEXT@
190 PACKAGE = @PACKAGE@
191 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
192 PACKAGE_NAME = @PACKAGE_NAME@
193 PACKAGE_STRING = @PACKAGE_STRING@
194 PACKAGE_TARNAME = @PACKAGE_TARNAME@
195 PACKAGE_URL = @PACKAGE_URL@
196 PACKAGE_VERSION = @PACKAGE_VERSION@
197 PATH_SEPARATOR = @PATH_SEPARATOR@
198 PERL = @PERL@
199 PREFERRED_STACK_BOUNDARY = @PREFERRED_STACK_BOUNDARY@
200 RANLIB = @RANLIB@
201 SED = @SED@
202 SET_MAKE = @SET_MAKE@
203 SHELL = @SHELL@
204 STRIP = @STRIP@
205 VALT_LOAD_ADDRESS_PRI = @VALT_LOAD_ADDRESS_PRI@
206 VALT_LOAD_ADDRESS_SEC = @VALT_LOAD_ADDRESS_SEC@
207 VERSION = @VERSION@
208 VGCONF_ARCH_PRI = @VGCONF_ARCH_PRI@
209 VGCONF_ARCH_SEC = @VGCONF_ARCH_SEC@
210 VGCONF_OS = @VGCONF_OS@
211 VGCONF_PLATFORM_PRI_CAPS = @VGCONF_PLATFORM_PRI_CAPS@
212 VGCONF_PLATFORM_SEC_CAPS = @VGCONF_PLATFORM_SEC_CAPS@
213 abs_builddir = @abs_builddir@
214 abs_srcdir = @abs_srcdir@
215 abs_top_builddir = @abs_top_builddir@
216 abs_top_srcdir = @abs_top_srcdir@
217 ac_ct_CC = @ac_ct_CC@
218 ac_ct_CXX = @ac_ct_CXX@
219 am__include = @am__include@
220 am__leading_dot = @am__leading_dot@
221 am__quote = @am__quote@
222 am__tar = @am__tar@
223 am__untar = @am__untar@
224 bindir = @bindir@
225 build = @build@
226 build_alias = @build_alias@
227 build_cpu = @build_cpu@
228 build_os = @build_os@
229 build_vendor = @build_vendor@
230 builddir = @builddir@
231 datadir = @datadir@
232 datarootdir = @datarootdir@
233 docdir = @docdir@
234 dvidir = @dvidir@
235 exec_prefix = @exec_prefix@
236 host = @host@
237 host_alias = @host_alias@
238 host_cpu = @host_cpu@
239 host_os = @host_os@
240 host_vendor = @host_vendor@
241 htmldir = @htmldir@
242 includedir = @includedir@
243 infodir = @infodir@
244 install_sh = @install_sh@
245 libdir = @libdir@
246 libexecdir = @libexecdir@
247 localedir = @localedir@
248 localstatedir = @localstatedir@
249 mandir = @mandir@
250 mkdir_p = @mkdir_p@
251 oldincludedir = @oldincludedir@
252 pdfdir = @pdfdir@
253 prefix = @prefix@
254 program_transform_name = @program_transform_name@
255 psdir = @psdir@
256 sbindir = @sbindir@
257 sharedstatedir = @sharedstatedir@
258 srcdir = @srcdir@
259 sysconfdir = @sysconfdir@
260 target_alias = @target_alias@
261 top_build_prefix = @top_build_prefix@
262 top_builddir = @top_builddir@
263 top_srcdir = @top_srcdir@
264 inplacedir = $(top_builddir)/.in_place
265
266 #----------------------------------------------------------------------------
267 # Flags
268 #----------------------------------------------------------------------------
269
270 # Baseline flags for all compilations.  Aim here is to maximise
271 # performance and get whatever useful warnings we can out of gcc.
272 AM_CFLAGS_BASE = \
273         -O2 -g \
274         -Wall \
275         -Wmissing-prototypes \
276         -Wshadow \
277         -Wpointer-arith \
278         -Wstrict-prototypes \
279         -Wmissing-declarations \
280         @FLAG_W_NO_FORMAT_ZERO_LENGTH@ \
281         -fno-strict-aliasing
282
283 @VGCONF_OS_IS_DARWIN_FALSE@AM_CFLAGS_PIC = -fpic -O -g -fno-omit-frame-pointer -fno-strict-aliasing
284
285 # These flags are used for building the preload shared objects.
286 # The aim is to give reasonable performance but also to have good
287 # stack traces, since users often see stack traces extending 
288 # into (and through) the preloads.
289 @VGCONF_OS_IS_DARWIN_TRUE@AM_CFLAGS_PIC = -dynamic -O -g -fno-omit-frame-pointer -fno-strict-aliasing \
290 @VGCONF_OS_IS_DARWIN_TRUE@              -mno-dynamic-no-pic -fpic -fPIC
291
292 @VGCONF_OS_IS_L4RE_FALSE@AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@ = \
293 @VGCONF_OS_IS_L4RE_FALSE@       -I$(top_srcdir) \
294 @VGCONF_OS_IS_L4RE_FALSE@       -I$(top_srcdir)/include \
295 @VGCONF_OS_IS_L4RE_FALSE@       -I$(top_srcdir)/VEX/pub \
296 @VGCONF_OS_IS_L4RE_FALSE@       -I$(top_builddir)/VEX/pub \
297 @VGCONF_OS_IS_L4RE_FALSE@       -DVGA_@VGCONF_ARCH_PRI@=1 \
298 @VGCONF_OS_IS_L4RE_FALSE@       -DVGO_@VGCONF_OS@=1 \
299 @VGCONF_OS_IS_L4RE_FALSE@       -DVGP_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1
300
301
302 # Flags for specific targets.
303 #
304 # Nb: the AM_CPPFLAGS_* values are suitable for building tools and auxprogs.
305 # For building the core, coregrind/Makefile.am files add some extra things.
306 #
307 # Also: in newer versions of automake (1.10 onwards?) asm files ending with
308 # '.S' are considered "pre-processed" (as opposed to those ending in '.s')
309 # and so the CPPFLAGS are passed to the assembler.  But this is not true for
310 # older automakes (e.g. 1.8.5, 1.9.6), sigh.  So we include
311 # AM_CPPFLAGS_<PLATFORM> in each AM_CCASFLAGS_<PLATFORM> variable.  This
312 # means some of the flags are duplicated on systems with newer versions of
313 # automake, but this does not really matter and seems hard to avoid.
314 @VGCONF_OS_IS_L4RE_TRUE@AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@ = $(L4_CPPFLAGS)\
315 @VGCONF_OS_IS_L4RE_TRUE@        -I$(top_srcdir) \
316 @VGCONF_OS_IS_L4RE_TRUE@        -I$(top_srcdir)/include \
317 @VGCONF_OS_IS_L4RE_TRUE@        -I$(top_srcdir)/VEX/pub \
318 @VGCONF_OS_IS_L4RE_TRUE@        -I$(top_builddir)/VEX/pub \
319 @VGCONF_OS_IS_L4RE_TRUE@        -DVGA_@VGCONF_ARCH_PRI@=1 \
320 @VGCONF_OS_IS_L4RE_TRUE@        -DVGO_@VGCONF_OS@=1 \
321 @VGCONF_OS_IS_L4RE_TRUE@        -DVGP_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1
322
323 @VGCONF_HAVE_PLATFORM_SEC_TRUE@AM_CPPFLAGS_@VGCONF_PLATFORM_SEC_CAPS@ = \
324 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_srcdir) \
325 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_srcdir)/include \
326 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_srcdir)/VEX/pub \
327 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_builddir)/VEX/pub \
328 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGA_@VGCONF_ARCH_SEC@=1 \
329 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGO_@VGCONF_OS@=1 \
330 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGP_@VGCONF_ARCH_SEC@_@VGCONF_OS@=1
331
332 AM_FLAG_M3264_X86_LINUX = @FLAG_M32@
333 AM_CFLAGS_X86_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \
334                                 $(AM_CFLAGS_BASE)
335
336 AM_CCASFLAGS_X86_LINUX = $(AM_CPPFLAGS_X86_LINUX) @FLAG_M32@ -g
337 AM_FLAG_M3264_AMD64_LINUX = @FLAG_M64@
338 AM_CFLAGS_AMD64_LINUX = @FLAG_M64@ -fomit-frame-pointer \
339                                 @PREFERRED_STACK_BOUNDARY@ $(AM_CFLAGS_BASE)
340
341 AM_CCASFLAGS_AMD64_LINUX = $(AM_CPPFLAGS_AMD64_LINUX) @FLAG_M64@ -g
342 AM_FLAG_M3264_PPC32_LINUX = @FLAG_M32@
343 AM_CFLAGS_PPC32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE)
344 AM_CCASFLAGS_PPC32_LINUX = $(AM_CPPFLAGS_PPC32_LINUX) @FLAG_M32@ -g
345 AM_FLAG_M3264_PPC64_LINUX = @FLAG_M64@
346 AM_CFLAGS_PPC64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE)
347 AM_CCASFLAGS_PPC64_LINUX = $(AM_CPPFLAGS_PPC64_LINUX) @FLAG_M64@ -g
348 AM_FLAG_M3264_ARM_LINUX = @FLAG_M32@
349 AM_CFLAGS_ARM_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \
350                                 $(AM_CFLAGS_BASE) -marm
351
352 AM_CCASFLAGS_ARM_LINUX = $(AM_CPPFLAGS_ARM_LINUX) @FLAG_M32@ -marm -g
353 AM_FLAG_M3264_PPC32_AIX5 = @FLAG_MAIX32@
354 AM_CFLAGS_PPC32_AIX5 = @FLAG_MAIX32@ -mcpu=powerpc $(AM_CFLAGS_BASE)
355 AM_CCASFLAGS_PPC32_AIX5 = $(AM_CPPFLAGS_PPC32_AIX5) \
356                             @FLAG_MAIX32@ -mcpu=powerpc -g
357
358 AM_FLAG_M3264_PPC64_AIX5 = @FLAG_MAIX64@
359 AM_CFLAGS_PPC64_AIX5 = @FLAG_MAIX64@ -mcpu=powerpc64 $(AM_CFLAGS_BASE)
360 AM_CCASFLAGS_PPC64_AIX5 = $(AM_CPPFLAGS_PPC64_AIX5) \
361                             @FLAG_MAIX64@ -mcpu=powerpc64 -g
362
363 AM_FLAG_M3264_X86_DARWIN = -arch i386
364 AM_CFLAGS_X86_DARWIN = $(WERROR) -arch i386 $(AM_CFLAGS_BASE) \
365                                 -mmacosx-version-min=10.5 \
366                                 -fno-stack-protector -fno-pic -fno-PIC
367
368 AM_CCASFLAGS_X86_DARWIN = $(AM_CPPFLAGS_X86_DARWIN) -arch i386 -g
369 AM_FLAG_M3264_AMD64_DARWIN = -arch x86_64
370 AM_CFLAGS_AMD64_DARWIN = $(WERROR) -arch x86_64 $(AM_CFLAGS_BASE) \
371                             -mmacosx-version-min=10.5 -fno-stack-protector
372
373 AM_CCASFLAGS_AMD64_DARWIN = $(AM_CPPFLAGS_AMD64_DARWIN) -arch x86_64 -g
374 AM_FLAG_M3264_X86_L4RE = @FLAG_M32@
375 AM_CFLAGS_X86_L4RE = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \
376                                                  $(L4_CFLAGS) $(AM_CFLAGS_BASE)
377
378 AM_CCASFLAGS_X86_L4RE = $(L4_CPPFLAGS) @FLAG_M32@ -g
379 AM_CXXFLAGS_X86_L4RE = $(L4_CXXFLAGS) @FLAG_M32@
380 #AM_CPPFLAGS_X86_L4RE   = $(L4_CPPFLAGS) $(AM_CPPFLAGS_X86_L4RE)
381 AM_FLAG_M3264_S390X_LINUX = @FLAG_M64@
382 AM_CFLAGS_S390X_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE)
383 AM_CCASFLAGS_S390X_LINUX = $(AM_CPPFLAGS_S390X_LINUX) -mzarch -march=z900 \
384                             @FLAG_M64@ -g
385
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 #
391 AM_FLAG_M3264_PRI = $(AM_FLAG_M3264_@VGCONF_PLATFORM_PRI_CAPS@)
392 AM_CPPFLAGS_PRI = $(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
393 AM_CFLAGS_PRI = $(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
394 AM_CCASFLAGS_PRI = $(AM_CCASFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
395 AM_CXXFLAGS_PRI = $(AM_CXXFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
396 @VGCONF_HAVE_PLATFORM_SEC_FALSE@AM_FLAG_M3264_SEC = 
397 @VGCONF_HAVE_PLATFORM_SEC_TRUE@AM_FLAG_M3264_SEC = $(AM_FLAG_M3264_@VGCONF_PLATFORM_SEC_CAPS@)
398
399 # Baseline link flags for making vgpreload shared objects.
400 #
401 PRELOAD_LDFLAGS_COMMON_LINUX = -nodefaultlibs -shared -Wl,-z,interpose,-z,initfirst
402 PRELOAD_LDFLAGS_COMMON_AIX5 = -nodefaultlibs -shared -Wl,-G -Wl,-bnogc
403 PRELOAD_LDFLAGS_COMMON_DARWIN = -dynamic -dynamiclib -all_load
404 PRELOAD_LDFLAGS_COMMON_L4RE = -nodefaultlibs -shared -Wl,-z,interpose,-z,initfirst
405 PRELOAD_LDFLAGS_X86_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
406 PRELOAD_LDFLAGS_AMD64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
407 PRELOAD_LDFLAGS_PPC32_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
408 PRELOAD_LDFLAGS_PPC64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
409 PRELOAD_LDFLAGS_ARM_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
410 PRELOAD_LDFLAGS_PPC32_AIX5 = $(PRELOAD_LDFLAGS_COMMON_AIX5)  @FLAG_MAIX32@
411 PRELOAD_LDFLAGS_PPC64_AIX5 = $(PRELOAD_LDFLAGS_COMMON_AIX5)  @FLAG_MAIX64@
412 PRELOAD_LDFLAGS_X86_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch i386
413 PRELOAD_LDFLAGS_AMD64_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch x86_64
414 PRELOAD_LDFLAGS_S390X_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
415 PRELOAD_LDFLAGS_X86_L4RE = $(PRELOAD_LDFLAGS_COMMON_L4RE) @FLAG_M32@
416 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \
417                 -I$(top_srcdir)/coregrind -I$(top_builddir)/include \
418                 -I$(top_srcdir)/VEX/pub \
419                 -DVGA_$(VGCONF_ARCH_PRI)=1 \
420                 -DVGO_$(VGCONF_OS)=1 \
421                 -DVGP_$(VGCONF_ARCH_PRI)_$(VGCONF_OS)=1
422
423 # Nb: Tools need to augment these flags with an arch-selection option, such
424 # as $(AM_FLAG_M3264_PRI).
425 AM_CFLAGS = -Winline -Wall -Wshadow -g $(AM_FLAG_M3264_PRI)
426 AM_CXXFLAGS = -Winline -Wall -Wshadow -g $(AM_FLAG_M3264_PRI)
427 # Include AM_CPPFLAGS in AM_CCASFLAGS to allow for older versions of
428 # automake;  see comments in Makefile.all.am for more detail.
429 AM_CCASFLAGS = $(AM_CPPFLAGS)
430 @VGCONF_OS_IS_DARWIN_TRUE@noinst_DSYMS = $(check_PROGRAMS)
431 SUBDIRS = . $(am__append_1)
432 DIST_SUBDIRS = x86 .
433 dist_noinst_SCRIPTS = filter_stderr filter_cachesim_discards
434 EXTRA_DIST = \
435         chdir.vgtest chdir.stderr.exp \
436         clreq.vgtest clreq.stderr.exp \
437         dlclose.vgtest dlclose.stderr.exp dlclose.stdout.exp \
438         notpower2.vgtest notpower2.stderr.exp \
439         wrap5.vgtest wrap5.stderr.exp wrap5.stdout.exp
440
441
442 # C ones
443 dlclose_LDADD = -ldl
444 @VGCONF_OS_IS_DARWIN_FALSE@myprint_so_LDFLAGS = $(AM_CFLAGS) -shared -fPIC
445 @VGCONF_OS_IS_DARWIN_TRUE@myprint_so_LDFLAGS = $(AM_CFLAGS) -dynamic -dynamiclib -all_load -fpic
446 myprint_so_SOURCES = myprint.c  # Only needed for automake-1.7.
447 myprint_so_CFLAGS = $(AM_CFLAGS) -fPIC
448 all: all-recursive
449
450 .SUFFIXES:
451 .SUFFIXES: .c .o .obj
452 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.tool-tests.am $(top_srcdir)/Makefile.all.am $(am__configure_deps)
453         @for dep in $?; do \
454           case '$(am__configure_deps)' in \
455             *$$dep*) \
456               ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
457                 && { if test -f $@; then exit 0; else break; fi; }; \
458               exit 1;; \
459           esac; \
460         done; \
461         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign cachegrind/tests/Makefile'; \
462         $(am__cd) $(top_srcdir) && \
463           $(AUTOMAKE) --foreign cachegrind/tests/Makefile
464 .PRECIOUS: Makefile
465 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
466         @case '$?' in \
467           *config.status*) \
468             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
469           *) \
470             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
471             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
472         esac;
473
474 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
475         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
476
477 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
478         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
479 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
480         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
481 $(am__aclocal_m4_deps):
482
483 clean-checkPROGRAMS:
484         -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
485 chdir$(EXEEXT): $(chdir_OBJECTS) $(chdir_DEPENDENCIES) 
486         @rm -f chdir$(EXEEXT)
487         $(LINK) $(chdir_OBJECTS) $(chdir_LDADD) $(LIBS)
488 clreq$(EXEEXT): $(clreq_OBJECTS) $(clreq_DEPENDENCIES) 
489         @rm -f clreq$(EXEEXT)
490         $(LINK) $(clreq_OBJECTS) $(clreq_LDADD) $(LIBS)
491 dlclose$(EXEEXT): $(dlclose_OBJECTS) $(dlclose_DEPENDENCIES) 
492         @rm -f dlclose$(EXEEXT)
493         $(LINK) $(dlclose_OBJECTS) $(dlclose_LDADD) $(LIBS)
494 myprint.so$(EXEEXT): $(myprint_so_OBJECTS) $(myprint_so_DEPENDENCIES) 
495         @rm -f myprint.so$(EXEEXT)
496         $(myprint_so_LINK) $(myprint_so_OBJECTS) $(myprint_so_LDADD) $(LIBS)
497
498 mostlyclean-compile:
499         -rm -f *.$(OBJEXT)
500
501 distclean-compile:
502         -rm -f *.tab.c
503
504 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chdir.Po@am__quote@
505 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/clreq.Po@am__quote@
506 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dlclose.Po@am__quote@
507 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/myprint_so-myprint.Po@am__quote@
508
509 .c.o:
510 @am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
511 @am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
512 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
513 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
514 @am__fastdepCC_FALSE@   $(COMPILE) -c $<
515
516 .c.obj:
517 @am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
518 @am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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 `$(CYGPATH_W) '$<'`
522
523 myprint_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
530 myprint_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"
598 tags-recursive:
599         list='$(SUBDIRS)'; for subdir in $$list; do \
600           test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
601         done
602 ctags-recursive:
603         list='$(SUBDIRS)'; for subdir in $$list; do \
604           test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
605         done
606
607 ID: $(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
615 tags: TAGS
616
617 TAGS: 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
651 ctags: CTAGS
652 CTAGS: 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
664 GTAGS:
665         here=`$(am__cd) $(top_builddir) && pwd` \
666           && $(am__cd) $(top_srcdir) \
667           && gtags -i $(GTAGS_ARGS) "$$here"
668
669 distclean-tags:
670         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
671
672 distdir: $(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
730 check-am: all-am
731         $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
732         $(MAKE) $(AM_MAKEFLAGS) check-local
733 check: check-recursive
734 all-am: Makefile $(SCRIPTS)
735 installdirs: installdirs-recursive
736 installdirs-am:
737 install: install-recursive
738 install-exec: install-exec-recursive
739 install-data: install-data-recursive
740 uninstall: uninstall-recursive
741
742 install-am: all-am
743         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
744
745 installcheck: installcheck-recursive
746 install-strip:
747         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
748           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
749           `test -z '$(STRIP)' || \
750             echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
751 mostlyclean-generic:
752
753 clean-generic:
754
755 distclean-generic:
756         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
757         -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
758
759 maintainer-clean-generic:
760         @echo "This command is intended for maintainers to use"
761         @echo "it deletes files that may require special tools to rebuild."
762 clean: clean-recursive
763
764 clean-am: clean-checkPROGRAMS clean-generic clean-local mostlyclean-am
765
766 distclean: distclean-recursive
767         -rm -rf ./$(DEPDIR)
768         -rm -f Makefile
769 distclean-am: clean-am distclean-compile distclean-generic \
770         distclean-tags
771
772 dvi: dvi-recursive
773
774 dvi-am:
775
776 html: html-recursive
777
778 html-am:
779
780 info: info-recursive
781
782 info-am:
783
784 install-data-am:
785
786 install-dvi: install-dvi-recursive
787
788 install-dvi-am:
789
790 install-exec-am:
791
792 install-html: install-html-recursive
793
794 install-html-am:
795
796 install-info: install-info-recursive
797
798 install-info-am:
799
800 install-man:
801
802 install-pdf: install-pdf-recursive
803
804 install-pdf-am:
805
806 install-ps: install-ps-recursive
807
808 install-ps-am:
809
810 installcheck-am:
811
812 maintainer-clean: maintainer-clean-recursive
813         -rm -rf ./$(DEPDIR)
814         -rm -f Makefile
815 maintainer-clean-am: distclean-am maintainer-clean-generic
816
817 mostlyclean: mostlyclean-recursive
818
819 mostlyclean-am: mostlyclean-compile mostlyclean-generic
820
821 pdf: pdf-recursive
822
823 pdf-am:
824
825 ps: ps-recursive
826
827 ps-am:
828
829 uninstall-am:
830
831 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) check-am \
832         ctags-recursive install-am install-strip tags-recursive
833
834 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
835         all all-am check check-am check-local clean \
836         clean-checkPROGRAMS clean-generic clean-local ctags \
837         ctags-recursive distclean distclean-compile distclean-generic \
838         distclean-tags distdir dvi dvi-am html html-am info info-am \
839         install install-am install-data install-data-am install-dvi \
840         install-dvi-am install-exec install-exec-am install-html \
841         install-html-am install-info install-info-am install-man \
842         install-pdf install-pdf-am install-ps install-ps-am \
843         install-strip installcheck installcheck-am installdirs \
844         installdirs-am maintainer-clean maintainer-clean-generic \
845         mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \
846         ps ps-am tags tags-recursive uninstall uninstall-am
847
848
849 # This used to be required when Vex had a handwritten Makefile.  It
850 # shouldn't be needed any more, though.
851
852 #----------------------------------------------------------------------------
853 # noinst_PROGRAMS and noinst_DSYMS targets
854 #----------------------------------------------------------------------------
855
856 # On Darwin, for a program 'p', the DWARF debug info is stored in the
857 # directory 'p.dSYM'.  This must be generated after the executable is
858 # created, with 'dsymutil p'.  We could redefine LINK with a script that
859 # executes 'dsymutil' after linking, but that's a pain.  Instead we use this
860 # hook so that every time "make check" is run, we subsequently invoke
861 # 'dsymutil' on all the executables that lack a .dSYM directory, or that are
862 # newer than their corresponding .dSYM directory.
863 build-noinst_DSYMS: $(noinst_DSYMS)
864         for f in $(noinst_DSYMS); do \
865           if [ ! -e $$f.dSYM  -o  $$f -nt $$f.dSYM ] ; then \
866               echo "dsymutil $$f"; \
867               dsymutil $$f; \
868           fi; \
869         done
870
871 # This is used by coregrind/Makefile.am and Makefile.tool.am for doing
872 # "in-place" installs.  It copies $(noinst_PROGRAMS) into $inplacedir.
873 # It needs to be depended on by an 'all-local' rule.
874 inplace-noinst_PROGRAMS: $(noinst_PROGRAMS)
875         mkdir -p $(inplacedir); \
876         for f in $(noinst_PROGRAMS) ; do \
877           rm -f $(inplacedir)/$$f; \
878           ln -f -s ../$(subdir)/$$f $(inplacedir); \
879         done
880
881 # Similar to inplace-noinst_PROGRAMS
882 inplace-noinst_DSYMS: build-noinst_DSYMS
883         mkdir -p $(inplacedir); \
884         for f in $(noinst_DSYMS); do \
885           rm -f $(inplacedir)/$$f.dSYM; \
886           ln -f -s ../$(subdir)/$$f.dSYM $(inplacedir); \
887         done
888
889 # This is used by coregrind/Makefile.am and by <tool>/Makefile.am for doing
890 # "make install".  It copies $(noinst_PROGRAMS) into $prefix/lib/valgrind/.
891 # It needs to be depended on by an 'install-exec-local' rule.
892 install-noinst_PROGRAMS: $(noinst_PROGRAMS)
893         $(mkinstalldirs) $(DESTDIR)$(pkglibdir); \
894         for f in $(noinst_PROGRAMS); do \
895           $(INSTALL_PROGRAM) $$f $(DESTDIR)$(pkglibdir); \
896         done
897
898 # Similar to install-noinst_PROGRAMS.
899 # Nb: we don't use $(INSTALL_PROGRAM) here because it doesn't work with
900 # directories.  XXX: not sure whether the resulting permissions will be
901 # correct when using 'cp -R'...
902 install-noinst_DSYMS: build-noinst_DSYMS
903         $(mkinstalldirs) $(DESTDIR)$(pkglibdir); \
904         for f in $(noinst_DSYMS); do \
905           cp -R $$f.dSYM $(DESTDIR)$(pkglibdir); \
906         done
907
908 # This needs to be depended on by a 'clean-local' rule.
909 clean-noinst_DSYMS:
910         for f in $(noinst_DSYMS); do \
911           rm -rf $$f.dSYM; \
912         done
913
914 check-local: build-noinst_DSYMS
915
916 clean-local: clean-noinst_DSYMS
917
918 # Tell versions [3.59,3.63) of GNU make to not export all variables.
919 # Otherwise a system limit (for SysV at least) may be exceeded.
920 .NOEXPORT: