blob: be1d460a79d7f764b658157cc4ff8b354da15e2e [file] [log] [blame]
Elliott Hughesa0664b92017-04-18 17:46:52 -07001# 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
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
109subdir = .
110ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
111am__aclocal_m4_deps = $(top_srcdir)/configure.ac
112am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
113 $(ACLOCAL_M4)
114DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
115 $(am__configure_deps) $(dist_noinst_SCRIPTS) \
116 $(dist_noinst_DATA) $(pkginclude_HEADERS) $(am__DIST_COMMON)
117am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
118 configure.lineno config.status.lineno
119mkinstalldirs = $(install_sh) -d
120CONFIG_HEADER = config.h
121CONFIG_CLEAN_FILES = valgrind.spec valgrind.pc glibc-2.X.supp \
122 drd/scripts/download-and-build-splash2
123CONFIG_CLEAN_VPATH_FILES =
124SCRIPTS = $(dist_noinst_SCRIPTS)
125AM_V_P = $(am__v_P_@AM_V@)
126am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
127am__v_P_0 = false
128am__v_P_1 = :
129AM_V_GEN = $(am__v_GEN_@AM_V@)
130am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
131am__v_GEN_0 = @echo " GEN " $@;
132am__v_GEN_1 =
133AM_V_at = $(am__v_at_@AM_V@)
134am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
135am__v_at_0 = @
136am__v_at_1 =
137SOURCES =
138DIST_SOURCES =
139RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
140 ctags-recursive dvi-recursive html-recursive info-recursive \
141 install-data-recursive install-dvi-recursive \
142 install-exec-recursive install-html-recursive \
143 install-info-recursive install-pdf-recursive \
144 install-ps-recursive install-recursive installcheck-recursive \
145 installdirs-recursive pdf-recursive ps-recursive \
146 tags-recursive uninstall-recursive
147am__can_run_installinfo = \
148 case $$AM_UPDATE_INFO_DIR in \
149 n|no|NO) false;; \
150 *) (install-info --version) >/dev/null 2>&1;; \
151 esac
152am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
153am__vpath_adj = case $$p in \
154 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
155 *) f=$$p;; \
156 esac;
157am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
158am__install_max = 40
159am__nobase_strip_setup = \
160 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
161am__nobase_strip = \
162 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
163am__nobase_list = $(am__nobase_strip_setup); \
164 for p in $$list; do echo "$$p $$p"; done | \
165 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
166 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
167 if (++n[$$2] == $(am__install_max)) \
168 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
169 END { for (dir in files) print dir, files[dir] }'
170am__base_list = \
171 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
172 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
173am__uninstall_files_from_dir = { \
174 test -z "$$files" \
175 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
176 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
177 $(am__cd) "$$dir" && rm -f $$files; }; \
178 }
179am__installdirs = "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(vglibdir)" \
180 "$(DESTDIR)$(pkgincludedir)"
181DATA = $(dist_noinst_DATA) $(pkgconfig_DATA) $(vglib_DATA)
182HEADERS = $(pkginclude_HEADERS)
183RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
184 distclean-recursive maintainer-clean-recursive
185am__recursive_targets = \
186 $(RECURSIVE_TARGETS) \
187 $(RECURSIVE_CLEAN_TARGETS) \
188 $(am__extra_recursive_targets)
189AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
190 cscope distdir dist dist-all distcheck
191am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
192 $(LISP)config.h.in
193# Read a list of newline-separated strings from the standard input,
194# and print each of them once, without duplicates. Input order is
195# *not* preserved.
196am__uniquify_input = $(AWK) '\
197 BEGIN { nonempty = 0; } \
198 { items[$$0] = 1; nonempty = 1; } \
199 END { if (nonempty) { for (i in items) print i; }; } \
200'
201# Make sure the list of sources is unique. This is necessary because,
202# e.g., the same source file might be shared among _SOURCES variables
203# for different programs/libraries.
204am__define_uniq_tagged_files = \
205 list='$(am__tagged_files)'; \
206 unique=`for i in $$list; do \
207 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
208 done | $(am__uniquify_input)`
209ETAGS = etags
210CTAGS = ctags
211CSCOPE = cscope
212am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
213 $(srcdir)/glibc-2.X.supp.in $(srcdir)/valgrind.pc.in \
214 $(srcdir)/valgrind.spec.in $(top_srcdir)/Makefile.all.am \
215 $(top_srcdir)/drd/scripts/download-and-build-splash2.in \
216 AUTHORS COPYING NEWS README compile config.guess config.sub \
Elliott Hughesed398002017-06-21 14:41:24 -0700217 depcomp install-sh missing
Elliott Hughesa0664b92017-04-18 17:46:52 -0700218DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
219distdir = $(PACKAGE)-$(VERSION)
220top_distdir = $(distdir)
221am__remove_distdir = \
222 if test -d "$(distdir)"; then \
223 find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
224 && rm -rf "$(distdir)" \
225 || { sleep 5 && rm -rf "$(distdir)"; }; \
226 else :; fi
227am__post_remove_distdir = $(am__remove_distdir)
228am__relativize = \
229 dir0=`pwd`; \
230 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
231 sed_rest='s,^[^/]*/*,,'; \
232 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
233 sed_butlast='s,/*[^/]*$$,,'; \
234 while test -n "$$dir1"; do \
235 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
236 if test "$$first" != "."; then \
237 if test "$$first" = ".."; then \
238 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
239 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
240 else \
241 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
242 if test "$$first2" = "$$first"; then \
243 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
244 else \
245 dir2="../$$dir2"; \
246 fi; \
247 dir0="$$dir0"/"$$first"; \
248 fi; \
249 fi; \
250 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
251 done; \
252 reldir="$$dir2"
253DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
254GZIP_ENV = --best
255DIST_TARGETS = dist-bzip2 dist-gzip
256distuninstallcheck_listfiles = find . -type f -print
257am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
258 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
259distcleancheck_listfiles = find . -type f -print
260ACLOCAL = @ACLOCAL@
261AMTAR = @AMTAR@
262AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
263AR = @AR@
264AUTOCONF = @AUTOCONF@
265AUTOHEADER = @AUTOHEADER@
266AUTOMAKE = @AUTOMAKE@
267AWK = @AWK@
268BOOST_CFLAGS = @BOOST_CFLAGS@
269BOOST_LIBS = @BOOST_LIBS@
270CC = @CC@
271CCAS = @CCAS@
272CCASDEPMODE = @CCASDEPMODE@
273CCASFLAGS = @CCASFLAGS@
274CCDEPMODE = @CCDEPMODE@
275CFLAGS = @CFLAGS@
276CFLAGS_MPI = @CFLAGS_MPI@
277CPP = @CPP@
278CPPFLAGS = @CPPFLAGS@
279CXX = @CXX@
280CXXDEPMODE = @CXXDEPMODE@
281CXXFLAGS = @CXXFLAGS@
282CYGPATH_W = @CYGPATH_W@
283DEFAULT_SUPP = @DEFAULT_SUPP@
284DEFS = @DEFS@
285DEPDIR = @DEPDIR@
286DIFF = @DIFF@
287DIS_PATH = @DIS_PATH@
288ECHO_C = @ECHO_C@
289ECHO_N = @ECHO_N@
290ECHO_T = @ECHO_T@
291EGREP = @EGREP@
292EXEEXT = @EXEEXT@
293FLAG_FNO_IPA_ICF = @FLAG_FNO_IPA_ICF@
294FLAG_FNO_STACK_PROTECTOR = @FLAG_FNO_STACK_PROTECTOR@
295FLAG_FSANITIZE = @FLAG_FSANITIZE@
296FLAG_M32 = @FLAG_M32@
297FLAG_M64 = @FLAG_M64@
298FLAG_MIPS32 = @FLAG_MIPS32@
299FLAG_MIPS64 = @FLAG_MIPS64@
300FLAG_MLONG_DOUBLE_128 = @FLAG_MLONG_DOUBLE_128@
301FLAG_MMMX = @FLAG_MMMX@
302FLAG_MSSE = @FLAG_MSSE@
303FLAG_NO_BUILD_ID = @FLAG_NO_BUILD_ID@
Elliott Hughesed398002017-06-21 14:41:24 -0700304FLAG_NO_PIE = @FLAG_NO_PIE@
Elliott Hughesa0664b92017-04-18 17:46:52 -0700305FLAG_OCTEON = @FLAG_OCTEON@
306FLAG_OCTEON2 = @FLAG_OCTEON2@
307FLAG_T_TEXT = @FLAG_T_TEXT@
308FLAG_UNLIMITED_INLINE_UNIT_GROWTH = @FLAG_UNLIMITED_INLINE_UNIT_GROWTH@
309FLAG_W_CAST_ALIGN = @FLAG_W_CAST_ALIGN@
310FLAG_W_CAST_QUAL = @FLAG_W_CAST_QUAL@
311FLAG_W_EMPTY_BODY = @FLAG_W_EMPTY_BODY@
312FLAG_W_EXTRA = @FLAG_W_EXTRA@
313FLAG_W_FORMAT = @FLAG_W_FORMAT@
314FLAG_W_FORMAT_SECURITY = @FLAG_W_FORMAT_SECURITY@
315FLAG_W_FORMAT_SIGNEDNESS = @FLAG_W_FORMAT_SIGNEDNESS@
316FLAG_W_IGNORED_QUALIFIERS = @FLAG_W_IGNORED_QUALIFIERS@
317FLAG_W_MISSING_PARAMETER_TYPE = @FLAG_W_MISSING_PARAMETER_TYPE@
318FLAG_W_NO_INFINITE_RECURSION = @FLAG_W_NO_INFINITE_RECURSION@
319FLAG_W_NO_MEMSET_TRANSPOSED_ARGS = @FLAG_W_NO_MEMSET_TRANSPOSED_ARGS@
320FLAG_W_NO_MISMATCHED_NEW_DELETE = @FLAG_W_NO_MISMATCHED_NEW_DELETE@
321FLAG_W_NO_NONNULL = @FLAG_W_NO_NONNULL@
322FLAG_W_NO_OVERFLOW = @FLAG_W_NO_OVERFLOW@
323FLAG_W_NO_POINTER_SIGN = @FLAG_W_NO_POINTER_SIGN@
324FLAG_W_NO_STATIC_LOCAL_IN_INLINE = @FLAG_W_NO_STATIC_LOCAL_IN_INLINE@
325FLAG_W_NO_UNINITIALIZED = @FLAG_W_NO_UNINITIALIZED@
326FLAG_W_NO_UNUSED_FUNCTION = @FLAG_W_NO_UNUSED_FUNCTION@
327FLAG_W_OLD_STYLE_DECLARATION = @FLAG_W_OLD_STYLE_DECLARATION@
328FLAG_W_WRITE_STRINGS = @FLAG_W_WRITE_STRINGS@
329GDB = @GDB@
330GLIBC_VERSION = @GLIBC_VERSION@
331GREP = @GREP@
332HWCAP_HAS_ALTIVEC = @HWCAP_HAS_ALTIVEC@
333HWCAP_HAS_DFP = @HWCAP_HAS_DFP@
334HWCAP_HAS_HTM = @HWCAP_HAS_HTM@
335HWCAP_HAS_ISA_2_05 = @HWCAP_HAS_ISA_2_05@
336HWCAP_HAS_ISA_2_06 = @HWCAP_HAS_ISA_2_06@
337HWCAP_HAS_ISA_2_07 = @HWCAP_HAS_ISA_2_07@
338HWCAP_HAS_ISA_3_00 = @HWCAP_HAS_ISA_3_00@
339HWCAP_HAS_VSX = @HWCAP_HAS_VSX@
340INSTALL = @INSTALL@
341INSTALL_DATA = @INSTALL_DATA@
342INSTALL_PROGRAM = @INSTALL_PROGRAM@
343INSTALL_SCRIPT = @INSTALL_SCRIPT@
344INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
345LDFLAGS = @LDFLAGS@
346LDFLAGS_MPI = @LDFLAGS_MPI@
347LIBOBJS = @LIBOBJS@
348LIBS = @LIBS@
349LIB_UBSAN = @LIB_UBSAN@
350LN_S = @LN_S@
351LTLIBOBJS = @LTLIBOBJS@
352MAINT = @MAINT@
353MAKEINFO = @MAKEINFO@
354MKDIR_P = @MKDIR_P@
355MPI_CC = @MPI_CC@
356OBJEXT = @OBJEXT@
357PACKAGE = @PACKAGE@
358PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
359PACKAGE_NAME = @PACKAGE_NAME@
360PACKAGE_STRING = @PACKAGE_STRING@
361PACKAGE_TARNAME = @PACKAGE_TARNAME@
362PACKAGE_URL = @PACKAGE_URL@
363PACKAGE_VERSION = @PACKAGE_VERSION@
364PATH_SEPARATOR = @PATH_SEPARATOR@
365PERL = @PERL@
366PREFERRED_STACK_BOUNDARY_2 = @PREFERRED_STACK_BOUNDARY_2@
367RANLIB = @RANLIB@
368SED = @SED@
369SET_MAKE = @SET_MAKE@
370SHELL = @SHELL@
371SOLARIS_UNDEF_LARGESOURCE = @SOLARIS_UNDEF_LARGESOURCE@
372STRIP = @STRIP@
373VALT_LOAD_ADDRESS_PRI = @VALT_LOAD_ADDRESS_PRI@
374VALT_LOAD_ADDRESS_SEC = @VALT_LOAD_ADDRESS_SEC@
375VERSION = @VERSION@
376VGCONF_ARCH_PRI = @VGCONF_ARCH_PRI@
377VGCONF_ARCH_SEC = @VGCONF_ARCH_SEC@
378VGCONF_OS = @VGCONF_OS@
379VGCONF_PLATFORM_PRI_CAPS = @VGCONF_PLATFORM_PRI_CAPS@
380VGCONF_PLATFORM_SEC_CAPS = @VGCONF_PLATFORM_SEC_CAPS@
381VGCONF_PLATVARIANT = @VGCONF_PLATVARIANT@
382VG_TMPDIR = @VG_TMPDIR@
383abs_builddir = @abs_builddir@
384abs_srcdir = @abs_srcdir@
385abs_top_builddir = @abs_top_builddir@
386abs_top_srcdir = @abs_top_srcdir@
387ac_ct_CC = @ac_ct_CC@
388ac_ct_CXX = @ac_ct_CXX@
389am__include = @am__include@
390am__leading_dot = @am__leading_dot@
391am__quote = @am__quote@
392am__tar = @am__tar@
393am__untar = @am__untar@
394bindir = @bindir@
395build = @build@
396build_alias = @build_alias@
397build_cpu = @build_cpu@
398build_os = @build_os@
399build_vendor = @build_vendor@
400builddir = @builddir@
401datadir = @datadir@
402datarootdir = @datarootdir@
403docdir = @docdir@
404dvidir = @dvidir@
405exec_prefix = @exec_prefix@
406host = @host@
407host_alias = @host_alias@
408host_cpu = @host_cpu@
409host_os = @host_os@
410host_vendor = @host_vendor@
411htmldir = @htmldir@
412includedir = @includedir@
413infodir = @infodir@
414install_sh = @install_sh@
415libdir = @libdir@
416libexecdir = @libexecdir@
417localedir = @localedir@
418localstatedir = @localstatedir@
419mandir = @mandir@
420mkdir_p = @mkdir_p@
421oldincludedir = @oldincludedir@
422pdfdir = @pdfdir@
423prefix = @prefix@
424program_transform_name = @program_transform_name@
425psdir = @psdir@
426sbindir = @sbindir@
427sharedstatedir = @sharedstatedir@
428srcdir = @srcdir@
429sysconfdir = @sysconfdir@
430target_alias = @target_alias@
431top_build_prefix = @top_build_prefix@
432top_builddir = @top_builddir@
433top_srcdir = @top_srcdir@
434AUTOMAKE_OPTIONS = foreign 1.10 dist-bzip2
435inplacedir = $(top_builddir)/.in_place
436
437#----------------------------------------------------------------------------
438# Flags
439#----------------------------------------------------------------------------
440
441# Baseline flags for all compilations. Aim here is to maximise
442# performance and get whatever useful warnings we can out of gcc.
443# -fno-builtin is important for defeating LLVM's idiom recognition
444# that somehow causes VG_(memset) to get into infinite recursion.
445AM_CFLAGS_BASE = -O2 -g -std=gnu99 -Wall -Wmissing-prototypes -Wshadow \
446 -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations \
447 @FLAG_W_CAST_ALIGN@ @FLAG_W_CAST_QUAL@ @FLAG_W_WRITE_STRINGS@ \
448 @FLAG_W_EMPTY_BODY@ @FLAG_W_FORMAT@ @FLAG_W_FORMAT_SIGNEDNESS@ \
449 @FLAG_W_FORMAT_SECURITY@ @FLAG_W_IGNORED_QUALIFIERS@ \
450 @FLAG_W_MISSING_PARAMETER_TYPE@ @FLAG_W_OLD_STYLE_DECLARATION@ \
451 @FLAG_FNO_STACK_PROTECTOR@ @FLAG_FSANITIZE@ \
452 -fno-strict-aliasing -fno-builtin $(am__append_1)
453@VGCONF_OS_IS_DARWIN_FALSE@AM_CFLAGS_PSO_BASE = -O -g -fno-omit-frame-pointer -fno-strict-aliasing \
454@VGCONF_OS_IS_DARWIN_FALSE@ -fpic -fno-builtin @FLAG_FNO_IPA_ICF@
455
456
457# These flags are used for building the preload shared objects (PSOs).
458# The aim is to give reasonable performance but also to have good
459# stack traces, since users often see stack traces extending
460# into (and through) the preloads. Also, we must use any
461# -mpreferred-stack-boundary flag to build the preload shared
462# objects, since that risks misaligning the client's stack and
463# results in segfaults like (eg) #324050.
464@VGCONF_OS_IS_DARWIN_TRUE@AM_CFLAGS_PSO_BASE = -dynamic \
465@VGCONF_OS_IS_DARWIN_TRUE@ -O -g -fno-omit-frame-pointer -fno-strict-aliasing \
466@VGCONF_OS_IS_DARWIN_TRUE@ -fpic -fPIC -fno-builtin @FLAG_FNO_IPA_ICF@
467
468
469# Flags for specific targets.
470#
471# Nb: the AM_CPPFLAGS_* values are suitable for building tools and auxprogs.
472# For building the core, coregrind/Makefile.am files add some extra things.
473AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@ = \
474 -I$(top_srcdir) \
475 -I$(top_srcdir)/include \
Elliott Hughesed398002017-06-21 14:41:24 -0700476 -I$(top_builddir)/include \
Elliott Hughesa0664b92017-04-18 17:46:52 -0700477 -I$(top_srcdir)/VEX/pub \
478 -I$(top_builddir)/VEX/pub \
479 -DVGA_@VGCONF_ARCH_PRI@=1 \
480 -DVGO_@VGCONF_OS@=1 \
481 -DVGP_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1 \
482 -DVGPV_@VGCONF_ARCH_PRI@_@VGCONF_OS@_@VGCONF_PLATVARIANT@=1
483
484@VGCONF_HAVE_PLATFORM_SEC_TRUE@AM_CPPFLAGS_@VGCONF_PLATFORM_SEC_CAPS@ = \
485@VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_srcdir) \
486@VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_srcdir)/include \
Elliott Hughesed398002017-06-21 14:41:24 -0700487@VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_builddir)/include \
Elliott Hughesa0664b92017-04-18 17:46:52 -0700488@VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_srcdir)/VEX/pub \
489@VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_builddir)/VEX/pub \
490@VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGA_@VGCONF_ARCH_SEC@=1 \
491@VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGO_@VGCONF_OS@=1 \
492@VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGP_@VGCONF_ARCH_SEC@_@VGCONF_OS@=1 \
493@VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGPV_@VGCONF_ARCH_SEC@_@VGCONF_OS@_@VGCONF_PLATVARIANT@=1
494
495AM_FLAG_M3264_X86_LINUX = @FLAG_M32@
496AM_CFLAGS_X86_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY_2@ \
497 $(AM_CFLAGS_BASE) -fomit-frame-pointer
498
499AM_CFLAGS_PSO_X86_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE)
500AM_CCASFLAGS_X86_LINUX = @FLAG_M32@ -g
501AM_FLAG_M3264_AMD64_LINUX = @FLAG_M64@
502AM_CFLAGS_AMD64_LINUX = @FLAG_M64@ \
503 $(AM_CFLAGS_BASE) -fomit-frame-pointer
504
505AM_CFLAGS_PSO_AMD64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE)
506AM_CCASFLAGS_AMD64_LINUX = @FLAG_M64@ -g
507AM_FLAG_M3264_PPC32_LINUX = @FLAG_M32@
508AM_CFLAGS_PPC32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE)
509AM_CFLAGS_PSO_PPC32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE)
510AM_CCASFLAGS_PPC32_LINUX = @FLAG_M32@ -g
511AM_FLAG_M3264_PPC64BE_LINUX = @FLAG_M64@
512AM_CFLAGS_PPC64BE_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE)
513AM_CFLAGS_PSO_PPC64BE_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE)
514AM_CCASFLAGS_PPC64BE_LINUX = @FLAG_M64@ -g
515AM_FLAG_M3264_PPC64LE_LINUX = @FLAG_M64@
516AM_CFLAGS_PPC64LE_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE)
517AM_CFLAGS_PSO_PPC64LE_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE)
518AM_CCASFLAGS_PPC64LE_LINUX = @FLAG_M64@ -g
519AM_FLAG_M3264_ARM_LINUX = @FLAG_M32@
520AM_CFLAGS_ARM_LINUX = @FLAG_M32@ \
521 $(AM_CFLAGS_BASE) -marm -mcpu=cortex-a8
522
523AM_CFLAGS_PSO_ARM_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) \
524 -marm -mcpu=cortex-a8 $(AM_CFLAGS_PSO_BASE)
525
526AM_CCASFLAGS_ARM_LINUX = @FLAG_M32@ \
527 -marm -mcpu=cortex-a8 -g
528
529AM_FLAG_M3264_ARM64_LINUX = @FLAG_M64@
530AM_CFLAGS_ARM64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE)
531AM_CFLAGS_PSO_ARM64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE)
532AM_CCASFLAGS_ARM64_LINUX = @FLAG_M64@ -g
533AM_FLAG_M3264_X86_DARWIN = -arch i386
534AM_CFLAGS_X86_DARWIN = $(WERROR) -arch i386 $(AM_CFLAGS_BASE) \
535 -mmacosx-version-min=10.6 \
536 -fno-stack-protector -fno-pic -fno-PIC
537
538AM_CFLAGS_PSO_X86_DARWIN = $(AM_CFLAGS_X86_DARWIN) $(AM_CFLAGS_PSO_BASE)
539AM_CCASFLAGS_X86_DARWIN = -arch i386 -g
540AM_FLAG_M3264_AMD64_DARWIN = -arch x86_64
541AM_CFLAGS_AMD64_DARWIN = $(WERROR) -arch x86_64 $(AM_CFLAGS_BASE) \
542 -mmacosx-version-min=10.6 -fno-stack-protector
543
544AM_CFLAGS_PSO_AMD64_DARWIN = $(AM_CFLAGS_AMD64_DARWIN) $(AM_CFLAGS_PSO_BASE)
545AM_CCASFLAGS_AMD64_DARWIN = -arch x86_64 -g
546AM_FLAG_M3264_S390X_LINUX = @FLAG_M64@
547AM_CFLAGS_S390X_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) -fomit-frame-pointer
548AM_CFLAGS_PSO_S390X_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE)
549AM_CCASFLAGS_S390X_LINUX = @FLAG_M64@ -g -mzarch -march=z900
550AM_FLAG_M3264_MIPS32_LINUX = @FLAG_M32@
551AM_CFLAGS_MIPS32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) @FLAG_MIPS32@
552AM_CFLAGS_PSO_MIPS32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) @FLAG_MIPS32@ \
553 $(AM_CFLAGS_PSO_BASE)
554
555AM_CCASFLAGS_MIPS32_LINUX = @FLAG_M32@ -g @FLAG_MIPS32@
556AM_FLAG_M3264_MIPS64_LINUX = @FLAG_M64@
557AM_CFLAGS_MIPS64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) @FLAG_MIPS64@
558AM_CFLAGS_PSO_MIPS64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) @FLAG_MIPS64@ \
559 $(AM_CFLAGS_PSO_BASE)
560
561AM_CCASFLAGS_MIPS64_LINUX = @FLAG_M64@ -g @FLAG_MIPS64@
Elliott Hughesa0664b92017-04-18 17:46:52 -0700562AM_FLAG_M3264_X86_SOLARIS = @FLAG_M32@
563AM_CFLAGS_X86_SOLARIS = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY_2@ \
564 $(AM_CFLAGS_BASE) -fomit-frame-pointer \
565 @SOLARIS_UNDEF_LARGESOURCE@
566
567AM_CFLAGS_PSO_X86_SOLARIS = @FLAG_M32@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE)
568AM_CCASFLAGS_X86_SOLARIS = @FLAG_M32@ -g -D_ASM
569AM_FLAG_M3264_AMD64_SOLARIS = @FLAG_M64@
570AM_CFLAGS_AMD64_SOLARIS = @FLAG_M64@ \
571 $(AM_CFLAGS_BASE) -fomit-frame-pointer
572
573AM_CFLAGS_PSO_AMD64_SOLARIS = @FLAG_M64@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE)
574AM_CCASFLAGS_AMD64_SOLARIS = @FLAG_M64@ -g -D_ASM
575
576# Flags for the primary target. These must be used to build the
577# regtests and performance tests. In fact, these must be used to
578# build anything which is built only once on a dual-arch build.
579#
580AM_FLAG_M3264_PRI = $(AM_FLAG_M3264_@VGCONF_PLATFORM_PRI_CAPS@)
581AM_CPPFLAGS_PRI = $(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
582AM_CFLAGS_PRI = $(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
583AM_CCASFLAGS_PRI = $(AM_CCASFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
584@VGCONF_HAVE_PLATFORM_SEC_FALSE@AM_FLAG_M3264_SEC =
585@VGCONF_HAVE_PLATFORM_SEC_TRUE@AM_FLAG_M3264_SEC = $(AM_FLAG_M3264_@VGCONF_PLATFORM_SEC_CAPS@)
586
587# Baseline link flags for making vgpreload shared objects.
588#
589PRELOAD_LDFLAGS_COMMON_LINUX = -nodefaultlibs -shared \
590 -Wl,-z,interpose,-z,initfirst $(am__append_3)
591PRELOAD_LDFLAGS_COMMON_DARWIN = -dynamic -dynamiclib -all_load
592PRELOAD_LDFLAGS_COMMON_SOLARIS = -nodefaultlibs -shared \
593 -Wl,-z,interpose,-z,initfirst $(am__append_2)
594PRELOAD_LDFLAGS_X86_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
595PRELOAD_LDFLAGS_AMD64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
596PRELOAD_LDFLAGS_PPC32_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
597PRELOAD_LDFLAGS_PPC64BE_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
598PRELOAD_LDFLAGS_PPC64LE_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
599PRELOAD_LDFLAGS_ARM_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
600PRELOAD_LDFLAGS_ARM64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
601PRELOAD_LDFLAGS_X86_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch i386
602PRELOAD_LDFLAGS_AMD64_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch x86_64
603PRELOAD_LDFLAGS_S390X_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
604PRELOAD_LDFLAGS_MIPS32_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
605PRELOAD_LDFLAGS_MIPS64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
Elliott Hughesa0664b92017-04-18 17:46:52 -0700606PRELOAD_LDFLAGS_X86_SOLARIS = $(PRELOAD_LDFLAGS_COMMON_SOLARIS) @FLAG_M32@
607PRELOAD_LDFLAGS_AMD64_SOLARIS = $(PRELOAD_LDFLAGS_COMMON_SOLARIS) @FLAG_M64@
608TOOLS = memcheck \
609 cachegrind \
610 callgrind \
611 massif \
612 lackey \
613 none \
614 helgrind \
615 drd
616
617EXP_TOOLS = exp-sgcheck \
618 exp-bbv \
619 exp-dhat
620
621
622# Put docs last because building the HTML is slow and we want to get
623# everything else working before we try it.
624SUBDIRS = \
625 include \
626 VEX \
627 coregrind \
628 . \
629 $(TOOLS) \
630 $(EXP_TOOLS) \
631 shared \
632 tests \
633 perf \
634 gdbserver_tests \
635 memcheck/tests/vbit-test \
636 auxprogs \
637 mpi \
638 solaris \
639 docs
640
641DIST_SUBDIRS = $(SUBDIRS)
642SUPP_FILES = \
643 glibc-2.2.supp glibc-2.3.supp glibc-2.4.supp glibc-2.5.supp \
644 glibc-2.6.supp glibc-2.7.supp glibc-2.X.supp.in \
645 xfree-3.supp xfree-4.supp \
646 glibc-2.34567-NPTL-helgrind.supp \
647 glibc-2.2-LinuxThreads-helgrind.supp \
648 glibc-2.X-drd.supp \
649 exp-sgcheck.supp \
650 darwin9.supp darwin9-drd.supp \
651 darwin10.supp darwin10-drd.supp \
652 darwin11.supp darwin12.supp darwin13.supp darwin14.supp darwin15.supp \
653 darwin16.supp \
654 bionic.supp \
655 solaris11.supp solaris12.supp
656
657DEFAULT_SUPP_FILES = @DEFAULT_SUPP@
658
659# We include all the base .supp files in the distribution, but not
660# default.supp, as it is built from the base .supp files at compile-time.
661dist_noinst_DATA = $(SUPP_FILES)
662vglibdir = $(pkglibdir)
663vglib_DATA = default.supp
664pkgconfigdir = $(libdir)/pkgconfig
665pkgconfig_DATA = valgrind.pc
Elliott Hughesed398002017-06-21 14:41:24 -0700666BUILT_SOURCES = default.supp include/vgversion.h valgrind.pc
Elliott Hughesa0664b92017-04-18 17:46:52 -0700667CLEANFILES = default.supp
668
669# Nb: no need to include any Makefile.am files here, or files included from
670# them, as automake includes them automatically. Also not COPYING, README
671# or NEWS.
672# We include valgrind.spec as well as valgrind.spec.in to save packagers
673# from having to run configure (bug 188560).
674EXTRA_DIST = \
675 COPYING.DOCS \
676 README_DEVELOPERS \
677 README_PACKAGERS \
678 README_MISSING_SYSCALL_OR_IOCTL \
679 README.s390 \
680 README.android \
681 README.android_emulator \
682 README.mips \
683 README.aarch64 \
684 README.solaris \
685 NEWS.old \
686 valgrind.pc.in \
687 valgrind.spec.in \
688 valgrind.spec \
689 autogen.sh
690
691dist_noinst_SCRIPTS = \
692 vg-in-place
693
694
695# Need config.h in the installed tree, since some files depend on it
696pkginclude_HEADERS = config.h
697all: $(BUILT_SOURCES) config.h
698 $(MAKE) $(AM_MAKEFLAGS) all-recursive
699
700.SUFFIXES:
701am--refresh: Makefile
702 @:
703$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.all.am $(am__configure_deps)
704 @for dep in $?; do \
705 case '$(am__configure_deps)' in \
706 *$$dep*) \
707 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
708 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
709 && exit 0; \
710 exit 1;; \
711 esac; \
712 done; \
713 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
714 $(am__cd) $(top_srcdir) && \
715 $(AUTOMAKE) --foreign Makefile
716Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
717 @case '$?' in \
718 *config.status*) \
719 echo ' $(SHELL) ./config.status'; \
720 $(SHELL) ./config.status;; \
721 *) \
722 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
723 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
724 esac;
725$(top_srcdir)/Makefile.all.am $(am__empty):
726
727$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
728 $(SHELL) ./config.status --recheck
729
730$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
731 $(am__cd) $(srcdir) && $(AUTOCONF)
732$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
733 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
734$(am__aclocal_m4_deps):
735
736config.h: stamp-h1
737 @test -f $@ || rm -f stamp-h1
738 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
739
740stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
741 @rm -f stamp-h1
742 cd $(top_builddir) && $(SHELL) ./config.status config.h
743$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
744 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
745 rm -f stamp-h1
746 touch $@
747
748distclean-hdr:
749 -rm -f config.h stamp-h1
750valgrind.spec: $(top_builddir)/config.status $(srcdir)/valgrind.spec.in
751 cd $(top_builddir) && $(SHELL) ./config.status $@
752valgrind.pc: $(top_builddir)/config.status $(srcdir)/valgrind.pc.in
753 cd $(top_builddir) && $(SHELL) ./config.status $@
754glibc-2.X.supp: $(top_builddir)/config.status $(srcdir)/glibc-2.X.supp.in
755 cd $(top_builddir) && $(SHELL) ./config.status $@
756drd/scripts/download-and-build-splash2: $(top_builddir)/config.status $(top_srcdir)/drd/scripts/download-and-build-splash2.in
757 cd $(top_builddir) && $(SHELL) ./config.status $@
758install-pkgconfigDATA: $(pkgconfig_DATA)
759 @$(NORMAL_INSTALL)
760 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
761 if test -n "$$list"; then \
762 echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \
763 $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \
764 fi; \
765 for p in $$list; do \
766 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
767 echo "$$d$$p"; \
768 done | $(am__base_list) | \
769 while read files; do \
770 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
771 $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
772 done
773
774uninstall-pkgconfigDATA:
775 @$(NORMAL_UNINSTALL)
776 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
777 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
778 dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
779install-vglibDATA: $(vglib_DATA)
780 @$(NORMAL_INSTALL)
781 @list='$(vglib_DATA)'; test -n "$(vglibdir)" || list=; \
782 if test -n "$$list"; then \
783 echo " $(MKDIR_P) '$(DESTDIR)$(vglibdir)'"; \
784 $(MKDIR_P) "$(DESTDIR)$(vglibdir)" || exit 1; \
785 fi; \
786 for p in $$list; do \
787 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
788 echo "$$d$$p"; \
789 done | $(am__base_list) | \
790 while read files; do \
791 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(vglibdir)'"; \
792 $(INSTALL_DATA) $$files "$(DESTDIR)$(vglibdir)" || exit $$?; \
793 done
794
795uninstall-vglibDATA:
796 @$(NORMAL_UNINSTALL)
797 @list='$(vglib_DATA)'; test -n "$(vglibdir)" || list=; \
798 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
799 dir='$(DESTDIR)$(vglibdir)'; $(am__uninstall_files_from_dir)
800install-pkgincludeHEADERS: $(pkginclude_HEADERS)
801 @$(NORMAL_INSTALL)
802 @list='$(pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \
803 if test -n "$$list"; then \
804 echo " $(MKDIR_P) '$(DESTDIR)$(pkgincludedir)'"; \
805 $(MKDIR_P) "$(DESTDIR)$(pkgincludedir)" || exit 1; \
806 fi; \
807 for p in $$list; do \
808 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
809 echo "$$d$$p"; \
810 done | $(am__base_list) | \
811 while read files; do \
812 echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(pkgincludedir)'"; \
813 $(INSTALL_HEADER) $$files "$(DESTDIR)$(pkgincludedir)" || exit $$?; \
814 done
815
816uninstall-pkgincludeHEADERS:
817 @$(NORMAL_UNINSTALL)
818 @list='$(pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \
819 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
820 dir='$(DESTDIR)$(pkgincludedir)'; $(am__uninstall_files_from_dir)
821
822# This directory's subdirectories are mostly independent; you can cd
823# into them and run 'make' without going through this Makefile.
824# To change the values of 'make' variables: instead of editing Makefiles,
825# (1) if the variable is set in 'config.status', edit 'config.status'
826# (which will cause the Makefiles to be regenerated when you run 'make');
827# (2) otherwise, pass the desired values on the 'make' command line.
828$(am__recursive_targets):
829 @fail=; \
830 if $(am__make_keepgoing); then \
831 failcom='fail=yes'; \
832 else \
833 failcom='exit 1'; \
834 fi; \
835 dot_seen=no; \
836 target=`echo $@ | sed s/-recursive//`; \
837 case "$@" in \
838 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
839 *) list='$(SUBDIRS)' ;; \
840 esac; \
841 for subdir in $$list; do \
842 echo "Making $$target in $$subdir"; \
843 if test "$$subdir" = "."; then \
844 dot_seen=yes; \
845 local_target="$$target-am"; \
846 else \
847 local_target="$$target"; \
848 fi; \
849 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
850 || eval $$failcom; \
851 done; \
852 if test "$$dot_seen" = "no"; then \
853 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
854 fi; test -z "$$fail"
855
856ID: $(am__tagged_files)
857 $(am__define_uniq_tagged_files); mkid -fID $$unique
858tags: tags-recursive
859TAGS: tags
860
861tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
862 set x; \
863 here=`pwd`; \
864 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
865 include_option=--etags-include; \
866 empty_fix=.; \
867 else \
868 include_option=--include; \
869 empty_fix=; \
870 fi; \
871 list='$(SUBDIRS)'; for subdir in $$list; do \
872 if test "$$subdir" = .; then :; else \
873 test ! -f $$subdir/TAGS || \
874 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
875 fi; \
876 done; \
877 $(am__define_uniq_tagged_files); \
878 shift; \
879 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
880 test -n "$$unique" || unique=$$empty_fix; \
881 if test $$# -gt 0; then \
882 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
883 "$$@" $$unique; \
884 else \
885 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
886 $$unique; \
887 fi; \
888 fi
889ctags: ctags-recursive
890
891CTAGS: ctags
892ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
893 $(am__define_uniq_tagged_files); \
894 test -z "$(CTAGS_ARGS)$$unique" \
895 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
896 $$unique
897
898GTAGS:
899 here=`$(am__cd) $(top_builddir) && pwd` \
900 && $(am__cd) $(top_srcdir) \
901 && gtags -i $(GTAGS_ARGS) "$$here"
902cscope: cscope.files
903 test ! -s cscope.files \
904 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
905clean-cscope:
906 -rm -f cscope.files
907cscope.files: clean-cscope cscopelist
908cscopelist: cscopelist-recursive
909
910cscopelist-am: $(am__tagged_files)
911 list='$(am__tagged_files)'; \
912 case "$(srcdir)" in \
913 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
914 *) sdir=$(subdir)/$(srcdir) ;; \
915 esac; \
916 for i in $$list; do \
917 if test -f "$$i"; then \
918 echo "$(subdir)/$$i"; \
919 else \
920 echo "$$sdir/$$i"; \
921 fi; \
922 done >> $(top_builddir)/cscope.files
923
924distclean-tags:
925 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
926 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
927
928distdir: $(DISTFILES)
929 $(am__remove_distdir)
930 test -d "$(distdir)" || mkdir "$(distdir)"
931 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
932 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
933 list='$(DISTFILES)'; \
934 dist_files=`for file in $$list; do echo $$file; done | \
935 sed -e "s|^$$srcdirstrip/||;t" \
936 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
937 case $$dist_files in \
938 */*) $(MKDIR_P) `echo "$$dist_files" | \
939 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
940 sort -u` ;; \
941 esac; \
942 for file in $$dist_files; do \
943 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
944 if test -d $$d/$$file; then \
945 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
946 if test -d "$(distdir)/$$file"; then \
947 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
948 fi; \
949 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
950 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
951 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
952 fi; \
953 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
954 else \
955 test -f "$(distdir)/$$file" \
956 || cp -p $$d/$$file "$(distdir)/$$file" \
957 || exit 1; \
958 fi; \
959 done
960 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
961 if test "$$subdir" = .; then :; else \
962 $(am__make_dryrun) \
963 || test -d "$(distdir)/$$subdir" \
964 || $(MKDIR_P) "$(distdir)/$$subdir" \
965 || exit 1; \
966 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
967 $(am__relativize); \
968 new_distdir=$$reldir; \
969 dir1=$$subdir; dir2="$(top_distdir)"; \
970 $(am__relativize); \
971 new_top_distdir=$$reldir; \
972 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
973 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
974 ($(am__cd) $$subdir && \
975 $(MAKE) $(AM_MAKEFLAGS) \
976 top_distdir="$$new_top_distdir" \
977 distdir="$$new_distdir" \
978 am__remove_distdir=: \
979 am__skip_length_check=: \
980 am__skip_mode_fix=: \
981 distdir) \
982 || exit 1; \
983 fi; \
984 done
Elliott Hughesed398002017-06-21 14:41:24 -0700985 $(MAKE) $(AM_MAKEFLAGS) \
986 top_distdir="$(top_distdir)" distdir="$(distdir)" \
987 dist-hook
Elliott Hughesa0664b92017-04-18 17:46:52 -0700988 -test -n "$(am__skip_mode_fix)" \
989 || find "$(distdir)" -type d ! -perm -755 \
990 -exec chmod u+rwx,go+rx {} \; -o \
991 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
992 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
993 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
994 || chmod -R a+r "$(distdir)"
995dist-gzip: distdir
Elliott Hughesed398002017-06-21 14:41:24 -0700996 tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
Elliott Hughesa0664b92017-04-18 17:46:52 -0700997 $(am__post_remove_distdir)
998dist-bzip2: distdir
999 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
1000 $(am__post_remove_distdir)
1001
1002dist-lzip: distdir
1003 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
1004 $(am__post_remove_distdir)
1005
1006dist-xz: distdir
1007 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
1008 $(am__post_remove_distdir)
1009
1010dist-tarZ: distdir
1011 @echo WARNING: "Support for distribution archives compressed with" \
1012 "legacy program 'compress' is deprecated." >&2
1013 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
1014 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
1015 $(am__post_remove_distdir)
1016
1017dist-shar: distdir
1018 @echo WARNING: "Support for shar distribution archives is" \
1019 "deprecated." >&2
1020 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
Elliott Hughesed398002017-06-21 14:41:24 -07001021 shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
Elliott Hughesa0664b92017-04-18 17:46:52 -07001022 $(am__post_remove_distdir)
1023
1024dist-zip: distdir
1025 -rm -f $(distdir).zip
1026 zip -rq $(distdir).zip $(distdir)
1027 $(am__post_remove_distdir)
1028
1029dist dist-all:
1030 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
1031 $(am__post_remove_distdir)
1032
1033# This target untars the dist file and tries a VPATH configuration. Then
1034# it guarantees that the distribution is self-contained by making another
1035# tarfile.
1036distcheck: dist
1037 case '$(DIST_ARCHIVES)' in \
1038 *.tar.gz*) \
Elliott Hughesed398002017-06-21 14:41:24 -07001039 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
Elliott Hughesa0664b92017-04-18 17:46:52 -07001040 *.tar.bz2*) \
1041 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
1042 *.tar.lz*) \
1043 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
1044 *.tar.xz*) \
1045 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
1046 *.tar.Z*) \
1047 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
1048 *.shar.gz*) \
Elliott Hughesed398002017-06-21 14:41:24 -07001049 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
Elliott Hughesa0664b92017-04-18 17:46:52 -07001050 *.zip*) \
1051 unzip $(distdir).zip ;;\
1052 esac
1053 chmod -R a-w $(distdir)
1054 chmod u+w $(distdir)
1055 mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
1056 chmod a-w $(distdir)
1057 test -d $(distdir)/_build || exit 0; \
1058 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
1059 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
1060 && am__cwd=`pwd` \
1061 && $(am__cd) $(distdir)/_build/sub \
1062 && ../../configure \
1063 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
1064 $(DISTCHECK_CONFIGURE_FLAGS) \
1065 --srcdir=../.. --prefix="$$dc_install_base" \
1066 && $(MAKE) $(AM_MAKEFLAGS) \
1067 && $(MAKE) $(AM_MAKEFLAGS) dvi \
1068 && $(MAKE) $(AM_MAKEFLAGS) check \
1069 && $(MAKE) $(AM_MAKEFLAGS) install \
1070 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
1071 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
1072 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
1073 distuninstallcheck \
1074 && chmod -R a-w "$$dc_install_base" \
1075 && ({ \
1076 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
1077 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
1078 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
1079 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
1080 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
1081 } || { rm -rf "$$dc_destdir"; exit 1; }) \
1082 && rm -rf "$$dc_destdir" \
1083 && $(MAKE) $(AM_MAKEFLAGS) dist \
1084 && rm -rf $(DIST_ARCHIVES) \
1085 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
1086 && cd "$$am__cwd" \
1087 || exit 1
1088 $(am__post_remove_distdir)
1089 @(echo "$(distdir) archives ready for distribution: "; \
1090 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
1091 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
1092distuninstallcheck:
1093 @test -n '$(distuninstallcheck_dir)' || { \
1094 echo 'ERROR: trying to run $@ with an empty' \
1095 '$$(distuninstallcheck_dir)' >&2; \
1096 exit 1; \
1097 }; \
1098 $(am__cd) '$(distuninstallcheck_dir)' || { \
1099 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
1100 exit 1; \
1101 }; \
1102 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
1103 || { echo "ERROR: files left after uninstall:" ; \
1104 if test -n "$(DESTDIR)"; then \
1105 echo " (check DESTDIR support)"; \
1106 fi ; \
1107 $(distuninstallcheck_listfiles) ; \
1108 exit 1; } >&2
1109distcleancheck: distclean
1110 @if test '$(srcdir)' = . ; then \
1111 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
1112 exit 1 ; \
1113 fi
1114 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
1115 || { echo "ERROR: files left in build directory after distclean:" ; \
1116 $(distcleancheck_listfiles) ; \
1117 exit 1; } >&2
1118check-am: all-am
1119check: $(BUILT_SOURCES)
1120 $(MAKE) $(AM_MAKEFLAGS) check-recursive
1121all-am: Makefile $(SCRIPTS) $(DATA) $(HEADERS) config.h all-local
1122installdirs: installdirs-recursive
1123installdirs-am:
1124 for dir in "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(vglibdir)" "$(DESTDIR)$(pkgincludedir)"; do \
1125 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
1126 done
1127install: $(BUILT_SOURCES)
1128 $(MAKE) $(AM_MAKEFLAGS) install-recursive
1129install-exec: install-exec-recursive
1130install-data: install-data-recursive
1131uninstall: uninstall-recursive
1132
1133install-am: all-am
1134 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1135
1136installcheck: installcheck-recursive
1137install-strip:
1138 if test -z '$(STRIP)'; then \
1139 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1140 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1141 install; \
1142 else \
1143 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1144 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1145 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1146 fi
1147mostlyclean-generic:
1148
1149clean-generic:
1150 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
1151
1152distclean-generic:
1153 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1154 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1155
1156maintainer-clean-generic:
1157 @echo "This command is intended for maintainers to use"
1158 @echo "it deletes files that may require special tools to rebuild."
1159 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
1160clean: clean-recursive
1161
1162clean-am: clean-generic clean-local mostlyclean-am
1163
1164distclean: distclean-recursive
1165 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1166 -rm -f Makefile
1167distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
1168
1169dvi: dvi-recursive
1170
1171dvi-am:
1172
1173html: html-recursive
1174
1175html-am:
1176
1177info: info-recursive
1178
1179info-am:
1180
1181install-data-am: install-pkgconfigDATA install-pkgincludeHEADERS \
1182 install-vglibDATA
1183
1184install-dvi: install-dvi-recursive
1185
1186install-dvi-am:
1187
1188install-exec-am:
1189
1190install-html: install-html-recursive
1191
1192install-html-am:
1193
1194install-info: install-info-recursive
1195
1196install-info-am:
1197
1198install-man:
1199
1200install-pdf: install-pdf-recursive
1201
1202install-pdf-am:
1203
1204install-ps: install-ps-recursive
1205
1206install-ps-am:
1207
1208installcheck-am:
1209
1210maintainer-clean: maintainer-clean-recursive
1211 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1212 -rm -rf $(top_srcdir)/autom4te.cache
1213 -rm -f Makefile
1214maintainer-clean-am: distclean-am maintainer-clean-generic
1215
1216mostlyclean: mostlyclean-recursive
1217
1218mostlyclean-am: mostlyclean-generic
1219
1220pdf: pdf-recursive
1221
1222pdf-am:
1223
1224ps: ps-recursive
1225
1226ps-am:
1227
1228uninstall-am: uninstall-pkgconfigDATA uninstall-pkgincludeHEADERS \
1229 uninstall-vglibDATA
1230
1231.MAKE: $(am__recursive_targets) all check install install-am \
1232 install-strip
1233
1234.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am all-local \
1235 am--refresh check check-am clean clean-cscope clean-generic \
1236 clean-local cscope cscopelist-am ctags ctags-am dist dist-all \
Elliott Hughesed398002017-06-21 14:41:24 -07001237 dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar dist-tarZ \
1238 dist-xz dist-zip distcheck distclean distclean-generic \
1239 distclean-hdr distclean-tags distcleancheck distdir \
1240 distuninstallcheck dvi dvi-am html html-am info info-am \
1241 install install-am install-data install-data-am install-dvi \
1242 install-dvi-am install-exec install-exec-am install-html \
1243 install-html-am install-info install-info-am install-man \
1244 install-pdf install-pdf-am install-pkgconfigDATA \
1245 install-pkgincludeHEADERS install-ps install-ps-am \
1246 install-strip install-vglibDATA installcheck installcheck-am \
1247 installdirs installdirs-am maintainer-clean \
1248 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
1249 pdf-am ps ps-am tags tags-am uninstall uninstall-am \
1250 uninstall-pkgconfigDATA uninstall-pkgincludeHEADERS \
1251 uninstall-vglibDATA
Elliott Hughesa0664b92017-04-18 17:46:52 -07001252
1253.PRECIOUS: Makefile
1254
1255
1256# This used to be required when Vex had a handwritten Makefile. It
1257# shouldn't be needed any more, though.
1258
1259#----------------------------------------------------------------------------
1260# noinst_PROGRAMS and noinst_DSYMS targets
1261#----------------------------------------------------------------------------
1262
1263# On Darwin, for a program 'p', the DWARF debug info is stored in the
1264# directory 'p.dSYM'. This must be generated after the executable is
1265# created, with 'dsymutil p'. We could redefine LINK with a script that
1266# executes 'dsymutil' after linking, but that's a pain. Instead we use this
1267# hook so that every time "make check" is run, we subsequently invoke
1268# 'dsymutil' on all the executables that lack a .dSYM directory, or that are
1269# newer than their corresponding .dSYM directory.
1270build-noinst_DSYMS: $(noinst_DSYMS)
1271 for f in $(noinst_DSYMS); do \
1272 if [ ! -e $$f.dSYM -o $$f -nt $$f.dSYM ] ; then \
1273 echo "dsymutil $$f"; \
1274 dsymutil $$f; \
1275 fi; \
1276 done
1277
1278# This is used by coregrind/Makefile.am and Makefile.tool.am for doing
1279# "in-place" installs. It copies $(noinst_PROGRAMS) into $inplacedir.
1280# It needs to be depended on by an 'all-local' rule.
1281inplace-noinst_PROGRAMS: $(noinst_PROGRAMS)
1282 mkdir -p $(inplacedir); \
1283 for f in $(noinst_PROGRAMS) ; do \
1284 rm -f $(inplacedir)/$$f; \
1285 ln -f -s ../$(subdir)/$$f $(inplacedir); \
1286 done
1287
1288# Similar to inplace-noinst_PROGRAMS
1289inplace-noinst_DSYMS: build-noinst_DSYMS
1290 mkdir -p $(inplacedir); \
1291 for f in $(noinst_DSYMS); do \
1292 rm -f $(inplacedir)/$$f.dSYM; \
1293 ln -f -s ../$(subdir)/$$f.dSYM $(inplacedir); \
1294 done
1295
1296# This is used by coregrind/Makefile.am and by <tool>/Makefile.am for doing
1297# "make install". It copies $(noinst_PROGRAMS) into $prefix/lib/valgrind/.
1298# It needs to be depended on by an 'install-exec-local' rule.
1299install-noinst_PROGRAMS: $(noinst_PROGRAMS)
1300 $(mkinstalldirs) $(DESTDIR)$(pkglibdir); \
1301 for f in $(noinst_PROGRAMS); do \
1302 $(INSTALL_PROGRAM) $$f $(DESTDIR)$(pkglibdir); \
1303 done
1304
1305# This is used by coregrind/Makefile.am and by <tool>/Makefile.am for doing
1306# "make uninstall". It removes $(noinst_PROGRAMS) from $prefix/lib/valgrind/.
1307# It needs to be depended on by an 'uninstall-local' rule.
1308uninstall-noinst_PROGRAMS:
1309 for f in $(noinst_PROGRAMS); do \
1310 rm -f $(DESTDIR)$(pkglibdir)/$$f; \
1311 done
1312
1313# Similar to install-noinst_PROGRAMS.
1314# Nb: we don't use $(INSTALL_PROGRAM) here because it doesn't work with
1315# directories. XXX: not sure whether the resulting permissions will be
1316# correct when using 'cp -R'...
1317install-noinst_DSYMS: build-noinst_DSYMS
1318 $(mkinstalldirs) $(DESTDIR)$(pkglibdir); \
1319 for f in $(noinst_DSYMS); do \
1320 cp -R $$f.dSYM $(DESTDIR)$(pkglibdir); \
1321 done
1322
1323# Similar to uninstall-noinst_PROGRAMS.
1324uninstall-noinst_DSYMS:
1325 for f in $(noinst_DSYMS); do \
1326 rm -f $(DESTDIR)$(pkglibdir)/$$f.dSYM; \
1327 done
1328
1329# This needs to be depended on by a 'clean-local' rule.
1330clean-noinst_DSYMS:
1331 for f in $(noinst_DSYMS); do \
1332 rm -rf $$f.dSYM; \
1333 done
1334
1335default.supp: $(DEFAULT_SUPP_FILES)
1336 echo "# This is a generated file, composed of the following suppression rules:" > default.supp
1337 echo "# " $(DEFAULT_SUPP_FILES) >> default.supp
1338 cat $^ >> default.supp
1339
1340regtest: check
1341 $(top_srcdir)/gdbserver_tests/make_local_links $(GDB)
1342 if @PERL@ tests/vg_regtest gdbserver_tests $(TOOLS) $(EXP_TOOLS) ; then \
1343 tests/post_regtest_checks $(abs_top_srcdir) gdbserver_tests $(TOOLS) $(EXP_TOOLS); \
1344 else \
1345 tests/post_regtest_checks $(abs_top_srcdir) gdbserver_tests $(TOOLS) $(EXP_TOOLS); \
1346 false; \
1347 fi
1348post-regtest-checks:
1349 tests/post_regtest_checks $(abs_top_srcdir) gdbserver_tests $(TOOLS) $(EXP_TOOLS)
1350nonexp-regtest: check
1351 @PERL@ tests/vg_regtest $(TOOLS)
1352exp-regtest: check
1353 @PERL@ tests/vg_regtest gdbserver_tests $(EXP_TOOLS)
1354# Nb: gdbserver_tests are put in exp-regtest rather than nonexp-regtest
1355# because they are tested with various valgrind tools, so might be using
1356# an experimental tool.
1357
1358perf: check
1359 @PERL@ perf/vg_perf perf
1360
Elliott Hughesed398002017-06-21 14:41:24 -07001361dist-hook: include/vgversion.h
1362 cp -p include/vgversion.h $(distdir)/include/vgversion_dist.h
1363
1364all-local: default.supp include/vgversion.h
Elliott Hughesa0664b92017-04-18 17:46:52 -07001365 mkdir -p $(inplacedir)
1366 rm -f $(inplacedir)/default.supp
1367 ln -s ../default.supp $(inplacedir)
1368
1369clean-local:
Elliott Hughesed398002017-06-21 14:41:24 -07001370 rm -rf $(inplacedir) include/vgversion.h
1371
1372# vgversion.h defines accurate versions to report with -v --version
1373include/vgversion.h:
1374 $(top_srcdir)/auxprogs/make_or_upd_vgversion_h $(top_srcdir)
1375
1376.PHONY: include/vgversion.h
Elliott Hughesa0664b92017-04-18 17:46:52 -07001377
1378# Tell versions [3.59,3.63) of GNU make to not export all variables.
1379# Otherwise a system limit (for SysV at least) may be exceeded.
1380.NOEXPORT: