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