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