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