• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Makefile.in generated by automake 1.11.3 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, 2010, 2011 Free Software
6# Foundation, 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
28VPATH = @srcdir@
29pkgdatadir = $(datadir)/@PACKAGE@
30pkgincludedir = $(includedir)/@PACKAGE@
31pkglibdir = $(libdir)/@PACKAGE@
32pkglibexecdir = $(libexecdir)/@PACKAGE@
33am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
34install_sh_DATA = $(install_sh) -c -m 644
35install_sh_PROGRAM = $(install_sh) -c
36install_sh_SCRIPT = $(install_sh) -c
37INSTALL_HEADER = $(INSTALL_DATA)
38transform = $(program_transform_name)
39NORMAL_INSTALL = :
40PRE_INSTALL = :
41POST_INSTALL = :
42NORMAL_UNINSTALL = :
43PRE_UNINSTALL = :
44POST_UNINSTALL = :
45build_triplet = @build@
46host_triplet = @host@
47DIST_COMMON = $(dist_noinst_SCRIPTS) $(noinst_HEADERS) \
48	$(srcdir)/Makefile.am $(srcdir)/Makefile.in \
49	$(top_srcdir)/Makefile.all.am \
50	$(top_srcdir)/Makefile.tool-tests.am
51
52# The Android toolchain includes all kinds of stdlib helpers present in
53# bionic which is bad because we are not linking with it and the Android
54# linker will panic.
55@VGCONF_PLATVARIANT_IS_ANDROID_TRUE@am__append_1 = -nostdlib
56@VGCONF_HAVE_PLATFORM_SEC_TRUE@am__append_2 = -DVGA_SEC_@VGCONF_ARCH_SEC@=1  \
57@VGCONF_HAVE_PLATFORM_SEC_TRUE@		-DVGP_SEC_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1
58
59@HAS_WRITE_STRINGS_WARNING_TRUE@am__append_3 = -Wno-write-strings
60@COMPILER_IS_CLANG_TRUE@am__append_4 = -Wno-format-extra-args \
61@COMPILER_IS_CLANG_TRUE@	-Wno-literal-range \
62@COMPILER_IS_CLANG_TRUE@	-Wno-string-plus-int # \
63@COMPILER_IS_CLANG_TRUE@	drd/tests/annotate_ignore_rw.c
64@COMPILER_IS_CLANG_TRUE@am__append_5 = -Wno-unused-private-field    # drd/tests/tsan_unittest.cpp
65check_PROGRAMS = bug133694$(EXEEXT) int3-x86$(EXEEXT) scalar$(EXEEXT) \
66	scalar_exit_group$(EXEEXT) scalar_fork$(EXEEXT) \
67	scalar_supp$(EXEEXT) scalar_vfork$(EXEEXT)
68subdir = memcheck/tests/x86-linux
69ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
70am__aclocal_m4_deps = $(top_srcdir)/configure.ac
71am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
72	$(ACLOCAL_M4)
73mkinstalldirs = $(install_sh) -d
74CONFIG_HEADER = $(top_builddir)/config.h
75CONFIG_CLEAN_FILES =
76CONFIG_CLEAN_VPATH_FILES =
77bug133694_SOURCES = bug133694.c
78bug133694_OBJECTS = bug133694.$(OBJEXT)
79bug133694_LDADD = $(LDADD)
80int3_x86_SOURCES = int3-x86.c
81int3_x86_OBJECTS = int3-x86.$(OBJEXT)
82int3_x86_LDADD = $(LDADD)
83scalar_SOURCES = scalar.c
84scalar_OBJECTS = scalar.$(OBJEXT)
85scalar_LDADD = $(LDADD)
86scalar_exit_group_SOURCES = scalar_exit_group.c
87scalar_exit_group_OBJECTS = scalar_exit_group.$(OBJEXT)
88scalar_exit_group_LDADD = $(LDADD)
89scalar_fork_SOURCES = scalar_fork.c
90scalar_fork_OBJECTS = scalar_fork.$(OBJEXT)
91scalar_fork_LDADD = $(LDADD)
92scalar_supp_SOURCES = scalar_supp.c
93scalar_supp_OBJECTS = scalar_supp.$(OBJEXT)
94scalar_supp_LDADD = $(LDADD)
95scalar_vfork_SOURCES = scalar_vfork.c
96scalar_vfork_OBJECTS = scalar_vfork.$(OBJEXT)
97scalar_vfork_LDADD = $(LDADD)
98SCRIPTS = $(dist_noinst_SCRIPTS)
99DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
100depcomp = $(SHELL) $(top_srcdir)/depcomp
101am__depfiles_maybe = depfiles
102am__mv = mv -f
103COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
104	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
105CCLD = $(CC)
106LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
107SOURCES = bug133694.c int3-x86.c scalar.c scalar_exit_group.c \
108	scalar_fork.c scalar_supp.c scalar_vfork.c
109DIST_SOURCES = bug133694.c int3-x86.c scalar.c scalar_exit_group.c \
110	scalar_fork.c scalar_supp.c scalar_vfork.c
111HEADERS = $(noinst_HEADERS)
112ETAGS = etags
113CTAGS = ctags
114DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
115ACLOCAL = @ACLOCAL@
116AMTAR = @AMTAR@
117AR = @AR@
118AUTOCONF = @AUTOCONF@
119AUTOHEADER = @AUTOHEADER@
120AUTOMAKE = @AUTOMAKE@
121AWK = @AWK@
122BOOST_CFLAGS = @BOOST_CFLAGS@
123BOOST_LIBS = @BOOST_LIBS@
124CC = @CC@
125CCAS = @CCAS@
126CCASDEPMODE = @CCASDEPMODE@
127CCASFLAGS = @CCASFLAGS@
128CCDEPMODE = @CCDEPMODE@
129CFLAGS = @CFLAGS@ $(am__append_3) $(am__append_4)
130CFLAGS_MPI = @CFLAGS_MPI@
131CPP = @CPP@
132CPPFLAGS = @CPPFLAGS@
133CXX = @CXX@
134CXXDEPMODE = @CXXDEPMODE@
135CXXFLAGS = @CXXFLAGS@ $(am__append_5)
136CYGPATH_W = @CYGPATH_W@
137DEFAULT_SUPP = @DEFAULT_SUPP@
138DEFS = @DEFS@
139DEPDIR = @DEPDIR@
140DIFF = @DIFF@
141ECHO_C = @ECHO_C@
142ECHO_N = @ECHO_N@
143ECHO_T = @ECHO_T@
144EGREP = @EGREP@
145EXEEXT = @EXEEXT@
146FLAG_FNO_STACK_PROTECTOR = @FLAG_FNO_STACK_PROTECTOR@
147FLAG_M32 = @FLAG_M32@
148FLAG_M64 = @FLAG_M64@
149FLAG_MIPS32 = @FLAG_MIPS32@
150FLAG_MIPS64 = @FLAG_MIPS64@
151FLAG_MMMX = @FLAG_MMMX@
152FLAG_MSSE = @FLAG_MSSE@
153FLAG_NO_BUILD_ID = @FLAG_NO_BUILD_ID@
154FLAG_OCTEON = @FLAG_OCTEON@
155FLAG_OCTEON2 = @FLAG_OCTEON2@
156FLAG_T_TEXT = @FLAG_T_TEXT@
157FLAG_UNLIMITED_INLINE_UNIT_GROWTH = @FLAG_UNLIMITED_INLINE_UNIT_GROWTH@
158FLAG_W_EXTRA = @FLAG_W_EXTRA@
159FLAG_W_NO_EMPTY_BODY = @FLAG_W_NO_EMPTY_BODY@
160FLAG_W_NO_FORMAT_ZERO_LENGTH = @FLAG_W_NO_FORMAT_ZERO_LENGTH@
161FLAG_W_NO_NONNULL = @FLAG_W_NO_NONNULL@
162FLAG_W_NO_OVERFLOW = @FLAG_W_NO_OVERFLOW@
163FLAG_W_NO_UNINITIALIZED = @FLAG_W_NO_UNINITIALIZED@
164GDB = @GDB@
165GLIBC_VERSION = @GLIBC_VERSION@
166GREP = @GREP@
167INSTALL = @INSTALL@
168INSTALL_DATA = @INSTALL_DATA@
169INSTALL_PROGRAM = @INSTALL_PROGRAM@
170INSTALL_SCRIPT = @INSTALL_SCRIPT@
171INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
172LDFLAGS = @LDFLAGS@
173LDFLAGS_MPI = @LDFLAGS_MPI@
174LIBOBJS = @LIBOBJS@
175LIBS = @LIBS@
176LN_S = @LN_S@
177LTLIBOBJS = @LTLIBOBJS@
178MAINT = @MAINT@
179MAKEINFO = @MAKEINFO@
180MKDIR_P = @MKDIR_P@
181MPI_CC = @MPI_CC@
182OBJEXT = @OBJEXT@
183PACKAGE = @PACKAGE@
184PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
185PACKAGE_NAME = @PACKAGE_NAME@
186PACKAGE_STRING = @PACKAGE_STRING@
187PACKAGE_TARNAME = @PACKAGE_TARNAME@
188PACKAGE_URL = @PACKAGE_URL@
189PACKAGE_VERSION = @PACKAGE_VERSION@
190PATH_SEPARATOR = @PATH_SEPARATOR@
191PERL = @PERL@
192PREFERRED_STACK_BOUNDARY = @PREFERRED_STACK_BOUNDARY@
193RANLIB = @RANLIB@
194SED = @SED@
195SET_MAKE = @SET_MAKE@
196SHELL = @SHELL@
197STRIP = @STRIP@
198VALT_LOAD_ADDRESS_PRI = @VALT_LOAD_ADDRESS_PRI@
199VALT_LOAD_ADDRESS_SEC = @VALT_LOAD_ADDRESS_SEC@
200VERSION = @VERSION@
201VGCONF_ARCH_PRI = @VGCONF_ARCH_PRI@
202VGCONF_ARCH_SEC = @VGCONF_ARCH_SEC@
203VGCONF_OS = @VGCONF_OS@
204VGCONF_PLATFORM_PRI_CAPS = @VGCONF_PLATFORM_PRI_CAPS@
205VGCONF_PLATFORM_SEC_CAPS = @VGCONF_PLATFORM_SEC_CAPS@
206VGCONF_PLATVARIANT = @VGCONF_PLATVARIANT@
207abs_builddir = @abs_builddir@
208abs_srcdir = @abs_srcdir@
209abs_top_builddir = @abs_top_builddir@
210abs_top_srcdir = @abs_top_srcdir@
211ac_ct_CC = @ac_ct_CC@
212ac_ct_CXX = @ac_ct_CXX@
213am__include = @am__include@
214am__leading_dot = @am__leading_dot@
215am__quote = @am__quote@
216am__tar = @am__tar@
217am__untar = @am__untar@
218bindir = @bindir@
219build = @build@
220build_alias = @build_alias@
221build_cpu = @build_cpu@
222build_os = @build_os@
223build_vendor = @build_vendor@
224builddir = @builddir@
225datadir = @datadir@
226datarootdir = @datarootdir@
227docdir = @docdir@
228dvidir = @dvidir@
229exec_prefix = @exec_prefix@
230host = @host@
231host_alias = @host_alias@
232host_cpu = @host_cpu@
233host_os = @host_os@
234host_vendor = @host_vendor@
235htmldir = @htmldir@
236includedir = @includedir@
237infodir = @infodir@
238install_sh = @install_sh@
239libdir = @libdir@
240libexecdir = @libexecdir@
241localedir = @localedir@
242localstatedir = @localstatedir@
243mandir = @mandir@
244mkdir_p = @mkdir_p@
245oldincludedir = @oldincludedir@
246pdfdir = @pdfdir@
247prefix = @prefix@
248program_transform_name = @program_transform_name@
249psdir = @psdir@
250sbindir = @sbindir@
251sharedstatedir = @sharedstatedir@
252srcdir = @srcdir@
253sysconfdir = @sysconfdir@
254target_alias = @target_alias@
255top_build_prefix = @top_build_prefix@
256top_builddir = @top_builddir@
257top_srcdir = @top_srcdir@
258inplacedir = $(top_builddir)/.in_place
259
260#----------------------------------------------------------------------------
261# Flags
262#----------------------------------------------------------------------------
263
264# Baseline flags for all compilations.  Aim here is to maximise
265# performance and get whatever useful warnings we can out of gcc.
266# -fno-builtin is important for defeating LLVM's idiom recognition
267# that somehow causes VG_(memset) to get into infinite recursion.
268AM_CFLAGS_BASE = \
269	-O2 -g \
270	-Wall \
271	-Wmissing-prototypes \
272	-Wshadow \
273	-Wpointer-arith \
274	-Wstrict-prototypes \
275	-Wmissing-declarations \
276	@FLAG_W_NO_FORMAT_ZERO_LENGTH@ \
277	-fno-strict-aliasing \
278	-fno-builtin
279
280@VGCONF_OS_IS_DARWIN_FALSE@AM_CFLAGS_PIC = -fpic -O -g -fno-omit-frame-pointer -fno-strict-aliasing \
281@VGCONF_OS_IS_DARWIN_FALSE@		-fno-builtin
282
283
284# These flags are used for building the preload shared objects.
285# The aim is to give reasonable performance but also to have good
286# stack traces, since users often see stack traces extending
287# into (and through) the preloads.
288@VGCONF_OS_IS_DARWIN_TRUE@AM_CFLAGS_PIC = -dynamic -O -g -fno-omit-frame-pointer -fno-strict-aliasing \
289@VGCONF_OS_IS_DARWIN_TRUE@		-mno-dynamic-no-pic -fpic -fPIC \
290@VGCONF_OS_IS_DARWIN_TRUE@		-fno-builtin
291
292
293# Flags for specific targets.
294#
295# Nb: the AM_CPPFLAGS_* values are suitable for building tools and auxprogs.
296# For building the core, coregrind/Makefile.am files add some extra things.
297AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@ = \
298	-I$(top_srcdir) \
299	-I$(top_srcdir)/include \
300	-I$(top_srcdir)/VEX/pub \
301	-DVGA_@VGCONF_ARCH_PRI@=1 \
302	-DVGO_@VGCONF_OS@=1 \
303	-DVGP_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1 \
304	-DVGPV_@VGCONF_ARCH_PRI@_@VGCONF_OS@_@VGCONF_PLATVARIANT@=1
305
306@VGCONF_HAVE_PLATFORM_SEC_TRUE@AM_CPPFLAGS_@VGCONF_PLATFORM_SEC_CAPS@ = \
307@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-I$(top_srcdir) \
308@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-I$(top_srcdir)/include \
309@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-I$(top_srcdir)/VEX/pub \
310@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-DVGA_@VGCONF_ARCH_SEC@=1 \
311@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-DVGO_@VGCONF_OS@=1 \
312@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-DVGP_@VGCONF_ARCH_SEC@_@VGCONF_OS@=1 \
313@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-DVGPV_@VGCONF_ARCH_SEC@_@VGCONF_OS@_@VGCONF_PLATVARIANT@=1
314
315AM_FLAG_M3264_X86_LINUX = @FLAG_M32@
316AM_CFLAGS_X86_LINUX = @FLAG_M32@  @PREFERRED_STACK_BOUNDARY@ \
317				$(AM_CFLAGS_BASE) -fomit-frame-pointer
318
319AM_CCASFLAGS_X86_LINUX = @FLAG_M32@ -g
320AM_FLAG_M3264_AMD64_LINUX = @FLAG_M64@
321AM_CFLAGS_AMD64_LINUX = @FLAG_M64@ @PREFERRED_STACK_BOUNDARY@ \
322				$(AM_CFLAGS_BASE) -fomit-frame-pointer
323
324AM_CCASFLAGS_AMD64_LINUX = @FLAG_M64@ -g
325AM_FLAG_M3264_PPC32_LINUX = @FLAG_M32@
326AM_CFLAGS_PPC32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE)
327AM_CCASFLAGS_PPC32_LINUX = @FLAG_M32@ -g
328AM_FLAG_M3264_PPC64_LINUX = @FLAG_M64@
329AM_CFLAGS_PPC64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE)
330AM_CCASFLAGS_PPC64_LINUX = @FLAG_M64@ -g
331AM_FLAG_M3264_ARM_LINUX = @FLAG_M32@
332AM_CFLAGS_ARM_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \
333			 	$(AM_CFLAGS_BASE) -marm -mcpu=cortex-a8
334
335AM_CCASFLAGS_ARM_LINUX = @FLAG_M32@ \
336				-marm -mcpu=cortex-a8 -g
337
338AM_FLAG_M3264_ARM64_LINUX = @FLAG_M64@
339AM_CFLAGS_ARM64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE)
340AM_CCASFLAGS_ARM64_LINUX = @FLAG_M64@ -g
341AM_FLAG_M3264_X86_DARWIN = -arch i386
342AM_CFLAGS_X86_DARWIN = $(WERROR) -arch i386 $(AM_CFLAGS_BASE) \
343				-mmacosx-version-min=10.5 \
344				-fno-stack-protector -fno-pic -fno-PIC
345
346AM_CCASFLAGS_X86_DARWIN = -arch i386 -g
347AM_FLAG_M3264_AMD64_DARWIN = -arch x86_64
348AM_CFLAGS_AMD64_DARWIN = $(WERROR) -arch x86_64 $(AM_CFLAGS_BASE) \
349			    -mmacosx-version-min=10.5 -fno-stack-protector
350
351AM_CCASFLAGS_AMD64_DARWIN = -arch x86_64 -g
352AM_FLAG_M3264_S390X_LINUX = @FLAG_M64@
353AM_CFLAGS_S390X_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) -fomit-frame-pointer
354AM_CCASFLAGS_S390X_LINUX = @FLAG_M64@ -g -mzarch -march=z900
355AM_FLAG_M3264_MIPS32_LINUX = @FLAG_M32@
356AM_CFLAGS_MIPS32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) @FLAG_MIPS32@
357AM_CCASFLAGS_MIPS32_LINUX = @FLAG_M32@ -g @FLAG_MIPS32@
358AM_FLAG_M3264_MIPS64_LINUX = @FLAG_M64@
359AM_CFLAGS_MIPS64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) @FLAG_MIPS64@
360AM_CCASFLAGS_MIPS64_LINUX = @FLAG_M64@ -g @FLAG_MIPS64@
361
362# Flags for the primary target.  These must be used to build the
363# regtests and performance tests.  In fact, these must be used to
364# build anything which is built only once on a dual-arch build.
365#
366AM_FLAG_M3264_PRI = $(AM_FLAG_M3264_@VGCONF_PLATFORM_PRI_CAPS@)
367AM_CPPFLAGS_PRI = $(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
368AM_CFLAGS_PRI = $(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
369AM_CCASFLAGS_PRI = $(AM_CCASFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
370@VGCONF_HAVE_PLATFORM_SEC_FALSE@AM_FLAG_M3264_SEC =
371@VGCONF_HAVE_PLATFORM_SEC_TRUE@AM_FLAG_M3264_SEC = $(AM_FLAG_M3264_@VGCONF_PLATFORM_SEC_CAPS@)
372
373# Baseline link flags for making vgpreload shared objects.
374#
375PRELOAD_LDFLAGS_COMMON_LINUX = -nodefaultlibs -shared \
376	-Wl,-z,interpose,-z,initfirst $(am__append_1)
377PRELOAD_LDFLAGS_COMMON_DARWIN = -dynamic -dynamiclib -all_load
378PRELOAD_LDFLAGS_X86_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
379PRELOAD_LDFLAGS_AMD64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
380PRELOAD_LDFLAGS_PPC32_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
381PRELOAD_LDFLAGS_PPC64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
382PRELOAD_LDFLAGS_ARM_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
383PRELOAD_LDFLAGS_ARM64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
384PRELOAD_LDFLAGS_X86_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch i386
385PRELOAD_LDFLAGS_AMD64_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch x86_64
386PRELOAD_LDFLAGS_S390X_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
387PRELOAD_LDFLAGS_MIPS32_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
388PRELOAD_LDFLAGS_MIPS64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
389AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \
390	-I$(top_srcdir)/coregrind -I$(top_builddir)/include \
391	-I$(top_srcdir)/VEX/pub -DVGA_@VGCONF_ARCH_PRI@=1 \
392	-DVGO_@VGCONF_OS@=1 -DVGP_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1 \
393	-DVGPV_@VGCONF_ARCH_PRI@_@VGCONF_OS@_@VGCONF_PLATVARIANT@=1 \
394	$(am__append_2)
395
396# Nb: Tools need to augment these flags with an arch-selection option, such
397# as $(AM_FLAG_M3264_PRI).
398AM_CFLAGS = -Winline -Wall -Wshadow -g @FLAG_M32@ $(FLAG_MMMX) \
399	$(FLAG_MSSE)
400AM_CXXFLAGS = -Winline -Wall -Wshadow -g @FLAG_M32@ $(FLAG_MMMX) \
401	$(FLAG_MSSE)
402# Include AM_CPPFLAGS in AM_CCASFLAGS to allow for older versions of
403# automake;  see comments in Makefile.all.am for more detail.
404AM_CCASFLAGS = $(AM_CPPFLAGS) @FLAG_M32@
405@VGCONF_OS_IS_DARWIN_TRUE@noinst_DSYMS = $(check_PROGRAMS)
406dist_noinst_SCRIPTS = \
407	filter_scalar_exit_group \
408	filter_stderr
409
410noinst_HEADERS = scalar.h
411EXTRA_DIST = \
412	bug133694.vgtest bug133694.stderr.exp bug133694.stdout.exp \
413	int3-x86.vgtest int3-x86.stderr.exp int3-x86.stdout.exp \
414	scalar.stderr.exp scalar.vgtest \
415	scalar_fork.stderr.exp scalar_fork.vgtest \
416	scalar_exit_group.stderr.exp \
417	scalar_exit_group.vgtest \
418	scalar_supp.stderr.exp \
419	scalar_supp.vgtest scalar_supp.supp \
420	scalar_vfork.stderr.exp scalar_vfork.vgtest
421
422all: all-am
423
424.SUFFIXES:
425.SUFFIXES: .c .o .obj
426$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.tool-tests.am $(top_srcdir)/Makefile.all.am $(am__configure_deps)
427	@for dep in $?; do \
428	  case '$(am__configure_deps)' in \
429	    *$$dep*) \
430	      ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
431	        && { if test -f $@; then exit 0; else break; fi; }; \
432	      exit 1;; \
433	  esac; \
434	done; \
435	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign memcheck/tests/x86-linux/Makefile'; \
436	$(am__cd) $(top_srcdir) && \
437	  $(AUTOMAKE) --foreign memcheck/tests/x86-linux/Makefile
438.PRECIOUS: Makefile
439Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
440	@case '$?' in \
441	  *config.status*) \
442	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
443	  *) \
444	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
445	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
446	esac;
447$(top_srcdir)/Makefile.tool-tests.am $(top_srcdir)/Makefile.all.am:
448
449$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
450	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
451
452$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
453	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
454$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
455	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
456$(am__aclocal_m4_deps):
457
458clean-checkPROGRAMS:
459	-test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
460bug133694$(EXEEXT): $(bug133694_OBJECTS) $(bug133694_DEPENDENCIES) $(EXTRA_bug133694_DEPENDENCIES)
461	@rm -f bug133694$(EXEEXT)
462	$(LINK) $(bug133694_OBJECTS) $(bug133694_LDADD) $(LIBS)
463int3-x86$(EXEEXT): $(int3_x86_OBJECTS) $(int3_x86_DEPENDENCIES) $(EXTRA_int3_x86_DEPENDENCIES)
464	@rm -f int3-x86$(EXEEXT)
465	$(LINK) $(int3_x86_OBJECTS) $(int3_x86_LDADD) $(LIBS)
466scalar$(EXEEXT): $(scalar_OBJECTS) $(scalar_DEPENDENCIES) $(EXTRA_scalar_DEPENDENCIES)
467	@rm -f scalar$(EXEEXT)
468	$(LINK) $(scalar_OBJECTS) $(scalar_LDADD) $(LIBS)
469scalar_exit_group$(EXEEXT): $(scalar_exit_group_OBJECTS) $(scalar_exit_group_DEPENDENCIES) $(EXTRA_scalar_exit_group_DEPENDENCIES)
470	@rm -f scalar_exit_group$(EXEEXT)
471	$(LINK) $(scalar_exit_group_OBJECTS) $(scalar_exit_group_LDADD) $(LIBS)
472scalar_fork$(EXEEXT): $(scalar_fork_OBJECTS) $(scalar_fork_DEPENDENCIES) $(EXTRA_scalar_fork_DEPENDENCIES)
473	@rm -f scalar_fork$(EXEEXT)
474	$(LINK) $(scalar_fork_OBJECTS) $(scalar_fork_LDADD) $(LIBS)
475scalar_supp$(EXEEXT): $(scalar_supp_OBJECTS) $(scalar_supp_DEPENDENCIES) $(EXTRA_scalar_supp_DEPENDENCIES)
476	@rm -f scalar_supp$(EXEEXT)
477	$(LINK) $(scalar_supp_OBJECTS) $(scalar_supp_LDADD) $(LIBS)
478scalar_vfork$(EXEEXT): $(scalar_vfork_OBJECTS) $(scalar_vfork_DEPENDENCIES) $(EXTRA_scalar_vfork_DEPENDENCIES)
479	@rm -f scalar_vfork$(EXEEXT)
480	$(LINK) $(scalar_vfork_OBJECTS) $(scalar_vfork_LDADD) $(LIBS)
481
482mostlyclean-compile:
483	-rm -f *.$(OBJEXT)
484
485distclean-compile:
486	-rm -f *.tab.c
487
488@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bug133694.Po@am__quote@
489@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/int3-x86.Po@am__quote@
490@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scalar.Po@am__quote@
491@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scalar_exit_group.Po@am__quote@
492@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scalar_fork.Po@am__quote@
493@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scalar_supp.Po@am__quote@
494@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scalar_vfork.Po@am__quote@
495
496.c.o:
497@am__fastdepCC_TRUE@	depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
498@am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
499@am__fastdepCC_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Po
500@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
501@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
502@am__fastdepCC_FALSE@	$(COMPILE) -c -o $@ $<
503
504.c.obj:
505@am__fastdepCC_TRUE@	depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
506@am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
507@am__fastdepCC_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Po
508@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
509@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
510@am__fastdepCC_FALSE@	$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
511
512ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
513	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
514	unique=`for i in $$list; do \
515	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
516	  done | \
517	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
518	      END { if (nonempty) { for (i in files) print i; }; }'`; \
519	mkid -fID $$unique
520tags: TAGS
521
522TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
523		$(TAGS_FILES) $(LISP)
524	set x; \
525	here=`pwd`; \
526	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
527	unique=`for i in $$list; do \
528	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
529	  done | \
530	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
531	      END { if (nonempty) { for (i in files) print i; }; }'`; \
532	shift; \
533	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
534	  test -n "$$unique" || unique=$$empty_fix; \
535	  if test $$# -gt 0; then \
536	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
537	      "$$@" $$unique; \
538	  else \
539	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
540	      $$unique; \
541	  fi; \
542	fi
543ctags: CTAGS
544CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
545		$(TAGS_FILES) $(LISP)
546	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
547	unique=`for i in $$list; do \
548	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
549	  done | \
550	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
551	      END { if (nonempty) { for (i in files) print i; }; }'`; \
552	test -z "$(CTAGS_ARGS)$$unique" \
553	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
554	     $$unique
555
556GTAGS:
557	here=`$(am__cd) $(top_builddir) && pwd` \
558	  && $(am__cd) $(top_srcdir) \
559	  && gtags -i $(GTAGS_ARGS) "$$here"
560
561distclean-tags:
562	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
563
564distdir: $(DISTFILES)
565	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
566	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
567	list='$(DISTFILES)'; \
568	  dist_files=`for file in $$list; do echo $$file; done | \
569	  sed -e "s|^$$srcdirstrip/||;t" \
570	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
571	case $$dist_files in \
572	  */*) $(MKDIR_P) `echo "$$dist_files" | \
573			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
574			   sort -u` ;; \
575	esac; \
576	for file in $$dist_files; do \
577	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
578	  if test -d $$d/$$file; then \
579	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
580	    if test -d "$(distdir)/$$file"; then \
581	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
582	    fi; \
583	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
584	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
585	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
586	    fi; \
587	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
588	  else \
589	    test -f "$(distdir)/$$file" \
590	    || cp -p $$d/$$file "$(distdir)/$$file" \
591	    || exit 1; \
592	  fi; \
593	done
594check-am: all-am
595	$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
596	$(MAKE) $(AM_MAKEFLAGS) check-local
597check: check-am
598all-am: Makefile $(SCRIPTS) $(HEADERS)
599installdirs:
600install: install-am
601install-exec: install-exec-am
602install-data: install-data-am
603uninstall: uninstall-am
604
605install-am: all-am
606	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
607
608installcheck: installcheck-am
609install-strip:
610	if test -z '$(STRIP)'; then \
611	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
612	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
613	      install; \
614	else \
615	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
616	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
617	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
618	fi
619mostlyclean-generic:
620
621clean-generic:
622
623distclean-generic:
624	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
625	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
626
627maintainer-clean-generic:
628	@echo "This command is intended for maintainers to use"
629	@echo "it deletes files that may require special tools to rebuild."
630clean: clean-am
631
632clean-am: clean-checkPROGRAMS clean-generic clean-local mostlyclean-am
633
634distclean: distclean-am
635	-rm -rf ./$(DEPDIR)
636	-rm -f Makefile
637distclean-am: clean-am distclean-compile distclean-generic \
638	distclean-tags
639
640dvi: dvi-am
641
642dvi-am:
643
644html: html-am
645
646html-am:
647
648info: info-am
649
650info-am:
651
652install-data-am:
653
654install-dvi: install-dvi-am
655
656install-dvi-am:
657
658install-exec-am:
659
660install-html: install-html-am
661
662install-html-am:
663
664install-info: install-info-am
665
666install-info-am:
667
668install-man:
669
670install-pdf: install-pdf-am
671
672install-pdf-am:
673
674install-ps: install-ps-am
675
676install-ps-am:
677
678installcheck-am:
679
680maintainer-clean: maintainer-clean-am
681	-rm -rf ./$(DEPDIR)
682	-rm -f Makefile
683maintainer-clean-am: distclean-am maintainer-clean-generic
684
685mostlyclean: mostlyclean-am
686
687mostlyclean-am: mostlyclean-compile mostlyclean-generic
688
689pdf: pdf-am
690
691pdf-am:
692
693ps: ps-am
694
695ps-am:
696
697uninstall-am:
698
699.MAKE: check-am install-am install-strip
700
701.PHONY: CTAGS GTAGS all all-am check check-am check-local clean \
702	clean-checkPROGRAMS clean-generic clean-local ctags distclean \
703	distclean-compile distclean-generic distclean-tags distdir dvi \
704	dvi-am html html-am info info-am install install-am \
705	install-data install-data-am install-dvi install-dvi-am \
706	install-exec install-exec-am install-html install-html-am \
707	install-info install-info-am install-man install-pdf \
708	install-pdf-am install-ps install-ps-am install-strip \
709	installcheck installcheck-am installdirs maintainer-clean \
710	maintainer-clean-generic mostlyclean mostlyclean-compile \
711	mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
712	uninstall-am
713
714
715# This used to be required when Vex had a handwritten Makefile.  It
716# shouldn't be needed any more, though.
717
718#----------------------------------------------------------------------------
719# noinst_PROGRAMS and noinst_DSYMS targets
720#----------------------------------------------------------------------------
721
722# On Darwin, for a program 'p', the DWARF debug info is stored in the
723# directory 'p.dSYM'.  This must be generated after the executable is
724# created, with 'dsymutil p'.  We could redefine LINK with a script that
725# executes 'dsymutil' after linking, but that's a pain.  Instead we use this
726# hook so that every time "make check" is run, we subsequently invoke
727# 'dsymutil' on all the executables that lack a .dSYM directory, or that are
728# newer than their corresponding .dSYM directory.
729build-noinst_DSYMS: $(noinst_DSYMS)
730	for f in $(noinst_DSYMS); do \
731	  if [ ! -e $$f.dSYM  -o  $$f -nt $$f.dSYM ] ; then \
732	      echo "dsymutil $$f"; \
733	      dsymutil $$f; \
734	  fi; \
735	done
736
737# This is used by coregrind/Makefile.am and Makefile.tool.am for doing
738# "in-place" installs.  It copies $(noinst_PROGRAMS) into $inplacedir.
739# It needs to be depended on by an 'all-local' rule.
740inplace-noinst_PROGRAMS: $(noinst_PROGRAMS)
741	mkdir -p $(inplacedir); \
742	for f in $(noinst_PROGRAMS) ; do \
743	  rm -f $(inplacedir)/$$f; \
744	  ln -f -s ../$(subdir)/$$f $(inplacedir); \
745	done
746
747# Similar to inplace-noinst_PROGRAMS
748inplace-noinst_DSYMS: build-noinst_DSYMS
749	mkdir -p $(inplacedir); \
750	for f in $(noinst_DSYMS); do \
751	  rm -f $(inplacedir)/$$f.dSYM; \
752	  ln -f -s ../$(subdir)/$$f.dSYM $(inplacedir); \
753	done
754
755# This is used by coregrind/Makefile.am and by <tool>/Makefile.am for doing
756# "make install".  It copies $(noinst_PROGRAMS) into $prefix/lib/valgrind/.
757# It needs to be depended on by an 'install-exec-local' rule.
758install-noinst_PROGRAMS: $(noinst_PROGRAMS)
759	$(mkinstalldirs) $(DESTDIR)$(pkglibdir); \
760	for f in $(noinst_PROGRAMS); do \
761	  $(INSTALL_PROGRAM) $$f $(DESTDIR)$(pkglibdir); \
762	done
763
764# Similar to install-noinst_PROGRAMS.
765# Nb: we don't use $(INSTALL_PROGRAM) here because it doesn't work with
766# directories.  XXX: not sure whether the resulting permissions will be
767# correct when using 'cp -R'...
768install-noinst_DSYMS: build-noinst_DSYMS
769	$(mkinstalldirs) $(DESTDIR)$(pkglibdir); \
770	for f in $(noinst_DSYMS); do \
771	  cp -R $$f.dSYM $(DESTDIR)$(pkglibdir); \
772	done
773
774# This needs to be depended on by a 'clean-local' rule.
775clean-noinst_DSYMS:
776	for f in $(noinst_DSYMS); do \
777	  rm -rf $$f.dSYM; \
778	done
779
780check-local: build-noinst_DSYMS
781
782clean-local: clean-noinst_DSYMS
783
784# Tell versions [3.59,3.63) of GNU make to not export all variables.
785# Otherwise a system limit (for SysV at least) may be exceeded.
786.NOEXPORT:
787