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