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