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 #----------------------------------------------------------------------------
29 pkgdatadir = $(datadir)/@PACKAGE@
30 pkgincludedir = $(includedir)/@PACKAGE@
31 pkglibdir = $(libdir)/@PACKAGE@
32 pkglibexecdir = $(libexecdir)/@PACKAGE@
33 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
34 install_sh_DATA = $(install_sh) -c -m 644
35 install_sh_PROGRAM = $(install_sh) -c
36 install_sh_SCRIPT = $(install_sh) -c
37 INSTALL_HEADER = $(INSTALL_DATA)
38 transform = $(program_transform_name)
45 build_triplet = @build@
47 DIST_COMMON = $(dist_noinst_SCRIPTS) $(noinst_HEADERS) \
48 $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
49 $(srcdir)/vg_regtest.in $(top_srcdir)/Makefile.all.am \
50 $(top_srcdir)/Makefile.tool-tests.am
51 check_PROGRAMS = arch_test$(EXEEXT) os_test$(EXEEXT) true$(EXEEXT) \
52 x86_amd64_features$(EXEEXT)
54 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
55 am__aclocal_m4_deps = $(top_srcdir)/configure.in
56 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
58 mkinstalldirs = $(install_sh) -d
59 CONFIG_HEADER = $(top_builddir)/config.h
60 CONFIG_CLEAN_FILES = vg_regtest
61 CONFIG_CLEAN_VPATH_FILES =
62 arch_test_SOURCES = arch_test.c
63 arch_test_OBJECTS = arch_test.$(OBJEXT)
64 arch_test_LDADD = $(LDADD)
65 os_test_SOURCES = os_test.c
66 os_test_OBJECTS = os_test.$(OBJEXT)
67 os_test_LDADD = $(LDADD)
69 true_OBJECTS = true.$(OBJEXT)
71 x86_amd64_features_SOURCES = x86_amd64_features.c
72 x86_amd64_features_OBJECTS = \
73 x86_amd64_features-x86_amd64_features.$(OBJEXT)
74 x86_amd64_features_LDADD = $(LDADD)
75 x86_amd64_features_LINK = $(CCLD) $(x86_amd64_features_CFLAGS) \
76 $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
77 SCRIPTS = $(dist_noinst_SCRIPTS)
78 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
79 depcomp = $(SHELL) $(top_srcdir)/depcomp
80 am__depfiles_maybe = depfiles
82 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
83 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
85 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
86 SOURCES = arch_test.c os_test.c true.c x86_amd64_features.c
87 DIST_SOURCES = arch_test.c os_test.c true.c x86_amd64_features.c
88 HEADERS = $(noinst_HEADERS)
91 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
96 AUTOHEADER = @AUTOHEADER@
99 BOOST_CFLAGS = @BOOST_CFLAGS@
100 BOOST_LIBS = @BOOST_LIBS@
103 CCASDEPMODE = @CCASDEPMODE@
104 CCASFLAGS = @CCASFLAGS@
105 CCDEPMODE = @CCDEPMODE@
108 CPPFLAGS = @CPPFLAGS@
110 CXXDEPMODE = @CXXDEPMODE@
111 CXXFLAGS = @CXXFLAGS@
112 CYGPATH_W = @CYGPATH_W@
113 DEFAULT_SUPP = @DEFAULT_SUPP@
122 FLAG_FNO_STACK_PROTECTOR = @FLAG_FNO_STACK_PROTECTOR@
123 FLAG_M32 = @FLAG_M32@
124 FLAG_M64 = @FLAG_M64@
125 FLAG_MAIX32 = @FLAG_MAIX32@
126 FLAG_MAIX64 = @FLAG_MAIX64@
127 FLAG_MMMX = @FLAG_MMMX@
128 FLAG_MSSE = @FLAG_MSSE@
129 FLAG_UNLIMITED_INLINE_UNIT_GROWTH = @FLAG_UNLIMITED_INLINE_UNIT_GROWTH@
130 FLAG_W_EXTRA = @FLAG_W_EXTRA@
131 FLAG_W_NO_EMPTY_BODY = @FLAG_W_NO_EMPTY_BODY@
132 FLAG_W_NO_FORMAT_ZERO_LENGTH = @FLAG_W_NO_FORMAT_ZERO_LENGTH@
133 FLAG_W_NO_UNINITIALIZED = @FLAG_W_NO_UNINITIALIZED@
135 GENERATED_SUPP = @GENERATED_SUPP@
136 GLIBC_VERSION = @GLIBC_VERSION@
139 INSTALL_DATA = @INSTALL_DATA@
140 INSTALL_PROGRAM = @INSTALL_PROGRAM@
141 INSTALL_SCRIPT = @INSTALL_SCRIPT@
142 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
147 LTLIBOBJS = @LTLIBOBJS@
149 MAKEINFO = @MAKEINFO@
154 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
155 PACKAGE_NAME = @PACKAGE_NAME@
156 PACKAGE_STRING = @PACKAGE_STRING@
157 PACKAGE_TARNAME = @PACKAGE_TARNAME@
158 PACKAGE_URL = @PACKAGE_URL@
159 PACKAGE_VERSION = @PACKAGE_VERSION@
160 PATH_SEPARATOR = @PATH_SEPARATOR@
162 PKG_CONFIG = @PKG_CONFIG@
163 PREFERRED_STACK_BOUNDARY = @PREFERRED_STACK_BOUNDARY@
164 QTCORE_CFLAGS = @QTCORE_CFLAGS@
165 QTCORE_LIBS = @QTCORE_LIBS@
167 SET_MAKE = @SET_MAKE@
170 VALT_LOAD_ADDRESS = @VALT_LOAD_ADDRESS@
172 VGCONF_ARCH_PRI = @VGCONF_ARCH_PRI@
173 VGCONF_ARCH_SEC = @VGCONF_ARCH_SEC@
174 VGCONF_OS = @VGCONF_OS@
175 VGCONF_PLATFORM_PRI_CAPS = @VGCONF_PLATFORM_PRI_CAPS@
176 VGCONF_PLATFORM_SEC_CAPS = @VGCONF_PLATFORM_SEC_CAPS@
177 abs_builddir = @abs_builddir@
178 abs_srcdir = @abs_srcdir@
179 abs_top_builddir = @abs_top_builddir@
180 abs_top_srcdir = @abs_top_srcdir@
181 ac_ct_CC = @ac_ct_CC@
182 ac_ct_CXX = @ac_ct_CXX@
183 am__include = @am__include@
184 am__leading_dot = @am__leading_dot@
185 am__quote = @am__quote@
187 am__untar = @am__untar@
190 build_alias = @build_alias@
191 build_cpu = @build_cpu@
192 build_os = @build_os@
193 build_vendor = @build_vendor@
194 builddir = @builddir@
196 datarootdir = @datarootdir@
199 exec_prefix = @exec_prefix@
201 host_alias = @host_alias@
202 host_cpu = @host_cpu@
204 host_vendor = @host_vendor@
206 includedir = @includedir@
208 install_sh = @install_sh@
210 libexecdir = @libexecdir@
211 localedir = @localedir@
212 localstatedir = @localstatedir@
215 oldincludedir = @oldincludedir@
218 program_transform_name = @program_transform_name@
221 sharedstatedir = @sharedstatedir@
223 sysconfdir = @sysconfdir@
224 target_alias = @target_alias@
225 top_build_prefix = @top_build_prefix@
226 top_builddir = @top_builddir@
227 top_srcdir = @top_srcdir@
228 inplacedir = $(top_builddir)/.in_place
230 #----------------------------------------------------------------------------
232 #----------------------------------------------------------------------------
234 # Baseline flags for all compilations. Aim here is to maximise
235 # performance and get whatever useful warnings we can out of gcc.
239 -Wmissing-prototypes \
242 -Wstrict-prototypes \
243 -Wmissing-declarations \
244 @FLAG_W_NO_FORMAT_ZERO_LENGTH@ \
247 @VGCONF_OS_IS_DARWIN_FALSE@AM_CFLAGS_PIC = -fpic -O -g -fno-omit-frame-pointer -fno-strict-aliasing
249 # These flags are used for building the preload shared objects.
250 # The aim is to give reasonable performance but also to have good
251 # stack traces, since users often see stack traces extending
252 # into (and through) the preloads.
253 @VGCONF_OS_IS_DARWIN_TRUE@AM_CFLAGS_PIC = -dynamic -O -g -fno-omit-frame-pointer -fno-strict-aliasing -mno-dynamic-no-pic
254 @VGCONF_OS_IS_L4RE_FALSE@AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@ = \
255 @VGCONF_OS_IS_L4RE_FALSE@ -I$(top_srcdir) \
256 @VGCONF_OS_IS_L4RE_FALSE@ -I$(top_srcdir)/include \
257 @VGCONF_OS_IS_L4RE_FALSE@ -I$(top_srcdir)/VEX/pub \
258 @VGCONF_OS_IS_L4RE_FALSE@ -I$(top_builddir)/VEX/pub \
259 @VGCONF_OS_IS_L4RE_FALSE@ -DVGA_@VGCONF_ARCH_PRI@=1 \
260 @VGCONF_OS_IS_L4RE_FALSE@ -DVGO_@VGCONF_OS@=1 \
261 @VGCONF_OS_IS_L4RE_FALSE@ -DVGP_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1
264 # Flags for specific targets.
266 # Nb: the AM_CPPFLAGS_* values are suitable for building tools and auxprogs.
267 # For building the core, coregrind/Makefile.am files add some extra things.
269 # Also: in newer versions of automake (1.10 onwards?) asm files ending with
270 # '.S' are considered "pre-processed" (as opposed to those ending in '.s')
271 # and so the CPPFLAGS are passed to the assembler. But this is not true for
272 # older automakes (e.g. 1.8.5, 1.9.6), sigh. So we include
273 # AM_CPPFLAGS_<PLATFORM> in each AM_CCASFLAGS_<PLATFORM> variable. This
274 # means some of the flags are duplicated on systems with newer versions of
275 # automake, but this does not really matter and seems hard to avoid.
276 @VGCONF_OS_IS_L4RE_TRUE@AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@ = $(L4_CPPFLAGS)\
277 @VGCONF_OS_IS_L4RE_TRUE@ -I$(top_srcdir) \
278 @VGCONF_OS_IS_L4RE_TRUE@ -I$(top_srcdir)/include \
279 @VGCONF_OS_IS_L4RE_TRUE@ -I$(top_srcdir)/VEX/pub \
280 @VGCONF_OS_IS_L4RE_TRUE@ -I$(top_builddir)/VEX/pub \
281 @VGCONF_OS_IS_L4RE_TRUE@ -DVGA_@VGCONF_ARCH_PRI@=1 \
282 @VGCONF_OS_IS_L4RE_TRUE@ -DVGO_@VGCONF_OS@=1 \
283 @VGCONF_OS_IS_L4RE_TRUE@ -DVGP_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1
285 @VGCONF_HAVE_PLATFORM_SEC_TRUE@AM_CPPFLAGS_@VGCONF_PLATFORM_SEC_CAPS@ = \
286 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_srcdir) \
287 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_srcdir)/include \
288 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_srcdir)/VEX/pub \
289 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_builddir)/VEX/pub \
290 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGA_@VGCONF_ARCH_SEC@=1 \
291 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGO_@VGCONF_OS@=1 \
292 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGP_@VGCONF_ARCH_SEC@_@VGCONF_OS@=1
294 AM_FLAG_M3264_X86_LINUX = @FLAG_M32@
295 AM_CFLAGS_X86_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \
298 AM_CCASFLAGS_X86_LINUX = $(AM_CPPFLAGS_X86_LINUX) @FLAG_M32@ -g
299 AM_FLAG_M3264_AMD64_LINUX = @FLAG_M64@
300 AM_CFLAGS_AMD64_LINUX = @FLAG_M64@ -fomit-frame-pointer \
301 @PREFERRED_STACK_BOUNDARY@ $(AM_CFLAGS_BASE)
303 AM_CCASFLAGS_AMD64_LINUX = $(AM_CPPFLAGS_AMD64_LINUX) @FLAG_M64@ -g
304 AM_FLAG_M3264_PPC32_LINUX = @FLAG_M32@
305 AM_CFLAGS_PPC32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE)
306 AM_CCASFLAGS_PPC32_LINUX = $(AM_CPPFLAGS_PPC32_LINUX) @FLAG_M32@ -g
307 AM_FLAG_M3264_PPC64_LINUX = @FLAG_M64@
308 AM_CFLAGS_PPC64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE)
309 AM_CCASFLAGS_PPC64_LINUX = $(AM_CPPFLAGS_PPC64_LINUX) @FLAG_M64@ -g
310 AM_FLAG_M3264_ARM_LINUX = @FLAG_M32@
311 AM_CFLAGS_ARM_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \
314 AM_CCASFLAGS_ARM_LINUX = $(AM_CPPFLAGS_ARM_LINUX) @FLAG_M32@ -g
315 AM_FLAG_M3264_PPC32_AIX5 = @FLAG_MAIX32@
316 AM_CFLAGS_PPC32_AIX5 = @FLAG_MAIX32@ -mcpu=powerpc $(AM_CFLAGS_BASE)
317 AM_CCASFLAGS_PPC32_AIX5 = $(AM_CPPFLAGS_PPC32_AIX5) \
318 @FLAG_MAIX32@ -mcpu=powerpc -g
320 AM_FLAG_M3264_PPC64_AIX5 = @FLAG_MAIX64@
321 AM_CFLAGS_PPC64_AIX5 = @FLAG_MAIX64@ -mcpu=powerpc64 $(AM_CFLAGS_BASE)
322 AM_CCASFLAGS_PPC64_AIX5 = $(AM_CPPFLAGS_PPC64_AIX5) \
323 @FLAG_MAIX64@ -mcpu=powerpc64 -g
325 AM_FLAG_M3264_X86_DARWIN = -arch i386
326 AM_CFLAGS_X86_DARWIN = $(WERROR) -arch i386 $(AM_CFLAGS_BASE) \
327 -mmacosx-version-min=10.5 -fno-stack-protector \
330 AM_CCASFLAGS_X86_DARWIN = $(AM_CPPFLAGS_X86_DARWIN) -arch i386 -g
331 AM_FLAG_M3264_AMD64_DARWIN = -arch x86_64
332 AM_CFLAGS_AMD64_DARWIN = $(WERROR) -arch x86_64 $(AM_CFLAGS_BASE) \
333 -mmacosx-version-min=10.5 -fno-stack-protector
335 AM_CCASFLAGS_AMD64_DARWIN = $(AM_CPPFLAGS_AMD64_DARWIN) -arch x86_64 -g
336 AM_FLAG_M3264_X86_L4RE = @FLAG_M32@
337 AM_CFLAGS_X86_L4RE = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \
338 $(L4_CFLAGS) $(AM_CFLAGS_BASE)
340 AM_CCASFLAGS_X86_L4RE = $(L4_CPPFLAGS) @FLAG_M32@ -g
341 AM_CXXFLAGS_X86_L4RE = $(L4_CXXFLAGS) @FLAG_M32@
342 #AM_CPPFLAGS_X86_L4RE = $(L4_CPPFLAGS) $(AM_CPPFLAGS_X86_L4RE)
344 # Flags for the primary target. These must be used to build the
345 # regtests and performance tests. In fact, these must be used to
346 # build anything which is built only once on a dual-arch build.
348 AM_FLAG_M3264_PRI = $(AM_FLAG_M3264_@VGCONF_PLATFORM_PRI_CAPS@)
349 AM_CPPFLAGS_PRI = $(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
350 AM_CFLAGS_PRI = $(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
351 AM_CCASFLAGS_PRI = $(AM_CCASFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
352 AM_CXXFLAGS_PRI = $(AM_CXXFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
353 @VGCONF_HAVE_PLATFORM_SEC_FALSE@AM_FLAG_M3264_SEC =
354 @VGCONF_HAVE_PLATFORM_SEC_TRUE@AM_FLAG_M3264_SEC = $(AM_FLAG_M3264_@VGCONF_PLATFORM_SEC_CAPS@)
356 # Baseline link flags for making vgpreload shared objects.
358 PRELOAD_LDFLAGS_COMMON_LINUX = -nodefaultlibs -shared -Wl,-z,interpose,-z,initfirst
359 PRELOAD_LDFLAGS_COMMON_AIX5 = -nodefaultlibs -shared -Wl,-G -Wl,-bnogc
360 PRELOAD_LDFLAGS_COMMON_DARWIN = -dynamic -dynamiclib -all_load
361 PRELOAD_LDFLAGS_COMMON_L4RE = -nodefaultlibs -shared -Wl,-z,interpose,-z,initfirst
362 PRELOAD_LDFLAGS_X86_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
363 PRELOAD_LDFLAGS_AMD64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
364 PRELOAD_LDFLAGS_PPC32_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
365 PRELOAD_LDFLAGS_PPC64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
366 PRELOAD_LDFLAGS_ARM_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
367 PRELOAD_LDFLAGS_PPC32_AIX5 = $(PRELOAD_LDFLAGS_COMMON_AIX5) @FLAG_MAIX32@
368 PRELOAD_LDFLAGS_PPC64_AIX5 = $(PRELOAD_LDFLAGS_COMMON_AIX5) @FLAG_MAIX64@
369 PRELOAD_LDFLAGS_X86_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch i386
370 PRELOAD_LDFLAGS_AMD64_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch x86_64
371 PRELOAD_LDFLAGS_X86_L4RE = $(PRELOAD_LDFLAGS_COMMON_L4RE) @FLAG_M32@
372 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \
373 -I$(top_srcdir)/coregrind -I$(top_builddir)/include \
374 -I$(top_srcdir)/VEX/pub \
375 -DVGA_$(VGCONF_ARCH_PRI)=1 \
376 -DVGO_$(VGCONF_OS)=1 \
377 -DVGP_$(VGCONF_ARCH_PRI)_$(VGCONF_OS)=1
379 # Nb: Tools need to augment these flags with an arch-selection option, such
380 # as $(AM_FLAG_M3264_PRI).
381 AM_CFLAGS = -Winline -Wall -Wshadow -g $(AM_FLAG_M3264_PRI)
382 AM_CXXFLAGS = -Winline -Wall -Wshadow -g $(AM_FLAG_M3264_PRI)
383 # Include AM_CPPFLAGS in AM_CCASFLAGS to allow for older versions of
384 # automake; see comments in Makefile.all.am for more detail.
385 AM_CCASFLAGS = $(AM_CPPFLAGS)
386 @VGCONF_OS_IS_DARWIN_TRUE@noinst_DSYMS = $(check_PROGRAMS)
387 dist_noinst_SCRIPTS = \
392 filter_stderr_basic \
402 @VGCONF_OS_IS_DARWIN_FALSE@x86_amd64_features_CFLAGS = $(AM_CFLAGS)
403 @VGCONF_OS_IS_DARWIN_TRUE@x86_amd64_features_CFLAGS = $(AM_CFLAGS) -mdynamic-no-pic
407 .SUFFIXES: .c .o .obj
408 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.tool-tests.am $(top_srcdir)/Makefile.all.am $(am__configure_deps)
410 case '$(am__configure_deps)' in \
412 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
413 && { if test -f $@; then exit 0; else break; fi; }; \
417 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign tests/Makefile'; \
418 $(am__cd) $(top_srcdir) && \
419 $(AUTOMAKE) --foreign tests/Makefile
421 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
424 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
426 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
427 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
430 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
431 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
433 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
434 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
435 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
436 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
437 $(am__aclocal_m4_deps):
438 vg_regtest: $(top_builddir)/config.status $(srcdir)/vg_regtest.in
439 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
442 -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
443 arch_test$(EXEEXT): $(arch_test_OBJECTS) $(arch_test_DEPENDENCIES)
444 @rm -f arch_test$(EXEEXT)
445 $(LINK) $(arch_test_OBJECTS) $(arch_test_LDADD) $(LIBS)
446 os_test$(EXEEXT): $(os_test_OBJECTS) $(os_test_DEPENDENCIES)
447 @rm -f os_test$(EXEEXT)
448 $(LINK) $(os_test_OBJECTS) $(os_test_LDADD) $(LIBS)
449 true$(EXEEXT): $(true_OBJECTS) $(true_DEPENDENCIES)
451 $(LINK) $(true_OBJECTS) $(true_LDADD) $(LIBS)
452 x86_amd64_features$(EXEEXT): $(x86_amd64_features_OBJECTS) $(x86_amd64_features_DEPENDENCIES)
453 @rm -f x86_amd64_features$(EXEEXT)
454 $(x86_amd64_features_LINK) $(x86_amd64_features_OBJECTS) $(x86_amd64_features_LDADD) $(LIBS)
462 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arch_test.Po@am__quote@
463 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/os_test.Po@am__quote@
464 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/true.Po@am__quote@
465 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x86_amd64_features-x86_amd64_features.Po@am__quote@
468 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
469 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
470 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
471 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
472 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
475 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
476 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
477 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
478 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
479 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
481 x86_amd64_features-x86_amd64_features.o: x86_amd64_features.c
482 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(x86_amd64_features_CFLAGS) $(CFLAGS) -MT x86_amd64_features-x86_amd64_features.o -MD -MP -MF $(DEPDIR)/x86_amd64_features-x86_amd64_features.Tpo -c -o x86_amd64_features-x86_amd64_features.o `test -f 'x86_amd64_features.c' || echo '$(srcdir)/'`x86_amd64_features.c
483 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/x86_amd64_features-x86_amd64_features.Tpo $(DEPDIR)/x86_amd64_features-x86_amd64_features.Po
484 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='x86_amd64_features.c' object='x86_amd64_features-x86_amd64_features.o' libtool=no @AMDEPBACKSLASH@
485 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
486 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(x86_amd64_features_CFLAGS) $(CFLAGS) -c -o x86_amd64_features-x86_amd64_features.o `test -f 'x86_amd64_features.c' || echo '$(srcdir)/'`x86_amd64_features.c
488 x86_amd64_features-x86_amd64_features.obj: x86_amd64_features.c
489 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(x86_amd64_features_CFLAGS) $(CFLAGS) -MT x86_amd64_features-x86_amd64_features.obj -MD -MP -MF $(DEPDIR)/x86_amd64_features-x86_amd64_features.Tpo -c -o x86_amd64_features-x86_amd64_features.obj `if test -f 'x86_amd64_features.c'; then $(CYGPATH_W) 'x86_amd64_features.c'; else $(CYGPATH_W) '$(srcdir)/x86_amd64_features.c'; fi`
490 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/x86_amd64_features-x86_amd64_features.Tpo $(DEPDIR)/x86_amd64_features-x86_amd64_features.Po
491 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='x86_amd64_features.c' object='x86_amd64_features-x86_amd64_features.obj' libtool=no @AMDEPBACKSLASH@
492 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
493 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(x86_amd64_features_CFLAGS) $(CFLAGS) -c -o x86_amd64_features-x86_amd64_features.obj `if test -f 'x86_amd64_features.c'; then $(CYGPATH_W) 'x86_amd64_features.c'; else $(CYGPATH_W) '$(srcdir)/x86_amd64_features.c'; fi`
495 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
496 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
497 unique=`for i in $$list; do \
498 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
500 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
501 END { if (nonempty) { for (i in files) print i; }; }'`; \
505 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
506 $(TAGS_FILES) $(LISP)
509 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
510 unique=`for i in $$list; do \
511 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
513 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
514 END { if (nonempty) { for (i in files) print i; }; }'`; \
516 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
517 test -n "$$unique" || unique=$$empty_fix; \
518 if test $$# -gt 0; then \
519 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
522 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
527 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
528 $(TAGS_FILES) $(LISP)
529 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
530 unique=`for i in $$list; do \
531 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
533 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
534 END { if (nonempty) { for (i in files) print i; }; }'`; \
535 test -z "$(CTAGS_ARGS)$$unique" \
536 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
540 here=`$(am__cd) $(top_builddir) && pwd` \
541 && $(am__cd) $(top_srcdir) \
542 && gtags -i $(GTAGS_ARGS) "$$here"
545 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
547 distdir: $(DISTFILES)
548 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
549 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
550 list='$(DISTFILES)'; \
551 dist_files=`for file in $$list; do echo $$file; done | \
552 sed -e "s|^$$srcdirstrip/||;t" \
553 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
554 case $$dist_files in \
555 */*) $(MKDIR_P) `echo "$$dist_files" | \
556 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
559 for file in $$dist_files; do \
560 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
561 if test -d $$d/$$file; then \
562 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
563 if test -d "$(distdir)/$$file"; then \
564 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
566 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
567 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
568 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
570 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
572 test -f "$(distdir)/$$file" \
573 || cp -p $$d/$$file "$(distdir)/$$file" \
578 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
579 $(MAKE) $(AM_MAKEFLAGS) check-local
581 all-am: Makefile $(SCRIPTS) $(HEADERS)
584 install-exec: install-exec-am
585 install-data: install-data-am
586 uninstall: uninstall-am
589 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
591 installcheck: installcheck-am
593 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
594 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
595 `test -z '$(STRIP)' || \
596 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
602 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
603 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
605 maintainer-clean-generic:
606 @echo "This command is intended for maintainers to use"
607 @echo "it deletes files that may require special tools to rebuild."
610 clean-am: clean-checkPROGRAMS clean-generic clean-local mostlyclean-am
612 distclean: distclean-am
615 distclean-am: clean-am distclean-compile distclean-generic \
632 install-dvi: install-dvi-am
638 install-html: install-html-am
642 install-info: install-info-am
648 install-pdf: install-pdf-am
652 install-ps: install-ps-am
658 maintainer-clean: maintainer-clean-am
661 maintainer-clean-am: distclean-am maintainer-clean-generic
663 mostlyclean: mostlyclean-am
665 mostlyclean-am: mostlyclean-compile mostlyclean-generic
677 .MAKE: check-am install-am install-strip
679 .PHONY: CTAGS GTAGS all all-am check check-am check-local clean \
680 clean-checkPROGRAMS clean-generic clean-local ctags distclean \
681 distclean-compile distclean-generic distclean-tags distdir dvi \
682 dvi-am html html-am info info-am install install-am \
683 install-data install-data-am install-dvi install-dvi-am \
684 install-exec install-exec-am install-html install-html-am \
685 install-info install-info-am install-man install-pdf \
686 install-pdf-am install-ps install-ps-am install-strip \
687 installcheck installcheck-am installdirs maintainer-clean \
688 maintainer-clean-generic mostlyclean mostlyclean-compile \
689 mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
693 # This used to be required when Vex had a handwritten Makefile. It
694 # shouldn't be needed any more, though.
696 #----------------------------------------------------------------------------
697 # noinst_PROGRAMS and noinst_DSYMS targets
698 #----------------------------------------------------------------------------
700 # On Darwin, for a program 'p', the DWARF debug info is stored in the
701 # directory 'p.dSYM'. This must be generated after the executable is
702 # created, with 'dsymutil p'. We could redefine LINK with a script that
703 # executes 'dsymutil' after linking, but that's a pain. Instead we use this
704 # hook so that every time "make check" is run, we subsequently invoke
705 # 'dsymutil' on all the executables that lack a .dSYM directory, or that are
706 # newer than their corresponding .dSYM directory.
707 build-noinst_DSYMS: $(noinst_DSYMS)
708 for f in $(noinst_DSYMS); do \
709 if [ ! -e $$f.dSYM -o $$f -nt $$f.dSYM ] ; then \
710 echo "dsymutil $$f"; \
715 # This is used by coregrind/Makefile.am and Makefile.tool.am for doing
716 # "in-place" installs. It copies $(noinst_PROGRAMS) into $inplacedir.
717 # It needs to be depended on by an 'all-local' rule.
718 inplace-noinst_PROGRAMS: $(noinst_PROGRAMS)
719 mkdir -p $(inplacedir); \
720 for f in $(noinst_PROGRAMS) ; do \
721 rm -f $(inplacedir)/$$f; \
722 ln -f -s ../$(subdir)/$$f $(inplacedir); \
725 # Similar to inplace-noinst_PROGRAMS
726 inplace-noinst_DSYMS: build-noinst_DSYMS
727 mkdir -p $(inplacedir); \
728 for f in $(noinst_DSYMS); do \
729 rm -f $(inplacedir)/$$f.dSYM; \
730 ln -f -s ../$(subdir)/$$f.dSYM $(inplacedir); \
733 # This is used by coregrind/Makefile.am and by <tool>/Makefile.am for doing
734 # "make install". It copies $(noinst_PROGRAMS) into $prefix/lib/valgrind/.
735 # It needs to be depended on by an 'install-exec-local' rule.
736 install-noinst_PROGRAMS: $(noinst_PROGRAMS)
737 $(mkinstalldirs) $(DESTDIR)$(pkglibdir); \
738 for f in $(noinst_PROGRAMS); do \
739 $(INSTALL_PROGRAM) $$f $(DESTDIR)$(pkglibdir); \
742 # Similar to install-noinst_PROGRAMS.
743 # Nb: we don't use $(INSTALL_PROGRAM) here because it doesn't work with
744 # directories. XXX: not sure whether the resulting permissions will be
745 # correct when using 'cp -R'...
746 install-noinst_DSYMS: build-noinst_DSYMS
747 $(mkinstalldirs) $(DESTDIR)$(pkglibdir); \
748 for f in $(noinst_DSYMS); do \
749 cp -R $$f.dSYM $(DESTDIR)$(pkglibdir); \
752 # This needs to be depended on by a 'clean-local' rule.
754 for f in $(noinst_DSYMS); do \
758 check-local: build-noinst_DSYMS
760 clean-local: clean-noinst_DSYMS
762 # Tell versions [3.59,3.63) of GNU make to not export all variables.
763 # Otherwise a system limit (for SysV at least) may be exceeded.