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 @VGCONF_ARCHS_INCLUDE_X86_TRUE@am__append_1 = x86
50 check_PROGRAMS = chdir$(EXEEXT) clreq$(EXEEXT) dlclose$(EXEEXT) \
52 subdir = cachegrind/tests
53 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
54 am__aclocal_m4_deps = $(top_srcdir)/configure.in
55 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
57 mkinstalldirs = $(install_sh) -d
58 CONFIG_HEADER = $(top_builddir)/config.h
60 CONFIG_CLEAN_VPATH_FILES =
61 chdir_SOURCES = chdir.c
62 chdir_OBJECTS = chdir.$(OBJEXT)
63 chdir_LDADD = $(LDADD)
64 clreq_SOURCES = clreq.c
65 clreq_OBJECTS = clreq.$(OBJEXT)
66 clreq_LDADD = $(LDADD)
67 dlclose_SOURCES = dlclose.c
68 dlclose_OBJECTS = dlclose.$(OBJEXT)
69 dlclose_DEPENDENCIES =
70 am_myprint_so_OBJECTS = myprint_so-myprint.$(OBJEXT)
71 myprint_so_OBJECTS = $(am_myprint_so_OBJECTS)
72 myprint_so_LDADD = $(LDADD)
73 myprint_so_LINK = $(CCLD) $(myprint_so_CFLAGS) $(CFLAGS) \
74 $(myprint_so_LDFLAGS) $(LDFLAGS) -o $@
75 SCRIPTS = $(dist_noinst_SCRIPTS)
76 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
77 depcomp = $(SHELL) $(top_srcdir)/depcomp
78 am__depfiles_maybe = depfiles
80 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
81 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
83 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
84 SOURCES = chdir.c clreq.c dlclose.c $(myprint_so_SOURCES)
85 DIST_SOURCES = chdir.c clreq.c dlclose.c $(myprint_so_SOURCES)
86 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
87 html-recursive info-recursive install-data-recursive \
88 install-dvi-recursive install-exec-recursive \
89 install-html-recursive install-info-recursive \
90 install-pdf-recursive install-ps-recursive install-recursive \
91 installcheck-recursive installdirs-recursive pdf-recursive \
92 ps-recursive uninstall-recursive
93 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
94 distclean-recursive maintainer-clean-recursive
95 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
96 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
100 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
103 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
104 sed_rest='s,^[^/]*/*,,'; \
105 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
106 sed_butlast='s,/*[^/]*$$,,'; \
107 while test -n "$$dir1"; do \
108 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
109 if test "$$first" != "."; then \
110 if test "$$first" = ".."; then \
111 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
112 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
114 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
115 if test "$$first2" = "$$first"; then \
116 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
120 dir0="$$dir0"/"$$first"; \
123 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
129 AUTOCONF = @AUTOCONF@
130 AUTOHEADER = @AUTOHEADER@
131 AUTOMAKE = @AUTOMAKE@
133 BOOST_CFLAGS = @BOOST_CFLAGS@
134 BOOST_LIBS = @BOOST_LIBS@
137 CCASDEPMODE = @CCASDEPMODE@
138 CCASFLAGS = @CCASFLAGS@
139 CCDEPMODE = @CCDEPMODE@
142 CPPFLAGS = @CPPFLAGS@
144 CXXDEPMODE = @CXXDEPMODE@
145 CXXFLAGS = @CXXFLAGS@
146 CYGPATH_W = @CYGPATH_W@
147 DEFAULT_SUPP = @DEFAULT_SUPP@
156 FLAG_FNO_STACK_PROTECTOR = @FLAG_FNO_STACK_PROTECTOR@
157 FLAG_M32 = @FLAG_M32@
158 FLAG_M64 = @FLAG_M64@
159 FLAG_MAIX32 = @FLAG_MAIX32@
160 FLAG_MAIX64 = @FLAG_MAIX64@
161 FLAG_MMMX = @FLAG_MMMX@
162 FLAG_MSSE = @FLAG_MSSE@
163 FLAG_NO_BUILD_ID = @FLAG_NO_BUILD_ID@
164 FLAG_UNLIMITED_INLINE_UNIT_GROWTH = @FLAG_UNLIMITED_INLINE_UNIT_GROWTH@
165 FLAG_W_EXTRA = @FLAG_W_EXTRA@
166 FLAG_W_NO_EMPTY_BODY = @FLAG_W_NO_EMPTY_BODY@
167 FLAG_W_NO_FORMAT_ZERO_LENGTH = @FLAG_W_NO_FORMAT_ZERO_LENGTH@
168 FLAG_W_NO_NONNULL = @FLAG_W_NO_NONNULL@
169 FLAG_W_NO_OVERFLOW = @FLAG_W_NO_OVERFLOW@
170 FLAG_W_NO_UNINITIALIZED = @FLAG_W_NO_UNINITIALIZED@
172 GENERATED_SUPP = @GENERATED_SUPP@
173 GLIBC_VERSION = @GLIBC_VERSION@
176 INSTALL_DATA = @INSTALL_DATA@
177 INSTALL_PROGRAM = @INSTALL_PROGRAM@
178 INSTALL_SCRIPT = @INSTALL_SCRIPT@
179 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
184 LTLIBOBJS = @LTLIBOBJS@
186 MAKEINFO = @MAKEINFO@
191 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
192 PACKAGE_NAME = @PACKAGE_NAME@
193 PACKAGE_STRING = @PACKAGE_STRING@
194 PACKAGE_TARNAME = @PACKAGE_TARNAME@
195 PACKAGE_URL = @PACKAGE_URL@
196 PACKAGE_VERSION = @PACKAGE_VERSION@
197 PATH_SEPARATOR = @PATH_SEPARATOR@
199 PREFERRED_STACK_BOUNDARY = @PREFERRED_STACK_BOUNDARY@
202 SET_MAKE = @SET_MAKE@
205 VALT_LOAD_ADDRESS_PRI = @VALT_LOAD_ADDRESS_PRI@
206 VALT_LOAD_ADDRESS_SEC = @VALT_LOAD_ADDRESS_SEC@
208 VGCONF_ARCH_PRI = @VGCONF_ARCH_PRI@
209 VGCONF_ARCH_SEC = @VGCONF_ARCH_SEC@
210 VGCONF_OS = @VGCONF_OS@
211 VGCONF_PLATFORM_PRI_CAPS = @VGCONF_PLATFORM_PRI_CAPS@
212 VGCONF_PLATFORM_SEC_CAPS = @VGCONF_PLATFORM_SEC_CAPS@
213 abs_builddir = @abs_builddir@
214 abs_srcdir = @abs_srcdir@
215 abs_top_builddir = @abs_top_builddir@
216 abs_top_srcdir = @abs_top_srcdir@
217 ac_ct_CC = @ac_ct_CC@
218 ac_ct_CXX = @ac_ct_CXX@
219 am__include = @am__include@
220 am__leading_dot = @am__leading_dot@
221 am__quote = @am__quote@
223 am__untar = @am__untar@
226 build_alias = @build_alias@
227 build_cpu = @build_cpu@
228 build_os = @build_os@
229 build_vendor = @build_vendor@
230 builddir = @builddir@
232 datarootdir = @datarootdir@
235 exec_prefix = @exec_prefix@
237 host_alias = @host_alias@
238 host_cpu = @host_cpu@
240 host_vendor = @host_vendor@
242 includedir = @includedir@
244 install_sh = @install_sh@
246 libexecdir = @libexecdir@
247 localedir = @localedir@
248 localstatedir = @localstatedir@
251 oldincludedir = @oldincludedir@
254 program_transform_name = @program_transform_name@
257 sharedstatedir = @sharedstatedir@
259 sysconfdir = @sysconfdir@
260 target_alias = @target_alias@
261 top_build_prefix = @top_build_prefix@
262 top_builddir = @top_builddir@
263 top_srcdir = @top_srcdir@
264 inplacedir = $(top_builddir)/.in_place
266 #----------------------------------------------------------------------------
268 #----------------------------------------------------------------------------
270 # Baseline flags for all compilations. Aim here is to maximise
271 # performance and get whatever useful warnings we can out of gcc.
275 -Wmissing-prototypes \
278 -Wstrict-prototypes \
279 -Wmissing-declarations \
280 @FLAG_W_NO_FORMAT_ZERO_LENGTH@ \
283 @VGCONF_OS_IS_DARWIN_FALSE@AM_CFLAGS_PIC = -fpic -O -g -fno-omit-frame-pointer -fno-strict-aliasing
285 # These flags are used for building the preload shared objects.
286 # The aim is to give reasonable performance but also to have good
287 # stack traces, since users often see stack traces extending
288 # into (and through) the preloads.
289 @VGCONF_OS_IS_DARWIN_TRUE@AM_CFLAGS_PIC = -dynamic -O -g -fno-omit-frame-pointer -fno-strict-aliasing \
290 @VGCONF_OS_IS_DARWIN_TRUE@ -mno-dynamic-no-pic -fpic -fPIC
292 @VGCONF_OS_IS_L4RE_FALSE@AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@ = \
293 @VGCONF_OS_IS_L4RE_FALSE@ -I$(top_srcdir) \
294 @VGCONF_OS_IS_L4RE_FALSE@ -I$(top_srcdir)/include \
295 @VGCONF_OS_IS_L4RE_FALSE@ -I$(top_srcdir)/VEX/pub \
296 @VGCONF_OS_IS_L4RE_FALSE@ -I$(top_builddir)/VEX/pub \
297 @VGCONF_OS_IS_L4RE_FALSE@ -DVGA_@VGCONF_ARCH_PRI@=1 \
298 @VGCONF_OS_IS_L4RE_FALSE@ -DVGO_@VGCONF_OS@=1 \
299 @VGCONF_OS_IS_L4RE_FALSE@ -DVGP_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1
302 # Flags for specific targets.
304 # Nb: the AM_CPPFLAGS_* values are suitable for building tools and auxprogs.
305 # For building the core, coregrind/Makefile.am files add some extra things.
307 # Also: in newer versions of automake (1.10 onwards?) asm files ending with
308 # '.S' are considered "pre-processed" (as opposed to those ending in '.s')
309 # and so the CPPFLAGS are passed to the assembler. But this is not true for
310 # older automakes (e.g. 1.8.5, 1.9.6), sigh. So we include
311 # AM_CPPFLAGS_<PLATFORM> in each AM_CCASFLAGS_<PLATFORM> variable. This
312 # means some of the flags are duplicated on systems with newer versions of
313 # automake, but this does not really matter and seems hard to avoid.
314 @VGCONF_OS_IS_L4RE_TRUE@AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@ = $(L4_CPPFLAGS)\
315 @VGCONF_OS_IS_L4RE_TRUE@ -I$(top_srcdir) \
316 @VGCONF_OS_IS_L4RE_TRUE@ -I$(top_srcdir)/include \
317 @VGCONF_OS_IS_L4RE_TRUE@ -I$(top_srcdir)/VEX/pub \
318 @VGCONF_OS_IS_L4RE_TRUE@ -I$(top_builddir)/VEX/pub \
319 @VGCONF_OS_IS_L4RE_TRUE@ -DVGA_@VGCONF_ARCH_PRI@=1 \
320 @VGCONF_OS_IS_L4RE_TRUE@ -DVGO_@VGCONF_OS@=1 \
321 @VGCONF_OS_IS_L4RE_TRUE@ -DVGP_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1
323 @VGCONF_HAVE_PLATFORM_SEC_TRUE@AM_CPPFLAGS_@VGCONF_PLATFORM_SEC_CAPS@ = \
324 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_srcdir) \
325 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_srcdir)/include \
326 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_srcdir)/VEX/pub \
327 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_builddir)/VEX/pub \
328 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGA_@VGCONF_ARCH_SEC@=1 \
329 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGO_@VGCONF_OS@=1 \
330 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGP_@VGCONF_ARCH_SEC@_@VGCONF_OS@=1
332 AM_FLAG_M3264_X86_LINUX = @FLAG_M32@
333 AM_CFLAGS_X86_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \
336 AM_CCASFLAGS_X86_LINUX = $(AM_CPPFLAGS_X86_LINUX) @FLAG_M32@ -g
337 AM_FLAG_M3264_AMD64_LINUX = @FLAG_M64@
338 AM_CFLAGS_AMD64_LINUX = @FLAG_M64@ -fomit-frame-pointer \
339 @PREFERRED_STACK_BOUNDARY@ $(AM_CFLAGS_BASE)
341 AM_CCASFLAGS_AMD64_LINUX = $(AM_CPPFLAGS_AMD64_LINUX) @FLAG_M64@ -g
342 AM_FLAG_M3264_PPC32_LINUX = @FLAG_M32@
343 AM_CFLAGS_PPC32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE)
344 AM_CCASFLAGS_PPC32_LINUX = $(AM_CPPFLAGS_PPC32_LINUX) @FLAG_M32@ -g
345 AM_FLAG_M3264_PPC64_LINUX = @FLAG_M64@
346 AM_CFLAGS_PPC64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE)
347 AM_CCASFLAGS_PPC64_LINUX = $(AM_CPPFLAGS_PPC64_LINUX) @FLAG_M64@ -g
348 AM_FLAG_M3264_ARM_LINUX = @FLAG_M32@
349 AM_CFLAGS_ARM_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \
350 $(AM_CFLAGS_BASE) -marm
352 AM_CCASFLAGS_ARM_LINUX = $(AM_CPPFLAGS_ARM_LINUX) @FLAG_M32@ -marm -g
353 AM_FLAG_M3264_PPC32_AIX5 = @FLAG_MAIX32@
354 AM_CFLAGS_PPC32_AIX5 = @FLAG_MAIX32@ -mcpu=powerpc $(AM_CFLAGS_BASE)
355 AM_CCASFLAGS_PPC32_AIX5 = $(AM_CPPFLAGS_PPC32_AIX5) \
356 @FLAG_MAIX32@ -mcpu=powerpc -g
358 AM_FLAG_M3264_PPC64_AIX5 = @FLAG_MAIX64@
359 AM_CFLAGS_PPC64_AIX5 = @FLAG_MAIX64@ -mcpu=powerpc64 $(AM_CFLAGS_BASE)
360 AM_CCASFLAGS_PPC64_AIX5 = $(AM_CPPFLAGS_PPC64_AIX5) \
361 @FLAG_MAIX64@ -mcpu=powerpc64 -g
363 AM_FLAG_M3264_X86_DARWIN = -arch i386
364 AM_CFLAGS_X86_DARWIN = $(WERROR) -arch i386 $(AM_CFLAGS_BASE) \
365 -mmacosx-version-min=10.5 \
366 -fno-stack-protector -fno-pic -fno-PIC
368 AM_CCASFLAGS_X86_DARWIN = $(AM_CPPFLAGS_X86_DARWIN) -arch i386 -g
369 AM_FLAG_M3264_AMD64_DARWIN = -arch x86_64
370 AM_CFLAGS_AMD64_DARWIN = $(WERROR) -arch x86_64 $(AM_CFLAGS_BASE) \
371 -mmacosx-version-min=10.5 -fno-stack-protector
373 AM_CCASFLAGS_AMD64_DARWIN = $(AM_CPPFLAGS_AMD64_DARWIN) -arch x86_64 -g
374 AM_FLAG_M3264_X86_L4RE = @FLAG_M32@
375 AM_CFLAGS_X86_L4RE = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \
376 $(L4_CFLAGS) $(AM_CFLAGS_BASE)
378 AM_CCASFLAGS_X86_L4RE = $(L4_CPPFLAGS) @FLAG_M32@ -g
379 AM_CXXFLAGS_X86_L4RE = $(L4_CXXFLAGS) @FLAG_M32@
380 #AM_CPPFLAGS_X86_L4RE = $(L4_CPPFLAGS) $(AM_CPPFLAGS_X86_L4RE)
381 AM_FLAG_M3264_S390X_LINUX = @FLAG_M64@
382 AM_CFLAGS_S390X_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE)
383 AM_CCASFLAGS_S390X_LINUX = $(AM_CPPFLAGS_S390X_LINUX) -mzarch -march=z900 \
387 # Flags for the primary target. These must be used to build the
388 # regtests and performance tests. In fact, these must be used to
389 # build anything which is built only once on a dual-arch build.
391 AM_FLAG_M3264_PRI = $(AM_FLAG_M3264_@VGCONF_PLATFORM_PRI_CAPS@)
392 AM_CPPFLAGS_PRI = $(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
393 AM_CFLAGS_PRI = $(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
394 AM_CCASFLAGS_PRI = $(AM_CCASFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
395 AM_CXXFLAGS_PRI = $(AM_CXXFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
396 @VGCONF_HAVE_PLATFORM_SEC_FALSE@AM_FLAG_M3264_SEC =
397 @VGCONF_HAVE_PLATFORM_SEC_TRUE@AM_FLAG_M3264_SEC = $(AM_FLAG_M3264_@VGCONF_PLATFORM_SEC_CAPS@)
399 # Baseline link flags for making vgpreload shared objects.
401 PRELOAD_LDFLAGS_COMMON_LINUX = -nodefaultlibs -shared -Wl,-z,interpose,-z,initfirst
402 PRELOAD_LDFLAGS_COMMON_AIX5 = -nodefaultlibs -shared -Wl,-G -Wl,-bnogc
403 PRELOAD_LDFLAGS_COMMON_DARWIN = -dynamic -dynamiclib -all_load
404 PRELOAD_LDFLAGS_COMMON_L4RE = -nodefaultlibs -shared -Wl,-z,interpose,-z,initfirst
405 PRELOAD_LDFLAGS_X86_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
406 PRELOAD_LDFLAGS_AMD64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
407 PRELOAD_LDFLAGS_PPC32_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
408 PRELOAD_LDFLAGS_PPC64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
409 PRELOAD_LDFLAGS_ARM_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
410 PRELOAD_LDFLAGS_PPC32_AIX5 = $(PRELOAD_LDFLAGS_COMMON_AIX5) @FLAG_MAIX32@
411 PRELOAD_LDFLAGS_PPC64_AIX5 = $(PRELOAD_LDFLAGS_COMMON_AIX5) @FLAG_MAIX64@
412 PRELOAD_LDFLAGS_X86_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch i386
413 PRELOAD_LDFLAGS_AMD64_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch x86_64
414 PRELOAD_LDFLAGS_S390X_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
415 PRELOAD_LDFLAGS_X86_L4RE = $(PRELOAD_LDFLAGS_COMMON_L4RE) @FLAG_M32@
416 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \
417 -I$(top_srcdir)/coregrind -I$(top_builddir)/include \
418 -I$(top_srcdir)/VEX/pub \
419 -DVGA_$(VGCONF_ARCH_PRI)=1 \
420 -DVGO_$(VGCONF_OS)=1 \
421 -DVGP_$(VGCONF_ARCH_PRI)_$(VGCONF_OS)=1
423 # Nb: Tools need to augment these flags with an arch-selection option, such
424 # as $(AM_FLAG_M3264_PRI).
425 AM_CFLAGS = -Winline -Wall -Wshadow -g $(AM_FLAG_M3264_PRI)
426 AM_CXXFLAGS = -Winline -Wall -Wshadow -g $(AM_FLAG_M3264_PRI)
427 # Include AM_CPPFLAGS in AM_CCASFLAGS to allow for older versions of
428 # automake; see comments in Makefile.all.am for more detail.
429 AM_CCASFLAGS = $(AM_CPPFLAGS)
430 @VGCONF_OS_IS_DARWIN_TRUE@noinst_DSYMS = $(check_PROGRAMS)
431 SUBDIRS = . $(am__append_1)
433 dist_noinst_SCRIPTS = filter_stderr filter_cachesim_discards
435 chdir.vgtest chdir.stderr.exp \
436 clreq.vgtest clreq.stderr.exp \
437 dlclose.vgtest dlclose.stderr.exp dlclose.stdout.exp \
438 notpower2.vgtest notpower2.stderr.exp \
439 wrap5.vgtest wrap5.stderr.exp wrap5.stdout.exp
444 @VGCONF_OS_IS_DARWIN_FALSE@myprint_so_LDFLAGS = $(AM_CFLAGS) -shared -fPIC
445 @VGCONF_OS_IS_DARWIN_TRUE@myprint_so_LDFLAGS = $(AM_CFLAGS) -dynamic -dynamiclib -all_load -fpic
446 myprint_so_SOURCES = myprint.c # Only needed for automake-1.7.
447 myprint_so_CFLAGS = $(AM_CFLAGS) -fPIC
451 .SUFFIXES: .c .o .obj
452 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.tool-tests.am $(top_srcdir)/Makefile.all.am $(am__configure_deps)
454 case '$(am__configure_deps)' in \
456 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
457 && { if test -f $@; then exit 0; else break; fi; }; \
461 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign cachegrind/tests/Makefile'; \
462 $(am__cd) $(top_srcdir) && \
463 $(AUTOMAKE) --foreign cachegrind/tests/Makefile
465 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
468 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
470 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
471 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
474 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
475 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
477 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
478 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
479 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
480 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
481 $(am__aclocal_m4_deps):
484 -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
485 chdir$(EXEEXT): $(chdir_OBJECTS) $(chdir_DEPENDENCIES)
486 @rm -f chdir$(EXEEXT)
487 $(LINK) $(chdir_OBJECTS) $(chdir_LDADD) $(LIBS)
488 clreq$(EXEEXT): $(clreq_OBJECTS) $(clreq_DEPENDENCIES)
489 @rm -f clreq$(EXEEXT)
490 $(LINK) $(clreq_OBJECTS) $(clreq_LDADD) $(LIBS)
491 dlclose$(EXEEXT): $(dlclose_OBJECTS) $(dlclose_DEPENDENCIES)
492 @rm -f dlclose$(EXEEXT)
493 $(LINK) $(dlclose_OBJECTS) $(dlclose_LDADD) $(LIBS)
494 myprint.so$(EXEEXT): $(myprint_so_OBJECTS) $(myprint_so_DEPENDENCIES)
495 @rm -f myprint.so$(EXEEXT)
496 $(myprint_so_LINK) $(myprint_so_OBJECTS) $(myprint_so_LDADD) $(LIBS)
504 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chdir.Po@am__quote@
505 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/clreq.Po@am__quote@
506 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dlclose.Po@am__quote@
507 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/myprint_so-myprint.Po@am__quote@
510 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
511 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
512 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
513 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
514 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
517 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
518 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
519 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
520 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
521 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
523 myprint_so-myprint.o: myprint.c
524 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(myprint_so_CFLAGS) $(CFLAGS) -MT myprint_so-myprint.o -MD -MP -MF $(DEPDIR)/myprint_so-myprint.Tpo -c -o myprint_so-myprint.o `test -f 'myprint.c' || echo '$(srcdir)/'`myprint.c
525 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/myprint_so-myprint.Tpo $(DEPDIR)/myprint_so-myprint.Po
526 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='myprint.c' object='myprint_so-myprint.o' libtool=no @AMDEPBACKSLASH@
527 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
528 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(myprint_so_CFLAGS) $(CFLAGS) -c -o myprint_so-myprint.o `test -f 'myprint.c' || echo '$(srcdir)/'`myprint.c
530 myprint_so-myprint.obj: myprint.c
531 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(myprint_so_CFLAGS) $(CFLAGS) -MT myprint_so-myprint.obj -MD -MP -MF $(DEPDIR)/myprint_so-myprint.Tpo -c -o myprint_so-myprint.obj `if test -f 'myprint.c'; then $(CYGPATH_W) 'myprint.c'; else $(CYGPATH_W) '$(srcdir)/myprint.c'; fi`
532 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/myprint_so-myprint.Tpo $(DEPDIR)/myprint_so-myprint.Po
533 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='myprint.c' object='myprint_so-myprint.obj' libtool=no @AMDEPBACKSLASH@
534 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
535 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(myprint_so_CFLAGS) $(CFLAGS) -c -o myprint_so-myprint.obj `if test -f 'myprint.c'; then $(CYGPATH_W) 'myprint.c'; else $(CYGPATH_W) '$(srcdir)/myprint.c'; fi`
537 # This directory's subdirectories are mostly independent; you can cd
538 # into them and run `make' without going through this Makefile.
539 # To change the values of `make' variables: instead of editing Makefiles,
540 # (1) if the variable is set in `config.status', edit `config.status'
541 # (which will cause the Makefiles to be regenerated when you run `make');
542 # (2) otherwise, pass the desired values on the `make' command line.
543 $(RECURSIVE_TARGETS):
544 @fail= failcom='exit 1'; \
545 for f in x $$MAKEFLAGS; do \
548 *k*) failcom='fail=yes';; \
552 target=`echo $@ | sed s/-recursive//`; \
553 list='$(SUBDIRS)'; for subdir in $$list; do \
554 echo "Making $$target in $$subdir"; \
555 if test "$$subdir" = "."; then \
557 local_target="$$target-am"; \
559 local_target="$$target"; \
561 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
564 if test "$$dot_seen" = "no"; then \
565 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
568 $(RECURSIVE_CLEAN_TARGETS):
569 @fail= failcom='exit 1'; \
570 for f in x $$MAKEFLAGS; do \
573 *k*) failcom='fail=yes';; \
578 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
579 *) list='$(SUBDIRS)' ;; \
581 rev=''; for subdir in $$list; do \
582 if test "$$subdir" = "."; then :; else \
583 rev="$$subdir $$rev"; \
587 target=`echo $@ | sed s/-recursive//`; \
588 for subdir in $$rev; do \
589 echo "Making $$target in $$subdir"; \
590 if test "$$subdir" = "."; then \
591 local_target="$$target-am"; \
593 local_target="$$target"; \
595 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
597 done && test -z "$$fail"
599 list='$(SUBDIRS)'; for subdir in $$list; do \
600 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
603 list='$(SUBDIRS)'; for subdir in $$list; do \
604 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
607 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
608 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
609 unique=`for i in $$list; do \
610 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
612 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
613 END { if (nonempty) { for (i in files) print i; }; }'`; \
617 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
618 $(TAGS_FILES) $(LISP)
621 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
622 include_option=--etags-include; \
625 include_option=--include; \
628 list='$(SUBDIRS)'; for subdir in $$list; do \
629 if test "$$subdir" = .; then :; else \
630 test ! -f $$subdir/TAGS || \
631 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
634 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
635 unique=`for i in $$list; do \
636 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
638 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
639 END { if (nonempty) { for (i in files) print i; }; }'`; \
641 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
642 test -n "$$unique" || unique=$$empty_fix; \
643 if test $$# -gt 0; then \
644 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
647 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
652 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
653 $(TAGS_FILES) $(LISP)
654 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
655 unique=`for i in $$list; do \
656 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
658 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
659 END { if (nonempty) { for (i in files) print i; }; }'`; \
660 test -z "$(CTAGS_ARGS)$$unique" \
661 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
665 here=`$(am__cd) $(top_builddir) && pwd` \
666 && $(am__cd) $(top_srcdir) \
667 && gtags -i $(GTAGS_ARGS) "$$here"
670 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
672 distdir: $(DISTFILES)
673 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
674 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
675 list='$(DISTFILES)'; \
676 dist_files=`for file in $$list; do echo $$file; done | \
677 sed -e "s|^$$srcdirstrip/||;t" \
678 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
679 case $$dist_files in \
680 */*) $(MKDIR_P) `echo "$$dist_files" | \
681 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
684 for file in $$dist_files; do \
685 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
686 if test -d $$d/$$file; then \
687 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
688 if test -d "$(distdir)/$$file"; then \
689 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
691 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
692 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
693 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
695 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
697 test -f "$(distdir)/$$file" \
698 || cp -p $$d/$$file "$(distdir)/$$file" \
702 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
703 if test "$$subdir" = .; then :; else \
704 test -d "$(distdir)/$$subdir" \
705 || $(MKDIR_P) "$(distdir)/$$subdir" \
709 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
710 if test "$$subdir" = .; then :; else \
711 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
713 new_distdir=$$reldir; \
714 dir1=$$subdir; dir2="$(top_distdir)"; \
716 new_top_distdir=$$reldir; \
717 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
718 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
719 ($(am__cd) $$subdir && \
720 $(MAKE) $(AM_MAKEFLAGS) \
721 top_distdir="$$new_top_distdir" \
722 distdir="$$new_distdir" \
723 am__remove_distdir=: \
724 am__skip_length_check=: \
725 am__skip_mode_fix=: \
731 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
732 $(MAKE) $(AM_MAKEFLAGS) check-local
733 check: check-recursive
734 all-am: Makefile $(SCRIPTS)
735 installdirs: installdirs-recursive
737 install: install-recursive
738 install-exec: install-exec-recursive
739 install-data: install-data-recursive
740 uninstall: uninstall-recursive
743 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
745 installcheck: installcheck-recursive
747 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
748 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
749 `test -z '$(STRIP)' || \
750 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
756 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
757 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
759 maintainer-clean-generic:
760 @echo "This command is intended for maintainers to use"
761 @echo "it deletes files that may require special tools to rebuild."
762 clean: clean-recursive
764 clean-am: clean-checkPROGRAMS clean-generic clean-local mostlyclean-am
766 distclean: distclean-recursive
769 distclean-am: clean-am distclean-compile distclean-generic \
786 install-dvi: install-dvi-recursive
792 install-html: install-html-recursive
796 install-info: install-info-recursive
802 install-pdf: install-pdf-recursive
806 install-ps: install-ps-recursive
812 maintainer-clean: maintainer-clean-recursive
815 maintainer-clean-am: distclean-am maintainer-clean-generic
817 mostlyclean: mostlyclean-recursive
819 mostlyclean-am: mostlyclean-compile mostlyclean-generic
831 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) check-am \
832 ctags-recursive install-am install-strip tags-recursive
834 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
835 all all-am check check-am check-local clean \
836 clean-checkPROGRAMS clean-generic clean-local ctags \
837 ctags-recursive distclean distclean-compile distclean-generic \
838 distclean-tags distdir dvi dvi-am html html-am info info-am \
839 install install-am install-data install-data-am install-dvi \
840 install-dvi-am install-exec install-exec-am install-html \
841 install-html-am install-info install-info-am install-man \
842 install-pdf install-pdf-am install-ps install-ps-am \
843 install-strip installcheck installcheck-am installdirs \
844 installdirs-am maintainer-clean maintainer-clean-generic \
845 mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \
846 ps ps-am tags tags-recursive uninstall uninstall-am
849 # This used to be required when Vex had a handwritten Makefile. It
850 # shouldn't be needed any more, though.
852 #----------------------------------------------------------------------------
853 # noinst_PROGRAMS and noinst_DSYMS targets
854 #----------------------------------------------------------------------------
856 # On Darwin, for a program 'p', the DWARF debug info is stored in the
857 # directory 'p.dSYM'. This must be generated after the executable is
858 # created, with 'dsymutil p'. We could redefine LINK with a script that
859 # executes 'dsymutil' after linking, but that's a pain. Instead we use this
860 # hook so that every time "make check" is run, we subsequently invoke
861 # 'dsymutil' on all the executables that lack a .dSYM directory, or that are
862 # newer than their corresponding .dSYM directory.
863 build-noinst_DSYMS: $(noinst_DSYMS)
864 for f in $(noinst_DSYMS); do \
865 if [ ! -e $$f.dSYM -o $$f -nt $$f.dSYM ] ; then \
866 echo "dsymutil $$f"; \
871 # This is used by coregrind/Makefile.am and Makefile.tool.am for doing
872 # "in-place" installs. It copies $(noinst_PROGRAMS) into $inplacedir.
873 # It needs to be depended on by an 'all-local' rule.
874 inplace-noinst_PROGRAMS: $(noinst_PROGRAMS)
875 mkdir -p $(inplacedir); \
876 for f in $(noinst_PROGRAMS) ; do \
877 rm -f $(inplacedir)/$$f; \
878 ln -f -s ../$(subdir)/$$f $(inplacedir); \
881 # Similar to inplace-noinst_PROGRAMS
882 inplace-noinst_DSYMS: build-noinst_DSYMS
883 mkdir -p $(inplacedir); \
884 for f in $(noinst_DSYMS); do \
885 rm -f $(inplacedir)/$$f.dSYM; \
886 ln -f -s ../$(subdir)/$$f.dSYM $(inplacedir); \
889 # This is used by coregrind/Makefile.am and by <tool>/Makefile.am for doing
890 # "make install". It copies $(noinst_PROGRAMS) into $prefix/lib/valgrind/.
891 # It needs to be depended on by an 'install-exec-local' rule.
892 install-noinst_PROGRAMS: $(noinst_PROGRAMS)
893 $(mkinstalldirs) $(DESTDIR)$(pkglibdir); \
894 for f in $(noinst_PROGRAMS); do \
895 $(INSTALL_PROGRAM) $$f $(DESTDIR)$(pkglibdir); \
898 # Similar to install-noinst_PROGRAMS.
899 # Nb: we don't use $(INSTALL_PROGRAM) here because it doesn't work with
900 # directories. XXX: not sure whether the resulting permissions will be
901 # correct when using 'cp -R'...
902 install-noinst_DSYMS: build-noinst_DSYMS
903 $(mkinstalldirs) $(DESTDIR)$(pkglibdir); \
904 for f in $(noinst_DSYMS); do \
905 cp -R $$f.dSYM $(DESTDIR)$(pkglibdir); \
908 # This needs to be depended on by a 'clean-local' rule.
910 for f in $(noinst_DSYMS); do \
914 check-local: build-noinst_DSYMS
916 clean-local: clean-noinst_DSYMS
918 # Tell versions [3.59,3.63) of GNU make to not export all variables.
919 # Otherwise a system limit (for SysV at least) may be exceeded.