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