Elliott Hughes | a0664b9 | 2017-04-18 17:46:52 -0700 | [diff] [blame] | 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 | |
| 24 | |
| 25 | |
| 26 | VPATH = @srcdir@ |
| 27 | am__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 | } |
| 38 | am__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 |
| 80 | am__make_dryrun = (target_option=n; $(am__make_running_with_option)) |
| 81 | am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) |
| 82 | pkgdatadir = $(datadir)/@PACKAGE@ |
| 83 | pkgincludedir = $(includedir)/@PACKAGE@ |
| 84 | pkglibdir = $(libdir)/@PACKAGE@ |
| 85 | pkglibexecdir = $(libexecdir)/@PACKAGE@ |
| 86 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
| 87 | install_sh_DATA = $(install_sh) -c -m 644 |
| 88 | install_sh_PROGRAM = $(install_sh) -c |
| 89 | install_sh_SCRIPT = $(install_sh) -c |
| 90 | INSTALL_HEADER = $(INSTALL_DATA) |
| 91 | transform = $(program_transform_name) |
| 92 | NORMAL_INSTALL = : |
| 93 | PRE_INSTALL = : |
| 94 | POST_INSTALL = : |
| 95 | NORMAL_UNINSTALL = : |
| 96 | PRE_UNINSTALL = : |
| 97 | POST_UNINSTALL = : |
| 98 | build_triplet = @build@ |
| 99 | host_triplet = @host@ |
| 100 | @COMPILER_IS_CLANG_TRUE@am__append_1 = -Wno-cast-align -Wno-self-assign \ |
| 101 | @COMPILER_IS_CLANG_TRUE@ -Wno-tautological-compare |
| 102 | |
| 103 | @SOLARIS_XPG_SYMBOLS_PRESENT_TRUE@am__append_2 = -Wl,-M,$(top_srcdir)/solaris/vgpreload-solaris.mapfile |
| 104 | |
| 105 | # The Android toolchain includes all kinds of stdlib helpers present in |
| 106 | # bionic which is bad because we are not linking with it and the Android |
| 107 | # linker will panic. |
| 108 | @VGCONF_PLATVARIANT_IS_ANDROID_TRUE@am__append_3 = -nostdlib |
| 109 | subdir = . |
| 110 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
| 111 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
| 112 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
| 113 | $(ACLOCAL_M4) |
| 114 | DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \ |
| 115 | $(am__configure_deps) $(dist_noinst_SCRIPTS) \ |
| 116 | $(dist_noinst_DATA) $(pkginclude_HEADERS) $(am__DIST_COMMON) |
| 117 | am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ |
| 118 | configure.lineno config.status.lineno |
| 119 | mkinstalldirs = $(install_sh) -d |
| 120 | CONFIG_HEADER = config.h |
| 121 | CONFIG_CLEAN_FILES = valgrind.spec valgrind.pc glibc-2.X.supp \ |
| 122 | drd/scripts/download-and-build-splash2 |
| 123 | CONFIG_CLEAN_VPATH_FILES = |
| 124 | SCRIPTS = $(dist_noinst_SCRIPTS) |
| 125 | AM_V_P = $(am__v_P_@AM_V@) |
| 126 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) |
| 127 | am__v_P_0 = false |
| 128 | am__v_P_1 = : |
| 129 | AM_V_GEN = $(am__v_GEN_@AM_V@) |
| 130 | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) |
| 131 | am__v_GEN_0 = @echo " GEN " $@; |
| 132 | am__v_GEN_1 = |
| 133 | AM_V_at = $(am__v_at_@AM_V@) |
| 134 | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) |
| 135 | am__v_at_0 = @ |
| 136 | am__v_at_1 = |
| 137 | SOURCES = |
| 138 | DIST_SOURCES = |
| 139 | RECURSIVE_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 |
| 147 | am__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 |
| 152 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; |
| 153 | am__vpath_adj = case $$p in \ |
| 154 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ |
| 155 | *) f=$$p;; \ |
| 156 | esac; |
| 157 | am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; |
| 158 | am__install_max = 40 |
| 159 | am__nobase_strip_setup = \ |
| 160 | srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` |
| 161 | am__nobase_strip = \ |
| 162 | for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" |
| 163 | am__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] }' |
| 170 | am__base_list = \ |
| 171 | sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ |
| 172 | sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' |
| 173 | am__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 | } |
| 179 | am__installdirs = "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(vglibdir)" \ |
| 180 | "$(DESTDIR)$(pkgincludedir)" |
| 181 | DATA = $(dist_noinst_DATA) $(pkgconfig_DATA) $(vglib_DATA) |
| 182 | HEADERS = $(pkginclude_HEADERS) |
| 183 | RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ |
| 184 | distclean-recursive maintainer-clean-recursive |
| 185 | am__recursive_targets = \ |
| 186 | $(RECURSIVE_TARGETS) \ |
| 187 | $(RECURSIVE_CLEAN_TARGETS) \ |
| 188 | $(am__extra_recursive_targets) |
| 189 | AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ |
| 190 | cscope distdir dist dist-all distcheck |
| 191 | am__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. |
| 196 | am__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. |
| 204 | am__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)` |
| 209 | ETAGS = etags |
| 210 | CTAGS = ctags |
| 211 | CSCOPE = cscope |
| 212 | am__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 Hughes | ed39800 | 2017-06-21 14:41:24 -0700 | [diff] [blame] | 217 | depcomp install-sh missing |
Elliott Hughes | a0664b9 | 2017-04-18 17:46:52 -0700 | [diff] [blame] | 218 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
| 219 | distdir = $(PACKAGE)-$(VERSION) |
| 220 | top_distdir = $(distdir) |
| 221 | am__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 |
| 227 | am__post_remove_distdir = $(am__remove_distdir) |
| 228 | am__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" |
| 253 | DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2 |
| 254 | GZIP_ENV = --best |
| 255 | DIST_TARGETS = dist-bzip2 dist-gzip |
| 256 | distuninstallcheck_listfiles = find . -type f -print |
| 257 | am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ |
| 258 | | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' |
| 259 | distcleancheck_listfiles = find . -type f -print |
| 260 | ACLOCAL = @ACLOCAL@ |
| 261 | AMTAR = @AMTAR@ |
| 262 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ |
| 263 | AR = @AR@ |
| 264 | AUTOCONF = @AUTOCONF@ |
| 265 | AUTOHEADER = @AUTOHEADER@ |
| 266 | AUTOMAKE = @AUTOMAKE@ |
| 267 | AWK = @AWK@ |
| 268 | BOOST_CFLAGS = @BOOST_CFLAGS@ |
| 269 | BOOST_LIBS = @BOOST_LIBS@ |
| 270 | CC = @CC@ |
| 271 | CCAS = @CCAS@ |
| 272 | CCASDEPMODE = @CCASDEPMODE@ |
| 273 | CCASFLAGS = @CCASFLAGS@ |
| 274 | CCDEPMODE = @CCDEPMODE@ |
| 275 | CFLAGS = @CFLAGS@ |
| 276 | CFLAGS_MPI = @CFLAGS_MPI@ |
| 277 | CPP = @CPP@ |
| 278 | CPPFLAGS = @CPPFLAGS@ |
| 279 | CXX = @CXX@ |
| 280 | CXXDEPMODE = @CXXDEPMODE@ |
| 281 | CXXFLAGS = @CXXFLAGS@ |
| 282 | CYGPATH_W = @CYGPATH_W@ |
| 283 | DEFAULT_SUPP = @DEFAULT_SUPP@ |
| 284 | DEFS = @DEFS@ |
| 285 | DEPDIR = @DEPDIR@ |
| 286 | DIFF = @DIFF@ |
| 287 | DIS_PATH = @DIS_PATH@ |
| 288 | ECHO_C = @ECHO_C@ |
| 289 | ECHO_N = @ECHO_N@ |
| 290 | ECHO_T = @ECHO_T@ |
| 291 | EGREP = @EGREP@ |
| 292 | EXEEXT = @EXEEXT@ |
| 293 | FLAG_FNO_IPA_ICF = @FLAG_FNO_IPA_ICF@ |
| 294 | FLAG_FNO_STACK_PROTECTOR = @FLAG_FNO_STACK_PROTECTOR@ |
| 295 | FLAG_FSANITIZE = @FLAG_FSANITIZE@ |
| 296 | FLAG_M32 = @FLAG_M32@ |
| 297 | FLAG_M64 = @FLAG_M64@ |
| 298 | FLAG_MIPS32 = @FLAG_MIPS32@ |
| 299 | FLAG_MIPS64 = @FLAG_MIPS64@ |
| 300 | FLAG_MLONG_DOUBLE_128 = @FLAG_MLONG_DOUBLE_128@ |
| 301 | FLAG_MMMX = @FLAG_MMMX@ |
| 302 | FLAG_MSSE = @FLAG_MSSE@ |
| 303 | FLAG_NO_BUILD_ID = @FLAG_NO_BUILD_ID@ |
Elliott Hughes | ed39800 | 2017-06-21 14:41:24 -0700 | [diff] [blame] | 304 | FLAG_NO_PIE = @FLAG_NO_PIE@ |
Elliott Hughes | a0664b9 | 2017-04-18 17:46:52 -0700 | [diff] [blame] | 305 | FLAG_OCTEON = @FLAG_OCTEON@ |
| 306 | FLAG_OCTEON2 = @FLAG_OCTEON2@ |
| 307 | FLAG_T_TEXT = @FLAG_T_TEXT@ |
| 308 | FLAG_UNLIMITED_INLINE_UNIT_GROWTH = @FLAG_UNLIMITED_INLINE_UNIT_GROWTH@ |
| 309 | FLAG_W_CAST_ALIGN = @FLAG_W_CAST_ALIGN@ |
| 310 | FLAG_W_CAST_QUAL = @FLAG_W_CAST_QUAL@ |
| 311 | FLAG_W_EMPTY_BODY = @FLAG_W_EMPTY_BODY@ |
| 312 | FLAG_W_EXTRA = @FLAG_W_EXTRA@ |
| 313 | FLAG_W_FORMAT = @FLAG_W_FORMAT@ |
| 314 | FLAG_W_FORMAT_SECURITY = @FLAG_W_FORMAT_SECURITY@ |
| 315 | FLAG_W_FORMAT_SIGNEDNESS = @FLAG_W_FORMAT_SIGNEDNESS@ |
| 316 | FLAG_W_IGNORED_QUALIFIERS = @FLAG_W_IGNORED_QUALIFIERS@ |
| 317 | FLAG_W_MISSING_PARAMETER_TYPE = @FLAG_W_MISSING_PARAMETER_TYPE@ |
| 318 | FLAG_W_NO_INFINITE_RECURSION = @FLAG_W_NO_INFINITE_RECURSION@ |
| 319 | FLAG_W_NO_MEMSET_TRANSPOSED_ARGS = @FLAG_W_NO_MEMSET_TRANSPOSED_ARGS@ |
| 320 | FLAG_W_NO_MISMATCHED_NEW_DELETE = @FLAG_W_NO_MISMATCHED_NEW_DELETE@ |
| 321 | FLAG_W_NO_NONNULL = @FLAG_W_NO_NONNULL@ |
| 322 | FLAG_W_NO_OVERFLOW = @FLAG_W_NO_OVERFLOW@ |
| 323 | FLAG_W_NO_POINTER_SIGN = @FLAG_W_NO_POINTER_SIGN@ |
| 324 | FLAG_W_NO_STATIC_LOCAL_IN_INLINE = @FLAG_W_NO_STATIC_LOCAL_IN_INLINE@ |
| 325 | FLAG_W_NO_UNINITIALIZED = @FLAG_W_NO_UNINITIALIZED@ |
| 326 | FLAG_W_NO_UNUSED_FUNCTION = @FLAG_W_NO_UNUSED_FUNCTION@ |
| 327 | FLAG_W_OLD_STYLE_DECLARATION = @FLAG_W_OLD_STYLE_DECLARATION@ |
| 328 | FLAG_W_WRITE_STRINGS = @FLAG_W_WRITE_STRINGS@ |
| 329 | GDB = @GDB@ |
| 330 | GLIBC_VERSION = @GLIBC_VERSION@ |
| 331 | GREP = @GREP@ |
| 332 | HWCAP_HAS_ALTIVEC = @HWCAP_HAS_ALTIVEC@ |
| 333 | HWCAP_HAS_DFP = @HWCAP_HAS_DFP@ |
| 334 | HWCAP_HAS_HTM = @HWCAP_HAS_HTM@ |
| 335 | HWCAP_HAS_ISA_2_05 = @HWCAP_HAS_ISA_2_05@ |
| 336 | HWCAP_HAS_ISA_2_06 = @HWCAP_HAS_ISA_2_06@ |
| 337 | HWCAP_HAS_ISA_2_07 = @HWCAP_HAS_ISA_2_07@ |
| 338 | HWCAP_HAS_ISA_3_00 = @HWCAP_HAS_ISA_3_00@ |
| 339 | HWCAP_HAS_VSX = @HWCAP_HAS_VSX@ |
| 340 | INSTALL = @INSTALL@ |
| 341 | INSTALL_DATA = @INSTALL_DATA@ |
| 342 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
| 343 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
| 344 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
| 345 | LDFLAGS = @LDFLAGS@ |
| 346 | LDFLAGS_MPI = @LDFLAGS_MPI@ |
| 347 | LIBOBJS = @LIBOBJS@ |
| 348 | LIBS = @LIBS@ |
| 349 | LIB_UBSAN = @LIB_UBSAN@ |
| 350 | LN_S = @LN_S@ |
| 351 | LTLIBOBJS = @LTLIBOBJS@ |
| 352 | MAINT = @MAINT@ |
| 353 | MAKEINFO = @MAKEINFO@ |
| 354 | MKDIR_P = @MKDIR_P@ |
| 355 | MPI_CC = @MPI_CC@ |
| 356 | OBJEXT = @OBJEXT@ |
| 357 | PACKAGE = @PACKAGE@ |
| 358 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
| 359 | PACKAGE_NAME = @PACKAGE_NAME@ |
| 360 | PACKAGE_STRING = @PACKAGE_STRING@ |
| 361 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
| 362 | PACKAGE_URL = @PACKAGE_URL@ |
| 363 | PACKAGE_VERSION = @PACKAGE_VERSION@ |
| 364 | PATH_SEPARATOR = @PATH_SEPARATOR@ |
| 365 | PERL = @PERL@ |
| 366 | PREFERRED_STACK_BOUNDARY_2 = @PREFERRED_STACK_BOUNDARY_2@ |
| 367 | RANLIB = @RANLIB@ |
| 368 | SED = @SED@ |
| 369 | SET_MAKE = @SET_MAKE@ |
| 370 | SHELL = @SHELL@ |
| 371 | SOLARIS_UNDEF_LARGESOURCE = @SOLARIS_UNDEF_LARGESOURCE@ |
| 372 | STRIP = @STRIP@ |
| 373 | VALT_LOAD_ADDRESS_PRI = @VALT_LOAD_ADDRESS_PRI@ |
| 374 | VALT_LOAD_ADDRESS_SEC = @VALT_LOAD_ADDRESS_SEC@ |
| 375 | VERSION = @VERSION@ |
| 376 | VGCONF_ARCH_PRI = @VGCONF_ARCH_PRI@ |
| 377 | VGCONF_ARCH_SEC = @VGCONF_ARCH_SEC@ |
| 378 | VGCONF_OS = @VGCONF_OS@ |
| 379 | VGCONF_PLATFORM_PRI_CAPS = @VGCONF_PLATFORM_PRI_CAPS@ |
| 380 | VGCONF_PLATFORM_SEC_CAPS = @VGCONF_PLATFORM_SEC_CAPS@ |
| 381 | VGCONF_PLATVARIANT = @VGCONF_PLATVARIANT@ |
| 382 | VG_TMPDIR = @VG_TMPDIR@ |
| 383 | abs_builddir = @abs_builddir@ |
| 384 | abs_srcdir = @abs_srcdir@ |
| 385 | abs_top_builddir = @abs_top_builddir@ |
| 386 | abs_top_srcdir = @abs_top_srcdir@ |
| 387 | ac_ct_CC = @ac_ct_CC@ |
| 388 | ac_ct_CXX = @ac_ct_CXX@ |
| 389 | am__include = @am__include@ |
| 390 | am__leading_dot = @am__leading_dot@ |
| 391 | am__quote = @am__quote@ |
| 392 | am__tar = @am__tar@ |
| 393 | am__untar = @am__untar@ |
| 394 | bindir = @bindir@ |
| 395 | build = @build@ |
| 396 | build_alias = @build_alias@ |
| 397 | build_cpu = @build_cpu@ |
| 398 | build_os = @build_os@ |
| 399 | build_vendor = @build_vendor@ |
| 400 | builddir = @builddir@ |
| 401 | datadir = @datadir@ |
| 402 | datarootdir = @datarootdir@ |
| 403 | docdir = @docdir@ |
| 404 | dvidir = @dvidir@ |
| 405 | exec_prefix = @exec_prefix@ |
| 406 | host = @host@ |
| 407 | host_alias = @host_alias@ |
| 408 | host_cpu = @host_cpu@ |
| 409 | host_os = @host_os@ |
| 410 | host_vendor = @host_vendor@ |
| 411 | htmldir = @htmldir@ |
| 412 | includedir = @includedir@ |
| 413 | infodir = @infodir@ |
| 414 | install_sh = @install_sh@ |
| 415 | libdir = @libdir@ |
| 416 | libexecdir = @libexecdir@ |
| 417 | localedir = @localedir@ |
| 418 | localstatedir = @localstatedir@ |
| 419 | mandir = @mandir@ |
| 420 | mkdir_p = @mkdir_p@ |
| 421 | oldincludedir = @oldincludedir@ |
| 422 | pdfdir = @pdfdir@ |
| 423 | prefix = @prefix@ |
| 424 | program_transform_name = @program_transform_name@ |
| 425 | psdir = @psdir@ |
| 426 | sbindir = @sbindir@ |
| 427 | sharedstatedir = @sharedstatedir@ |
| 428 | srcdir = @srcdir@ |
| 429 | sysconfdir = @sysconfdir@ |
| 430 | target_alias = @target_alias@ |
| 431 | top_build_prefix = @top_build_prefix@ |
| 432 | top_builddir = @top_builddir@ |
| 433 | top_srcdir = @top_srcdir@ |
| 434 | AUTOMAKE_OPTIONS = foreign 1.10 dist-bzip2 |
| 435 | inplacedir = $(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. |
| 445 | AM_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. |
| 473 | AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@ = \ |
| 474 | -I$(top_srcdir) \ |
| 475 | -I$(top_srcdir)/include \ |
Elliott Hughes | ed39800 | 2017-06-21 14:41:24 -0700 | [diff] [blame] | 476 | -I$(top_builddir)/include \ |
Elliott Hughes | a0664b9 | 2017-04-18 17:46:52 -0700 | [diff] [blame] | 477 | -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 Hughes | ed39800 | 2017-06-21 14:41:24 -0700 | [diff] [blame] | 487 | @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_builddir)/include \ |
Elliott Hughes | a0664b9 | 2017-04-18 17:46:52 -0700 | [diff] [blame] | 488 | @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 | |
| 495 | AM_FLAG_M3264_X86_LINUX = @FLAG_M32@ |
| 496 | AM_CFLAGS_X86_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY_2@ \ |
| 497 | $(AM_CFLAGS_BASE) -fomit-frame-pointer |
| 498 | |
| 499 | AM_CFLAGS_PSO_X86_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE) |
| 500 | AM_CCASFLAGS_X86_LINUX = @FLAG_M32@ -g |
| 501 | AM_FLAG_M3264_AMD64_LINUX = @FLAG_M64@ |
| 502 | AM_CFLAGS_AMD64_LINUX = @FLAG_M64@ \ |
| 503 | $(AM_CFLAGS_BASE) -fomit-frame-pointer |
| 504 | |
| 505 | AM_CFLAGS_PSO_AMD64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE) |
| 506 | AM_CCASFLAGS_AMD64_LINUX = @FLAG_M64@ -g |
| 507 | AM_FLAG_M3264_PPC32_LINUX = @FLAG_M32@ |
| 508 | AM_CFLAGS_PPC32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) |
| 509 | AM_CFLAGS_PSO_PPC32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE) |
| 510 | AM_CCASFLAGS_PPC32_LINUX = @FLAG_M32@ -g |
| 511 | AM_FLAG_M3264_PPC64BE_LINUX = @FLAG_M64@ |
| 512 | AM_CFLAGS_PPC64BE_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) |
| 513 | AM_CFLAGS_PSO_PPC64BE_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE) |
| 514 | AM_CCASFLAGS_PPC64BE_LINUX = @FLAG_M64@ -g |
| 515 | AM_FLAG_M3264_PPC64LE_LINUX = @FLAG_M64@ |
| 516 | AM_CFLAGS_PPC64LE_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) |
| 517 | AM_CFLAGS_PSO_PPC64LE_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE) |
| 518 | AM_CCASFLAGS_PPC64LE_LINUX = @FLAG_M64@ -g |
| 519 | AM_FLAG_M3264_ARM_LINUX = @FLAG_M32@ |
| 520 | AM_CFLAGS_ARM_LINUX = @FLAG_M32@ \ |
| 521 | $(AM_CFLAGS_BASE) -marm -mcpu=cortex-a8 |
| 522 | |
| 523 | AM_CFLAGS_PSO_ARM_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) \ |
| 524 | -marm -mcpu=cortex-a8 $(AM_CFLAGS_PSO_BASE) |
| 525 | |
| 526 | AM_CCASFLAGS_ARM_LINUX = @FLAG_M32@ \ |
| 527 | -marm -mcpu=cortex-a8 -g |
| 528 | |
| 529 | AM_FLAG_M3264_ARM64_LINUX = @FLAG_M64@ |
| 530 | AM_CFLAGS_ARM64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) |
| 531 | AM_CFLAGS_PSO_ARM64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE) |
| 532 | AM_CCASFLAGS_ARM64_LINUX = @FLAG_M64@ -g |
| 533 | AM_FLAG_M3264_X86_DARWIN = -arch i386 |
| 534 | AM_CFLAGS_X86_DARWIN = $(WERROR) -arch i386 $(AM_CFLAGS_BASE) \ |
| 535 | -mmacosx-version-min=10.6 \ |
| 536 | -fno-stack-protector -fno-pic -fno-PIC |
| 537 | |
| 538 | AM_CFLAGS_PSO_X86_DARWIN = $(AM_CFLAGS_X86_DARWIN) $(AM_CFLAGS_PSO_BASE) |
| 539 | AM_CCASFLAGS_X86_DARWIN = -arch i386 -g |
| 540 | AM_FLAG_M3264_AMD64_DARWIN = -arch x86_64 |
| 541 | AM_CFLAGS_AMD64_DARWIN = $(WERROR) -arch x86_64 $(AM_CFLAGS_BASE) \ |
| 542 | -mmacosx-version-min=10.6 -fno-stack-protector |
| 543 | |
| 544 | AM_CFLAGS_PSO_AMD64_DARWIN = $(AM_CFLAGS_AMD64_DARWIN) $(AM_CFLAGS_PSO_BASE) |
| 545 | AM_CCASFLAGS_AMD64_DARWIN = -arch x86_64 -g |
| 546 | AM_FLAG_M3264_S390X_LINUX = @FLAG_M64@ |
| 547 | AM_CFLAGS_S390X_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) -fomit-frame-pointer |
| 548 | AM_CFLAGS_PSO_S390X_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE) |
| 549 | AM_CCASFLAGS_S390X_LINUX = @FLAG_M64@ -g -mzarch -march=z900 |
| 550 | AM_FLAG_M3264_MIPS32_LINUX = @FLAG_M32@ |
| 551 | AM_CFLAGS_MIPS32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) @FLAG_MIPS32@ |
| 552 | AM_CFLAGS_PSO_MIPS32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) @FLAG_MIPS32@ \ |
| 553 | $(AM_CFLAGS_PSO_BASE) |
| 554 | |
| 555 | AM_CCASFLAGS_MIPS32_LINUX = @FLAG_M32@ -g @FLAG_MIPS32@ |
| 556 | AM_FLAG_M3264_MIPS64_LINUX = @FLAG_M64@ |
| 557 | AM_CFLAGS_MIPS64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) @FLAG_MIPS64@ |
| 558 | AM_CFLAGS_PSO_MIPS64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) @FLAG_MIPS64@ \ |
| 559 | $(AM_CFLAGS_PSO_BASE) |
| 560 | |
| 561 | AM_CCASFLAGS_MIPS64_LINUX = @FLAG_M64@ -g @FLAG_MIPS64@ |
Elliott Hughes | a0664b9 | 2017-04-18 17:46:52 -0700 | [diff] [blame] | 562 | AM_FLAG_M3264_X86_SOLARIS = @FLAG_M32@ |
| 563 | AM_CFLAGS_X86_SOLARIS = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY_2@ \ |
| 564 | $(AM_CFLAGS_BASE) -fomit-frame-pointer \ |
| 565 | @SOLARIS_UNDEF_LARGESOURCE@ |
| 566 | |
| 567 | AM_CFLAGS_PSO_X86_SOLARIS = @FLAG_M32@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE) |
| 568 | AM_CCASFLAGS_X86_SOLARIS = @FLAG_M32@ -g -D_ASM |
| 569 | AM_FLAG_M3264_AMD64_SOLARIS = @FLAG_M64@ |
| 570 | AM_CFLAGS_AMD64_SOLARIS = @FLAG_M64@ \ |
| 571 | $(AM_CFLAGS_BASE) -fomit-frame-pointer |
| 572 | |
| 573 | AM_CFLAGS_PSO_AMD64_SOLARIS = @FLAG_M64@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE) |
| 574 | AM_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 | # |
| 580 | AM_FLAG_M3264_PRI = $(AM_FLAG_M3264_@VGCONF_PLATFORM_PRI_CAPS@) |
| 581 | AM_CPPFLAGS_PRI = $(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) |
| 582 | AM_CFLAGS_PRI = $(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) |
| 583 | AM_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 | # |
| 589 | PRELOAD_LDFLAGS_COMMON_LINUX = -nodefaultlibs -shared \ |
| 590 | -Wl,-z,interpose,-z,initfirst $(am__append_3) |
| 591 | PRELOAD_LDFLAGS_COMMON_DARWIN = -dynamic -dynamiclib -all_load |
| 592 | PRELOAD_LDFLAGS_COMMON_SOLARIS = -nodefaultlibs -shared \ |
| 593 | -Wl,-z,interpose,-z,initfirst $(am__append_2) |
| 594 | PRELOAD_LDFLAGS_X86_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@ |
| 595 | PRELOAD_LDFLAGS_AMD64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ |
| 596 | PRELOAD_LDFLAGS_PPC32_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@ |
| 597 | PRELOAD_LDFLAGS_PPC64BE_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ |
| 598 | PRELOAD_LDFLAGS_PPC64LE_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ |
| 599 | PRELOAD_LDFLAGS_ARM_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@ |
| 600 | PRELOAD_LDFLAGS_ARM64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ |
| 601 | PRELOAD_LDFLAGS_X86_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch i386 |
| 602 | PRELOAD_LDFLAGS_AMD64_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch x86_64 |
| 603 | PRELOAD_LDFLAGS_S390X_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ |
| 604 | PRELOAD_LDFLAGS_MIPS32_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@ |
| 605 | PRELOAD_LDFLAGS_MIPS64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ |
Elliott Hughes | a0664b9 | 2017-04-18 17:46:52 -0700 | [diff] [blame] | 606 | PRELOAD_LDFLAGS_X86_SOLARIS = $(PRELOAD_LDFLAGS_COMMON_SOLARIS) @FLAG_M32@ |
| 607 | PRELOAD_LDFLAGS_AMD64_SOLARIS = $(PRELOAD_LDFLAGS_COMMON_SOLARIS) @FLAG_M64@ |
| 608 | TOOLS = memcheck \ |
| 609 | cachegrind \ |
| 610 | callgrind \ |
| 611 | massif \ |
| 612 | lackey \ |
| 613 | none \ |
| 614 | helgrind \ |
| 615 | drd |
| 616 | |
| 617 | EXP_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. |
| 624 | SUBDIRS = \ |
| 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 | |
| 641 | DIST_SUBDIRS = $(SUBDIRS) |
| 642 | SUPP_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 | |
| 657 | DEFAULT_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. |
| 661 | dist_noinst_DATA = $(SUPP_FILES) |
| 662 | vglibdir = $(pkglibdir) |
| 663 | vglib_DATA = default.supp |
| 664 | pkgconfigdir = $(libdir)/pkgconfig |
| 665 | pkgconfig_DATA = valgrind.pc |
Elliott Hughes | ed39800 | 2017-06-21 14:41:24 -0700 | [diff] [blame] | 666 | BUILT_SOURCES = default.supp include/vgversion.h valgrind.pc |
Elliott Hughes | a0664b9 | 2017-04-18 17:46:52 -0700 | [diff] [blame] | 667 | CLEANFILES = 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). |
| 674 | EXTRA_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 | |
| 691 | dist_noinst_SCRIPTS = \ |
| 692 | vg-in-place |
| 693 | |
| 694 | |
| 695 | # Need config.h in the installed tree, since some files depend on it |
| 696 | pkginclude_HEADERS = config.h |
| 697 | all: $(BUILT_SOURCES) config.h |
| 698 | $(MAKE) $(AM_MAKEFLAGS) all-recursive |
| 699 | |
| 700 | .SUFFIXES: |
| 701 | am--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 |
| 716 | Makefile: $(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 | |
| 736 | config.h: stamp-h1 |
| 737 | @test -f $@ || rm -f stamp-h1 |
| 738 | @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1 |
| 739 | |
| 740 | stamp-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 | |
| 748 | distclean-hdr: |
| 749 | -rm -f config.h stamp-h1 |
| 750 | valgrind.spec: $(top_builddir)/config.status $(srcdir)/valgrind.spec.in |
| 751 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
| 752 | valgrind.pc: $(top_builddir)/config.status $(srcdir)/valgrind.pc.in |
| 753 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
| 754 | glibc-2.X.supp: $(top_builddir)/config.status $(srcdir)/glibc-2.X.supp.in |
| 755 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
| 756 | drd/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 $@ |
| 758 | install-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 | |
| 774 | uninstall-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) |
| 779 | install-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 | |
| 795 | uninstall-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) |
| 800 | install-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 | |
| 816 | uninstall-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 | |
| 856 | ID: $(am__tagged_files) |
| 857 | $(am__define_uniq_tagged_files); mkid -fID $$unique |
| 858 | tags: tags-recursive |
| 859 | TAGS: tags |
| 860 | |
| 861 | tags-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 |
| 889 | ctags: ctags-recursive |
| 890 | |
| 891 | CTAGS: ctags |
| 892 | ctags-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 | |
| 898 | GTAGS: |
| 899 | here=`$(am__cd) $(top_builddir) && pwd` \ |
| 900 | && $(am__cd) $(top_srcdir) \ |
| 901 | && gtags -i $(GTAGS_ARGS) "$$here" |
| 902 | cscope: cscope.files |
| 903 | test ! -s cscope.files \ |
| 904 | || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) |
| 905 | clean-cscope: |
| 906 | -rm -f cscope.files |
| 907 | cscope.files: clean-cscope cscopelist |
| 908 | cscopelist: cscopelist-recursive |
| 909 | |
| 910 | cscopelist-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 | |
| 924 | distclean-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 | |
| 928 | distdir: $(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 Hughes | ed39800 | 2017-06-21 14:41:24 -0700 | [diff] [blame] | 985 | $(MAKE) $(AM_MAKEFLAGS) \ |
| 986 | top_distdir="$(top_distdir)" distdir="$(distdir)" \ |
| 987 | dist-hook |
Elliott Hughes | a0664b9 | 2017-04-18 17:46:52 -0700 | [diff] [blame] | 988 | -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)" |
| 995 | dist-gzip: distdir |
Elliott Hughes | ed39800 | 2017-06-21 14:41:24 -0700 | [diff] [blame] | 996 | tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz |
Elliott Hughes | a0664b9 | 2017-04-18 17:46:52 -0700 | [diff] [blame] | 997 | $(am__post_remove_distdir) |
| 998 | dist-bzip2: distdir |
| 999 | tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 |
| 1000 | $(am__post_remove_distdir) |
| 1001 | |
| 1002 | dist-lzip: distdir |
| 1003 | tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz |
| 1004 | $(am__post_remove_distdir) |
| 1005 | |
| 1006 | dist-xz: distdir |
| 1007 | tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz |
| 1008 | $(am__post_remove_distdir) |
| 1009 | |
| 1010 | dist-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 | |
| 1017 | dist-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 Hughes | ed39800 | 2017-06-21 14:41:24 -0700 | [diff] [blame] | 1021 | shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz |
Elliott Hughes | a0664b9 | 2017-04-18 17:46:52 -0700 | [diff] [blame] | 1022 | $(am__post_remove_distdir) |
| 1023 | |
| 1024 | dist-zip: distdir |
| 1025 | -rm -f $(distdir).zip |
| 1026 | zip -rq $(distdir).zip $(distdir) |
| 1027 | $(am__post_remove_distdir) |
| 1028 | |
| 1029 | dist 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. |
| 1036 | distcheck: dist |
| 1037 | case '$(DIST_ARCHIVES)' in \ |
| 1038 | *.tar.gz*) \ |
Elliott Hughes | ed39800 | 2017-06-21 14:41:24 -0700 | [diff] [blame] | 1039 | eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\ |
Elliott Hughes | a0664b9 | 2017-04-18 17:46:52 -0700 | [diff] [blame] | 1040 | *.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 Hughes | ed39800 | 2017-06-21 14:41:24 -0700 | [diff] [blame] | 1049 | eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\ |
Elliott Hughes | a0664b9 | 2017-04-18 17:46:52 -0700 | [diff] [blame] | 1050 | *.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' |
| 1092 | distuninstallcheck: |
| 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 |
| 1109 | distcleancheck: 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 |
| 1118 | check-am: all-am |
| 1119 | check: $(BUILT_SOURCES) |
| 1120 | $(MAKE) $(AM_MAKEFLAGS) check-recursive |
| 1121 | all-am: Makefile $(SCRIPTS) $(DATA) $(HEADERS) config.h all-local |
| 1122 | installdirs: installdirs-recursive |
| 1123 | installdirs-am: |
| 1124 | for dir in "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(vglibdir)" "$(DESTDIR)$(pkgincludedir)"; do \ |
| 1125 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ |
| 1126 | done |
| 1127 | install: $(BUILT_SOURCES) |
| 1128 | $(MAKE) $(AM_MAKEFLAGS) install-recursive |
| 1129 | install-exec: install-exec-recursive |
| 1130 | install-data: install-data-recursive |
| 1131 | uninstall: uninstall-recursive |
| 1132 | |
| 1133 | install-am: all-am |
| 1134 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
| 1135 | |
| 1136 | installcheck: installcheck-recursive |
| 1137 | install-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 |
| 1147 | mostlyclean-generic: |
| 1148 | |
| 1149 | clean-generic: |
| 1150 | -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) |
| 1151 | |
| 1152 | distclean-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 | |
| 1156 | maintainer-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) |
| 1160 | clean: clean-recursive |
| 1161 | |
| 1162 | clean-am: clean-generic clean-local mostlyclean-am |
| 1163 | |
| 1164 | distclean: distclean-recursive |
| 1165 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
| 1166 | -rm -f Makefile |
| 1167 | distclean-am: clean-am distclean-generic distclean-hdr distclean-tags |
| 1168 | |
| 1169 | dvi: dvi-recursive |
| 1170 | |
| 1171 | dvi-am: |
| 1172 | |
| 1173 | html: html-recursive |
| 1174 | |
| 1175 | html-am: |
| 1176 | |
| 1177 | info: info-recursive |
| 1178 | |
| 1179 | info-am: |
| 1180 | |
| 1181 | install-data-am: install-pkgconfigDATA install-pkgincludeHEADERS \ |
| 1182 | install-vglibDATA |
| 1183 | |
| 1184 | install-dvi: install-dvi-recursive |
| 1185 | |
| 1186 | install-dvi-am: |
| 1187 | |
| 1188 | install-exec-am: |
| 1189 | |
| 1190 | install-html: install-html-recursive |
| 1191 | |
| 1192 | install-html-am: |
| 1193 | |
| 1194 | install-info: install-info-recursive |
| 1195 | |
| 1196 | install-info-am: |
| 1197 | |
| 1198 | install-man: |
| 1199 | |
| 1200 | install-pdf: install-pdf-recursive |
| 1201 | |
| 1202 | install-pdf-am: |
| 1203 | |
| 1204 | install-ps: install-ps-recursive |
| 1205 | |
| 1206 | install-ps-am: |
| 1207 | |
| 1208 | installcheck-am: |
| 1209 | |
| 1210 | maintainer-clean: maintainer-clean-recursive |
| 1211 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
| 1212 | -rm -rf $(top_srcdir)/autom4te.cache |
| 1213 | -rm -f Makefile |
| 1214 | maintainer-clean-am: distclean-am maintainer-clean-generic |
| 1215 | |
| 1216 | mostlyclean: mostlyclean-recursive |
| 1217 | |
| 1218 | mostlyclean-am: mostlyclean-generic |
| 1219 | |
| 1220 | pdf: pdf-recursive |
| 1221 | |
| 1222 | pdf-am: |
| 1223 | |
| 1224 | ps: ps-recursive |
| 1225 | |
| 1226 | ps-am: |
| 1227 | |
| 1228 | uninstall-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 Hughes | ed39800 | 2017-06-21 14:41:24 -0700 | [diff] [blame] | 1237 | 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 Hughes | a0664b9 | 2017-04-18 17:46:52 -0700 | [diff] [blame] | 1252 | |
| 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. |
| 1270 | build-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. |
| 1281 | inplace-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 |
| 1289 | inplace-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. |
| 1299 | install-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. |
| 1308 | uninstall-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'... |
| 1317 | install-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. |
| 1324 | uninstall-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. |
| 1330 | clean-noinst_DSYMS: |
| 1331 | for f in $(noinst_DSYMS); do \ |
| 1332 | rm -rf $$f.dSYM; \ |
| 1333 | done |
| 1334 | |
| 1335 | default.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 | |
| 1340 | regtest: 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 |
| 1348 | post-regtest-checks: |
| 1349 | tests/post_regtest_checks $(abs_top_srcdir) gdbserver_tests $(TOOLS) $(EXP_TOOLS) |
| 1350 | nonexp-regtest: check |
| 1351 | @PERL@ tests/vg_regtest $(TOOLS) |
| 1352 | exp-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 | |
| 1358 | perf: check |
| 1359 | @PERL@ perf/vg_perf perf |
| 1360 | |
Elliott Hughes | ed39800 | 2017-06-21 14:41:24 -0700 | [diff] [blame] | 1361 | dist-hook: include/vgversion.h |
| 1362 | cp -p include/vgversion.h $(distdir)/include/vgversion_dist.h |
| 1363 | |
| 1364 | all-local: default.supp include/vgversion.h |
Elliott Hughes | a0664b9 | 2017-04-18 17:46:52 -0700 | [diff] [blame] | 1365 | mkdir -p $(inplacedir) |
| 1366 | rm -f $(inplacedir)/default.supp |
| 1367 | ln -s ../default.supp $(inplacedir) |
| 1368 | |
| 1369 | clean-local: |
Elliott Hughes | ed39800 | 2017-06-21 14:41:24 -0700 | [diff] [blame] | 1370 | rm -rf $(inplacedir) include/vgversion.h |
| 1371 | |
| 1372 | # vgversion.h defines accurate versions to report with -v --version |
| 1373 | include/vgversion.h: |
| 1374 | $(top_srcdir)/auxprogs/make_or_upd_vgversion_h $(top_srcdir) |
| 1375 | |
| 1376 | .PHONY: include/vgversion.h |
Elliott Hughes | a0664b9 | 2017-04-18 17:46:52 -0700 | [diff] [blame] | 1377 | |
| 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: |