• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Makefile.in generated by automake 1.15 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994-2014 Free Software Foundation, Inc.
5
6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13# PARTICULAR PURPOSE.
14
15@SET_MAKE@
16
17# This file is used for tool tests, and also in perf/Makefile.am.
18
19# This file should be included (directly or indirectly) by every
20# Makefile.am that builds programs.  And also the top-level Makefile.am.
21
22#----------------------------------------------------------------------------
23# Global stuff
24#----------------------------------------------------------------------------
25
26VPATH = @srcdir@
27am__is_gnu_make = { \
28  if test -z '$(MAKELEVEL)'; then \
29    false; \
30  elif test -n '$(MAKE_HOST)'; then \
31    true; \
32  elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
33    true; \
34  else \
35    false; \
36  fi; \
37}
38am__make_running_with_option = \
39  case $${target_option-} in \
40      ?) ;; \
41      *) echo "am__make_running_with_option: internal error: invalid" \
42              "target option '$${target_option-}' specified" >&2; \
43         exit 1;; \
44  esac; \
45  has_opt=no; \
46  sane_makeflags=$$MAKEFLAGS; \
47  if $(am__is_gnu_make); then \
48    sane_makeflags=$$MFLAGS; \
49  else \
50    case $$MAKEFLAGS in \
51      *\\[\ \	]*) \
52        bs=\\; \
53        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
54          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
55    esac; \
56  fi; \
57  skip_next=no; \
58  strip_trailopt () \
59  { \
60    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
61  }; \
62  for flg in $$sane_makeflags; do \
63    test $$skip_next = yes && { skip_next=no; continue; }; \
64    case $$flg in \
65      *=*|--*) continue;; \
66        -*I) strip_trailopt 'I'; skip_next=yes;; \
67      -*I?*) strip_trailopt 'I';; \
68        -*O) strip_trailopt 'O'; skip_next=yes;; \
69      -*O?*) strip_trailopt 'O';; \
70        -*l) strip_trailopt 'l'; skip_next=yes;; \
71      -*l?*) strip_trailopt 'l';; \
72      -[dEDm]) skip_next=yes;; \
73      -[JT]) skip_next=yes;; \
74    esac; \
75    case $$flg in \
76      *$$target_option*) has_opt=yes; break;; \
77    esac; \
78  done; \
79  test $$has_opt = yes
80am__make_dryrun = (target_option=n; $(am__make_running_with_option))
81am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
82pkgdatadir = $(datadir)/@PACKAGE@
83pkgincludedir = $(includedir)/@PACKAGE@
84pkglibdir = $(libdir)/@PACKAGE@
85pkglibexecdir = $(libexecdir)/@PACKAGE@
86am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
87install_sh_DATA = $(install_sh) -c -m 644
88install_sh_PROGRAM = $(install_sh) -c
89install_sh_SCRIPT = $(install_sh) -c
90INSTALL_HEADER = $(INSTALL_DATA)
91transform = $(program_transform_name)
92NORMAL_INSTALL = :
93PRE_INSTALL = :
94POST_INSTALL = :
95NORMAL_UNINSTALL = :
96PRE_UNINSTALL = :
97POST_UNINSTALL = :
98build_triplet = @build@
99host_triplet = @host@
100@COMPILER_IS_CLANG_TRUE@am__append_1 = -Wno-cast-align -Wno-self-assign \
101@COMPILER_IS_CLANG_TRUE@                  -Wno-tautological-compare
102
103@SOLARIS_XPG_SYMBOLS_PRESENT_TRUE@am__append_2 = -Wl,-M,$(top_srcdir)/solaris/vgpreload-solaris.mapfile
104
105# The Android toolchain includes all kinds of stdlib helpers present in
106# bionic which is bad because we are not linking with it and the Android
107# linker will panic.
108@VGCONF_PLATVARIANT_IS_ANDROID_TRUE@am__append_3 = -nostdlib
109@VGCONF_HAVE_PLATFORM_SEC_TRUE@am__append_4 = -DVGA_SEC_@VGCONF_ARCH_SEC@=1  \
110@VGCONF_HAVE_PLATFORM_SEC_TRUE@		-DVGP_SEC_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1
111
112
113# Make sure that all test programs have threaded errno.
114# Disable largefile support as there are test cases explicitly enabling it.
115@VGCONF_OS_IS_SOLARIS_TRUE@am__append_5 = -D_REENTRANT @SOLARIS_UNDEF_LARGESOURCE@
116@COMPILER_IS_CLANG_TRUE@am__append_6 = -Wno-format-extra-args \
117@COMPILER_IS_CLANG_TRUE@	-Wno-literal-range \
118@COMPILER_IS_CLANG_TRUE@	-Wno-tautological-constant-out-of-range-compare \
119@COMPILER_IS_CLANG_TRUE@	-Wno-self-assign -Wno-string-plus-int \
120@COMPILER_IS_CLANG_TRUE@	-Wno-uninitialized -Wno-unused-value # \
121@COMPILER_IS_CLANG_TRUE@	clang 3.0.0
122@COMPILER_IS_CLANG_TRUE@am__append_7 = -Wno-unused-private-field    # drd/tests/tsan_unittest.cpp
123check_PROGRAMS = million$(EXEEXT) ll$(EXEEXT)
124subdir = exp-bbv/tests/arm-linux
125ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
126am__aclocal_m4_deps = $(top_srcdir)/configure.ac
127am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
128	$(ACLOCAL_M4)
129DIST_COMMON = $(srcdir)/Makefile.am $(dist_noinst_SCRIPTS) \
130	$(am__DIST_COMMON)
131mkinstalldirs = $(install_sh) -d
132CONFIG_HEADER = $(top_builddir)/config.h
133CONFIG_CLEAN_FILES =
134CONFIG_CLEAN_VPATH_FILES =
135am_ll_OBJECTS = ll.$(OBJEXT)
136ll_OBJECTS = $(am_ll_OBJECTS)
137ll_LDADD = $(LDADD)
138am_million_OBJECTS = million.$(OBJEXT)
139million_OBJECTS = $(am_million_OBJECTS)
140million_LDADD = $(LDADD)
141SCRIPTS = $(dist_noinst_SCRIPTS)
142AM_V_P = $(am__v_P_@AM_V@)
143am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
144am__v_P_0 = false
145am__v_P_1 = :
146AM_V_GEN = $(am__v_GEN_@AM_V@)
147am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
148am__v_GEN_0 = @echo "  GEN     " $@;
149am__v_GEN_1 =
150AM_V_at = $(am__v_at_@AM_V@)
151am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
152am__v_at_0 = @
153am__v_at_1 =
154DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
155depcomp = $(SHELL) $(top_srcdir)/depcomp
156am__depfiles_maybe = depfiles
157am__mv = mv -f
158CPPASCOMPILE = $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
159	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CCASFLAGS) $(CCASFLAGS)
160AM_V_CPPAS = $(am__v_CPPAS_@AM_V@)
161am__v_CPPAS_ = $(am__v_CPPAS_@AM_DEFAULT_V@)
162am__v_CPPAS_0 = @echo "  CPPAS   " $@;
163am__v_CPPAS_1 =
164COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
165	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
166AM_V_CC = $(am__v_CC_@AM_V@)
167am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
168am__v_CC_0 = @echo "  CC      " $@;
169am__v_CC_1 =
170CCLD = $(CC)
171LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
172AM_V_CCLD = $(am__v_CCLD_@AM_V@)
173am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
174am__v_CCLD_0 = @echo "  CCLD    " $@;
175am__v_CCLD_1 =
176SOURCES = $(ll_SOURCES) $(million_SOURCES)
177DIST_SOURCES = $(ll_SOURCES) $(million_SOURCES)
178am__can_run_installinfo = \
179  case $$AM_UPDATE_INFO_DIR in \
180    n|no|NO) false;; \
181    *) (install-info --version) >/dev/null 2>&1;; \
182  esac
183am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
184# Read a list of newline-separated strings from the standard input,
185# and print each of them once, without duplicates.  Input order is
186# *not* preserved.
187am__uniquify_input = $(AWK) '\
188  BEGIN { nonempty = 0; } \
189  { items[$$0] = 1; nonempty = 1; } \
190  END { if (nonempty) { for (i in items) print i; }; } \
191'
192# Make sure the list of sources is unique.  This is necessary because,
193# e.g., the same source file might be shared among _SOURCES variables
194# for different programs/libraries.
195am__define_uniq_tagged_files = \
196  list='$(am__tagged_files)'; \
197  unique=`for i in $$list; do \
198    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
199  done | $(am__uniquify_input)`
200ETAGS = etags
201CTAGS = ctags
202am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.all.am \
203	$(top_srcdir)/Makefile.tool-tests.am $(top_srcdir)/depcomp
204DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
205ACLOCAL = @ACLOCAL@
206AMTAR = @AMTAR@
207AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
208AR = @AR@
209AUTOCONF = @AUTOCONF@
210AUTOHEADER = @AUTOHEADER@
211AUTOMAKE = @AUTOMAKE@
212AWK = @AWK@
213BOOST_CFLAGS = @BOOST_CFLAGS@
214BOOST_LIBS = @BOOST_LIBS@
215CC = @CC@
216CCAS = @CCAS@
217CCASDEPMODE = @CCASDEPMODE@
218CCASFLAGS = @CCASFLAGS@
219CCDEPMODE = @CCDEPMODE@
220CFLAGS = @CFLAGS@
221CFLAGS_MPI = @CFLAGS_MPI@
222CPP = @CPP@
223CPPFLAGS = @CPPFLAGS@
224CXX = @CXX@
225CXXDEPMODE = @CXXDEPMODE@
226CXXFLAGS = @CXXFLAGS@
227CYGPATH_W = @CYGPATH_W@
228DEFAULT_SUPP = @DEFAULT_SUPP@
229DEFS = @DEFS@
230DEPDIR = @DEPDIR@
231DIFF = @DIFF@
232DIS_PATH = @DIS_PATH@
233ECHO_C = @ECHO_C@
234ECHO_N = @ECHO_N@
235ECHO_T = @ECHO_T@
236EGREP = @EGREP@
237EXEEXT = @EXEEXT@
238FLAG_FNO_IPA_ICF = @FLAG_FNO_IPA_ICF@
239FLAG_FNO_STACK_PROTECTOR = @FLAG_FNO_STACK_PROTECTOR@
240FLAG_FSANITIZE = @FLAG_FSANITIZE@
241FLAG_M32 = @FLAG_M32@
242FLAG_M64 = @FLAG_M64@
243FLAG_MIPS32 = @FLAG_MIPS32@
244FLAG_MIPS64 = @FLAG_MIPS64@
245FLAG_MLONG_DOUBLE_128 = @FLAG_MLONG_DOUBLE_128@
246FLAG_MMMX = @FLAG_MMMX@
247FLAG_MSSE = @FLAG_MSSE@
248FLAG_NO_BUILD_ID = @FLAG_NO_BUILD_ID@
249FLAG_NO_PIE = @FLAG_NO_PIE@
250FLAG_OCTEON = @FLAG_OCTEON@
251FLAG_OCTEON2 = @FLAG_OCTEON2@
252FLAG_T_TEXT = @FLAG_T_TEXT@
253FLAG_UNLIMITED_INLINE_UNIT_GROWTH = @FLAG_UNLIMITED_INLINE_UNIT_GROWTH@
254FLAG_W_CAST_ALIGN = @FLAG_W_CAST_ALIGN@
255FLAG_W_CAST_QUAL = @FLAG_W_CAST_QUAL@
256FLAG_W_EMPTY_BODY = @FLAG_W_EMPTY_BODY@
257FLAG_W_EXTRA = @FLAG_W_EXTRA@
258FLAG_W_FORMAT = @FLAG_W_FORMAT@
259FLAG_W_FORMAT_SECURITY = @FLAG_W_FORMAT_SECURITY@
260FLAG_W_FORMAT_SIGNEDNESS = @FLAG_W_FORMAT_SIGNEDNESS@
261FLAG_W_IGNORED_QUALIFIERS = @FLAG_W_IGNORED_QUALIFIERS@
262FLAG_W_MISSING_PARAMETER_TYPE = @FLAG_W_MISSING_PARAMETER_TYPE@
263FLAG_W_NO_INFINITE_RECURSION = @FLAG_W_NO_INFINITE_RECURSION@
264FLAG_W_NO_MEMSET_TRANSPOSED_ARGS = @FLAG_W_NO_MEMSET_TRANSPOSED_ARGS@
265FLAG_W_NO_MISMATCHED_NEW_DELETE = @FLAG_W_NO_MISMATCHED_NEW_DELETE@
266FLAG_W_NO_NONNULL = @FLAG_W_NO_NONNULL@
267FLAG_W_NO_OVERFLOW = @FLAG_W_NO_OVERFLOW@
268FLAG_W_NO_POINTER_SIGN = @FLAG_W_NO_POINTER_SIGN@
269FLAG_W_NO_STATIC_LOCAL_IN_INLINE = @FLAG_W_NO_STATIC_LOCAL_IN_INLINE@
270FLAG_W_NO_UNINITIALIZED = @FLAG_W_NO_UNINITIALIZED@
271FLAG_W_NO_UNUSED_FUNCTION = @FLAG_W_NO_UNUSED_FUNCTION@
272FLAG_W_OLD_STYLE_DECLARATION = @FLAG_W_OLD_STYLE_DECLARATION@
273FLAG_W_WRITE_STRINGS = @FLAG_W_WRITE_STRINGS@
274GDB = @GDB@
275GLIBC_VERSION = @GLIBC_VERSION@
276GREP = @GREP@
277HWCAP_HAS_ALTIVEC = @HWCAP_HAS_ALTIVEC@
278HWCAP_HAS_DFP = @HWCAP_HAS_DFP@
279HWCAP_HAS_HTM = @HWCAP_HAS_HTM@
280HWCAP_HAS_ISA_2_05 = @HWCAP_HAS_ISA_2_05@
281HWCAP_HAS_ISA_2_06 = @HWCAP_HAS_ISA_2_06@
282HWCAP_HAS_ISA_2_07 = @HWCAP_HAS_ISA_2_07@
283HWCAP_HAS_ISA_3_00 = @HWCAP_HAS_ISA_3_00@
284HWCAP_HAS_VSX = @HWCAP_HAS_VSX@
285INSTALL = @INSTALL@
286INSTALL_DATA = @INSTALL_DATA@
287INSTALL_PROGRAM = @INSTALL_PROGRAM@
288INSTALL_SCRIPT = @INSTALL_SCRIPT@
289INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
290LDFLAGS = @LDFLAGS@
291LDFLAGS_MPI = @LDFLAGS_MPI@
292LIBOBJS = @LIBOBJS@
293LIBS = @LIBS@
294LIB_UBSAN = @LIB_UBSAN@
295LN_S = @LN_S@
296LTLIBOBJS = @LTLIBOBJS@
297MAINT = @MAINT@
298MAKEINFO = @MAKEINFO@
299MKDIR_P = @MKDIR_P@
300MPI_CC = @MPI_CC@
301OBJEXT = @OBJEXT@
302PACKAGE = @PACKAGE@
303PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
304PACKAGE_NAME = @PACKAGE_NAME@
305PACKAGE_STRING = @PACKAGE_STRING@
306PACKAGE_TARNAME = @PACKAGE_TARNAME@
307PACKAGE_URL = @PACKAGE_URL@
308PACKAGE_VERSION = @PACKAGE_VERSION@
309PATH_SEPARATOR = @PATH_SEPARATOR@
310PERL = @PERL@
311PREFERRED_STACK_BOUNDARY_2 = @PREFERRED_STACK_BOUNDARY_2@
312RANLIB = @RANLIB@
313SED = @SED@
314SET_MAKE = @SET_MAKE@
315SHELL = @SHELL@
316SOLARIS_UNDEF_LARGESOURCE = @SOLARIS_UNDEF_LARGESOURCE@
317STRIP = @STRIP@
318VALT_LOAD_ADDRESS_PRI = @VALT_LOAD_ADDRESS_PRI@
319VALT_LOAD_ADDRESS_SEC = @VALT_LOAD_ADDRESS_SEC@
320VERSION = @VERSION@
321VGCONF_ARCH_PRI = @VGCONF_ARCH_PRI@
322VGCONF_ARCH_SEC = @VGCONF_ARCH_SEC@
323VGCONF_OS = @VGCONF_OS@
324VGCONF_PLATFORM_PRI_CAPS = @VGCONF_PLATFORM_PRI_CAPS@
325VGCONF_PLATFORM_SEC_CAPS = @VGCONF_PLATFORM_SEC_CAPS@
326VGCONF_PLATVARIANT = @VGCONF_PLATVARIANT@
327VG_TMPDIR = @VG_TMPDIR@
328abs_builddir = @abs_builddir@
329abs_srcdir = @abs_srcdir@
330abs_top_builddir = @abs_top_builddir@
331abs_top_srcdir = @abs_top_srcdir@
332ac_ct_CC = @ac_ct_CC@
333ac_ct_CXX = @ac_ct_CXX@
334am__include = @am__include@
335am__leading_dot = @am__leading_dot@
336am__quote = @am__quote@
337am__tar = @am__tar@
338am__untar = @am__untar@
339bindir = @bindir@
340build = @build@
341build_alias = @build_alias@
342build_cpu = @build_cpu@
343build_os = @build_os@
344build_vendor = @build_vendor@
345builddir = @builddir@
346datadir = @datadir@
347datarootdir = @datarootdir@
348docdir = @docdir@
349dvidir = @dvidir@
350exec_prefix = @exec_prefix@
351host = @host@
352host_alias = @host_alias@
353host_cpu = @host_cpu@
354host_os = @host_os@
355host_vendor = @host_vendor@
356htmldir = @htmldir@
357includedir = @includedir@
358infodir = @infodir@
359install_sh = @install_sh@
360libdir = @libdir@
361libexecdir = @libexecdir@
362localedir = @localedir@
363localstatedir = @localstatedir@
364mandir = @mandir@
365mkdir_p = @mkdir_p@
366oldincludedir = @oldincludedir@
367pdfdir = @pdfdir@
368prefix = @prefix@
369program_transform_name = @program_transform_name@
370psdir = @psdir@
371sbindir = @sbindir@
372sharedstatedir = @sharedstatedir@
373srcdir = @srcdir@
374sysconfdir = @sysconfdir@
375target_alias = @target_alias@
376top_build_prefix = @top_build_prefix@
377top_builddir = @top_builddir@
378top_srcdir = @top_srcdir@
379inplacedir = $(top_builddir)/.in_place
380
381#----------------------------------------------------------------------------
382# Flags
383#----------------------------------------------------------------------------
384
385# Baseline flags for all compilations.  Aim here is to maximise
386# performance and get whatever useful warnings we can out of gcc.
387# -fno-builtin is important for defeating LLVM's idiom recognition
388# that somehow causes VG_(memset) to get into infinite recursion.
389AM_CFLAGS_BASE = -O2 -g -std=gnu99 -Wall -Wmissing-prototypes -Wshadow \
390	-Wpointer-arith -Wstrict-prototypes -Wmissing-declarations \
391	@FLAG_W_CAST_ALIGN@ @FLAG_W_CAST_QUAL@ @FLAG_W_WRITE_STRINGS@ \
392	@FLAG_W_EMPTY_BODY@ @FLAG_W_FORMAT@ @FLAG_W_FORMAT_SIGNEDNESS@ \
393	@FLAG_W_FORMAT_SECURITY@ @FLAG_W_IGNORED_QUALIFIERS@ \
394	@FLAG_W_MISSING_PARAMETER_TYPE@ @FLAG_W_OLD_STYLE_DECLARATION@ \
395	@FLAG_FNO_STACK_PROTECTOR@ @FLAG_FSANITIZE@ \
396	-fno-strict-aliasing -fno-builtin $(am__append_1)
397@VGCONF_OS_IS_DARWIN_FALSE@AM_CFLAGS_PSO_BASE = -O -g -fno-omit-frame-pointer -fno-strict-aliasing \
398@VGCONF_OS_IS_DARWIN_FALSE@		     -fpic -fno-builtin @FLAG_FNO_IPA_ICF@
399
400
401# These flags are used for building the preload shared objects (PSOs).
402# The aim is to give reasonable performance but also to have good
403# stack traces, since users often see stack traces extending
404# into (and through) the preloads.  Also, we must use any
405# -mpreferred-stack-boundary flag to build the preload shared
406# objects, since that risks misaligning the client's stack and
407# results in segfaults like (eg) #324050.
408@VGCONF_OS_IS_DARWIN_TRUE@AM_CFLAGS_PSO_BASE = -dynamic \
409@VGCONF_OS_IS_DARWIN_TRUE@		     -O -g -fno-omit-frame-pointer -fno-strict-aliasing \
410@VGCONF_OS_IS_DARWIN_TRUE@		     -fpic -fPIC -fno-builtin @FLAG_FNO_IPA_ICF@
411
412
413# Flags for specific targets.
414#
415# Nb: the AM_CPPFLAGS_* values are suitable for building tools and auxprogs.
416# For building the core, coregrind/Makefile.am files add some extra things.
417AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@ = \
418	-I$(top_srcdir) \
419	-I$(top_srcdir)/include \
420	-I$(top_builddir)/include \
421	-I$(top_srcdir)/VEX/pub \
422	-I$(top_builddir)/VEX/pub \
423	-DVGA_@VGCONF_ARCH_PRI@=1 \
424	-DVGO_@VGCONF_OS@=1 \
425	-DVGP_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1 \
426	-DVGPV_@VGCONF_ARCH_PRI@_@VGCONF_OS@_@VGCONF_PLATVARIANT@=1
427
428@VGCONF_HAVE_PLATFORM_SEC_TRUE@AM_CPPFLAGS_@VGCONF_PLATFORM_SEC_CAPS@ = \
429@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-I$(top_srcdir) \
430@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-I$(top_srcdir)/include \
431@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-I$(top_builddir)/include \
432@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-I$(top_srcdir)/VEX/pub \
433@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-I$(top_builddir)/VEX/pub \
434@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-DVGA_@VGCONF_ARCH_SEC@=1 \
435@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-DVGO_@VGCONF_OS@=1 \
436@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-DVGP_@VGCONF_ARCH_SEC@_@VGCONF_OS@=1 \
437@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-DVGPV_@VGCONF_ARCH_SEC@_@VGCONF_OS@_@VGCONF_PLATVARIANT@=1
438
439AM_FLAG_M3264_X86_LINUX = @FLAG_M32@
440AM_CFLAGS_X86_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY_2@ \
441				$(AM_CFLAGS_BASE) -fomit-frame-pointer
442
443AM_CFLAGS_PSO_X86_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE)
444AM_CCASFLAGS_X86_LINUX = @FLAG_M32@ -g
445AM_FLAG_M3264_AMD64_LINUX = @FLAG_M64@
446AM_CFLAGS_AMD64_LINUX = @FLAG_M64@ \
447				$(AM_CFLAGS_BASE) -fomit-frame-pointer
448
449AM_CFLAGS_PSO_AMD64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE)
450AM_CCASFLAGS_AMD64_LINUX = @FLAG_M64@ -g
451AM_FLAG_M3264_PPC32_LINUX = @FLAG_M32@
452AM_CFLAGS_PPC32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE)
453AM_CFLAGS_PSO_PPC32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE)
454AM_CCASFLAGS_PPC32_LINUX = @FLAG_M32@ -g
455AM_FLAG_M3264_PPC64BE_LINUX = @FLAG_M64@
456AM_CFLAGS_PPC64BE_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE)
457AM_CFLAGS_PSO_PPC64BE_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE)
458AM_CCASFLAGS_PPC64BE_LINUX = @FLAG_M64@ -g
459AM_FLAG_M3264_PPC64LE_LINUX = @FLAG_M64@
460AM_CFLAGS_PPC64LE_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE)
461AM_CFLAGS_PSO_PPC64LE_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE)
462AM_CCASFLAGS_PPC64LE_LINUX = @FLAG_M64@ -g
463AM_FLAG_M3264_ARM_LINUX = @FLAG_M32@
464AM_CFLAGS_ARM_LINUX = @FLAG_M32@ \
465			 	$(AM_CFLAGS_BASE) -marm -mcpu=cortex-a8
466
467AM_CFLAGS_PSO_ARM_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) \
468				-marm -mcpu=cortex-a8 $(AM_CFLAGS_PSO_BASE)
469
470AM_CCASFLAGS_ARM_LINUX = @FLAG_M32@ \
471				-marm -mcpu=cortex-a8 -g
472
473AM_FLAG_M3264_ARM64_LINUX = @FLAG_M64@
474AM_CFLAGS_ARM64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE)
475AM_CFLAGS_PSO_ARM64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE)
476AM_CCASFLAGS_ARM64_LINUX = @FLAG_M64@ -g
477AM_FLAG_M3264_X86_DARWIN = -arch i386
478AM_CFLAGS_X86_DARWIN = $(WERROR) -arch i386 $(AM_CFLAGS_BASE) \
479				-mmacosx-version-min=10.6 \
480				-fno-stack-protector -fno-pic -fno-PIC
481
482AM_CFLAGS_PSO_X86_DARWIN = $(AM_CFLAGS_X86_DARWIN) $(AM_CFLAGS_PSO_BASE)
483AM_CCASFLAGS_X86_DARWIN = -arch i386 -g
484AM_FLAG_M3264_AMD64_DARWIN = -arch x86_64
485AM_CFLAGS_AMD64_DARWIN = $(WERROR) -arch x86_64 $(AM_CFLAGS_BASE) \
486			    -mmacosx-version-min=10.6 -fno-stack-protector
487
488AM_CFLAGS_PSO_AMD64_DARWIN = $(AM_CFLAGS_AMD64_DARWIN) $(AM_CFLAGS_PSO_BASE)
489AM_CCASFLAGS_AMD64_DARWIN = -arch x86_64 -g
490AM_FLAG_M3264_S390X_LINUX = @FLAG_M64@
491AM_CFLAGS_S390X_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) -fomit-frame-pointer
492AM_CFLAGS_PSO_S390X_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE)
493AM_CCASFLAGS_S390X_LINUX = @FLAG_M64@ -g -mzarch -march=z900
494AM_FLAG_M3264_MIPS32_LINUX = @FLAG_M32@
495AM_CFLAGS_MIPS32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) @FLAG_MIPS32@
496AM_CFLAGS_PSO_MIPS32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) @FLAG_MIPS32@ \
497				$(AM_CFLAGS_PSO_BASE)
498
499AM_CCASFLAGS_MIPS32_LINUX = @FLAG_M32@ -g @FLAG_MIPS32@
500AM_FLAG_M3264_MIPS64_LINUX = @FLAG_M64@
501AM_CFLAGS_MIPS64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) @FLAG_MIPS64@
502AM_CFLAGS_PSO_MIPS64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) @FLAG_MIPS64@ \
503				$(AM_CFLAGS_PSO_BASE)
504
505AM_CCASFLAGS_MIPS64_LINUX = @FLAG_M64@ -g @FLAG_MIPS64@
506AM_FLAG_M3264_X86_SOLARIS = @FLAG_M32@
507AM_CFLAGS_X86_SOLARIS = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY_2@ \
508				$(AM_CFLAGS_BASE) -fomit-frame-pointer \
509				@SOLARIS_UNDEF_LARGESOURCE@
510
511AM_CFLAGS_PSO_X86_SOLARIS = @FLAG_M32@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE)
512AM_CCASFLAGS_X86_SOLARIS = @FLAG_M32@ -g -D_ASM
513AM_FLAG_M3264_AMD64_SOLARIS = @FLAG_M64@
514AM_CFLAGS_AMD64_SOLARIS = @FLAG_M64@ \
515				$(AM_CFLAGS_BASE) -fomit-frame-pointer
516
517AM_CFLAGS_PSO_AMD64_SOLARIS = @FLAG_M64@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE)
518AM_CCASFLAGS_AMD64_SOLARIS = @FLAG_M64@ -g -D_ASM
519
520# Flags for the primary target.  These must be used to build the
521# regtests and performance tests.  In fact, these must be used to
522# build anything which is built only once on a dual-arch build.
523#
524AM_FLAG_M3264_PRI = $(AM_FLAG_M3264_@VGCONF_PLATFORM_PRI_CAPS@)
525AM_CPPFLAGS_PRI = $(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
526AM_CFLAGS_PRI = $(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
527AM_CCASFLAGS_PRI = $(AM_CCASFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
528@VGCONF_HAVE_PLATFORM_SEC_FALSE@AM_FLAG_M3264_SEC =
529@VGCONF_HAVE_PLATFORM_SEC_TRUE@AM_FLAG_M3264_SEC = $(AM_FLAG_M3264_@VGCONF_PLATFORM_SEC_CAPS@)
530
531# Baseline link flags for making vgpreload shared objects.
532#
533PRELOAD_LDFLAGS_COMMON_LINUX = -nodefaultlibs -shared \
534	-Wl,-z,interpose,-z,initfirst $(am__append_3)
535PRELOAD_LDFLAGS_COMMON_DARWIN = -dynamic -dynamiclib -all_load
536PRELOAD_LDFLAGS_COMMON_SOLARIS = -nodefaultlibs -shared \
537	-Wl,-z,interpose,-z,initfirst $(am__append_2)
538PRELOAD_LDFLAGS_X86_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
539PRELOAD_LDFLAGS_AMD64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
540PRELOAD_LDFLAGS_PPC32_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
541PRELOAD_LDFLAGS_PPC64BE_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
542PRELOAD_LDFLAGS_PPC64LE_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
543PRELOAD_LDFLAGS_ARM_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
544PRELOAD_LDFLAGS_ARM64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
545PRELOAD_LDFLAGS_X86_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch i386
546PRELOAD_LDFLAGS_AMD64_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch x86_64
547PRELOAD_LDFLAGS_S390X_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
548PRELOAD_LDFLAGS_MIPS32_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
549PRELOAD_LDFLAGS_MIPS64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
550PRELOAD_LDFLAGS_X86_SOLARIS = $(PRELOAD_LDFLAGS_COMMON_SOLARIS) @FLAG_M32@
551PRELOAD_LDFLAGS_AMD64_SOLARIS = $(PRELOAD_LDFLAGS_COMMON_SOLARIS) @FLAG_M64@
552AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \
553	-I$(top_srcdir)/coregrind -I$(top_builddir)/include \
554	-I$(top_srcdir)/VEX/pub -I$(top_builddir)/VEX/pub \
555	-DVGA_@VGCONF_ARCH_PRI@=1 -DVGO_@VGCONF_OS@=1 \
556	-DVGP_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1 \
557	-DVGPV_@VGCONF_ARCH_PRI@_@VGCONF_OS@_@VGCONF_PLATVARIANT@=1 \
558	$(am__append_4)
559
560# Nb: Tools need to augment these flags with an arch-selection option, such
561# as $(AM_FLAG_M3264_PRI).
562AM_CFLAGS = -Winline -Wall -Wshadow -Wno-long-long -g \
563	@FLAG_FNO_STACK_PROTECTOR@ $(am__append_5) $(am__append_6)
564AM_CXXFLAGS = -Winline -Wall -Wshadow -Wno-long-long -g \
565	@FLAG_FNO_STACK_PROTECTOR@ $(am__append_7)
566# Include AM_CPPFLAGS in AM_CCASFLAGS to allow for older versions of
567# automake;  see comments in Makefile.all.am for more detail.
568AM_CCASFLAGS = $(AM_CPPFLAGS) -ffreestanding -Xassembler \
569	-I$(top_srcdir)/exp-bbv/tests
570@VGCONF_OS_IS_DARWIN_TRUE@noinst_DSYMS = $(check_PROGRAMS)
571dist_noinst_SCRIPTS = filter_stderr
572EXTRA_DIST = \
573	   ll.stderr.exp \
574	   ll.stdout.exp \
575	   ll.post.exp \
576	   ll.vgtest \
577	   million.stderr.exp \
578	   million.post.exp \
579	   million.vgtest
580
581AM_LDFLAGS = -nostartfiles -nodefaultlibs
582ll_SOURCES = ll.S
583million_SOURCES = million.S
584all: all-am
585
586.SUFFIXES:
587.SUFFIXES: .S .o .obj
588$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.tool-tests.am $(top_srcdir)/Makefile.all.am $(am__configure_deps)
589	@for dep in $?; do \
590	  case '$(am__configure_deps)' in \
591	    *$$dep*) \
592	      ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
593	        && { if test -f $@; then exit 0; else break; fi; }; \
594	      exit 1;; \
595	  esac; \
596	done; \
597	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign exp-bbv/tests/arm-linux/Makefile'; \
598	$(am__cd) $(top_srcdir) && \
599	  $(AUTOMAKE) --foreign exp-bbv/tests/arm-linux/Makefile
600Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
601	@case '$?' in \
602	  *config.status*) \
603	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
604	  *) \
605	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
606	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
607	esac;
608$(top_srcdir)/Makefile.tool-tests.am $(top_srcdir)/Makefile.all.am $(am__empty):
609
610$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
611	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
612
613$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
614	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
615$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
616	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
617$(am__aclocal_m4_deps):
618
619clean-checkPROGRAMS:
620	-test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
621
622ll$(EXEEXT): $(ll_OBJECTS) $(ll_DEPENDENCIES) $(EXTRA_ll_DEPENDENCIES)
623	@rm -f ll$(EXEEXT)
624	$(AM_V_CCLD)$(LINK) $(ll_OBJECTS) $(ll_LDADD) $(LIBS)
625
626million$(EXEEXT): $(million_OBJECTS) $(million_DEPENDENCIES) $(EXTRA_million_DEPENDENCIES)
627	@rm -f million$(EXEEXT)
628	$(AM_V_CCLD)$(LINK) $(million_OBJECTS) $(million_LDADD) $(LIBS)
629
630mostlyclean-compile:
631	-rm -f *.$(OBJEXT)
632
633distclean-compile:
634	-rm -f *.tab.c
635
636@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ll.Po@am__quote@
637@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/million.Po@am__quote@
638
639.S.o:
640@am__fastdepCCAS_TRUE@	$(AM_V_CPPAS)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
641@am__fastdepCCAS_TRUE@	$(CPPASCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
642@am__fastdepCCAS_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Po
643@AMDEP_TRUE@@am__fastdepCCAS_FALSE@	$(AM_V_CPPAS)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
644@AMDEP_TRUE@@am__fastdepCCAS_FALSE@	DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@
645@am__fastdepCCAS_FALSE@	$(AM_V_CPPAS@am__nodep@)$(CPPASCOMPILE) -c -o $@ $<
646
647.S.obj:
648@am__fastdepCCAS_TRUE@	$(AM_V_CPPAS)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
649@am__fastdepCCAS_TRUE@	$(CPPASCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
650@am__fastdepCCAS_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Po
651@AMDEP_TRUE@@am__fastdepCCAS_FALSE@	$(AM_V_CPPAS)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
652@AMDEP_TRUE@@am__fastdepCCAS_FALSE@	DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@
653@am__fastdepCCAS_FALSE@	$(AM_V_CPPAS@am__nodep@)$(CPPASCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
654
655ID: $(am__tagged_files)
656	$(am__define_uniq_tagged_files); mkid -fID $$unique
657tags: tags-am
658TAGS: tags
659
660tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
661	set x; \
662	here=`pwd`; \
663	$(am__define_uniq_tagged_files); \
664	shift; \
665	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
666	  test -n "$$unique" || unique=$$empty_fix; \
667	  if test $$# -gt 0; then \
668	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
669	      "$$@" $$unique; \
670	  else \
671	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
672	      $$unique; \
673	  fi; \
674	fi
675ctags: ctags-am
676
677CTAGS: ctags
678ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
679	$(am__define_uniq_tagged_files); \
680	test -z "$(CTAGS_ARGS)$$unique" \
681	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
682	     $$unique
683
684GTAGS:
685	here=`$(am__cd) $(top_builddir) && pwd` \
686	  && $(am__cd) $(top_srcdir) \
687	  && gtags -i $(GTAGS_ARGS) "$$here"
688cscopelist: cscopelist-am
689
690cscopelist-am: $(am__tagged_files)
691	list='$(am__tagged_files)'; \
692	case "$(srcdir)" in \
693	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
694	  *) sdir=$(subdir)/$(srcdir) ;; \
695	esac; \
696	for i in $$list; do \
697	  if test -f "$$i"; then \
698	    echo "$(subdir)/$$i"; \
699	  else \
700	    echo "$$sdir/$$i"; \
701	  fi; \
702	done >> $(top_builddir)/cscope.files
703
704distclean-tags:
705	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
706
707distdir: $(DISTFILES)
708	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
709	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
710	list='$(DISTFILES)'; \
711	  dist_files=`for file in $$list; do echo $$file; done | \
712	  sed -e "s|^$$srcdirstrip/||;t" \
713	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
714	case $$dist_files in \
715	  */*) $(MKDIR_P) `echo "$$dist_files" | \
716			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
717			   sort -u` ;; \
718	esac; \
719	for file in $$dist_files; do \
720	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
721	  if test -d $$d/$$file; then \
722	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
723	    if test -d "$(distdir)/$$file"; then \
724	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
725	    fi; \
726	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
727	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
728	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
729	    fi; \
730	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
731	  else \
732	    test -f "$(distdir)/$$file" \
733	    || cp -p $$d/$$file "$(distdir)/$$file" \
734	    || exit 1; \
735	  fi; \
736	done
737check-am: all-am
738	$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
739	$(MAKE) $(AM_MAKEFLAGS) check-local
740check: check-am
741all-am: Makefile $(SCRIPTS)
742installdirs:
743install: install-am
744install-exec: install-exec-am
745install-data: install-data-am
746uninstall: uninstall-am
747
748install-am: all-am
749	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
750
751installcheck: installcheck-am
752install-strip:
753	if test -z '$(STRIP)'; then \
754	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
755	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
756	      install; \
757	else \
758	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
759	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
760	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
761	fi
762mostlyclean-generic:
763
764clean-generic:
765
766distclean-generic:
767	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
768	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
769
770maintainer-clean-generic:
771	@echo "This command is intended for maintainers to use"
772	@echo "it deletes files that may require special tools to rebuild."
773clean: clean-am
774
775clean-am: clean-checkPROGRAMS clean-generic clean-local mostlyclean-am
776
777distclean: distclean-am
778	-rm -rf ./$(DEPDIR)
779	-rm -f Makefile
780distclean-am: clean-am distclean-compile distclean-generic \
781	distclean-tags
782
783dvi: dvi-am
784
785dvi-am:
786
787html: html-am
788
789html-am:
790
791info: info-am
792
793info-am:
794
795install-data-am:
796
797install-dvi: install-dvi-am
798
799install-dvi-am:
800
801install-exec-am:
802
803install-html: install-html-am
804
805install-html-am:
806
807install-info: install-info-am
808
809install-info-am:
810
811install-man:
812
813install-pdf: install-pdf-am
814
815install-pdf-am:
816
817install-ps: install-ps-am
818
819install-ps-am:
820
821installcheck-am:
822
823maintainer-clean: maintainer-clean-am
824	-rm -rf ./$(DEPDIR)
825	-rm -f Makefile
826maintainer-clean-am: distclean-am maintainer-clean-generic
827
828mostlyclean: mostlyclean-am
829
830mostlyclean-am: mostlyclean-compile mostlyclean-generic
831
832pdf: pdf-am
833
834pdf-am:
835
836ps: ps-am
837
838ps-am:
839
840uninstall-am:
841
842.MAKE: check-am install-am install-strip
843
844.PHONY: CTAGS GTAGS TAGS all all-am check check-am check-local clean \
845	clean-checkPROGRAMS clean-generic clean-local cscopelist-am \
846	ctags ctags-am distclean distclean-compile distclean-generic \
847	distclean-tags distdir dvi dvi-am html html-am info info-am \
848	install install-am install-data install-data-am install-dvi \
849	install-dvi-am install-exec install-exec-am install-html \
850	install-html-am install-info install-info-am install-man \
851	install-pdf install-pdf-am install-ps install-ps-am \
852	install-strip installcheck installcheck-am installdirs \
853	maintainer-clean maintainer-clean-generic mostlyclean \
854	mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
855	tags tags-am uninstall uninstall-am
856
857.PRECIOUS: Makefile
858
859
860# This used to be required when Vex had a handwritten Makefile.  It
861# shouldn't be needed any more, though.
862
863#----------------------------------------------------------------------------
864# noinst_PROGRAMS and noinst_DSYMS targets
865#----------------------------------------------------------------------------
866
867# On Darwin, for a program 'p', the DWARF debug info is stored in the
868# directory 'p.dSYM'.  This must be generated after the executable is
869# created, with 'dsymutil p'.  We could redefine LINK with a script that
870# executes 'dsymutil' after linking, but that's a pain.  Instead we use this
871# hook so that every time "make check" is run, we subsequently invoke
872# 'dsymutil' on all the executables that lack a .dSYM directory, or that are
873# newer than their corresponding .dSYM directory.
874build-noinst_DSYMS: $(noinst_DSYMS)
875	for f in $(noinst_DSYMS); do \
876	  if [ ! -e $$f.dSYM  -o  $$f -nt $$f.dSYM ] ; then \
877	      echo "dsymutil $$f"; \
878	      dsymutil $$f; \
879	  fi; \
880	done
881
882# This is used by coregrind/Makefile.am and Makefile.tool.am for doing
883# "in-place" installs.  It copies $(noinst_PROGRAMS) into $inplacedir.
884# It needs to be depended on by an 'all-local' rule.
885inplace-noinst_PROGRAMS: $(noinst_PROGRAMS)
886	mkdir -p $(inplacedir); \
887	for f in $(noinst_PROGRAMS) ; do \
888	  rm -f $(inplacedir)/$$f; \
889	  ln -f -s ../$(subdir)/$$f $(inplacedir); \
890	done
891
892# Similar to inplace-noinst_PROGRAMS
893inplace-noinst_DSYMS: build-noinst_DSYMS
894	mkdir -p $(inplacedir); \
895	for f in $(noinst_DSYMS); do \
896	  rm -f $(inplacedir)/$$f.dSYM; \
897	  ln -f -s ../$(subdir)/$$f.dSYM $(inplacedir); \
898	done
899
900# This is used by coregrind/Makefile.am and by <tool>/Makefile.am for doing
901# "make install".  It copies $(noinst_PROGRAMS) into $prefix/lib/valgrind/.
902# It needs to be depended on by an 'install-exec-local' rule.
903install-noinst_PROGRAMS: $(noinst_PROGRAMS)
904	$(mkinstalldirs) $(DESTDIR)$(pkglibdir); \
905	for f in $(noinst_PROGRAMS); do \
906	  $(INSTALL_PROGRAM) $$f $(DESTDIR)$(pkglibdir); \
907	done
908
909# This is used by coregrind/Makefile.am and by <tool>/Makefile.am for doing
910# "make uninstall".  It removes $(noinst_PROGRAMS) from $prefix/lib/valgrind/.
911# It needs to be depended on by an 'uninstall-local' rule.
912uninstall-noinst_PROGRAMS:
913	for f in $(noinst_PROGRAMS); do \
914	  rm -f $(DESTDIR)$(pkglibdir)/$$f; \
915	done
916
917# Similar to install-noinst_PROGRAMS.
918# Nb: we don't use $(INSTALL_PROGRAM) here because it doesn't work with
919# directories.  XXX: not sure whether the resulting permissions will be
920# correct when using 'cp -R'...
921install-noinst_DSYMS: build-noinst_DSYMS
922	$(mkinstalldirs) $(DESTDIR)$(pkglibdir); \
923	for f in $(noinst_DSYMS); do \
924	  cp -R $$f.dSYM $(DESTDIR)$(pkglibdir); \
925	done
926
927# Similar to uninstall-noinst_PROGRAMS.
928uninstall-noinst_DSYMS:
929	for f in $(noinst_DSYMS); do \
930	  rm -f $(DESTDIR)$(pkglibdir)/$$f.dSYM; \
931	done
932
933# This needs to be depended on by a 'clean-local' rule.
934clean-noinst_DSYMS:
935	for f in $(noinst_DSYMS); do \
936	  rm -rf $$f.dSYM; \
937	done
938
939check-local: build-noinst_DSYMS
940
941clean-local: clean-noinst_DSYMS
942
943# Tell versions [3.59,3.63) of GNU make to not export all variables.
944# Otherwise a system limit (for SysV at least) may be exceeded.
945.NOEXPORT:
946