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