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