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 should be included (directly or indirectly) by every
18# Makefile.am that builds programs.  And also the top-level Makefile.am.
19
20#----------------------------------------------------------------------------
21# Global stuff
22#----------------------------------------------------------------------------
23
24VPATH = @srcdir@
25am__is_gnu_make = { \
26  if test -z '$(MAKELEVEL)'; then \
27    false; \
28  elif test -n '$(MAKE_HOST)'; then \
29    true; \
30  elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
31    true; \
32  else \
33    false; \
34  fi; \
35}
36am__make_running_with_option = \
37  case $${target_option-} in \
38      ?) ;; \
39      *) echo "am__make_running_with_option: internal error: invalid" \
40              "target option '$${target_option-}' specified" >&2; \
41         exit 1;; \
42  esac; \
43  has_opt=no; \
44  sane_makeflags=$$MAKEFLAGS; \
45  if $(am__is_gnu_make); then \
46    sane_makeflags=$$MFLAGS; \
47  else \
48    case $$MAKEFLAGS in \
49      *\\[\ \	]*) \
50        bs=\\; \
51        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
52          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
53    esac; \
54  fi; \
55  skip_next=no; \
56  strip_trailopt () \
57  { \
58    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
59  }; \
60  for flg in $$sane_makeflags; do \
61    test $$skip_next = yes && { skip_next=no; continue; }; \
62    case $$flg in \
63      *=*|--*) continue;; \
64        -*I) strip_trailopt 'I'; skip_next=yes;; \
65      -*I?*) strip_trailopt 'I';; \
66        -*O) strip_trailopt 'O'; skip_next=yes;; \
67      -*O?*) strip_trailopt 'O';; \
68        -*l) strip_trailopt 'l'; skip_next=yes;; \
69      -*l?*) strip_trailopt 'l';; \
70      -[dEDm]) skip_next=yes;; \
71      -[JT]) skip_next=yes;; \
72    esac; \
73    case $$flg in \
74      *$$target_option*) has_opt=yes; break;; \
75    esac; \
76  done; \
77  test $$has_opt = yes
78am__make_dryrun = (target_option=n; $(am__make_running_with_option))
79am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
80pkgdatadir = $(datadir)/@PACKAGE@
81pkgincludedir = $(includedir)/@PACKAGE@
82pkglibdir = $(libdir)/@PACKAGE@
83pkglibexecdir = $(libexecdir)/@PACKAGE@
84am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
85install_sh_DATA = $(install_sh) -c -m 644
86install_sh_PROGRAM = $(install_sh) -c
87install_sh_SCRIPT = $(install_sh) -c
88INSTALL_HEADER = $(INSTALL_DATA)
89transform = $(program_transform_name)
90NORMAL_INSTALL = :
91PRE_INSTALL = :
92POST_INSTALL = :
93NORMAL_UNINSTALL = :
94PRE_UNINSTALL = :
95POST_UNINSTALL = :
96build_triplet = @build@
97host_triplet = @host@
98@COMPILER_IS_CLANG_TRUE@am__append_1 = -Wno-cast-align -Wno-self-assign \
99@COMPILER_IS_CLANG_TRUE@                  -Wno-tautological-compare
100
101@SOLARIS_XPG_SYMBOLS_PRESENT_TRUE@am__append_2 = -Wl,-M,$(top_srcdir)/solaris/vgpreload-solaris.mapfile
102
103# The Android toolchain includes all kinds of stdlib helpers present in
104# bionic which is bad because we are not linking with it and the Android
105# linker will panic.
106@VGCONF_PLATVARIANT_IS_ANDROID_TRUE@am__append_3 = -nostdlib
107
108# On Android we must ask for non-executable stack, not sure why.
109@VGCONF_PLATFORMS_INCLUDE_ARM_LINUX_TRUE@@VGCONF_PLATVARIANT_IS_ANDROID_TRUE@am__append_4 = -Wl,-z,noexecstack
110noinst_PROGRAMS = lackey-@VGCONF_ARCH_PRI@-@VGCONF_OS@$(EXEEXT) \
111	$(am__EXEEXT_1)
112@VGCONF_HAVE_PLATFORM_SEC_TRUE@am__append_5 = lackey-@VGCONF_ARCH_SEC@-@VGCONF_OS@
113@VGCONF_HAVE_PLATFORM_SEC_FALSE@lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_DEPENDENCIES =
114subdir = lackey
115ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
116am__aclocal_m4_deps = $(top_srcdir)/configure.ac
117am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
118	$(ACLOCAL_M4)
119DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
120mkinstalldirs = $(install_sh) -d
121CONFIG_HEADER = $(top_builddir)/config.h
122CONFIG_CLEAN_FILES =
123CONFIG_CLEAN_VPATH_FILES =
124@VGCONF_HAVE_PLATFORM_SEC_TRUE@am__EXEEXT_1 = lackey-@VGCONF_ARCH_SEC@-@VGCONF_OS@$(EXEEXT)
125PROGRAMS = $(noinst_PROGRAMS)
126am__objects_1 =  \
127	lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@-lk_main.$(OBJEXT)
128am_lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_OBJECTS = $(am__objects_1)
129lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_OBJECTS =  \
130	$(am_lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_OBJECTS)
131am__lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_SOURCES_DIST = lk_main.c
132am__objects_2 =  \
133	lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@-lk_main.$(OBJEXT)
134@VGCONF_HAVE_PLATFORM_SEC_TRUE@am_lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_OBJECTS =  \
135@VGCONF_HAVE_PLATFORM_SEC_TRUE@	$(am__objects_2)
136lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_OBJECTS =  \
137	$(am_lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_OBJECTS)
138AM_V_P = $(am__v_P_@AM_V@)
139am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
140am__v_P_0 = false
141am__v_P_1 = :
142AM_V_GEN = $(am__v_GEN_@AM_V@)
143am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
144am__v_GEN_0 = @echo "  GEN     " $@;
145am__v_GEN_1 =
146AM_V_at = $(am__v_at_@AM_V@)
147am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
148am__v_at_0 = @
149am__v_at_1 =
150DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
151depcomp = $(SHELL) $(top_srcdir)/depcomp
152am__depfiles_maybe = depfiles
153am__mv = mv -f
154AM_V_lt = $(am__v_lt_@AM_V@)
155am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
156am__v_lt_0 = --silent
157am__v_lt_1 =
158COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
159	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
160AM_V_CC = $(am__v_CC_@AM_V@)
161am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
162am__v_CC_0 = @echo "  CC      " $@;
163am__v_CC_1 =
164CCLD = $(CC)
165LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
166AM_V_CCLD = $(am__v_CCLD_@AM_V@)
167am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
168am__v_CCLD_0 = @echo "  CCLD    " $@;
169am__v_CCLD_1 =
170SOURCES = $(lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_SOURCES) \
171	$(lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_SOURCES)
172DIST_SOURCES = $(lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_SOURCES) \
173	$(am__lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_SOURCES_DIST)
174RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
175	ctags-recursive dvi-recursive html-recursive info-recursive \
176	install-data-recursive install-dvi-recursive \
177	install-exec-recursive install-html-recursive \
178	install-info-recursive install-pdf-recursive \
179	install-ps-recursive install-recursive installcheck-recursive \
180	installdirs-recursive pdf-recursive ps-recursive \
181	tags-recursive uninstall-recursive
182am__can_run_installinfo = \
183  case $$AM_UPDATE_INFO_DIR in \
184    n|no|NO) false;; \
185    *) (install-info --version) >/dev/null 2>&1;; \
186  esac
187RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive	\
188  distclean-recursive maintainer-clean-recursive
189am__recursive_targets = \
190  $(RECURSIVE_TARGETS) \
191  $(RECURSIVE_CLEAN_TARGETS) \
192  $(am__extra_recursive_targets)
193AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
194	distdir
195am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
196# Read a list of newline-separated strings from the standard input,
197# and print each of them once, without duplicates.  Input order is
198# *not* preserved.
199am__uniquify_input = $(AWK) '\
200  BEGIN { nonempty = 0; } \
201  { items[$$0] = 1; nonempty = 1; } \
202  END { if (nonempty) { for (i in items) print i; }; } \
203'
204# Make sure the list of sources is unique.  This is necessary because,
205# e.g., the same source file might be shared among _SOURCES variables
206# for different programs/libraries.
207am__define_uniq_tagged_files = \
208  list='$(am__tagged_files)'; \
209  unique=`for i in $$list; do \
210    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
211  done | $(am__uniquify_input)`
212ETAGS = etags
213CTAGS = ctags
214DIST_SUBDIRS = $(SUBDIRS)
215am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.all.am \
216	$(top_srcdir)/Makefile.tool.am $(top_srcdir)/depcomp
217DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
218am__relativize = \
219  dir0=`pwd`; \
220  sed_first='s,^\([^/]*\)/.*$$,\1,'; \
221  sed_rest='s,^[^/]*/*,,'; \
222  sed_last='s,^.*/\([^/]*\)$$,\1,'; \
223  sed_butlast='s,/*[^/]*$$,,'; \
224  while test -n "$$dir1"; do \
225    first=`echo "$$dir1" | sed -e "$$sed_first"`; \
226    if test "$$first" != "."; then \
227      if test "$$first" = ".."; then \
228        dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
229        dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
230      else \
231        first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
232        if test "$$first2" = "$$first"; then \
233          dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
234        else \
235          dir2="../$$dir2"; \
236        fi; \
237        dir0="$$dir0"/"$$first"; \
238      fi; \
239    fi; \
240    dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
241  done; \
242  reldir="$$dir2"
243ACLOCAL = @ACLOCAL@
244AMTAR = @AMTAR@
245AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
246AR = @AR@
247AUTOCONF = @AUTOCONF@
248AUTOHEADER = @AUTOHEADER@
249AUTOMAKE = @AUTOMAKE@
250AWK = @AWK@
251BOOST_CFLAGS = @BOOST_CFLAGS@
252BOOST_LIBS = @BOOST_LIBS@
253CC = @CC@
254CCAS = @CCAS@
255CCASDEPMODE = @CCASDEPMODE@
256CCASFLAGS = @CCASFLAGS@
257CCDEPMODE = @CCDEPMODE@
258CFLAGS = @CFLAGS@
259CFLAGS_MPI = @CFLAGS_MPI@
260CPP = @CPP@
261CPPFLAGS = @CPPFLAGS@
262CXX = @CXX@
263CXXDEPMODE = @CXXDEPMODE@
264CXXFLAGS = @CXXFLAGS@
265CYGPATH_W = @CYGPATH_W@
266DEFAULT_SUPP = @DEFAULT_SUPP@
267DEFS = @DEFS@
268DEPDIR = @DEPDIR@
269DIFF = @DIFF@
270DIS_PATH = @DIS_PATH@
271ECHO_C = @ECHO_C@
272ECHO_N = @ECHO_N@
273ECHO_T = @ECHO_T@
274EGREP = @EGREP@
275EXEEXT = @EXEEXT@
276FLAG_FNO_IPA_ICF = @FLAG_FNO_IPA_ICF@
277FLAG_FNO_STACK_PROTECTOR = @FLAG_FNO_STACK_PROTECTOR@
278FLAG_FSANITIZE = @FLAG_FSANITIZE@
279FLAG_M32 = @FLAG_M32@
280FLAG_M64 = @FLAG_M64@
281FLAG_MIPS32 = @FLAG_MIPS32@
282FLAG_MIPS64 = @FLAG_MIPS64@
283FLAG_MLONG_DOUBLE_128 = @FLAG_MLONG_DOUBLE_128@
284FLAG_MMMX = @FLAG_MMMX@
285FLAG_MSSE = @FLAG_MSSE@
286FLAG_NO_BUILD_ID = @FLAG_NO_BUILD_ID@
287FLAG_NO_PIE = @FLAG_NO_PIE@
288FLAG_OCTEON = @FLAG_OCTEON@
289FLAG_OCTEON2 = @FLAG_OCTEON2@
290FLAG_T_TEXT = @FLAG_T_TEXT@
291FLAG_UNLIMITED_INLINE_UNIT_GROWTH = @FLAG_UNLIMITED_INLINE_UNIT_GROWTH@
292FLAG_W_CAST_ALIGN = @FLAG_W_CAST_ALIGN@
293FLAG_W_CAST_QUAL = @FLAG_W_CAST_QUAL@
294FLAG_W_EMPTY_BODY = @FLAG_W_EMPTY_BODY@
295FLAG_W_EXTRA = @FLAG_W_EXTRA@
296FLAG_W_FORMAT = @FLAG_W_FORMAT@
297FLAG_W_FORMAT_SECURITY = @FLAG_W_FORMAT_SECURITY@
298FLAG_W_FORMAT_SIGNEDNESS = @FLAG_W_FORMAT_SIGNEDNESS@
299FLAG_W_IGNORED_QUALIFIERS = @FLAG_W_IGNORED_QUALIFIERS@
300FLAG_W_MISSING_PARAMETER_TYPE = @FLAG_W_MISSING_PARAMETER_TYPE@
301FLAG_W_NO_INFINITE_RECURSION = @FLAG_W_NO_INFINITE_RECURSION@
302FLAG_W_NO_MEMSET_TRANSPOSED_ARGS = @FLAG_W_NO_MEMSET_TRANSPOSED_ARGS@
303FLAG_W_NO_MISMATCHED_NEW_DELETE = @FLAG_W_NO_MISMATCHED_NEW_DELETE@
304FLAG_W_NO_NONNULL = @FLAG_W_NO_NONNULL@
305FLAG_W_NO_OVERFLOW = @FLAG_W_NO_OVERFLOW@
306FLAG_W_NO_POINTER_SIGN = @FLAG_W_NO_POINTER_SIGN@
307FLAG_W_NO_STATIC_LOCAL_IN_INLINE = @FLAG_W_NO_STATIC_LOCAL_IN_INLINE@
308FLAG_W_NO_UNINITIALIZED = @FLAG_W_NO_UNINITIALIZED@
309FLAG_W_NO_UNUSED_FUNCTION = @FLAG_W_NO_UNUSED_FUNCTION@
310FLAG_W_OLD_STYLE_DECLARATION = @FLAG_W_OLD_STYLE_DECLARATION@
311FLAG_W_WRITE_STRINGS = @FLAG_W_WRITE_STRINGS@
312GDB = @GDB@
313GLIBC_VERSION = @GLIBC_VERSION@
314GREP = @GREP@
315HWCAP_HAS_ALTIVEC = @HWCAP_HAS_ALTIVEC@
316HWCAP_HAS_DFP = @HWCAP_HAS_DFP@
317HWCAP_HAS_HTM = @HWCAP_HAS_HTM@
318HWCAP_HAS_ISA_2_05 = @HWCAP_HAS_ISA_2_05@
319HWCAP_HAS_ISA_2_06 = @HWCAP_HAS_ISA_2_06@
320HWCAP_HAS_ISA_2_07 = @HWCAP_HAS_ISA_2_07@
321HWCAP_HAS_ISA_3_00 = @HWCAP_HAS_ISA_3_00@
322HWCAP_HAS_VSX = @HWCAP_HAS_VSX@
323INSTALL = @INSTALL@
324INSTALL_DATA = @INSTALL_DATA@
325INSTALL_PROGRAM = @INSTALL_PROGRAM@
326INSTALL_SCRIPT = @INSTALL_SCRIPT@
327INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
328LDFLAGS = @LDFLAGS@
329LDFLAGS_MPI = @LDFLAGS_MPI@
330LIBOBJS = @LIBOBJS@
331LIBS = @LIBS@
332LIB_UBSAN = @LIB_UBSAN@
333LN_S = @LN_S@
334LTLIBOBJS = @LTLIBOBJS@
335MAINT = @MAINT@
336MAKEINFO = @MAKEINFO@
337MKDIR_P = @MKDIR_P@
338MPI_CC = @MPI_CC@
339OBJEXT = @OBJEXT@
340PACKAGE = @PACKAGE@
341PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
342PACKAGE_NAME = @PACKAGE_NAME@
343PACKAGE_STRING = @PACKAGE_STRING@
344PACKAGE_TARNAME = @PACKAGE_TARNAME@
345PACKAGE_URL = @PACKAGE_URL@
346PACKAGE_VERSION = @PACKAGE_VERSION@
347PATH_SEPARATOR = @PATH_SEPARATOR@
348PERL = @PERL@
349PREFERRED_STACK_BOUNDARY_2 = @PREFERRED_STACK_BOUNDARY_2@
350RANLIB = @RANLIB@
351SED = @SED@
352SET_MAKE = @SET_MAKE@
353SHELL = @SHELL@
354SOLARIS_UNDEF_LARGESOURCE = @SOLARIS_UNDEF_LARGESOURCE@
355STRIP = @STRIP@
356VALT_LOAD_ADDRESS_PRI = @VALT_LOAD_ADDRESS_PRI@
357VALT_LOAD_ADDRESS_SEC = @VALT_LOAD_ADDRESS_SEC@
358VERSION = @VERSION@
359VGCONF_ARCH_PRI = @VGCONF_ARCH_PRI@
360VGCONF_ARCH_SEC = @VGCONF_ARCH_SEC@
361VGCONF_OS = @VGCONF_OS@
362VGCONF_PLATFORM_PRI_CAPS = @VGCONF_PLATFORM_PRI_CAPS@
363VGCONF_PLATFORM_SEC_CAPS = @VGCONF_PLATFORM_SEC_CAPS@
364VGCONF_PLATVARIANT = @VGCONF_PLATVARIANT@
365VG_TMPDIR = @VG_TMPDIR@
366abs_builddir = @abs_builddir@
367abs_srcdir = @abs_srcdir@
368abs_top_builddir = @abs_top_builddir@
369abs_top_srcdir = @abs_top_srcdir@
370ac_ct_CC = @ac_ct_CC@
371ac_ct_CXX = @ac_ct_CXX@
372am__include = @am__include@
373am__leading_dot = @am__leading_dot@
374am__quote = @am__quote@
375am__tar = @am__tar@
376am__untar = @am__untar@
377bindir = @bindir@
378build = @build@
379build_alias = @build_alias@
380build_cpu = @build_cpu@
381build_os = @build_os@
382build_vendor = @build_vendor@
383builddir = @builddir@
384datadir = @datadir@
385datarootdir = @datarootdir@
386docdir = @docdir@
387dvidir = @dvidir@
388exec_prefix = @exec_prefix@
389host = @host@
390host_alias = @host_alias@
391host_cpu = @host_cpu@
392host_os = @host_os@
393host_vendor = @host_vendor@
394htmldir = @htmldir@
395includedir = @includedir@
396infodir = @infodir@
397install_sh = @install_sh@
398libdir = @libdir@
399libexecdir = @libexecdir@
400localedir = @localedir@
401localstatedir = @localstatedir@
402mandir = @mandir@
403mkdir_p = @mkdir_p@
404oldincludedir = @oldincludedir@
405pdfdir = @pdfdir@
406prefix = @prefix@
407program_transform_name = @program_transform_name@
408psdir = @psdir@
409sbindir = @sbindir@
410sharedstatedir = @sharedstatedir@
411srcdir = @srcdir@
412sysconfdir = @sysconfdir@
413target_alias = @target_alias@
414top_build_prefix = @top_build_prefix@
415top_builddir = @top_builddir@
416top_srcdir = @top_srcdir@
417SUBDIRS = . tests
418inplacedir = $(top_builddir)/.in_place
419
420#----------------------------------------------------------------------------
421# Flags
422#----------------------------------------------------------------------------
423
424# Baseline flags for all compilations.  Aim here is to maximise
425# performance and get whatever useful warnings we can out of gcc.
426# -fno-builtin is important for defeating LLVM's idiom recognition
427# that somehow causes VG_(memset) to get into infinite recursion.
428AM_CFLAGS_BASE = -O2 -g -std=gnu99 -Wall -Wmissing-prototypes -Wshadow \
429	-Wpointer-arith -Wstrict-prototypes -Wmissing-declarations \
430	@FLAG_W_CAST_ALIGN@ @FLAG_W_CAST_QUAL@ @FLAG_W_WRITE_STRINGS@ \
431	@FLAG_W_EMPTY_BODY@ @FLAG_W_FORMAT@ @FLAG_W_FORMAT_SIGNEDNESS@ \
432	@FLAG_W_FORMAT_SECURITY@ @FLAG_W_IGNORED_QUALIFIERS@ \
433	@FLAG_W_MISSING_PARAMETER_TYPE@ @FLAG_W_OLD_STYLE_DECLARATION@ \
434	@FLAG_FNO_STACK_PROTECTOR@ @FLAG_FSANITIZE@ \
435	-fno-strict-aliasing -fno-builtin $(am__append_1)
436@VGCONF_OS_IS_DARWIN_FALSE@AM_CFLAGS_PSO_BASE = -O -g -fno-omit-frame-pointer -fno-strict-aliasing \
437@VGCONF_OS_IS_DARWIN_FALSE@		     -fpic -fno-builtin @FLAG_FNO_IPA_ICF@
438
439
440# These flags are used for building the preload shared objects (PSOs).
441# The aim is to give reasonable performance but also to have good
442# stack traces, since users often see stack traces extending
443# into (and through) the preloads.  Also, we must use any
444# -mpreferred-stack-boundary flag to build the preload shared
445# objects, since that risks misaligning the client's stack and
446# results in segfaults like (eg) #324050.
447@VGCONF_OS_IS_DARWIN_TRUE@AM_CFLAGS_PSO_BASE = -dynamic \
448@VGCONF_OS_IS_DARWIN_TRUE@		     -O -g -fno-omit-frame-pointer -fno-strict-aliasing \
449@VGCONF_OS_IS_DARWIN_TRUE@		     -fpic -fPIC -fno-builtin @FLAG_FNO_IPA_ICF@
450
451
452# Flags for specific targets.
453#
454# Nb: the AM_CPPFLAGS_* values are suitable for building tools and auxprogs.
455# For building the core, coregrind/Makefile.am files add some extra things.
456AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@ = \
457	-I$(top_srcdir) \
458	-I$(top_srcdir)/include \
459	-I$(top_builddir)/include \
460	-I$(top_srcdir)/VEX/pub \
461	-I$(top_builddir)/VEX/pub \
462	-DVGA_@VGCONF_ARCH_PRI@=1 \
463	-DVGO_@VGCONF_OS@=1 \
464	-DVGP_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1 \
465	-DVGPV_@VGCONF_ARCH_PRI@_@VGCONF_OS@_@VGCONF_PLATVARIANT@=1
466
467@VGCONF_HAVE_PLATFORM_SEC_TRUE@AM_CPPFLAGS_@VGCONF_PLATFORM_SEC_CAPS@ = \
468@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-I$(top_srcdir) \
469@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-I$(top_srcdir)/include \
470@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-I$(top_builddir)/include \
471@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-I$(top_srcdir)/VEX/pub \
472@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-I$(top_builddir)/VEX/pub \
473@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-DVGA_@VGCONF_ARCH_SEC@=1 \
474@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-DVGO_@VGCONF_OS@=1 \
475@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-DVGP_@VGCONF_ARCH_SEC@_@VGCONF_OS@=1 \
476@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-DVGPV_@VGCONF_ARCH_SEC@_@VGCONF_OS@_@VGCONF_PLATVARIANT@=1
477
478AM_FLAG_M3264_X86_LINUX = @FLAG_M32@
479AM_CFLAGS_X86_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY_2@ \
480				$(AM_CFLAGS_BASE) -fomit-frame-pointer
481
482AM_CFLAGS_PSO_X86_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE)
483AM_CCASFLAGS_X86_LINUX = @FLAG_M32@ -g
484AM_FLAG_M3264_AMD64_LINUX = @FLAG_M64@
485AM_CFLAGS_AMD64_LINUX = @FLAG_M64@ \
486				$(AM_CFLAGS_BASE) -fomit-frame-pointer
487
488AM_CFLAGS_PSO_AMD64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE)
489AM_CCASFLAGS_AMD64_LINUX = @FLAG_M64@ -g
490AM_FLAG_M3264_PPC32_LINUX = @FLAG_M32@
491AM_CFLAGS_PPC32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE)
492AM_CFLAGS_PSO_PPC32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE)
493AM_CCASFLAGS_PPC32_LINUX = @FLAG_M32@ -g
494AM_FLAG_M3264_PPC64BE_LINUX = @FLAG_M64@
495AM_CFLAGS_PPC64BE_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE)
496AM_CFLAGS_PSO_PPC64BE_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE)
497AM_CCASFLAGS_PPC64BE_LINUX = @FLAG_M64@ -g
498AM_FLAG_M3264_PPC64LE_LINUX = @FLAG_M64@
499AM_CFLAGS_PPC64LE_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE)
500AM_CFLAGS_PSO_PPC64LE_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE)
501AM_CCASFLAGS_PPC64LE_LINUX = @FLAG_M64@ -g
502AM_FLAG_M3264_ARM_LINUX = @FLAG_M32@
503AM_CFLAGS_ARM_LINUX = @FLAG_M32@ \
504			 	$(AM_CFLAGS_BASE) -marm -mcpu=cortex-a8
505
506AM_CFLAGS_PSO_ARM_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) \
507				-marm -mcpu=cortex-a8 $(AM_CFLAGS_PSO_BASE)
508
509AM_CCASFLAGS_ARM_LINUX = @FLAG_M32@ \
510				-marm -mcpu=cortex-a8 -g
511
512AM_FLAG_M3264_ARM64_LINUX = @FLAG_M64@
513AM_CFLAGS_ARM64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE)
514AM_CFLAGS_PSO_ARM64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE)
515AM_CCASFLAGS_ARM64_LINUX = @FLAG_M64@ -g
516AM_FLAG_M3264_X86_DARWIN = -arch i386
517AM_CFLAGS_X86_DARWIN = $(WERROR) -arch i386 $(AM_CFLAGS_BASE) \
518				-mmacosx-version-min=10.6 \
519				-fno-stack-protector -fno-pic -fno-PIC
520
521AM_CFLAGS_PSO_X86_DARWIN = $(AM_CFLAGS_X86_DARWIN) $(AM_CFLAGS_PSO_BASE)
522AM_CCASFLAGS_X86_DARWIN = -arch i386 -g
523AM_FLAG_M3264_AMD64_DARWIN = -arch x86_64
524AM_CFLAGS_AMD64_DARWIN = $(WERROR) -arch x86_64 $(AM_CFLAGS_BASE) \
525			    -mmacosx-version-min=10.6 -fno-stack-protector
526
527AM_CFLAGS_PSO_AMD64_DARWIN = $(AM_CFLAGS_AMD64_DARWIN) $(AM_CFLAGS_PSO_BASE)
528AM_CCASFLAGS_AMD64_DARWIN = -arch x86_64 -g
529AM_FLAG_M3264_S390X_LINUX = @FLAG_M64@
530AM_CFLAGS_S390X_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) -fomit-frame-pointer
531AM_CFLAGS_PSO_S390X_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE)
532AM_CCASFLAGS_S390X_LINUX = @FLAG_M64@ -g -mzarch -march=z900
533AM_FLAG_M3264_MIPS32_LINUX = @FLAG_M32@
534AM_CFLAGS_MIPS32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) @FLAG_MIPS32@
535AM_CFLAGS_PSO_MIPS32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) @FLAG_MIPS32@ \
536				$(AM_CFLAGS_PSO_BASE)
537
538AM_CCASFLAGS_MIPS32_LINUX = @FLAG_M32@ -g @FLAG_MIPS32@
539AM_FLAG_M3264_MIPS64_LINUX = @FLAG_M64@
540AM_CFLAGS_MIPS64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) @FLAG_MIPS64@
541AM_CFLAGS_PSO_MIPS64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) @FLAG_MIPS64@ \
542				$(AM_CFLAGS_PSO_BASE)
543
544AM_CCASFLAGS_MIPS64_LINUX = @FLAG_M64@ -g @FLAG_MIPS64@
545AM_FLAG_M3264_X86_SOLARIS = @FLAG_M32@
546AM_CFLAGS_X86_SOLARIS = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY_2@ \
547				$(AM_CFLAGS_BASE) -fomit-frame-pointer \
548				@SOLARIS_UNDEF_LARGESOURCE@
549
550AM_CFLAGS_PSO_X86_SOLARIS = @FLAG_M32@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE)
551AM_CCASFLAGS_X86_SOLARIS = @FLAG_M32@ -g -D_ASM
552AM_FLAG_M3264_AMD64_SOLARIS = @FLAG_M64@
553AM_CFLAGS_AMD64_SOLARIS = @FLAG_M64@ \
554				$(AM_CFLAGS_BASE) -fomit-frame-pointer
555
556AM_CFLAGS_PSO_AMD64_SOLARIS = @FLAG_M64@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE)
557AM_CCASFLAGS_AMD64_SOLARIS = @FLAG_M64@ -g -D_ASM
558
559# Flags for the primary target.  These must be used to build the
560# regtests and performance tests.  In fact, these must be used to
561# build anything which is built only once on a dual-arch build.
562#
563AM_FLAG_M3264_PRI = $(AM_FLAG_M3264_@VGCONF_PLATFORM_PRI_CAPS@)
564AM_CPPFLAGS_PRI = $(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
565AM_CFLAGS_PRI = $(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
566AM_CCASFLAGS_PRI = $(AM_CCASFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
567@VGCONF_HAVE_PLATFORM_SEC_FALSE@AM_FLAG_M3264_SEC =
568@VGCONF_HAVE_PLATFORM_SEC_TRUE@AM_FLAG_M3264_SEC = $(AM_FLAG_M3264_@VGCONF_PLATFORM_SEC_CAPS@)
569
570# Baseline link flags for making vgpreload shared objects.
571#
572PRELOAD_LDFLAGS_COMMON_LINUX = -nodefaultlibs -shared \
573	-Wl,-z,interpose,-z,initfirst $(am__append_3)
574PRELOAD_LDFLAGS_COMMON_DARWIN = -dynamic -dynamiclib -all_load
575PRELOAD_LDFLAGS_COMMON_SOLARIS = -nodefaultlibs -shared \
576	-Wl,-z,interpose,-z,initfirst $(am__append_2)
577PRELOAD_LDFLAGS_X86_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
578PRELOAD_LDFLAGS_AMD64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
579PRELOAD_LDFLAGS_PPC32_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
580PRELOAD_LDFLAGS_PPC64BE_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
581PRELOAD_LDFLAGS_PPC64LE_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
582PRELOAD_LDFLAGS_ARM_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
583PRELOAD_LDFLAGS_ARM64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
584PRELOAD_LDFLAGS_X86_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch i386
585PRELOAD_LDFLAGS_AMD64_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch x86_64
586PRELOAD_LDFLAGS_S390X_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
587PRELOAD_LDFLAGS_MIPS32_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
588PRELOAD_LDFLAGS_MIPS64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
589PRELOAD_LDFLAGS_X86_SOLARIS = $(PRELOAD_LDFLAGS_COMMON_SOLARIS) @FLAG_M32@
590PRELOAD_LDFLAGS_AMD64_SOLARIS = $(PRELOAD_LDFLAGS_COMMON_SOLARIS) @FLAG_M64@
591
592#----------------------------------------------------------------------------
593# <tool>-<platform> stuff
594#----------------------------------------------------------------------------
595TOOL_DEPENDENCIES_@VGCONF_PLATFORM_PRI_CAPS@ = \
596	$(top_builddir)/coregrind/libcoregrind-@VGCONF_ARCH_PRI@-@VGCONF_OS@.a \
597	$(top_builddir)/VEX/libvex-@VGCONF_ARCH_PRI@-@VGCONF_OS@.a
598
599@VGCONF_HAVE_PLATFORM_SEC_TRUE@TOOL_DEPENDENCIES_@VGCONF_PLATFORM_SEC_CAPS@ = \
600@VGCONF_HAVE_PLATFORM_SEC_TRUE@	$(top_builddir)/coregrind/libcoregrind-@VGCONF_ARCH_SEC@-@VGCONF_OS@.a \
601@VGCONF_HAVE_PLATFORM_SEC_TRUE@	$(top_builddir)/VEX/libvex-@VGCONF_ARCH_SEC@-@VGCONF_OS@.a
602
603TOOL_LDADD_COMMON = -lgcc
604TOOL_LDADD_@VGCONF_PLATFORM_PRI_CAPS@ = \
605	$(TOOL_DEPENDENCIES_@VGCONF_PLATFORM_PRI_CAPS@) $(TOOL_LDADD_COMMON)
606
607@VGCONF_HAVE_PLATFORM_SEC_TRUE@TOOL_LDADD_@VGCONF_PLATFORM_SEC_CAPS@ = \
608@VGCONF_HAVE_PLATFORM_SEC_TRUE@	$(TOOL_DEPENDENCIES_@VGCONF_PLATFORM_SEC_CAPS@) $(TOOL_LDADD_COMMON)
609
610
611# -Wl,--build-id=none is needed when linking tools with a linker that only
612# knows -Ttext and not -Ttext-segment. Without this flag newer ld versions
613# (2.20 and later) create a .note.gnu.build-id at the default text segment
614# address, which of course means the resulting executable
615# is unusable. So we have to tell ld not to generate that, with
616# --build-id=none unless the linker supports -Ttext-segment.
617TOOL_LDFLAGS_COMMON_LINUX = \
618	-static -nodefaultlibs -nostartfiles -u _start @FLAG_NO_BUILD_ID@
619
620TOOL_LDFLAGS_COMMON_DARWIN = \
621	-nodefaultlibs -nostartfiles -Wl,-u,__start -Wl,-e,__start
622
623TOOL_LDFLAGS_COMMON_SOLARIS = \
624	-static -nodefaultlibs -nostartfiles -u _start \
625	-Wl,-M,/usr/lib/ld/map.noexstk
626
627TOOL_LDFLAGS_X86_LINUX = \
628	$(TOOL_LDFLAGS_COMMON_LINUX) @FLAG_M32@
629
630TOOL_LDFLAGS_AMD64_LINUX = \
631	$(TOOL_LDFLAGS_COMMON_LINUX) @FLAG_M64@
632
633TOOL_LDFLAGS_PPC32_LINUX = \
634	$(TOOL_LDFLAGS_COMMON_LINUX) @FLAG_M32@
635
636TOOL_LDFLAGS_PPC64BE_LINUX = \
637	$(TOOL_LDFLAGS_COMMON_LINUX) @FLAG_M64@
638
639TOOL_LDFLAGS_PPC64LE_LINUX = \
640	$(TOOL_LDFLAGS_COMMON_LINUX) @FLAG_M64@
641
642TOOL_LDFLAGS_ARM_LINUX = $(TOOL_LDFLAGS_COMMON_LINUX) @FLAG_M32@ \
643	$(am__append_4)
644TOOL_LDFLAGS_ARM64_LINUX = \
645	$(TOOL_LDFLAGS_COMMON_LINUX) @FLAG_M64@
646
647TOOL_LDFLAGS_S390X_LINUX = \
648	$(TOOL_LDFLAGS_COMMON_LINUX) @FLAG_M64@
649
650TOOL_LDFLAGS_X86_DARWIN = \
651	$(TOOL_LDFLAGS_COMMON_DARWIN) -arch i386
652
653TOOL_LDFLAGS_AMD64_DARWIN = \
654	$(TOOL_LDFLAGS_COMMON_DARWIN) -arch x86_64
655
656
657# MIPS Linux default start symbol is __start, not _start like on x86 or amd
658TOOL_LDFLAGS_MIPS32_LINUX = \
659	-static -nodefaultlibs -nostartfiles -u __start @FLAG_NO_BUILD_ID@ \
660	@FLAG_M32@
661
662TOOL_LDFLAGS_MIPS64_LINUX = \
663	-static -nodefaultlibs -nostartfiles -u __start @FLAG_NO_BUILD_ID@ \
664	@FLAG_M64@
665
666TOOL_LDFLAGS_X86_SOLARIS = \
667	$(TOOL_LDFLAGS_COMMON_SOLARIS) @FLAG_M32@
668
669TOOL_LDFLAGS_AMD64_SOLARIS = \
670	$(TOOL_LDFLAGS_COMMON_SOLARIS) @FLAG_M64@
671
672
673# NB for 64-bit darwin.  We may want to set -Wl,-pagezero_size to
674# something smaller than the default of 4G, so as to facilitate
675# loading clients who are also linked thusly (currently m_ume.c
676# will fail to load them).  Although such setting is probably
677# better done in link_tool_exe.c.
678#
679#	-Wl,-pagezero_size,0x100000000
680
681#----------------------------------------------------------------------------
682# vgpreload_<tool>-<platform>.a stuff
683#----------------------------------------------------------------------------
684LIBREPLACEMALLOC_X86_LINUX = \
685	$(top_builddir)/coregrind/libreplacemalloc_toolpreload-x86-linux.a
686
687LIBREPLACEMALLOC_AMD64_LINUX = \
688	$(top_builddir)/coregrind/libreplacemalloc_toolpreload-amd64-linux.a
689
690LIBREPLACEMALLOC_PPC32_LINUX = \
691	$(top_builddir)/coregrind/libreplacemalloc_toolpreload-ppc32-linux.a
692
693LIBREPLACEMALLOC_PPC64BE_LINUX = \
694	$(top_builddir)/coregrind/libreplacemalloc_toolpreload-ppc64be-linux.a
695
696LIBREPLACEMALLOC_PPC64LE_LINUX = \
697	$(top_builddir)/coregrind/libreplacemalloc_toolpreload-ppc64le-linux.a
698
699LIBREPLACEMALLOC_ARM_LINUX = \
700	$(top_builddir)/coregrind/libreplacemalloc_toolpreload-arm-linux.a
701
702LIBREPLACEMALLOC_ARM64_LINUX = \
703	$(top_builddir)/coregrind/libreplacemalloc_toolpreload-arm64-linux.a
704
705LIBREPLACEMALLOC_X86_DARWIN = \
706	$(top_builddir)/coregrind/libreplacemalloc_toolpreload-x86-darwin.a
707
708LIBREPLACEMALLOC_AMD64_DARWIN = \
709	$(top_builddir)/coregrind/libreplacemalloc_toolpreload-amd64-darwin.a
710
711LIBREPLACEMALLOC_S390X_LINUX = \
712	$(top_builddir)/coregrind/libreplacemalloc_toolpreload-s390x-linux.a
713
714LIBREPLACEMALLOC_MIPS32_LINUX = \
715	$(top_builddir)/coregrind/libreplacemalloc_toolpreload-mips32-linux.a
716
717LIBREPLACEMALLOC_MIPS64_LINUX = \
718	$(top_builddir)/coregrind/libreplacemalloc_toolpreload-mips64-linux.a
719
720LIBREPLACEMALLOC_X86_SOLARIS = \
721	$(top_builddir)/coregrind/libreplacemalloc_toolpreload-x86-solaris.a
722
723LIBREPLACEMALLOC_AMD64_SOLARIS = \
724	$(top_builddir)/coregrind/libreplacemalloc_toolpreload-amd64-solaris.a
725
726LIBREPLACEMALLOC_LDFLAGS_X86_LINUX = \
727	-Wl,--whole-archive \
728	$(LIBREPLACEMALLOC_X86_LINUX) \
729	-Wl,--no-whole-archive
730
731LIBREPLACEMALLOC_LDFLAGS_AMD64_LINUX = \
732	-Wl,--whole-archive \
733	$(LIBREPLACEMALLOC_AMD64_LINUX) \
734	-Wl,--no-whole-archive
735
736LIBREPLACEMALLOC_LDFLAGS_PPC32_LINUX = \
737	-Wl,--whole-archive \
738	$(LIBREPLACEMALLOC_PPC32_LINUX) \
739	-Wl,--no-whole-archive
740
741LIBREPLACEMALLOC_LDFLAGS_PPC64BE_LINUX = \
742	-Wl,--whole-archive \
743	$(LIBREPLACEMALLOC_PPC64BE_LINUX) \
744	-Wl,--no-whole-archive
745
746LIBREPLACEMALLOC_LDFLAGS_PPC64LE_LINUX = \
747	-Wl,--whole-archive \
748	$(LIBREPLACEMALLOC_PPC64LE_LINUX) \
749	-Wl,--no-whole-archive
750
751LIBREPLACEMALLOC_LDFLAGS_ARM_LINUX = \
752	-Wl,--whole-archive \
753	$(LIBREPLACEMALLOC_ARM_LINUX) \
754	-Wl,--no-whole-archive
755
756LIBREPLACEMALLOC_LDFLAGS_ARM64_LINUX = \
757	-Wl,--whole-archive \
758	$(LIBREPLACEMALLOC_ARM64_LINUX) \
759	-Wl,--no-whole-archive
760
761LIBREPLACEMALLOC_LDFLAGS_X86_DARWIN = \
762	$(LIBREPLACEMALLOC_X86_DARWIN)
763
764LIBREPLACEMALLOC_LDFLAGS_AMD64_DARWIN = \
765	$(LIBREPLACEMALLOC_AMD64_DARWIN)
766
767LIBREPLACEMALLOC_LDFLAGS_S390X_LINUX = \
768	-Wl,--whole-archive \
769	$(LIBREPLACEMALLOC_S390X_LINUX) \
770	-Wl,--no-whole-archive
771
772LIBREPLACEMALLOC_LDFLAGS_MIPS32_LINUX = \
773	-Wl,--whole-archive \
774	$(LIBREPLACEMALLOC_MIPS32_LINUX) \
775	-Wl,--no-whole-archive
776
777LIBREPLACEMALLOC_LDFLAGS_MIPS64_LINUX = \
778	-Wl,--whole-archive \
779	$(LIBREPLACEMALLOC_MIPS64_LINUX) \
780	-Wl,--no-whole-archive
781
782LIBREPLACEMALLOC_LDFLAGS_X86_SOLARIS = \
783	-Wl,--whole-archive \
784	$(LIBREPLACEMALLOC_X86_SOLARIS) \
785	-Wl,--no-whole-archive
786
787LIBREPLACEMALLOC_LDFLAGS_AMD64_SOLARIS = \
788	-Wl,--whole-archive \
789	$(LIBREPLACEMALLOC_AMD64_SOLARIS) \
790	-Wl,--no-whole-archive
791
792EXTRA_DIST = docs/lk-manual.xml
793LACKEY_SOURCES_COMMON = lk_main.c
794lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_SOURCES = \
795	$(LACKEY_SOURCES_COMMON)
796
797lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CPPFLAGS = \
798	$(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
799
800lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CFLAGS = \
801	$(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
802
803lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_DEPENDENCIES = \
804	$(TOOL_DEPENDENCIES_@VGCONF_PLATFORM_PRI_CAPS@)
805
806lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LDADD = \
807	$(TOOL_LDADD_@VGCONF_PLATFORM_PRI_CAPS@)
808
809lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LDFLAGS = \
810	$(TOOL_LDFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
811
812lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LINK = \
813	$(top_builddir)/coregrind/link_tool_exe_@VGCONF_OS@ \
814	@VALT_LOAD_ADDRESS_PRI@ \
815	$(LINK) \
816	$(lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CFLAGS) \
817	$(lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LDFLAGS)
818
819@VGCONF_HAVE_PLATFORM_SEC_TRUE@lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_SOURCES = \
820@VGCONF_HAVE_PLATFORM_SEC_TRUE@	$(LACKEY_SOURCES_COMMON)
821
822@VGCONF_HAVE_PLATFORM_SEC_TRUE@lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CPPFLAGS = \
823@VGCONF_HAVE_PLATFORM_SEC_TRUE@	$(AM_CPPFLAGS_@VGCONF_PLATFORM_SEC_CAPS@)
824
825@VGCONF_HAVE_PLATFORM_SEC_TRUE@lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CFLAGS = \
826@VGCONF_HAVE_PLATFORM_SEC_TRUE@	$(AM_CFLAGS_@VGCONF_PLATFORM_SEC_CAPS@)
827
828@VGCONF_HAVE_PLATFORM_SEC_TRUE@lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_DEPENDENCIES = \
829@VGCONF_HAVE_PLATFORM_SEC_TRUE@	$(TOOL_DEPENDENCIES_@VGCONF_PLATFORM_SEC_CAPS@)
830
831@VGCONF_HAVE_PLATFORM_SEC_TRUE@lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LDADD = \
832@VGCONF_HAVE_PLATFORM_SEC_TRUE@	$(TOOL_LDADD_@VGCONF_PLATFORM_SEC_CAPS@)
833
834@VGCONF_HAVE_PLATFORM_SEC_TRUE@lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LDFLAGS = \
835@VGCONF_HAVE_PLATFORM_SEC_TRUE@	$(TOOL_LDFLAGS_@VGCONF_PLATFORM_SEC_CAPS@)
836
837@VGCONF_HAVE_PLATFORM_SEC_TRUE@lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LINK = \
838@VGCONF_HAVE_PLATFORM_SEC_TRUE@	$(top_builddir)/coregrind/link_tool_exe_@VGCONF_OS@ \
839@VGCONF_HAVE_PLATFORM_SEC_TRUE@	@VALT_LOAD_ADDRESS_SEC@ \
840@VGCONF_HAVE_PLATFORM_SEC_TRUE@	$(LINK) \
841@VGCONF_HAVE_PLATFORM_SEC_TRUE@	$(lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CFLAGS) \
842@VGCONF_HAVE_PLATFORM_SEC_TRUE@	$(lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LDFLAGS)
843
844all: all-recursive
845
846.SUFFIXES:
847.SUFFIXES: .c .o .obj
848$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.tool.am $(top_srcdir)/Makefile.all.am $(am__configure_deps)
849	@for dep in $?; do \
850	  case '$(am__configure_deps)' in \
851	    *$$dep*) \
852	      ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
853	        && { if test -f $@; then exit 0; else break; fi; }; \
854	      exit 1;; \
855	  esac; \
856	done; \
857	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign lackey/Makefile'; \
858	$(am__cd) $(top_srcdir) && \
859	  $(AUTOMAKE) --foreign lackey/Makefile
860Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
861	@case '$?' in \
862	  *config.status*) \
863	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
864	  *) \
865	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
866	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
867	esac;
868$(top_srcdir)/Makefile.tool.am $(top_srcdir)/Makefile.all.am $(am__empty):
869
870$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
871	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
872
873$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
874	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
875$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
876	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
877$(am__aclocal_m4_deps):
878
879clean-noinstPROGRAMS:
880	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
881
882lackey-@VGCONF_ARCH_PRI@-@VGCONF_OS@$(EXEEXT): $(lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_OBJECTS) $(lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_DEPENDENCIES) $(EXTRA_lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_DEPENDENCIES)
883	@rm -f lackey-@VGCONF_ARCH_PRI@-@VGCONF_OS@$(EXEEXT)
884	$(AM_V_GEN)$(lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LINK) $(lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_OBJECTS) $(lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LDADD) $(LIBS)
885
886lackey-@VGCONF_ARCH_SEC@-@VGCONF_OS@$(EXEEXT): $(lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_OBJECTS) $(lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_DEPENDENCIES) $(EXTRA_lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_DEPENDENCIES)
887	@rm -f lackey-@VGCONF_ARCH_SEC@-@VGCONF_OS@$(EXEEXT)
888	$(AM_V_GEN)$(lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LINK) $(lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_OBJECTS) $(lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LDADD) $(LIBS)
889
890mostlyclean-compile:
891	-rm -f *.$(OBJEXT)
892
893distclean-compile:
894	-rm -f *.tab.c
895
896@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@-lk_main.Po@am__quote@
897@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@-lk_main.Po@am__quote@
898
899.c.o:
900@am__fastdepCC_TRUE@	$(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
901@am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
902@am__fastdepCC_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Po
903@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
904@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
905@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
906
907.c.obj:
908@am__fastdepCC_TRUE@	$(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
909@am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
910@am__fastdepCC_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Po
911@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
912@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
913@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
914
915lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@-lk_main.o: lk_main.c
916@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CPPFLAGS) $(CPPFLAGS) $(lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CFLAGS) $(CFLAGS) -MT lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@-lk_main.o -MD -MP -MF $(DEPDIR)/lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@-lk_main.Tpo -c -o lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@-lk_main.o `test -f 'lk_main.c' || echo '$(srcdir)/'`lk_main.c
917@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@-lk_main.Tpo $(DEPDIR)/lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@-lk_main.Po
918@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='lk_main.c' object='lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@-lk_main.o' libtool=no @AMDEPBACKSLASH@
919@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
920@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CPPFLAGS) $(CPPFLAGS) $(lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CFLAGS) $(CFLAGS) -c -o lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@-lk_main.o `test -f 'lk_main.c' || echo '$(srcdir)/'`lk_main.c
921
922lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@-lk_main.obj: lk_main.c
923@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CPPFLAGS) $(CPPFLAGS) $(lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CFLAGS) $(CFLAGS) -MT lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@-lk_main.obj -MD -MP -MF $(DEPDIR)/lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@-lk_main.Tpo -c -o lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@-lk_main.obj `if test -f 'lk_main.c'; then $(CYGPATH_W) 'lk_main.c'; else $(CYGPATH_W) '$(srcdir)/lk_main.c'; fi`
924@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@-lk_main.Tpo $(DEPDIR)/lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@-lk_main.Po
925@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='lk_main.c' object='lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@-lk_main.obj' libtool=no @AMDEPBACKSLASH@
926@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
927@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CPPFLAGS) $(CPPFLAGS) $(lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CFLAGS) $(CFLAGS) -c -o lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@-lk_main.obj `if test -f 'lk_main.c'; then $(CYGPATH_W) 'lk_main.c'; else $(CYGPATH_W) '$(srcdir)/lk_main.c'; fi`
928
929lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@-lk_main.o: lk_main.c
930@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CPPFLAGS) $(CPPFLAGS) $(lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CFLAGS) $(CFLAGS) -MT lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@-lk_main.o -MD -MP -MF $(DEPDIR)/lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@-lk_main.Tpo -c -o lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@-lk_main.o `test -f 'lk_main.c' || echo '$(srcdir)/'`lk_main.c
931@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@-lk_main.Tpo $(DEPDIR)/lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@-lk_main.Po
932@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='lk_main.c' object='lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@-lk_main.o' libtool=no @AMDEPBACKSLASH@
933@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
934@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CPPFLAGS) $(CPPFLAGS) $(lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CFLAGS) $(CFLAGS) -c -o lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@-lk_main.o `test -f 'lk_main.c' || echo '$(srcdir)/'`lk_main.c
935
936lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@-lk_main.obj: lk_main.c
937@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CPPFLAGS) $(CPPFLAGS) $(lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CFLAGS) $(CFLAGS) -MT lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@-lk_main.obj -MD -MP -MF $(DEPDIR)/lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@-lk_main.Tpo -c -o lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@-lk_main.obj `if test -f 'lk_main.c'; then $(CYGPATH_W) 'lk_main.c'; else $(CYGPATH_W) '$(srcdir)/lk_main.c'; fi`
938@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@-lk_main.Tpo $(DEPDIR)/lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@-lk_main.Po
939@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='lk_main.c' object='lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@-lk_main.obj' libtool=no @AMDEPBACKSLASH@
940@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
941@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CPPFLAGS) $(CPPFLAGS) $(lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CFLAGS) $(CFLAGS) -c -o lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@-lk_main.obj `if test -f 'lk_main.c'; then $(CYGPATH_W) 'lk_main.c'; else $(CYGPATH_W) '$(srcdir)/lk_main.c'; fi`
942
943# This directory's subdirectories are mostly independent; you can cd
944# into them and run 'make' without going through this Makefile.
945# To change the values of 'make' variables: instead of editing Makefiles,
946# (1) if the variable is set in 'config.status', edit 'config.status'
947#     (which will cause the Makefiles to be regenerated when you run 'make');
948# (2) otherwise, pass the desired values on the 'make' command line.
949$(am__recursive_targets):
950	@fail=; \
951	if $(am__make_keepgoing); then \
952	  failcom='fail=yes'; \
953	else \
954	  failcom='exit 1'; \
955	fi; \
956	dot_seen=no; \
957	target=`echo $@ | sed s/-recursive//`; \
958	case "$@" in \
959	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
960	  *) list='$(SUBDIRS)' ;; \
961	esac; \
962	for subdir in $$list; do \
963	  echo "Making $$target in $$subdir"; \
964	  if test "$$subdir" = "."; then \
965	    dot_seen=yes; \
966	    local_target="$$target-am"; \
967	  else \
968	    local_target="$$target"; \
969	  fi; \
970	  ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
971	  || eval $$failcom; \
972	done; \
973	if test "$$dot_seen" = "no"; then \
974	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
975	fi; test -z "$$fail"
976
977ID: $(am__tagged_files)
978	$(am__define_uniq_tagged_files); mkid -fID $$unique
979tags: tags-recursive
980TAGS: tags
981
982tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
983	set x; \
984	here=`pwd`; \
985	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
986	  include_option=--etags-include; \
987	  empty_fix=.; \
988	else \
989	  include_option=--include; \
990	  empty_fix=; \
991	fi; \
992	list='$(SUBDIRS)'; for subdir in $$list; do \
993	  if test "$$subdir" = .; then :; else \
994	    test ! -f $$subdir/TAGS || \
995	      set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
996	  fi; \
997	done; \
998	$(am__define_uniq_tagged_files); \
999	shift; \
1000	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
1001	  test -n "$$unique" || unique=$$empty_fix; \
1002	  if test $$# -gt 0; then \
1003	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1004	      "$$@" $$unique; \
1005	  else \
1006	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1007	      $$unique; \
1008	  fi; \
1009	fi
1010ctags: ctags-recursive
1011
1012CTAGS: ctags
1013ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
1014	$(am__define_uniq_tagged_files); \
1015	test -z "$(CTAGS_ARGS)$$unique" \
1016	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
1017	     $$unique
1018
1019GTAGS:
1020	here=`$(am__cd) $(top_builddir) && pwd` \
1021	  && $(am__cd) $(top_srcdir) \
1022	  && gtags -i $(GTAGS_ARGS) "$$here"
1023cscopelist: cscopelist-recursive
1024
1025cscopelist-am: $(am__tagged_files)
1026	list='$(am__tagged_files)'; \
1027	case "$(srcdir)" in \
1028	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
1029	  *) sdir=$(subdir)/$(srcdir) ;; \
1030	esac; \
1031	for i in $$list; do \
1032	  if test -f "$$i"; then \
1033	    echo "$(subdir)/$$i"; \
1034	  else \
1035	    echo "$$sdir/$$i"; \
1036	  fi; \
1037	done >> $(top_builddir)/cscope.files
1038
1039distclean-tags:
1040	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
1041
1042distdir: $(DISTFILES)
1043	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1044	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1045	list='$(DISTFILES)'; \
1046	  dist_files=`for file in $$list; do echo $$file; done | \
1047	  sed -e "s|^$$srcdirstrip/||;t" \
1048	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
1049	case $$dist_files in \
1050	  */*) $(MKDIR_P) `echo "$$dist_files" | \
1051			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
1052			   sort -u` ;; \
1053	esac; \
1054	for file in $$dist_files; do \
1055	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
1056	  if test -d $$d/$$file; then \
1057	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
1058	    if test -d "$(distdir)/$$file"; then \
1059	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1060	    fi; \
1061	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1062	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
1063	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1064	    fi; \
1065	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
1066	  else \
1067	    test -f "$(distdir)/$$file" \
1068	    || cp -p $$d/$$file "$(distdir)/$$file" \
1069	    || exit 1; \
1070	  fi; \
1071	done
1072	@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
1073	  if test "$$subdir" = .; then :; else \
1074	    $(am__make_dryrun) \
1075	      || test -d "$(distdir)/$$subdir" \
1076	      || $(MKDIR_P) "$(distdir)/$$subdir" \
1077	      || exit 1; \
1078	    dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
1079	    $(am__relativize); \
1080	    new_distdir=$$reldir; \
1081	    dir1=$$subdir; dir2="$(top_distdir)"; \
1082	    $(am__relativize); \
1083	    new_top_distdir=$$reldir; \
1084	    echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
1085	    echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
1086	    ($(am__cd) $$subdir && \
1087	      $(MAKE) $(AM_MAKEFLAGS) \
1088	        top_distdir="$$new_top_distdir" \
1089	        distdir="$$new_distdir" \
1090		am__remove_distdir=: \
1091		am__skip_length_check=: \
1092		am__skip_mode_fix=: \
1093	        distdir) \
1094	      || exit 1; \
1095	  fi; \
1096	done
1097check-am: all-am
1098check: check-recursive
1099all-am: Makefile $(PROGRAMS) all-local
1100installdirs: installdirs-recursive
1101installdirs-am:
1102install: install-recursive
1103install-exec: install-exec-recursive
1104install-data: install-data-recursive
1105uninstall: uninstall-recursive
1106
1107install-am: all-am
1108	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1109
1110installcheck: installcheck-recursive
1111install-strip:
1112	if test -z '$(STRIP)'; then \
1113	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1114	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1115	      install; \
1116	else \
1117	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1118	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1119	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1120	fi
1121mostlyclean-generic:
1122
1123clean-generic:
1124
1125distclean-generic:
1126	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1127	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1128
1129maintainer-clean-generic:
1130	@echo "This command is intended for maintainers to use"
1131	@echo "it deletes files that may require special tools to rebuild."
1132clean: clean-recursive
1133
1134clean-am: clean-generic clean-local clean-noinstPROGRAMS \
1135	mostlyclean-am
1136
1137distclean: distclean-recursive
1138	-rm -rf ./$(DEPDIR)
1139	-rm -f Makefile
1140distclean-am: clean-am distclean-compile distclean-generic \
1141	distclean-tags
1142
1143dvi: dvi-recursive
1144
1145dvi-am:
1146
1147html: html-recursive
1148
1149html-am:
1150
1151info: info-recursive
1152
1153info-am:
1154
1155install-data-am:
1156
1157install-dvi: install-dvi-recursive
1158
1159install-dvi-am:
1160
1161install-exec-am: install-exec-local
1162
1163install-html: install-html-recursive
1164
1165install-html-am:
1166
1167install-info: install-info-recursive
1168
1169install-info-am:
1170
1171install-man:
1172
1173install-pdf: install-pdf-recursive
1174
1175install-pdf-am:
1176
1177install-ps: install-ps-recursive
1178
1179install-ps-am:
1180
1181installcheck-am:
1182
1183maintainer-clean: maintainer-clean-recursive
1184	-rm -rf ./$(DEPDIR)
1185	-rm -f Makefile
1186maintainer-clean-am: distclean-am maintainer-clean-generic
1187
1188mostlyclean: mostlyclean-recursive
1189
1190mostlyclean-am: mostlyclean-compile mostlyclean-generic
1191
1192pdf: pdf-recursive
1193
1194pdf-am:
1195
1196ps: ps-recursive
1197
1198ps-am:
1199
1200uninstall-am: uninstall-local
1201
1202.MAKE: $(am__recursive_targets) install-am install-strip
1203
1204.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am all-local \
1205	check check-am clean clean-generic clean-local \
1206	clean-noinstPROGRAMS cscopelist-am ctags ctags-am distclean \
1207	distclean-compile distclean-generic distclean-tags distdir dvi \
1208	dvi-am html html-am info info-am install install-am \
1209	install-data install-data-am install-dvi install-dvi-am \
1210	install-exec install-exec-am install-exec-local install-html \
1211	install-html-am install-info install-info-am install-man \
1212	install-pdf install-pdf-am install-ps install-ps-am \
1213	install-strip installcheck installcheck-am installdirs \
1214	installdirs-am maintainer-clean maintainer-clean-generic \
1215	mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \
1216	ps ps-am tags tags-am uninstall uninstall-am uninstall-local
1217
1218.PRECIOUS: Makefile
1219
1220
1221# This used to be required when Vex had a handwritten Makefile.  It
1222# shouldn't be needed any more, though.
1223
1224#----------------------------------------------------------------------------
1225# noinst_PROGRAMS and noinst_DSYMS targets
1226#----------------------------------------------------------------------------
1227
1228# On Darwin, for a program 'p', the DWARF debug info is stored in the
1229# directory 'p.dSYM'.  This must be generated after the executable is
1230# created, with 'dsymutil p'.  We could redefine LINK with a script that
1231# executes 'dsymutil' after linking, but that's a pain.  Instead we use this
1232# hook so that every time "make check" is run, we subsequently invoke
1233# 'dsymutil' on all the executables that lack a .dSYM directory, or that are
1234# newer than their corresponding .dSYM directory.
1235build-noinst_DSYMS: $(noinst_DSYMS)
1236	for f in $(noinst_DSYMS); do \
1237	  if [ ! -e $$f.dSYM  -o  $$f -nt $$f.dSYM ] ; then \
1238	      echo "dsymutil $$f"; \
1239	      dsymutil $$f; \
1240	  fi; \
1241	done
1242
1243# This is used by coregrind/Makefile.am and Makefile.tool.am for doing
1244# "in-place" installs.  It copies $(noinst_PROGRAMS) into $inplacedir.
1245# It needs to be depended on by an 'all-local' rule.
1246inplace-noinst_PROGRAMS: $(noinst_PROGRAMS)
1247	mkdir -p $(inplacedir); \
1248	for f in $(noinst_PROGRAMS) ; do \
1249	  rm -f $(inplacedir)/$$f; \
1250	  ln -f -s ../$(subdir)/$$f $(inplacedir); \
1251	done
1252
1253# Similar to inplace-noinst_PROGRAMS
1254inplace-noinst_DSYMS: build-noinst_DSYMS
1255	mkdir -p $(inplacedir); \
1256	for f in $(noinst_DSYMS); do \
1257	  rm -f $(inplacedir)/$$f.dSYM; \
1258	  ln -f -s ../$(subdir)/$$f.dSYM $(inplacedir); \
1259	done
1260
1261# This is used by coregrind/Makefile.am and by <tool>/Makefile.am for doing
1262# "make install".  It copies $(noinst_PROGRAMS) into $prefix/lib/valgrind/.
1263# It needs to be depended on by an 'install-exec-local' rule.
1264install-noinst_PROGRAMS: $(noinst_PROGRAMS)
1265	$(mkinstalldirs) $(DESTDIR)$(pkglibdir); \
1266	for f in $(noinst_PROGRAMS); do \
1267	  $(INSTALL_PROGRAM) $$f $(DESTDIR)$(pkglibdir); \
1268	done
1269
1270# This is used by coregrind/Makefile.am and by <tool>/Makefile.am for doing
1271# "make uninstall".  It removes $(noinst_PROGRAMS) from $prefix/lib/valgrind/.
1272# It needs to be depended on by an 'uninstall-local' rule.
1273uninstall-noinst_PROGRAMS:
1274	for f in $(noinst_PROGRAMS); do \
1275	  rm -f $(DESTDIR)$(pkglibdir)/$$f; \
1276	done
1277
1278# Similar to install-noinst_PROGRAMS.
1279# Nb: we don't use $(INSTALL_PROGRAM) here because it doesn't work with
1280# directories.  XXX: not sure whether the resulting permissions will be
1281# correct when using 'cp -R'...
1282install-noinst_DSYMS: build-noinst_DSYMS
1283	$(mkinstalldirs) $(DESTDIR)$(pkglibdir); \
1284	for f in $(noinst_DSYMS); do \
1285	  cp -R $$f.dSYM $(DESTDIR)$(pkglibdir); \
1286	done
1287
1288# Similar to uninstall-noinst_PROGRAMS.
1289uninstall-noinst_DSYMS:
1290	for f in $(noinst_DSYMS); do \
1291	  rm -f $(DESTDIR)$(pkglibdir)/$$f.dSYM; \
1292	done
1293
1294# This needs to be depended on by a 'clean-local' rule.
1295clean-noinst_DSYMS:
1296	for f in $(noinst_DSYMS); do \
1297	  rm -rf $$f.dSYM; \
1298	done
1299
1300#----------------------------------------------------------------------------
1301# General stuff
1302#----------------------------------------------------------------------------
1303
1304all-local: inplace-noinst_PROGRAMS inplace-noinst_DSYMS
1305
1306clean-local: clean-noinst_DSYMS
1307
1308install-exec-local: install-noinst_PROGRAMS install-noinst_DSYMS
1309
1310uninstall-local: uninstall-noinst_PROGRAMS uninstall-noinst_DSYMS
1311
1312# Tell versions [3.59,3.63) of GNU make to not export all variables.
1313# Otherwise a system limit (for SysV at least) may be exceeded.
1314.NOEXPORT:
1315