]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/valgrind/src/valgrind-3.6.0-svn/tests/Makefile.in
Inital import
[l4.git] / l4 / pkg / valgrind / src / valgrind-3.6.0-svn / 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
28 VPATH = @srcdir@
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)
39 NORMAL_INSTALL = :
40 PRE_INSTALL = :
41 POST_INSTALL = :
42 NORMAL_UNINSTALL = :
43 PRE_UNINSTALL = :
44 POST_UNINSTALL = :
45 build_triplet = @build@
46 host_triplet = @host@
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)
53 subdir = tests
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) \
57         $(ACLOCAL_M4)
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)
68 true_SOURCES = true.c
69 true_OBJECTS = true.$(OBJEXT)
70 true_LDADD = $(LDADD)
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
81 am__mv = mv -f
82 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
83         $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
84 CCLD = $(CC)
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)
89 ETAGS = etags
90 CTAGS = ctags
91 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
92 ACLOCAL = @ACLOCAL@
93 AMTAR = @AMTAR@
94 AR = @AR@
95 AUTOCONF = @AUTOCONF@
96 AUTOHEADER = @AUTOHEADER@
97 AUTOMAKE = @AUTOMAKE@
98 AWK = @AWK@
99 BOOST_CFLAGS = @BOOST_CFLAGS@
100 BOOST_LIBS = @BOOST_LIBS@
101 CC = @CC@
102 CCAS = @CCAS@
103 CCASDEPMODE = @CCASDEPMODE@
104 CCASFLAGS = @CCASFLAGS@
105 CCDEPMODE = @CCDEPMODE@
106 CFLAGS = @CFLAGS@
107 CPP = @CPP@
108 CPPFLAGS = @CPPFLAGS@
109 CXX = @CXX@
110 CXXDEPMODE = @CXXDEPMODE@
111 CXXFLAGS = @CXXFLAGS@
112 CYGPATH_W = @CYGPATH_W@
113 DEFAULT_SUPP = @DEFAULT_SUPP@
114 DEFS = @DEFS@
115 DEPDIR = @DEPDIR@
116 DIFF = @DIFF@
117 ECHO_C = @ECHO_C@
118 ECHO_N = @ECHO_N@
119 ECHO_T = @ECHO_T@
120 EGREP = @EGREP@
121 EXEEXT = @EXEEXT@
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@
134 GDB = @GDB@
135 GENERATED_SUPP = @GENERATED_SUPP@
136 GLIBC_VERSION = @GLIBC_VERSION@
137 GREP = @GREP@
138 INSTALL = @INSTALL@
139 INSTALL_DATA = @INSTALL_DATA@
140 INSTALL_PROGRAM = @INSTALL_PROGRAM@
141 INSTALL_SCRIPT = @INSTALL_SCRIPT@
142 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
143 LDFLAGS = @LDFLAGS@
144 LIBOBJS = @LIBOBJS@
145 LIBS = @LIBS@
146 LN_S = @LN_S@
147 LTLIBOBJS = @LTLIBOBJS@
148 MAINT = @MAINT@
149 MAKEINFO = @MAKEINFO@
150 MKDIR_P = @MKDIR_P@
151 MPI_CC = @MPI_CC@
152 OBJEXT = @OBJEXT@
153 PACKAGE = @PACKAGE@
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@
161 PERL = @PERL@
162 PKG_CONFIG = @PKG_CONFIG@
163 PREFERRED_STACK_BOUNDARY = @PREFERRED_STACK_BOUNDARY@
164 QTCORE_CFLAGS = @QTCORE_CFLAGS@
165 QTCORE_LIBS = @QTCORE_LIBS@
166 RANLIB = @RANLIB@
167 SET_MAKE = @SET_MAKE@
168 SHELL = @SHELL@
169 STRIP = @STRIP@
170 VALT_LOAD_ADDRESS = @VALT_LOAD_ADDRESS@
171 VERSION = @VERSION@
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@
186 am__tar = @am__tar@
187 am__untar = @am__untar@
188 bindir = @bindir@
189 build = @build@
190 build_alias = @build_alias@
191 build_cpu = @build_cpu@
192 build_os = @build_os@
193 build_vendor = @build_vendor@
194 builddir = @builddir@
195 datadir = @datadir@
196 datarootdir = @datarootdir@
197 docdir = @docdir@
198 dvidir = @dvidir@
199 exec_prefix = @exec_prefix@
200 host = @host@
201 host_alias = @host_alias@
202 host_cpu = @host_cpu@
203 host_os = @host_os@
204 host_vendor = @host_vendor@
205 htmldir = @htmldir@
206 includedir = @includedir@
207 infodir = @infodir@
208 install_sh = @install_sh@
209 libdir = @libdir@
210 libexecdir = @libexecdir@
211 localedir = @localedir@
212 localstatedir = @localstatedir@
213 mandir = @mandir@
214 mkdir_p = @mkdir_p@
215 oldincludedir = @oldincludedir@
216 pdfdir = @pdfdir@
217 prefix = @prefix@
218 program_transform_name = @program_transform_name@
219 psdir = @psdir@
220 sbindir = @sbindir@
221 sharedstatedir = @sharedstatedir@
222 srcdir = @srcdir@
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
229
230 #----------------------------------------------------------------------------
231 # Flags
232 #----------------------------------------------------------------------------
233
234 # Baseline flags for all compilations.  Aim here is to maximise
235 # performance and get whatever useful warnings we can out of gcc.
236 AM_CFLAGS_BASE = \
237         -O2 -g \
238         -Wall \
239         -Wmissing-prototypes \
240         -Wshadow \
241         -Wpointer-arith \
242         -Wstrict-prototypes \
243         -Wmissing-declarations \
244         @FLAG_W_NO_FORMAT_ZERO_LENGTH@ \
245         -fno-strict-aliasing
246
247 @VGCONF_OS_IS_DARWIN_FALSE@AM_CFLAGS_PIC = -fpic -O -g -fno-omit-frame-pointer -fno-strict-aliasing
248
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
262
263
264 # Flags for specific targets.
265 #
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.
268 #
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
284
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
293
294 AM_FLAG_M3264_X86_LINUX = @FLAG_M32@
295 AM_CFLAGS_X86_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \
296                                 $(AM_CFLAGS_BASE)
297
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)
302
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@ \
312                                 $(AM_CFLAGS_BASE)
313
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
319
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
324
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 \
328                             -mdynamic-no-pic
329
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
334
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)
339
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)
343
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.
347 #
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@)
355
356 # Baseline link flags for making vgpreload shared objects.
357 #
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
378
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 = \
388         filter_addresses \
389         filter_discards \
390         filter_libc \
391         filter_numbers \
392         filter_stderr_basic \
393         filter_sink \
394         platform_test \
395         vg_regtest
396
397 noinst_HEADERS = \
398         asm.h \
399         malloc.h \
400         sys_mman.h
401
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
404 all: all-am
405
406 .SUFFIXES:
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)
409         @for dep in $?; do \
410           case '$(am__configure_deps)' in \
411             *$$dep*) \
412               ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
413                 && { if test -f $@; then exit 0; else break; fi; }; \
414               exit 1;; \
415           esac; \
416         done; \
417         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign tests/Makefile'; \
418         $(am__cd) $(top_srcdir) && \
419           $(AUTOMAKE) --foreign tests/Makefile
420 .PRECIOUS: Makefile
421 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
422         @case '$?' in \
423           *config.status*) \
424             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
425           *) \
426             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
427             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
428         esac;
429
430 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
431         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
432
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)/$@
440
441 clean-checkPROGRAMS:
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) 
450         @rm -f true$(EXEEXT)
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)
455
456 mostlyclean-compile:
457         -rm -f *.$(OBJEXT)
458
459 distclean-compile:
460         -rm -f *.tab.c
461
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@
466
467 .c.o:
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 $<
473
474 .c.obj:
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) '$<'`
480
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
487
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`
494
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; \
499           done | \
500           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
501               END { if (nonempty) { for (i in files) print i; }; }'`; \
502         mkid -fID $$unique
503 tags: TAGS
504
505 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
506                 $(TAGS_FILES) $(LISP)
507         set x; \
508         here=`pwd`; \
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; \
512           done | \
513           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
514               END { if (nonempty) { for (i in files) print i; }; }'`; \
515         shift; \
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) \
520               "$$@" $$unique; \
521           else \
522             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
523               $$unique; \
524           fi; \
525         fi
526 ctags: CTAGS
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; \
532           done | \
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) \
537              $$unique
538
539 GTAGS:
540         here=`$(am__cd) $(top_builddir) && pwd` \
541           && $(am__cd) $(top_srcdir) \
542           && gtags -i $(GTAGS_ARGS) "$$here"
543
544 distclean-tags:
545         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
546
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,/[^/]*$$,,' | \
557                            sort -u` ;; \
558         esac; \
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 {} \;; \
565             fi; \
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 {} \;; \
569             fi; \
570             cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
571           else \
572             test -f "$(distdir)/$$file" \
573             || cp -p $$d/$$file "$(distdir)/$$file" \
574             || exit 1; \
575           fi; \
576         done
577 check-am: all-am
578         $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
579         $(MAKE) $(AM_MAKEFLAGS) check-local
580 check: check-am
581 all-am: Makefile $(SCRIPTS) $(HEADERS)
582 installdirs:
583 install: install-am
584 install-exec: install-exec-am
585 install-data: install-data-am
586 uninstall: uninstall-am
587
588 install-am: all-am
589         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
590
591 installcheck: installcheck-am
592 install-strip:
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
597 mostlyclean-generic:
598
599 clean-generic:
600
601 distclean-generic:
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)
604
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."
608 clean: clean-am
609
610 clean-am: clean-checkPROGRAMS clean-generic clean-local mostlyclean-am
611
612 distclean: distclean-am
613         -rm -rf ./$(DEPDIR)
614         -rm -f Makefile
615 distclean-am: clean-am distclean-compile distclean-generic \
616         distclean-tags
617
618 dvi: dvi-am
619
620 dvi-am:
621
622 html: html-am
623
624 html-am:
625
626 info: info-am
627
628 info-am:
629
630 install-data-am:
631
632 install-dvi: install-dvi-am
633
634 install-dvi-am:
635
636 install-exec-am:
637
638 install-html: install-html-am
639
640 install-html-am:
641
642 install-info: install-info-am
643
644 install-info-am:
645
646 install-man:
647
648 install-pdf: install-pdf-am
649
650 install-pdf-am:
651
652 install-ps: install-ps-am
653
654 install-ps-am:
655
656 installcheck-am:
657
658 maintainer-clean: maintainer-clean-am
659         -rm -rf ./$(DEPDIR)
660         -rm -f Makefile
661 maintainer-clean-am: distclean-am maintainer-clean-generic
662
663 mostlyclean: mostlyclean-am
664
665 mostlyclean-am: mostlyclean-compile mostlyclean-generic
666
667 pdf: pdf-am
668
669 pdf-am:
670
671 ps: ps-am
672
673 ps-am:
674
675 uninstall-am:
676
677 .MAKE: check-am install-am install-strip
678
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 \
690         uninstall-am
691
692
693 # This used to be required when Vex had a handwritten Makefile.  It
694 # shouldn't be needed any more, though.
695
696 #----------------------------------------------------------------------------
697 # noinst_PROGRAMS and noinst_DSYMS targets
698 #----------------------------------------------------------------------------
699
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"; \
711               dsymutil $$f; \
712           fi; \
713         done
714
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); \
723         done
724
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); \
731         done
732
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); \
740         done
741
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); \
750         done
751
752 # This needs to be depended on by a 'clean-local' rule.
753 clean-noinst_DSYMS:
754         for f in $(noinst_DSYMS); do \
755           rm -rf $$f.dSYM; \
756         done
757
758 check-local: build-noinst_DSYMS
759
760 clean-local: clean-noinst_DSYMS
761
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.
764 .NOEXPORT: