1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
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.
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
18 # This file is used for tool tests, and also in perf/Makefile.am.
20 # This file should be included (directly or indirectly) by every
21 # Makefile.am that builds programs. And also the top-level Makefile.am.
23 #----------------------------------------------------------------------------
25 #----------------------------------------------------------------------------
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)
44 build_triplet = @build@
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) \
55 mkinstalldirs = $(install_sh) -d
56 CONFIG_HEADER = $(top_builddir)/config.h
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
73 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
74 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
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 \
93 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
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"`; \
107 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
108 if test "$$first2" = "$$first"; then \
109 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
113 dir0="$$dir0"/"$$first"; \
116 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
122 AUTOCONF = @AUTOCONF@
123 AUTOHEADER = @AUTOHEADER@
124 AUTOMAKE = @AUTOMAKE@
126 BOOST_CFLAGS = @BOOST_CFLAGS@
127 BOOST_LIBS = @BOOST_LIBS@
130 CCASDEPMODE = @CCASDEPMODE@
131 CCASFLAGS = @CCASFLAGS@
132 CCDEPMODE = @CCDEPMODE@
135 CPPFLAGS = @CPPFLAGS@
137 CXXDEPMODE = @CXXDEPMODE@
138 CXXFLAGS = @CXXFLAGS@
139 CYGPATH_W = @CYGPATH_W@
140 DEFAULT_SUPP = @DEFAULT_SUPP@
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@
162 GENERATED_SUPP = @GENERATED_SUPP@
163 GLIBC_VERSION = @GLIBC_VERSION@
166 INSTALL_DATA = @INSTALL_DATA@
167 INSTALL_PROGRAM = @INSTALL_PROGRAM@
168 INSTALL_SCRIPT = @INSTALL_SCRIPT@
169 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
174 LTLIBOBJS = @LTLIBOBJS@
176 MAKEINFO = @MAKEINFO@
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@
189 PKG_CONFIG = @PKG_CONFIG@
190 PREFERRED_STACK_BOUNDARY = @PREFERRED_STACK_BOUNDARY@
191 QTCORE_CFLAGS = @QTCORE_CFLAGS@
192 QTCORE_LIBS = @QTCORE_LIBS@
194 SET_MAKE = @SET_MAKE@
197 VALT_LOAD_ADDRESS = @VALT_LOAD_ADDRESS@
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@
214 am__untar = @am__untar@
217 build_alias = @build_alias@
218 build_cpu = @build_cpu@
219 build_os = @build_os@
220 build_vendor = @build_vendor@
221 builddir = @builddir@
223 datarootdir = @datarootdir@
226 exec_prefix = @exec_prefix@
228 host_alias = @host_alias@
229 host_cpu = @host_cpu@
231 host_vendor = @host_vendor@
233 includedir = @includedir@
235 install_sh = @install_sh@
237 libexecdir = @libexecdir@
238 localedir = @localedir@
239 localstatedir = @localstatedir@
242 oldincludedir = @oldincludedir@
245 program_transform_name = @program_transform_name@
248 sharedstatedir = @sharedstatedir@
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
257 #----------------------------------------------------------------------------
259 #----------------------------------------------------------------------------
261 # Baseline flags for all compilations. Aim here is to maximise
262 # performance and get whatever useful warnings we can out of gcc.
266 -Wmissing-prototypes \
269 -Wstrict-prototypes \
270 -Wmissing-declarations \
271 @FLAG_W_NO_FORMAT_ZERO_LENGTH@ \
274 @VGCONF_OS_IS_DARWIN_FALSE@AM_CFLAGS_PIC = -fpic -O -g -fno-omit-frame-pointer -fno-strict-aliasing
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
291 # Flags for specific targets.
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.
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
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
321 AM_FLAG_M3264_X86_LINUX = @FLAG_M32@
322 AM_CFLAGS_X86_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \
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)
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@ \
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
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
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 \
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
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)
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)
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.
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@)
383 # Baseline link flags for making vgpreload shared objects.
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
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)
416 dist_noinst_SCRIPTS = filter_stderr
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
428 threads_LDADD = -lpthread
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)
435 case '$(am__configure_deps)' in \
437 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
438 && { if test -f $@; then exit 0; else break; fi; }; \
442 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign callgrind/tests/Makefile'; \
443 $(am__cd) $(top_srcdir) && \
444 $(AUTOMAKE) --foreign callgrind/tests/Makefile
446 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
449 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
451 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
452 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
455 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
456 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
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):
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)
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@
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 $<
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) '$<'`
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 \
511 *k*) failcom='fail=yes';; \
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 \
520 local_target="$$target-am"; \
522 local_target="$$target"; \
524 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
527 if test "$$dot_seen" = "no"; then \
528 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
531 $(RECURSIVE_CLEAN_TARGETS):
532 @fail= failcom='exit 1'; \
533 for f in x $$MAKEFLAGS; do \
536 *k*) failcom='fail=yes';; \
541 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
542 *) list='$(SUBDIRS)' ;; \
544 rev=''; for subdir in $$list; do \
545 if test "$$subdir" = "."; then :; else \
546 rev="$$subdir $$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"; \
556 local_target="$$target"; \
558 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
560 done && test -z "$$fail"
562 list='$(SUBDIRS)'; for subdir in $$list; do \
563 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
566 list='$(SUBDIRS)'; for subdir in $$list; do \
567 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
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; \
575 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
576 END { if (nonempty) { for (i in files) print i; }; }'`; \
580 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
581 $(TAGS_FILES) $(LISP)
584 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
585 include_option=--etags-include; \
588 include_option=--include; \
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"; \
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; \
601 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
602 END { if (nonempty) { for (i in files) print i; }; }'`; \
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) \
610 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
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; \
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) \
628 here=`$(am__cd) $(top_builddir) && pwd` \
629 && $(am__cd) $(top_srcdir) \
630 && gtags -i $(GTAGS_ARGS) "$$here"
633 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
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,/[^/]*$$,,' | \
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 {} \;; \
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 {} \;; \
658 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
660 test -f "$(distdir)/$$file" \
661 || cp -p $$d/$$file "$(distdir)/$$file" \
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" \
672 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
673 if test "$$subdir" = .; then :; else \
674 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
676 new_distdir=$$reldir; \
677 dir1=$$subdir; dir2="$(top_distdir)"; \
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=: \
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
700 install: install-recursive
701 install-exec: install-exec-recursive
702 install-data: install-data-recursive
703 uninstall: uninstall-recursive
706 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
708 installcheck: installcheck-recursive
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
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)
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
727 clean-am: clean-checkPROGRAMS clean-generic clean-local mostlyclean-am
729 distclean: distclean-recursive
732 distclean-am: clean-am distclean-compile distclean-generic \
749 install-dvi: install-dvi-recursive
755 install-html: install-html-recursive
759 install-info: install-info-recursive
765 install-pdf: install-pdf-recursive
769 install-ps: install-ps-recursive
775 maintainer-clean: maintainer-clean-recursive
778 maintainer-clean-am: distclean-am maintainer-clean-generic
780 mostlyclean: mostlyclean-recursive
782 mostlyclean-am: mostlyclean-compile mostlyclean-generic
794 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) check-am \
795 ctags-recursive install-am install-strip tags-recursive
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
812 # This used to be required when Vex had a handwritten Makefile. It
813 # shouldn't be needed any more, though.
815 #----------------------------------------------------------------------------
816 # noinst_PROGRAMS and noinst_DSYMS targets
817 #----------------------------------------------------------------------------
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"; \
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); \
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); \
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); \
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); \
871 # This needs to be depended on by a 'clean-local' rule.
873 for f in $(noinst_DSYMS); do \
877 check-local: build-noinst_DSYMS
879 clean-local: clean-noinst_DSYMS
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.