1 # Makefile.in generated by automake 1.11.3 from Makefile.am. 2 # @configure_input@ 3 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software 6 # Foundation, Inc. 7 # This Makefile.in is free software; the Free Software Foundation 8 # gives unlimited permission to copy and/or distribute it, 9 # with or without modifications, as long as this notice is preserved. 10 11 # This program is distributed in the hope that it will be useful, 12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without 13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A 14 # PARTICULAR PURPOSE. 15 16 @SET_MAKE@ 17 18 # This file is used for tool tests, and also in perf/Makefile.am. 19 20 # This file should be included (directly or indirectly) by every 21 # Makefile.am that builds programs. And also the top-level Makefile.am. 22 23 #---------------------------------------------------------------------------- 24 # Global stuff 25 #---------------------------------------------------------------------------- 26 27 VPATH = @srcdir@ 28 pkgdatadir = $(datadir)/@PACKAGE@ 29 pkgincludedir = $(includedir)/@PACKAGE@ 30 pkglibdir = $(libdir)/@PACKAGE@ 31 pkglibexecdir = $(libexecdir)/@PACKAGE@ 32 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 33 install_sh_DATA = $(install_sh) -c -m 644 34 install_sh_PROGRAM = $(install_sh) -c 35 install_sh_SCRIPT = $(install_sh) -c 36 INSTALL_HEADER = $(INSTALL_DATA) 37 transform = $(program_transform_name) 38 NORMAL_INSTALL = : 39 PRE_INSTALL = : 40 POST_INSTALL = : 41 NORMAL_UNINSTALL = : 42 PRE_UNINSTALL = : 43 POST_UNINSTALL = : 44 build_triplet = @build@ 45 host_triplet = @host@ 46 DIST_COMMON = $(dist_noinst_SCRIPTS) $(srcdir)/Makefile.am \ 47 $(srcdir)/Makefile.in $(top_srcdir)/Makefile.all.am \ 48 $(top_srcdir)/Makefile.tool-tests.am 49 50 # The Android toolchain includes all kinds of stdlib helpers present in 51 # bionic which is bad because we are not linking with it and the Android 52 # linker will panic. 53 @VGCONF_PLATVARIANT_IS_ANDROID_TRUE@am__append_1 = -nostdlib 54 @VGCONF_HAVE_PLATFORM_SEC_TRUE@am__append_2 = -DVGA_SEC_@VGCONF_ARCH_SEC@=1 \ 55 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGP_SEC_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1 56 57 @HAS_WRITE_STRINGS_WARNING_TRUE@am__append_3 = -Wno-write-strings 58 @COMPILER_IS_CLANG_TRUE@am__append_4 = -Wno-format-extra-args \ 59 @COMPILER_IS_CLANG_TRUE@ -Wno-literal-range \ 60 @COMPILER_IS_CLANG_TRUE@ -Wno-string-plus-int # \ 61 @COMPILER_IS_CLANG_TRUE@ drd/tests/annotate_ignore_rw.c 62 @COMPILER_IS_CLANG_TRUE@am__append_5 = -Wno-unused-private-field # drd/tests/tsan_unittest.cpp 63 check_PROGRAMS = bt_everything$(EXEEXT) bug132146$(EXEEXT) \ 64 bug279698$(EXEEXT) fxsave-amd64$(EXEEXT) insn-bsfl$(EXEEXT) \ 65 insn-pmovmskb$(EXEEXT) more_x87_fp$(EXEEXT) \ 66 sh-mem-vec128$(EXEEXT) sse_memory$(EXEEXT) \ 67 xor-undef-amd64$(EXEEXT) $(am__EXEEXT_1) $(am__EXEEXT_2) 68 @BUILD_AVX_TESTS_TRUE@am__append_6 = sh-mem-vec256 69 @HAVE_ASM_CONSTRAINT_P_TRUE@am__append_7 = insn-pcmpistri 70 subdir = memcheck/tests/amd64 71 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 72 am__aclocal_m4_deps = $(top_srcdir)/configure.ac 73 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 74 $(ACLOCAL_M4) 75 mkinstalldirs = $(install_sh) -d 76 CONFIG_HEADER = $(top_builddir)/config.h 77 CONFIG_CLEAN_FILES = 78 CONFIG_CLEAN_VPATH_FILES = 79 @BUILD_AVX_TESTS_TRUE@am__EXEEXT_1 = sh-mem-vec256$(EXEEXT) 80 @HAVE_ASM_CONSTRAINT_P_TRUE@am__EXEEXT_2 = insn-pcmpistri$(EXEEXT) 81 bt_everything_SOURCES = bt_everything.c 82 bt_everything_OBJECTS = bt_everything.$(OBJEXT) 83 bt_everything_LDADD = $(LDADD) 84 bug132146_SOURCES = bug132146.c 85 bug132146_OBJECTS = bug132146.$(OBJEXT) 86 bug132146_LDADD = $(LDADD) 87 bug279698_SOURCES = bug279698.c 88 bug279698_OBJECTS = bug279698.$(OBJEXT) 89 bug279698_LDADD = $(LDADD) 90 fxsave_amd64_SOURCES = fxsave-amd64.c 91 fxsave_amd64_OBJECTS = fxsave-amd64.$(OBJEXT) 92 fxsave_amd64_LDADD = $(LDADD) 93 insn_bsfl_SOURCES = insn-bsfl.c 94 insn_bsfl_OBJECTS = insn-bsfl.$(OBJEXT) 95 insn_bsfl_LDADD = $(LDADD) 96 insn_pcmpistri_SOURCES = insn-pcmpistri.c 97 insn_pcmpistri_OBJECTS = insn-pcmpistri.$(OBJEXT) 98 insn_pcmpistri_LDADD = $(LDADD) 99 insn_pmovmskb_SOURCES = insn-pmovmskb.c 100 insn_pmovmskb_OBJECTS = insn-pmovmskb.$(OBJEXT) 101 insn_pmovmskb_LDADD = $(LDADD) 102 more_x87_fp_SOURCES = more_x87_fp.c 103 more_x87_fp_OBJECTS = more_x87_fp-more_x87_fp.$(OBJEXT) 104 more_x87_fp_DEPENDENCIES = 105 more_x87_fp_LINK = $(CCLD) $(more_x87_fp_CFLAGS) $(CFLAGS) \ 106 $(AM_LDFLAGS) $(LDFLAGS) -o $@ 107 sh_mem_vec128_SOURCES = sh-mem-vec128.c 108 sh_mem_vec128_OBJECTS = sh-mem-vec128.$(OBJEXT) 109 sh_mem_vec128_LDADD = $(LDADD) 110 sh_mem_vec256_SOURCES = sh-mem-vec256.c 111 sh_mem_vec256_OBJECTS = sh-mem-vec256.$(OBJEXT) 112 sh_mem_vec256_LDADD = $(LDADD) 113 sse_memory_SOURCES = sse_memory.c 114 sse_memory_OBJECTS = sse_memory.$(OBJEXT) 115 sse_memory_LDADD = $(LDADD) 116 xor_undef_amd64_SOURCES = xor-undef-amd64.c 117 xor_undef_amd64_OBJECTS = xor-undef-amd64.$(OBJEXT) 118 xor_undef_amd64_LDADD = $(LDADD) 119 SCRIPTS = $(dist_noinst_SCRIPTS) 120 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) 121 depcomp = $(SHELL) $(top_srcdir)/depcomp 122 am__depfiles_maybe = depfiles 123 am__mv = mv -f 124 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ 125 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 126 CCLD = $(CC) 127 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ 128 SOURCES = bt_everything.c bug132146.c bug279698.c fxsave-amd64.c \ 129 insn-bsfl.c insn-pcmpistri.c insn-pmovmskb.c more_x87_fp.c \ 130 sh-mem-vec128.c sh-mem-vec256.c sse_memory.c xor-undef-amd64.c 131 DIST_SOURCES = bt_everything.c bug132146.c bug279698.c fxsave-amd64.c \ 132 insn-bsfl.c insn-pcmpistri.c insn-pmovmskb.c more_x87_fp.c \ 133 sh-mem-vec128.c sh-mem-vec256.c sse_memory.c xor-undef-amd64.c 134 ETAGS = etags 135 CTAGS = ctags 136 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 137 ACLOCAL = @ACLOCAL@ 138 AMTAR = @AMTAR@ 139 AR = @AR@ 140 AUTOCONF = @AUTOCONF@ 141 AUTOHEADER = @AUTOHEADER@ 142 AUTOMAKE = @AUTOMAKE@ 143 AWK = @AWK@ 144 BOOST_CFLAGS = @BOOST_CFLAGS@ 145 BOOST_LIBS = @BOOST_LIBS@ 146 CC = @CC@ 147 CCAS = @CCAS@ 148 CCASDEPMODE = @CCASDEPMODE@ 149 CCASFLAGS = @CCASFLAGS@ 150 CCDEPMODE = @CCDEPMODE@ 151 CFLAGS = @CFLAGS@ $(am__append_3) $(am__append_4) 152 CFLAGS_MPI = @CFLAGS_MPI@ 153 CPP = @CPP@ 154 CPPFLAGS = @CPPFLAGS@ 155 CXX = @CXX@ 156 CXXDEPMODE = @CXXDEPMODE@ 157 CXXFLAGS = @CXXFLAGS@ $(am__append_5) 158 CYGPATH_W = @CYGPATH_W@ 159 DEFAULT_SUPP = @DEFAULT_SUPP@ 160 DEFS = @DEFS@ 161 DEPDIR = @DEPDIR@ 162 DIFF = @DIFF@ 163 ECHO_C = @ECHO_C@ 164 ECHO_N = @ECHO_N@ 165 ECHO_T = @ECHO_T@ 166 EGREP = @EGREP@ 167 EXEEXT = @EXEEXT@ 168 FLAG_FNO_STACK_PROTECTOR = @FLAG_FNO_STACK_PROTECTOR@ 169 FLAG_M32 = @FLAG_M32@ 170 FLAG_M64 = @FLAG_M64@ 171 FLAG_MIPS32 = @FLAG_MIPS32@ 172 FLAG_MIPS64 = @FLAG_MIPS64@ 173 FLAG_MMMX = @FLAG_MMMX@ 174 FLAG_MSSE = @FLAG_MSSE@ 175 FLAG_NO_BUILD_ID = @FLAG_NO_BUILD_ID@ 176 FLAG_OCTEON = @FLAG_OCTEON@ 177 FLAG_OCTEON2 = @FLAG_OCTEON2@ 178 FLAG_T_TEXT = @FLAG_T_TEXT@ 179 FLAG_UNLIMITED_INLINE_UNIT_GROWTH = @FLAG_UNLIMITED_INLINE_UNIT_GROWTH@ 180 FLAG_W_EXTRA = @FLAG_W_EXTRA@ 181 FLAG_W_NO_EMPTY_BODY = @FLAG_W_NO_EMPTY_BODY@ 182 FLAG_W_NO_FORMAT_ZERO_LENGTH = @FLAG_W_NO_FORMAT_ZERO_LENGTH@ 183 FLAG_W_NO_NONNULL = @FLAG_W_NO_NONNULL@ 184 FLAG_W_NO_OVERFLOW = @FLAG_W_NO_OVERFLOW@ 185 FLAG_W_NO_UNINITIALIZED = @FLAG_W_NO_UNINITIALIZED@ 186 GDB = @GDB@ 187 GLIBC_VERSION = @GLIBC_VERSION@ 188 GREP = @GREP@ 189 INSTALL = @INSTALL@ 190 INSTALL_DATA = @INSTALL_DATA@ 191 INSTALL_PROGRAM = @INSTALL_PROGRAM@ 192 INSTALL_SCRIPT = @INSTALL_SCRIPT@ 193 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ 194 LDFLAGS = @LDFLAGS@ 195 LDFLAGS_MPI = @LDFLAGS_MPI@ 196 LIBOBJS = @LIBOBJS@ 197 LIBS = @LIBS@ 198 LN_S = @LN_S@ 199 LTLIBOBJS = @LTLIBOBJS@ 200 MAINT = @MAINT@ 201 MAKEINFO = @MAKEINFO@ 202 MKDIR_P = @MKDIR_P@ 203 MPI_CC = @MPI_CC@ 204 OBJEXT = @OBJEXT@ 205 PACKAGE = @PACKAGE@ 206 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ 207 PACKAGE_NAME = @PACKAGE_NAME@ 208 PACKAGE_STRING = @PACKAGE_STRING@ 209 PACKAGE_TARNAME = @PACKAGE_TARNAME@ 210 PACKAGE_URL = @PACKAGE_URL@ 211 PACKAGE_VERSION = @PACKAGE_VERSION@ 212 PATH_SEPARATOR = @PATH_SEPARATOR@ 213 PERL = @PERL@ 214 PREFERRED_STACK_BOUNDARY = @PREFERRED_STACK_BOUNDARY@ 215 RANLIB = @RANLIB@ 216 SED = @SED@ 217 SET_MAKE = @SET_MAKE@ 218 SHELL = @SHELL@ 219 STRIP = @STRIP@ 220 VALT_LOAD_ADDRESS_PRI = @VALT_LOAD_ADDRESS_PRI@ 221 VALT_LOAD_ADDRESS_SEC = @VALT_LOAD_ADDRESS_SEC@ 222 VERSION = @VERSION@ 223 VGCONF_ARCH_PRI = @VGCONF_ARCH_PRI@ 224 VGCONF_ARCH_SEC = @VGCONF_ARCH_SEC@ 225 VGCONF_OS = @VGCONF_OS@ 226 VGCONF_PLATFORM_PRI_CAPS = @VGCONF_PLATFORM_PRI_CAPS@ 227 VGCONF_PLATFORM_SEC_CAPS = @VGCONF_PLATFORM_SEC_CAPS@ 228 VGCONF_PLATVARIANT = @VGCONF_PLATVARIANT@ 229 abs_builddir = @abs_builddir@ 230 abs_srcdir = @abs_srcdir@ 231 abs_top_builddir = @abs_top_builddir@ 232 abs_top_srcdir = @abs_top_srcdir@ 233 ac_ct_CC = @ac_ct_CC@ 234 ac_ct_CXX = @ac_ct_CXX@ 235 am__include = @am__include@ 236 am__leading_dot = @am__leading_dot@ 237 am__quote = @am__quote@ 238 am__tar = @am__tar@ 239 am__untar = @am__untar@ 240 bindir = @bindir@ 241 build = @build@ 242 build_alias = @build_alias@ 243 build_cpu = @build_cpu@ 244 build_os = @build_os@ 245 build_vendor = @build_vendor@ 246 builddir = @builddir@ 247 datadir = @datadir@ 248 datarootdir = @datarootdir@ 249 docdir = @docdir@ 250 dvidir = @dvidir@ 251 exec_prefix = @exec_prefix@ 252 host = @host@ 253 host_alias = @host_alias@ 254 host_cpu = @host_cpu@ 255 host_os = @host_os@ 256 host_vendor = @host_vendor@ 257 htmldir = @htmldir@ 258 includedir = @includedir@ 259 infodir = @infodir@ 260 install_sh = @install_sh@ 261 libdir = @libdir@ 262 libexecdir = @libexecdir@ 263 localedir = @localedir@ 264 localstatedir = @localstatedir@ 265 mandir = @mandir@ 266 mkdir_p = @mkdir_p@ 267 oldincludedir = @oldincludedir@ 268 pdfdir = @pdfdir@ 269 prefix = @prefix@ 270 program_transform_name = @program_transform_name@ 271 psdir = @psdir@ 272 sbindir = @sbindir@ 273 sharedstatedir = @sharedstatedir@ 274 srcdir = @srcdir@ 275 sysconfdir = @sysconfdir@ 276 target_alias = @target_alias@ 277 top_build_prefix = @top_build_prefix@ 278 top_builddir = @top_builddir@ 279 top_srcdir = @top_srcdir@ 280 inplacedir = $(top_builddir)/.in_place 281 282 #---------------------------------------------------------------------------- 283 # Flags 284 #---------------------------------------------------------------------------- 285 286 # Baseline flags for all compilations. Aim here is to maximise 287 # performance and get whatever useful warnings we can out of gcc. 288 # -fno-builtin is important for defeating LLVM's idiom recognition 289 # that somehow causes VG_(memset) to get into infinite recursion. 290 AM_CFLAGS_BASE = \ 291 -O2 -g \ 292 -Wall \ 293 -Wmissing-prototypes \ 294 -Wshadow \ 295 -Wpointer-arith \ 296 -Wstrict-prototypes \ 297 -Wmissing-declarations \ 298 @FLAG_W_NO_FORMAT_ZERO_LENGTH@ \ 299 -fno-strict-aliasing \ 300 -fno-builtin 301 302 @VGCONF_OS_IS_DARWIN_FALSE@AM_CFLAGS_PIC = -fpic -O -g -fno-omit-frame-pointer -fno-strict-aliasing \ 303 @VGCONF_OS_IS_DARWIN_FALSE@ -fno-builtin 304 305 306 # These flags are used for building the preload shared objects. 307 # The aim is to give reasonable performance but also to have good 308 # stack traces, since users often see stack traces extending 309 # into (and through) the preloads. 310 @VGCONF_OS_IS_DARWIN_TRUE@AM_CFLAGS_PIC = -dynamic -O -g -fno-omit-frame-pointer -fno-strict-aliasing \ 311 @VGCONF_OS_IS_DARWIN_TRUE@ -mno-dynamic-no-pic -fpic -fPIC \ 312 @VGCONF_OS_IS_DARWIN_TRUE@ -fno-builtin 313 314 315 # Flags for specific targets. 316 # 317 # Nb: the AM_CPPFLAGS_* values are suitable for building tools and auxprogs. 318 # For building the core, coregrind/Makefile.am files add some extra things. 319 AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@ = \ 320 -I$(top_srcdir) \ 321 -I$(top_srcdir)/include \ 322 -I$(top_srcdir)/VEX/pub \ 323 -DVGA_@VGCONF_ARCH_PRI@=1 \ 324 -DVGO_@VGCONF_OS@=1 \ 325 -DVGP_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1 \ 326 -DVGPV_@VGCONF_ARCH_PRI@_@VGCONF_OS@_@VGCONF_PLATVARIANT@=1 327 328 @VGCONF_HAVE_PLATFORM_SEC_TRUE@AM_CPPFLAGS_@VGCONF_PLATFORM_SEC_CAPS@ = \ 329 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_srcdir) \ 330 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_srcdir)/include \ 331 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_srcdir)/VEX/pub \ 332 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGA_@VGCONF_ARCH_SEC@=1 \ 333 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGO_@VGCONF_OS@=1 \ 334 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGP_@VGCONF_ARCH_SEC@_@VGCONF_OS@=1 \ 335 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGPV_@VGCONF_ARCH_SEC@_@VGCONF_OS@_@VGCONF_PLATVARIANT@=1 336 337 AM_FLAG_M3264_X86_LINUX = @FLAG_M32@ 338 AM_CFLAGS_X86_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \ 339 $(AM_CFLAGS_BASE) -fomit-frame-pointer 340 341 AM_CCASFLAGS_X86_LINUX = @FLAG_M32@ -g 342 AM_FLAG_M3264_AMD64_LINUX = @FLAG_M64@ 343 AM_CFLAGS_AMD64_LINUX = @FLAG_M64@ @PREFERRED_STACK_BOUNDARY@ \ 344 $(AM_CFLAGS_BASE) -fomit-frame-pointer 345 346 AM_CCASFLAGS_AMD64_LINUX = @FLAG_M64@ -g 347 AM_FLAG_M3264_PPC32_LINUX = @FLAG_M32@ 348 AM_CFLAGS_PPC32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) 349 AM_CCASFLAGS_PPC32_LINUX = @FLAG_M32@ -g 350 AM_FLAG_M3264_PPC64_LINUX = @FLAG_M64@ 351 AM_CFLAGS_PPC64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) 352 AM_CCASFLAGS_PPC64_LINUX = @FLAG_M64@ -g 353 AM_FLAG_M3264_ARM_LINUX = @FLAG_M32@ 354 AM_CFLAGS_ARM_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \ 355 $(AM_CFLAGS_BASE) -marm -mcpu=cortex-a8 356 357 AM_CCASFLAGS_ARM_LINUX = @FLAG_M32@ \ 358 -marm -mcpu=cortex-a8 -g 359 360 AM_FLAG_M3264_ARM64_LINUX = @FLAG_M64@ 361 AM_CFLAGS_ARM64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) 362 AM_CCASFLAGS_ARM64_LINUX = @FLAG_M64@ -g 363 AM_FLAG_M3264_X86_DARWIN = -arch i386 364 AM_CFLAGS_X86_DARWIN = $(WERROR) -arch i386 $(AM_CFLAGS_BASE) \ 365 -mmacosx-version-min=10.5 \ 366 -fno-stack-protector -fno-pic -fno-PIC 367 368 AM_CCASFLAGS_X86_DARWIN = -arch i386 -g 369 AM_FLAG_M3264_AMD64_DARWIN = -arch x86_64 370 AM_CFLAGS_AMD64_DARWIN = $(WERROR) -arch x86_64 $(AM_CFLAGS_BASE) \ 371 -mmacosx-version-min=10.5 -fno-stack-protector 372 373 AM_CCASFLAGS_AMD64_DARWIN = -arch x86_64 -g 374 AM_FLAG_M3264_S390X_LINUX = @FLAG_M64@ 375 AM_CFLAGS_S390X_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) -fomit-frame-pointer 376 AM_CCASFLAGS_S390X_LINUX = @FLAG_M64@ -g -mzarch -march=z900 377 AM_FLAG_M3264_MIPS32_LINUX = @FLAG_M32@ 378 AM_CFLAGS_MIPS32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) @FLAG_MIPS32@ 379 AM_CCASFLAGS_MIPS32_LINUX = @FLAG_M32@ -g @FLAG_MIPS32@ 380 AM_FLAG_M3264_MIPS64_LINUX = @FLAG_M64@ 381 AM_CFLAGS_MIPS64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) @FLAG_MIPS64@ 382 AM_CCASFLAGS_MIPS64_LINUX = @FLAG_M64@ -g @FLAG_MIPS64@ 383 384 # Flags for the primary target. These must be used to build the 385 # regtests and performance tests. In fact, these must be used to 386 # build anything which is built only once on a dual-arch build. 387 # 388 AM_FLAG_M3264_PRI = $(AM_FLAG_M3264_@VGCONF_PLATFORM_PRI_CAPS@) 389 AM_CPPFLAGS_PRI = $(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) 390 AM_CFLAGS_PRI = $(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) 391 AM_CCASFLAGS_PRI = $(AM_CCASFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) 392 @VGCONF_HAVE_PLATFORM_SEC_FALSE@AM_FLAG_M3264_SEC = 393 @VGCONF_HAVE_PLATFORM_SEC_TRUE@AM_FLAG_M3264_SEC = $(AM_FLAG_M3264_@VGCONF_PLATFORM_SEC_CAPS@) 394 395 # Baseline link flags for making vgpreload shared objects. 396 # 397 PRELOAD_LDFLAGS_COMMON_LINUX = -nodefaultlibs -shared \ 398 -Wl,-z,interpose,-z,initfirst $(am__append_1) 399 PRELOAD_LDFLAGS_COMMON_DARWIN = -dynamic -dynamiclib -all_load 400 PRELOAD_LDFLAGS_X86_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@ 401 PRELOAD_LDFLAGS_AMD64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ 402 PRELOAD_LDFLAGS_PPC32_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@ 403 PRELOAD_LDFLAGS_PPC64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ 404 PRELOAD_LDFLAGS_ARM_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@ 405 PRELOAD_LDFLAGS_ARM64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ 406 PRELOAD_LDFLAGS_X86_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch i386 407 PRELOAD_LDFLAGS_AMD64_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch x86_64 408 PRELOAD_LDFLAGS_S390X_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ 409 PRELOAD_LDFLAGS_MIPS32_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@ 410 PRELOAD_LDFLAGS_MIPS64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ 411 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ 412 -I$(top_srcdir)/coregrind -I$(top_builddir)/include \ 413 -I$(top_srcdir)/VEX/pub -DVGA_@VGCONF_ARCH_PRI@=1 \ 414 -DVGO_@VGCONF_OS@=1 -DVGP_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1 \ 415 -DVGPV_@VGCONF_ARCH_PRI@_@VGCONF_OS@_@VGCONF_PLATVARIANT@=1 \ 416 $(am__append_2) 417 418 # Nb: Tools need to augment these flags with an arch-selection option, such 419 # as $(AM_FLAG_M3264_PRI). 420 AM_CFLAGS = -Winline -Wall -Wshadow -g @FLAG_M64@ 421 AM_CXXFLAGS = -Winline -Wall -Wshadow -g @FLAG_M64@ 422 # Include AM_CPPFLAGS in AM_CCASFLAGS to allow for older versions of 423 # automake; see comments in Makefile.all.am for more detail. 424 AM_CCASFLAGS = $(AM_CPPFLAGS) @FLAG_M64@ 425 @VGCONF_OS_IS_DARWIN_TRUE@noinst_DSYMS = $(check_PROGRAMS) 426 dist_noinst_SCRIPTS = filter_stderr 427 INSN_TESTS = insn_basic insn_mmx insn_sse insn_sse2 insn_fpu 428 EXTRA_DIST = \ 429 $(addsuffix .stderr.exp,$(INSN_TESTS)) \ 430 $(addsuffix .stdout.exp,$(INSN_TESTS)) \ 431 $(addsuffix .vgtest,$(INSN_TESTS)) \ 432 bt_everything.stderr.exp bt_everything.stdout.exp \ 433 bt_everything.vgtest \ 434 bug132146.vgtest bug132146.stderr.exp bug132146.stdout.exp \ 435 bug279698.vgtest bug279698.stderr.exp bug279698.stdout.exp \ 436 fxsave-amd64.vgtest fxsave-amd64.stdout.exp fxsave-amd64.stderr.exp \ 437 insn-bsfl.vgtest insn-bsfl.stdout.exp insn-bsfl.stderr.exp \ 438 insn-pcmpistri.vgtest insn-pcmpistri.stdout.exp insn-pcmpistri.stderr.exp \ 439 insn-pmovmskb.vgtest insn-pmovmskb.stdout.exp insn-pmovmskb.stderr.exp \ 440 more_x87_fp.stderr.exp more_x87_fp.stdout.exp more_x87_fp.vgtest \ 441 sh-mem-vec128-plo-no.vgtest \ 442 sh-mem-vec128-plo-no.stderr.exp \ 443 sh-mem-vec128-plo-no.stdout.exp \ 444 sh-mem-vec128-plo-yes.vgtest \ 445 sh-mem-vec128-plo-yes.stderr.exp \ 446 sh-mem-vec128-plo-yes.stdout.exp \ 447 sh-mem-vec256-plo-no.vgtest \ 448 sh-mem-vec256-plo-no.stderr.exp \ 449 sh-mem-vec256-plo-no.stdout.exp \ 450 sh-mem-vec256-plo-yes.vgtest \ 451 sh-mem-vec256-plo-yes.stderr.exp \ 452 sh-mem-vec256-plo-yes.stdout.exp \ 453 sse_memory.stderr.exp sse_memory.stdout.exp sse_memory.vgtest \ 454 xor-undef-amd64.stderr.exp xor-undef-amd64.stdout.exp \ 455 xor-undef-amd64.vgtest 456 457 more_x87_fp_CFLAGS = $(AM_CFLAGS) -O -ffast-math -mfpmath=387 \ 458 -mfancy-math-387 459 460 more_x87_fp_LDADD = -lm 461 all: all-am 462 463 .SUFFIXES: 464 .SUFFIXES: .c .o .obj 465 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.tool-tests.am $(top_srcdir)/Makefile.all.am $(am__configure_deps) 466 @for dep in $?; do \ 467 case '$(am__configure_deps)' in \ 468 *$$dep*) \ 469 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ 470 && { if test -f $@; then exit 0; else break; fi; }; \ 471 exit 1;; \ 472 esac; \ 473 done; \ 474 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign memcheck/tests/amd64/Makefile'; \ 475 $(am__cd) $(top_srcdir) && \ 476 $(AUTOMAKE) --foreign memcheck/tests/amd64/Makefile 477 .PRECIOUS: Makefile 478 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 479 @case '$?' in \ 480 *config.status*) \ 481 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ 482 *) \ 483 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ 484 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ 485 esac; 486 $(top_srcdir)/Makefile.tool-tests.am $(top_srcdir)/Makefile.all.am: 487 488 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 489 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 490 491 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 492 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 493 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) 494 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 495 $(am__aclocal_m4_deps): 496 497 clean-checkPROGRAMS: 498 -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS) 499 bt_everything$(EXEEXT): $(bt_everything_OBJECTS) $(bt_everything_DEPENDENCIES) $(EXTRA_bt_everything_DEPENDENCIES) 500 @rm -f bt_everything$(EXEEXT) 501 $(LINK) $(bt_everything_OBJECTS) $(bt_everything_LDADD) $(LIBS) 502 bug132146$(EXEEXT): $(bug132146_OBJECTS) $(bug132146_DEPENDENCIES) $(EXTRA_bug132146_DEPENDENCIES) 503 @rm -f bug132146$(EXEEXT) 504 $(LINK) $(bug132146_OBJECTS) $(bug132146_LDADD) $(LIBS) 505 bug279698$(EXEEXT): $(bug279698_OBJECTS) $(bug279698_DEPENDENCIES) $(EXTRA_bug279698_DEPENDENCIES) 506 @rm -f bug279698$(EXEEXT) 507 $(LINK) $(bug279698_OBJECTS) $(bug279698_LDADD) $(LIBS) 508 fxsave-amd64$(EXEEXT): $(fxsave_amd64_OBJECTS) $(fxsave_amd64_DEPENDENCIES) $(EXTRA_fxsave_amd64_DEPENDENCIES) 509 @rm -f fxsave-amd64$(EXEEXT) 510 $(LINK) $(fxsave_amd64_OBJECTS) $(fxsave_amd64_LDADD) $(LIBS) 511 insn-bsfl$(EXEEXT): $(insn_bsfl_OBJECTS) $(insn_bsfl_DEPENDENCIES) $(EXTRA_insn_bsfl_DEPENDENCIES) 512 @rm -f insn-bsfl$(EXEEXT) 513 $(LINK) $(insn_bsfl_OBJECTS) $(insn_bsfl_LDADD) $(LIBS) 514 insn-pcmpistri$(EXEEXT): $(insn_pcmpistri_OBJECTS) $(insn_pcmpistri_DEPENDENCIES) $(EXTRA_insn_pcmpistri_DEPENDENCIES) 515 @rm -f insn-pcmpistri$(EXEEXT) 516 $(LINK) $(insn_pcmpistri_OBJECTS) $(insn_pcmpistri_LDADD) $(LIBS) 517 insn-pmovmskb$(EXEEXT): $(insn_pmovmskb_OBJECTS) $(insn_pmovmskb_DEPENDENCIES) $(EXTRA_insn_pmovmskb_DEPENDENCIES) 518 @rm -f insn-pmovmskb$(EXEEXT) 519 $(LINK) $(insn_pmovmskb_OBJECTS) $(insn_pmovmskb_LDADD) $(LIBS) 520 more_x87_fp$(EXEEXT): $(more_x87_fp_OBJECTS) $(more_x87_fp_DEPENDENCIES) $(EXTRA_more_x87_fp_DEPENDENCIES) 521 @rm -f more_x87_fp$(EXEEXT) 522 $(more_x87_fp_LINK) $(more_x87_fp_OBJECTS) $(more_x87_fp_LDADD) $(LIBS) 523 sh-mem-vec128$(EXEEXT): $(sh_mem_vec128_OBJECTS) $(sh_mem_vec128_DEPENDENCIES) $(EXTRA_sh_mem_vec128_DEPENDENCIES) 524 @rm -f sh-mem-vec128$(EXEEXT) 525 $(LINK) $(sh_mem_vec128_OBJECTS) $(sh_mem_vec128_LDADD) $(LIBS) 526 sh-mem-vec256$(EXEEXT): $(sh_mem_vec256_OBJECTS) $(sh_mem_vec256_DEPENDENCIES) $(EXTRA_sh_mem_vec256_DEPENDENCIES) 527 @rm -f sh-mem-vec256$(EXEEXT) 528 $(LINK) $(sh_mem_vec256_OBJECTS) $(sh_mem_vec256_LDADD) $(LIBS) 529 sse_memory$(EXEEXT): $(sse_memory_OBJECTS) $(sse_memory_DEPENDENCIES) $(EXTRA_sse_memory_DEPENDENCIES) 530 @rm -f sse_memory$(EXEEXT) 531 $(LINK) $(sse_memory_OBJECTS) $(sse_memory_LDADD) $(LIBS) 532 xor-undef-amd64$(EXEEXT): $(xor_undef_amd64_OBJECTS) $(xor_undef_amd64_DEPENDENCIES) $(EXTRA_xor_undef_amd64_DEPENDENCIES) 533 @rm -f xor-undef-amd64$(EXEEXT) 534 $(LINK) $(xor_undef_amd64_OBJECTS) $(xor_undef_amd64_LDADD) $(LIBS) 535 536 mostlyclean-compile: 537 -rm -f *.$(OBJEXT) 538 539 distclean-compile: 540 -rm -f *.tab.c 541 542 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bt_everything.Po@am__quote@ 543 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bug132146.Po@am__quote@ 544 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bug279698.Po@am__quote@ 545 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fxsave-amd64.Po@am__quote@ 546 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/insn-bsfl.Po@am__quote@ 547 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/insn-pcmpistri.Po@am__quote@ 548 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/insn-pmovmskb.Po@am__quote@ 549 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/more_x87_fp-more_x87_fp.Po@am__quote@ 550 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sh-mem-vec128.Po@am__quote@ 551 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sh-mem-vec256.Po@am__quote@ 552 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sse_memory.Po@am__quote@ 553 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xor-undef-amd64.Po@am__quote@ 554 555 .c.o: 556 @am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ 557 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ 558 @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po 559 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 560 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 561 @am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ $< 562 563 .c.obj: 564 @am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ 565 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ 566 @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po 567 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 568 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 569 @am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` 570 571 more_x87_fp-more_x87_fp.o: more_x87_fp.c 572 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(more_x87_fp_CFLAGS) $(CFLAGS) -MT more_x87_fp-more_x87_fp.o -MD -MP -MF $(DEPDIR)/more_x87_fp-more_x87_fp.Tpo -c -o more_x87_fp-more_x87_fp.o `test -f 'more_x87_fp.c' || echo '$(srcdir)/'`more_x87_fp.c 573 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/more_x87_fp-more_x87_fp.Tpo $(DEPDIR)/more_x87_fp-more_x87_fp.Po 574 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='more_x87_fp.c' object='more_x87_fp-more_x87_fp.o' libtool=no @AMDEPBACKSLASH@ 575 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 576 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(more_x87_fp_CFLAGS) $(CFLAGS) -c -o more_x87_fp-more_x87_fp.o `test -f 'more_x87_fp.c' || echo '$(srcdir)/'`more_x87_fp.c 577 578 more_x87_fp-more_x87_fp.obj: more_x87_fp.c 579 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(more_x87_fp_CFLAGS) $(CFLAGS) -MT more_x87_fp-more_x87_fp.obj -MD -MP -MF $(DEPDIR)/more_x87_fp-more_x87_fp.Tpo -c -o more_x87_fp-more_x87_fp.obj `if test -f 'more_x87_fp.c'; then $(CYGPATH_W) 'more_x87_fp.c'; else $(CYGPATH_W) '$(srcdir)/more_x87_fp.c'; fi` 580 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/more_x87_fp-more_x87_fp.Tpo $(DEPDIR)/more_x87_fp-more_x87_fp.Po 581 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='more_x87_fp.c' object='more_x87_fp-more_x87_fp.obj' libtool=no @AMDEPBACKSLASH@ 582 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 583 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(more_x87_fp_CFLAGS) $(CFLAGS) -c -o more_x87_fp-more_x87_fp.obj `if test -f 'more_x87_fp.c'; then $(CYGPATH_W) 'more_x87_fp.c'; else $(CYGPATH_W) '$(srcdir)/more_x87_fp.c'; fi` 584 585 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) 586 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 587 unique=`for i in $$list; do \ 588 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 589 done | \ 590 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 591 END { if (nonempty) { for (i in files) print i; }; }'`; \ 592 mkid -fID $$unique 593 tags: TAGS 594 595 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ 596 $(TAGS_FILES) $(LISP) 597 set x; \ 598 here=`pwd`; \ 599 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 600 unique=`for i in $$list; do \ 601 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 602 done | \ 603 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 604 END { if (nonempty) { for (i in files) print i; }; }'`; \ 605 shift; \ 606 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ 607 test -n "$$unique" || unique=$$empty_fix; \ 608 if test $$# -gt 0; then \ 609 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 610 "$$@" $$unique; \ 611 else \ 612 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 613 $$unique; \ 614 fi; \ 615 fi 616 ctags: CTAGS 617 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ 618 $(TAGS_FILES) $(LISP) 619 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 620 unique=`for i in $$list; do \ 621 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 622 done | \ 623 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 624 END { if (nonempty) { for (i in files) print i; }; }'`; \ 625 test -z "$(CTAGS_ARGS)$$unique" \ 626 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ 627 $$unique 628 629 GTAGS: 630 here=`$(am__cd) $(top_builddir) && pwd` \ 631 && $(am__cd) $(top_srcdir) \ 632 && gtags -i $(GTAGS_ARGS) "$$here" 633 634 distclean-tags: 635 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 636 637 distdir: $(DISTFILES) 638 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 639 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 640 list='$(DISTFILES)'; \ 641 dist_files=`for file in $$list; do echo $$file; done | \ 642 sed -e "s|^$$srcdirstrip/||;t" \ 643 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ 644 case $$dist_files in \ 645 */*) $(MKDIR_P) `echo "$$dist_files" | \ 646 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ 647 sort -u` ;; \ 648 esac; \ 649 for file in $$dist_files; do \ 650 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ 651 if test -d $$d/$$file; then \ 652 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ 653 if test -d "$(distdir)/$$file"; then \ 654 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ 655 fi; \ 656 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ 657 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ 658 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ 659 fi; \ 660 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ 661 else \ 662 test -f "$(distdir)/$$file" \ 663 || cp -p $$d/$$file "$(distdir)/$$file" \ 664 || exit 1; \ 665 fi; \ 666 done 667 check-am: all-am 668 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) 669 $(MAKE) $(AM_MAKEFLAGS) check-local 670 check: check-am 671 all-am: Makefile $(SCRIPTS) 672 installdirs: 673 install: install-am 674 install-exec: install-exec-am 675 install-data: install-data-am 676 uninstall: uninstall-am 677 678 install-am: all-am 679 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 680 681 installcheck: installcheck-am 682 install-strip: 683 if test -z '$(STRIP)'; then \ 684 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 685 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 686 install; \ 687 else \ 688 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 689 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 690 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ 691 fi 692 mostlyclean-generic: 693 694 clean-generic: 695 696 distclean-generic: 697 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) 698 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) 699 700 maintainer-clean-generic: 701 @echo "This command is intended for maintainers to use" 702 @echo "it deletes files that may require special tools to rebuild." 703 clean: clean-am 704 705 clean-am: clean-checkPROGRAMS clean-generic clean-local mostlyclean-am 706 707 distclean: distclean-am 708 -rm -rf ./$(DEPDIR) 709 -rm -f Makefile 710 distclean-am: clean-am distclean-compile distclean-generic \ 711 distclean-tags 712 713 dvi: dvi-am 714 715 dvi-am: 716 717 html: html-am 718 719 html-am: 720 721 info: info-am 722 723 info-am: 724 725 install-data-am: 726 727 install-dvi: install-dvi-am 728 729 install-dvi-am: 730 731 install-exec-am: 732 733 install-html: install-html-am 734 735 install-html-am: 736 737 install-info: install-info-am 738 739 install-info-am: 740 741 install-man: 742 743 install-pdf: install-pdf-am 744 745 install-pdf-am: 746 747 install-ps: install-ps-am 748 749 install-ps-am: 750 751 installcheck-am: 752 753 maintainer-clean: maintainer-clean-am 754 -rm -rf ./$(DEPDIR) 755 -rm -f Makefile 756 maintainer-clean-am: distclean-am maintainer-clean-generic 757 758 mostlyclean: mostlyclean-am 759 760 mostlyclean-am: mostlyclean-compile mostlyclean-generic 761 762 pdf: pdf-am 763 764 pdf-am: 765 766 ps: ps-am 767 768 ps-am: 769 770 uninstall-am: 771 772 .MAKE: check-am install-am install-strip 773 774 .PHONY: CTAGS GTAGS all all-am check check-am check-local clean \ 775 clean-checkPROGRAMS clean-generic clean-local ctags distclean \ 776 distclean-compile distclean-generic distclean-tags distdir dvi \ 777 dvi-am html html-am info info-am install install-am \ 778 install-data install-data-am install-dvi install-dvi-am \ 779 install-exec install-exec-am install-html install-html-am \ 780 install-info install-info-am install-man install-pdf \ 781 install-pdf-am install-ps install-ps-am install-strip \ 782 installcheck installcheck-am installdirs maintainer-clean \ 783 maintainer-clean-generic mostlyclean mostlyclean-compile \ 784 mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ 785 uninstall-am 786 787 788 # This used to be required when Vex had a handwritten Makefile. It 789 # shouldn't be needed any more, though. 790 791 #---------------------------------------------------------------------------- 792 # noinst_PROGRAMS and noinst_DSYMS targets 793 #---------------------------------------------------------------------------- 794 795 # On Darwin, for a program 'p', the DWARF debug info is stored in the 796 # directory 'p.dSYM'. This must be generated after the executable is 797 # created, with 'dsymutil p'. We could redefine LINK with a script that 798 # executes 'dsymutil' after linking, but that's a pain. Instead we use this 799 # hook so that every time "make check" is run, we subsequently invoke 800 # 'dsymutil' on all the executables that lack a .dSYM directory, or that are 801 # newer than their corresponding .dSYM directory. 802 build-noinst_DSYMS: $(noinst_DSYMS) 803 for f in $(noinst_DSYMS); do \ 804 if [ ! -e $$f.dSYM -o $$f -nt $$f.dSYM ] ; then \ 805 echo "dsymutil $$f"; \ 806 dsymutil $$f; \ 807 fi; \ 808 done 809 810 # This is used by coregrind/Makefile.am and Makefile.tool.am for doing 811 # "in-place" installs. It copies $(noinst_PROGRAMS) into $inplacedir. 812 # It needs to be depended on by an 'all-local' rule. 813 inplace-noinst_PROGRAMS: $(noinst_PROGRAMS) 814 mkdir -p $(inplacedir); \ 815 for f in $(noinst_PROGRAMS) ; do \ 816 rm -f $(inplacedir)/$$f; \ 817 ln -f -s ../$(subdir)/$$f $(inplacedir); \ 818 done 819 820 # Similar to inplace-noinst_PROGRAMS 821 inplace-noinst_DSYMS: build-noinst_DSYMS 822 mkdir -p $(inplacedir); \ 823 for f in $(noinst_DSYMS); do \ 824 rm -f $(inplacedir)/$$f.dSYM; \ 825 ln -f -s ../$(subdir)/$$f.dSYM $(inplacedir); \ 826 done 827 828 # This is used by coregrind/Makefile.am and by <tool>/Makefile.am for doing 829 # "make install". It copies $(noinst_PROGRAMS) into $prefix/lib/valgrind/. 830 # It needs to be depended on by an 'install-exec-local' rule. 831 install-noinst_PROGRAMS: $(noinst_PROGRAMS) 832 $(mkinstalldirs) $(DESTDIR)$(pkglibdir); \ 833 for f in $(noinst_PROGRAMS); do \ 834 $(INSTALL_PROGRAM) $$f $(DESTDIR)$(pkglibdir); \ 835 done 836 837 # Similar to install-noinst_PROGRAMS. 838 # Nb: we don't use $(INSTALL_PROGRAM) here because it doesn't work with 839 # directories. XXX: not sure whether the resulting permissions will be 840 # correct when using 'cp -R'... 841 install-noinst_DSYMS: build-noinst_DSYMS 842 $(mkinstalldirs) $(DESTDIR)$(pkglibdir); \ 843 for f in $(noinst_DSYMS); do \ 844 cp -R $$f.dSYM $(DESTDIR)$(pkglibdir); \ 845 done 846 847 # This needs to be depended on by a 'clean-local' rule. 848 clean-noinst_DSYMS: 849 for f in $(noinst_DSYMS); do \ 850 rm -rf $$f.dSYM; \ 851 done 852 853 check-local: build-noinst_DSYMS 854 855 clean-local: clean-noinst_DSYMS 856 857 # Tell versions [3.59,3.63) of GNU make to not export all variables. 858 # Otherwise a system limit (for SysV at least) may be exceeded. 859 .NOEXPORT: 860