1# Makefile.in generated by automake 1.11.1 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 Free Software Foundation, 6# 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@VGCONF_ARCHS_INCLUDE_X86_TRUE@am__append_3 = x86 58check_PROGRAMS = chdir$(EXEEXT) clreq$(EXEEXT) dlclose$(EXEEXT) \ 59 myprint.so$(EXEEXT) 60subdir = cachegrind/tests 61ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 62am__aclocal_m4_deps = $(top_srcdir)/configure.in 63am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 64 $(ACLOCAL_M4) 65mkinstalldirs = $(install_sh) -d 66CONFIG_HEADER = $(top_builddir)/config.h 67CONFIG_CLEAN_FILES = 68CONFIG_CLEAN_VPATH_FILES = 69chdir_SOURCES = chdir.c 70chdir_OBJECTS = chdir.$(OBJEXT) 71chdir_LDADD = $(LDADD) 72clreq_SOURCES = clreq.c 73clreq_OBJECTS = clreq.$(OBJEXT) 74clreq_LDADD = $(LDADD) 75dlclose_SOURCES = dlclose.c 76dlclose_OBJECTS = dlclose.$(OBJEXT) 77dlclose_DEPENDENCIES = 78myprint_so_SOURCES = myprint.c 79myprint_so_OBJECTS = myprint_so-myprint.$(OBJEXT) 80myprint_so_LDADD = $(LDADD) 81myprint_so_LINK = $(CCLD) $(myprint_so_CFLAGS) $(CFLAGS) \ 82 $(myprint_so_LDFLAGS) $(LDFLAGS) -o $@ 83SCRIPTS = $(dist_noinst_SCRIPTS) 84DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) 85depcomp = $(SHELL) $(top_srcdir)/depcomp 86am__depfiles_maybe = depfiles 87am__mv = mv -f 88COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ 89 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 90CCLD = $(CC) 91LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ 92SOURCES = chdir.c clreq.c dlclose.c myprint.c 93DIST_SOURCES = chdir.c clreq.c dlclose.c myprint.c 94RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ 95 html-recursive info-recursive install-data-recursive \ 96 install-dvi-recursive install-exec-recursive \ 97 install-html-recursive install-info-recursive \ 98 install-pdf-recursive install-ps-recursive install-recursive \ 99 installcheck-recursive installdirs-recursive pdf-recursive \ 100 ps-recursive uninstall-recursive 101RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ 102 distclean-recursive maintainer-clean-recursive 103AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ 104 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ 105 distdir 106ETAGS = etags 107CTAGS = ctags 108DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 109am__relativize = \ 110 dir0=`pwd`; \ 111 sed_first='s,^\([^/]*\)/.*$$,\1,'; \ 112 sed_rest='s,^[^/]*/*,,'; \ 113 sed_last='s,^.*/\([^/]*\)$$,\1,'; \ 114 sed_butlast='s,/*[^/]*$$,,'; \ 115 while test -n "$$dir1"; do \ 116 first=`echo "$$dir1" | sed -e "$$sed_first"`; \ 117 if test "$$first" != "."; then \ 118 if test "$$first" = ".."; then \ 119 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ 120 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ 121 else \ 122 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ 123 if test "$$first2" = "$$first"; then \ 124 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ 125 else \ 126 dir2="../$$dir2"; \ 127 fi; \ 128 dir0="$$dir0"/"$$first"; \ 129 fi; \ 130 fi; \ 131 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ 132 done; \ 133 reldir="$$dir2" 134ACLOCAL = @ACLOCAL@ 135AMTAR = @AMTAR@ 136AR = @AR@ 137AUTOCONF = @AUTOCONF@ 138AUTOHEADER = @AUTOHEADER@ 139AUTOMAKE = @AUTOMAKE@ 140AWK = @AWK@ 141BOOST_CFLAGS = @BOOST_CFLAGS@ 142BOOST_LIBS = @BOOST_LIBS@ 143CC = @CC@ 144CCAS = @CCAS@ 145CCASDEPMODE = @CCASDEPMODE@ 146CCASFLAGS = @CCASFLAGS@ 147CCDEPMODE = @CCDEPMODE@ 148CFLAGS = @CFLAGS@ 149CFLAGS_MPI = @CFLAGS_MPI@ 150CPP = @CPP@ 151CPPFLAGS = @CPPFLAGS@ 152CXX = @CXX@ 153CXXDEPMODE = @CXXDEPMODE@ 154CXXFLAGS = @CXXFLAGS@ 155CYGPATH_W = @CYGPATH_W@ 156DEFAULT_SUPP = @DEFAULT_SUPP@ 157DEFS = @DEFS@ 158DEPDIR = @DEPDIR@ 159DIFF = @DIFF@ 160ECHO_C = @ECHO_C@ 161ECHO_N = @ECHO_N@ 162ECHO_T = @ECHO_T@ 163EGREP = @EGREP@ 164EXEEXT = @EXEEXT@ 165FLAG_FNO_STACK_PROTECTOR = @FLAG_FNO_STACK_PROTECTOR@ 166FLAG_M32 = @FLAG_M32@ 167FLAG_M64 = @FLAG_M64@ 168FLAG_MMMX = @FLAG_MMMX@ 169FLAG_MSSE = @FLAG_MSSE@ 170FLAG_NO_BUILD_ID = @FLAG_NO_BUILD_ID@ 171FLAG_UNLIMITED_INLINE_UNIT_GROWTH = @FLAG_UNLIMITED_INLINE_UNIT_GROWTH@ 172FLAG_W_EXTRA = @FLAG_W_EXTRA@ 173FLAG_W_NO_EMPTY_BODY = @FLAG_W_NO_EMPTY_BODY@ 174FLAG_W_NO_FORMAT_ZERO_LENGTH = @FLAG_W_NO_FORMAT_ZERO_LENGTH@ 175FLAG_W_NO_NONNULL = @FLAG_W_NO_NONNULL@ 176FLAG_W_NO_OVERFLOW = @FLAG_W_NO_OVERFLOW@ 177FLAG_W_NO_UNINITIALIZED = @FLAG_W_NO_UNINITIALIZED@ 178GDB = @GDB@ 179GLIBC_VERSION = @GLIBC_VERSION@ 180GREP = @GREP@ 181INSTALL = @INSTALL@ 182INSTALL_DATA = @INSTALL_DATA@ 183INSTALL_PROGRAM = @INSTALL_PROGRAM@ 184INSTALL_SCRIPT = @INSTALL_SCRIPT@ 185INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ 186LDFLAGS = @LDFLAGS@ 187LDFLAGS_MPI = @LDFLAGS_MPI@ 188LIBOBJS = @LIBOBJS@ 189LIBS = @LIBS@ 190LN_S = @LN_S@ 191LTLIBOBJS = @LTLIBOBJS@ 192MAINT = @MAINT@ 193MAKEINFO = @MAKEINFO@ 194MKDIR_P = @MKDIR_P@ 195MPI_CC = @MPI_CC@ 196OBJEXT = @OBJEXT@ 197PACKAGE = @PACKAGE@ 198PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ 199PACKAGE_NAME = @PACKAGE_NAME@ 200PACKAGE_STRING = @PACKAGE_STRING@ 201PACKAGE_TARNAME = @PACKAGE_TARNAME@ 202PACKAGE_URL = @PACKAGE_URL@ 203PACKAGE_VERSION = @PACKAGE_VERSION@ 204PATH_SEPARATOR = @PATH_SEPARATOR@ 205PERL = @PERL@ 206PREFERRED_STACK_BOUNDARY = @PREFERRED_STACK_BOUNDARY@ 207RANLIB = @RANLIB@ 208SED = @SED@ 209SET_MAKE = @SET_MAKE@ 210SHELL = @SHELL@ 211STRIP = @STRIP@ 212VALT_LOAD_ADDRESS_PRI = @VALT_LOAD_ADDRESS_PRI@ 213VALT_LOAD_ADDRESS_SEC = @VALT_LOAD_ADDRESS_SEC@ 214VERSION = @VERSION@ 215VGCONF_ARCH_PRI = @VGCONF_ARCH_PRI@ 216VGCONF_ARCH_SEC = @VGCONF_ARCH_SEC@ 217VGCONF_OS = @VGCONF_OS@ 218VGCONF_PLATFORM_PRI_CAPS = @VGCONF_PLATFORM_PRI_CAPS@ 219VGCONF_PLATFORM_SEC_CAPS = @VGCONF_PLATFORM_SEC_CAPS@ 220VGCONF_PLATVARIANT = @VGCONF_PLATVARIANT@ 221abs_builddir = @abs_builddir@ 222abs_srcdir = @abs_srcdir@ 223abs_top_builddir = @abs_top_builddir@ 224abs_top_srcdir = @abs_top_srcdir@ 225ac_ct_CC = @ac_ct_CC@ 226ac_ct_CXX = @ac_ct_CXX@ 227am__include = @am__include@ 228am__leading_dot = @am__leading_dot@ 229am__quote = @am__quote@ 230am__tar = @am__tar@ 231am__untar = @am__untar@ 232bindir = @bindir@ 233build = @build@ 234build_alias = @build_alias@ 235build_cpu = @build_cpu@ 236build_os = @build_os@ 237build_vendor = @build_vendor@ 238builddir = @builddir@ 239datadir = @datadir@ 240datarootdir = @datarootdir@ 241docdir = @docdir@ 242dvidir = @dvidir@ 243exec_prefix = @exec_prefix@ 244host = @host@ 245host_alias = @host_alias@ 246host_cpu = @host_cpu@ 247host_os = @host_os@ 248host_vendor = @host_vendor@ 249htmldir = @htmldir@ 250includedir = @includedir@ 251infodir = @infodir@ 252install_sh = @install_sh@ 253libdir = @libdir@ 254libexecdir = @libexecdir@ 255localedir = @localedir@ 256localstatedir = @localstatedir@ 257mandir = @mandir@ 258mkdir_p = @mkdir_p@ 259oldincludedir = @oldincludedir@ 260pdfdir = @pdfdir@ 261prefix = @prefix@ 262program_transform_name = @program_transform_name@ 263psdir = @psdir@ 264sbindir = @sbindir@ 265sharedstatedir = @sharedstatedir@ 266srcdir = @srcdir@ 267sysconfdir = @sysconfdir@ 268target_alias = @target_alias@ 269top_build_prefix = @top_build_prefix@ 270top_builddir = @top_builddir@ 271top_srcdir = @top_srcdir@ 272inplacedir = $(top_builddir)/.in_place 273 274#---------------------------------------------------------------------------- 275# Flags 276#---------------------------------------------------------------------------- 277 278# Baseline flags for all compilations. Aim here is to maximise 279# performance and get whatever useful warnings we can out of gcc. 280# -fno-builtin is important for defeating LLVM's idiom recognition 281# that somehow causes VG_(memset) to get into infinite recursion. 282AM_CFLAGS_BASE = \ 283 -O2 -g \ 284 -Wall \ 285 -Wmissing-prototypes \ 286 -Wshadow \ 287 -Wpointer-arith \ 288 -Wstrict-prototypes \ 289 -Wmissing-declarations \ 290 @FLAG_W_NO_FORMAT_ZERO_LENGTH@ \ 291 -fno-strict-aliasing \ 292 -fno-builtin 293 294@VGCONF_OS_IS_DARWIN_FALSE@AM_CFLAGS_PIC = -fpic -O -g -fno-omit-frame-pointer -fno-strict-aliasing \ 295@VGCONF_OS_IS_DARWIN_FALSE@ -fno-builtin 296 297 298# These flags are used for building the preload shared objects. 299# The aim is to give reasonable performance but also to have good 300# stack traces, since users often see stack traces extending 301# into (and through) the preloads. 302@VGCONF_OS_IS_DARWIN_TRUE@AM_CFLAGS_PIC = -dynamic -O -g -fno-omit-frame-pointer -fno-strict-aliasing \ 303@VGCONF_OS_IS_DARWIN_TRUE@ -mno-dynamic-no-pic -fpic -fPIC \ 304@VGCONF_OS_IS_DARWIN_TRUE@ -fno-builtin 305 306 307# Flags for specific targets. 308# 309# Nb: the AM_CPPFLAGS_* values are suitable for building tools and auxprogs. 310# For building the core, coregrind/Makefile.am files add some extra things. 311AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@ = \ 312 -I$(top_srcdir) \ 313 -I$(top_srcdir)/include \ 314 -I$(top_srcdir)/VEX/pub \ 315 -DVGA_@VGCONF_ARCH_PRI@=1 \ 316 -DVGO_@VGCONF_OS@=1 \ 317 -DVGP_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1 \ 318 -DVGPV_@VGCONF_ARCH_PRI@_@VGCONF_OS@_@VGCONF_PLATVARIANT@=1 319 320@VGCONF_HAVE_PLATFORM_SEC_TRUE@AM_CPPFLAGS_@VGCONF_PLATFORM_SEC_CAPS@ = \ 321@VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_srcdir) \ 322@VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_srcdir)/include \ 323@VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_srcdir)/VEX/pub \ 324@VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGA_@VGCONF_ARCH_SEC@=1 \ 325@VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGO_@VGCONF_OS@=1 \ 326@VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGP_@VGCONF_ARCH_SEC@_@VGCONF_OS@=1 \ 327@VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGPV_@VGCONF_ARCH_SEC@_@VGCONF_OS@_@VGCONF_PLATVARIANT@=1 328 329AM_FLAG_M3264_X86_LINUX = @FLAG_M32@ 330AM_CFLAGS_X86_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \ 331 $(AM_CFLAGS_BASE) -fomit-frame-pointer 332 333AM_CCASFLAGS_X86_LINUX = @FLAG_M32@ -g 334AM_FLAG_M3264_AMD64_LINUX = @FLAG_M64@ 335AM_CFLAGS_AMD64_LINUX = @FLAG_M64@ @PREFERRED_STACK_BOUNDARY@ \ 336 $(AM_CFLAGS_BASE) -fomit-frame-pointer 337 338AM_CCASFLAGS_AMD64_LINUX = @FLAG_M64@ -g 339AM_FLAG_M3264_PPC32_LINUX = @FLAG_M32@ 340AM_CFLAGS_PPC32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) 341AM_CCASFLAGS_PPC32_LINUX = @FLAG_M32@ -g 342AM_FLAG_M3264_PPC64_LINUX = @FLAG_M64@ 343AM_CFLAGS_PPC64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) 344AM_CCASFLAGS_PPC64_LINUX = @FLAG_M64@ -g 345AM_FLAG_M3264_ARM_LINUX = @FLAG_M32@ 346AM_CFLAGS_ARM_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \ 347 $(AM_CFLAGS_BASE) -marm -mcpu=cortex-a8 348 349AM_CCASFLAGS_ARM_LINUX = @FLAG_M32@ \ 350 -marm -mcpu=cortex-a8 -g 351 352AM_FLAG_M3264_X86_DARWIN = -arch i386 353AM_CFLAGS_X86_DARWIN = $(WERROR) -arch i386 $(AM_CFLAGS_BASE) \ 354 -mmacosx-version-min=10.5 \ 355 -fno-stack-protector -fno-pic -fno-PIC 356 357AM_CCASFLAGS_X86_DARWIN = -arch i386 -g 358AM_FLAG_M3264_AMD64_DARWIN = -arch x86_64 359AM_CFLAGS_AMD64_DARWIN = $(WERROR) -arch x86_64 $(AM_CFLAGS_BASE) \ 360 -mmacosx-version-min=10.5 -fno-stack-protector 361 362AM_CCASFLAGS_AMD64_DARWIN = -arch x86_64 -g 363AM_FLAG_M3264_S390X_LINUX = @FLAG_M64@ 364AM_CFLAGS_S390X_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) -fomit-frame-pointer 365AM_CCASFLAGS_S390X_LINUX = @FLAG_M64@ -g -mzarch -march=z900 366AM_FLAG_M3264_MIPS32_LINUX = @FLAG_M32@ 367AM_CFLAGS_MIPS32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) -mips32 368AM_CCASFLAGS_MIPS32_LINUX = @FLAG_M32@ -mips32 -g 369 370# Flags for the primary target. These must be used to build the 371# regtests and performance tests. In fact, these must be used to 372# build anything which is built only once on a dual-arch build. 373# 374AM_FLAG_M3264_PRI = $(AM_FLAG_M3264_@VGCONF_PLATFORM_PRI_CAPS@) 375AM_CPPFLAGS_PRI = $(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) 376AM_CFLAGS_PRI = $(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) 377AM_CCASFLAGS_PRI = $(AM_CCASFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) 378@VGCONF_HAVE_PLATFORM_SEC_FALSE@AM_FLAG_M3264_SEC = 379@VGCONF_HAVE_PLATFORM_SEC_TRUE@AM_FLAG_M3264_SEC = $(AM_FLAG_M3264_@VGCONF_PLATFORM_SEC_CAPS@) 380 381# Baseline link flags for making vgpreload shared objects. 382# 383PRELOAD_LDFLAGS_COMMON_LINUX = -nodefaultlibs -shared \ 384 -Wl,-z,interpose,-z,initfirst $(am__append_1) 385PRELOAD_LDFLAGS_COMMON_DARWIN = -dynamic -dynamiclib -all_load 386PRELOAD_LDFLAGS_X86_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@ 387PRELOAD_LDFLAGS_AMD64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ 388PRELOAD_LDFLAGS_PPC32_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@ 389PRELOAD_LDFLAGS_PPC64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ 390PRELOAD_LDFLAGS_ARM_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@ 391PRELOAD_LDFLAGS_X86_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch i386 392PRELOAD_LDFLAGS_AMD64_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch x86_64 393PRELOAD_LDFLAGS_S390X_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ 394PRELOAD_LDFLAGS_MIPS32_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@ 395AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ 396 -I$(top_srcdir)/coregrind -I$(top_builddir)/include \ 397 -I$(top_srcdir)/VEX/pub -DVGA_@VGCONF_ARCH_PRI@=1 \ 398 -DVGO_@VGCONF_OS@=1 -DVGP_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1 \ 399 -DVGPV_@VGCONF_ARCH_PRI@_@VGCONF_OS@_@VGCONF_PLATVARIANT@=1 \ 400 $(am__append_2) 401 402# Nb: Tools need to augment these flags with an arch-selection option, such 403# as $(AM_FLAG_M3264_PRI). 404AM_CFLAGS = -Winline -Wall -Wshadow -g $(AM_FLAG_M3264_PRI) 405AM_CXXFLAGS = -Winline -Wall -Wshadow -g $(AM_FLAG_M3264_PRI) 406# Include AM_CPPFLAGS in AM_CCASFLAGS to allow for older versions of 407# automake; see comments in Makefile.all.am for more detail. 408AM_CCASFLAGS = $(AM_CPPFLAGS) 409@VGCONF_OS_IS_DARWIN_TRUE@noinst_DSYMS = $(check_PROGRAMS) 410SUBDIRS = . $(am__append_3) 411DIST_SUBDIRS = x86 . 412dist_noinst_SCRIPTS = filter_stderr filter_cachesim_discards 413EXTRA_DIST = \ 414 chdir.vgtest chdir.stderr.exp \ 415 clreq.vgtest clreq.stderr.exp \ 416 dlclose.vgtest dlclose.stderr.exp dlclose.stdout.exp \ 417 notpower2.vgtest notpower2.stderr.exp \ 418 wrap5.vgtest wrap5.stderr.exp wrap5.stdout.exp 419 420 421# C ones 422dlclose_LDADD = -ldl 423@VGCONF_OS_IS_DARWIN_FALSE@myprint_so_LDFLAGS = $(AM_CFLAGS) -shared -fPIC 424@VGCONF_OS_IS_DARWIN_TRUE@myprint_so_LDFLAGS = $(AM_CFLAGS) -dynamic -dynamiclib -all_load -fpic 425myprint_so_CFLAGS = $(AM_CFLAGS) -fPIC 426all: all-recursive 427 428.SUFFIXES: 429.SUFFIXES: .c .o .obj 430$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.tool-tests.am $(top_srcdir)/Makefile.all.am $(am__configure_deps) 431 @for dep in $?; do \ 432 case '$(am__configure_deps)' in \ 433 *$$dep*) \ 434 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ 435 && { if test -f $@; then exit 0; else break; fi; }; \ 436 exit 1;; \ 437 esac; \ 438 done; \ 439 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign cachegrind/tests/Makefile'; \ 440 $(am__cd) $(top_srcdir) && \ 441 $(AUTOMAKE) --foreign cachegrind/tests/Makefile 442.PRECIOUS: Makefile 443Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 444 @case '$?' in \ 445 *config.status*) \ 446 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ 447 *) \ 448 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ 449 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ 450 esac; 451 452$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 453 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 454 455$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 456 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 457$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) 458 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 459$(am__aclocal_m4_deps): 460 461clean-checkPROGRAMS: 462 -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS) 463chdir$(EXEEXT): $(chdir_OBJECTS) $(chdir_DEPENDENCIES) 464 @rm -f chdir$(EXEEXT) 465 $(LINK) $(chdir_OBJECTS) $(chdir_LDADD) $(LIBS) 466clreq$(EXEEXT): $(clreq_OBJECTS) $(clreq_DEPENDENCIES) 467 @rm -f clreq$(EXEEXT) 468 $(LINK) $(clreq_OBJECTS) $(clreq_LDADD) $(LIBS) 469dlclose$(EXEEXT): $(dlclose_OBJECTS) $(dlclose_DEPENDENCIES) 470 @rm -f dlclose$(EXEEXT) 471 $(LINK) $(dlclose_OBJECTS) $(dlclose_LDADD) $(LIBS) 472myprint.so$(EXEEXT): $(myprint_so_OBJECTS) $(myprint_so_DEPENDENCIES) 473 @rm -f myprint.so$(EXEEXT) 474 $(myprint_so_LINK) $(myprint_so_OBJECTS) $(myprint_so_LDADD) $(LIBS) 475 476mostlyclean-compile: 477 -rm -f *.$(OBJEXT) 478 479distclean-compile: 480 -rm -f *.tab.c 481 482@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chdir.Po@am__quote@ 483@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/clreq.Po@am__quote@ 484@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dlclose.Po@am__quote@ 485@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/myprint_so-myprint.Po@am__quote@ 486 487.c.o: 488@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< 489@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po 490@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 491@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 492@am__fastdepCC_FALSE@ $(COMPILE) -c $< 493 494.c.obj: 495@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` 496@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po 497@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 498@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 499@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` 500 501myprint_so-myprint.o: myprint.c 502@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(myprint_so_CFLAGS) $(CFLAGS) -MT myprint_so-myprint.o -MD -MP -MF $(DEPDIR)/myprint_so-myprint.Tpo -c -o myprint_so-myprint.o `test -f 'myprint.c' || echo '$(srcdir)/'`myprint.c 503@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/myprint_so-myprint.Tpo $(DEPDIR)/myprint_so-myprint.Po 504@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='myprint.c' object='myprint_so-myprint.o' libtool=no @AMDEPBACKSLASH@ 505@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 506@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(myprint_so_CFLAGS) $(CFLAGS) -c -o myprint_so-myprint.o `test -f 'myprint.c' || echo '$(srcdir)/'`myprint.c 507 508myprint_so-myprint.obj: myprint.c 509@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(myprint_so_CFLAGS) $(CFLAGS) -MT myprint_so-myprint.obj -MD -MP -MF $(DEPDIR)/myprint_so-myprint.Tpo -c -o myprint_so-myprint.obj `if test -f 'myprint.c'; then $(CYGPATH_W) 'myprint.c'; else $(CYGPATH_W) '$(srcdir)/myprint.c'; fi` 510@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/myprint_so-myprint.Tpo $(DEPDIR)/myprint_so-myprint.Po 511@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='myprint.c' object='myprint_so-myprint.obj' libtool=no @AMDEPBACKSLASH@ 512@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 513@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(myprint_so_CFLAGS) $(CFLAGS) -c -o myprint_so-myprint.obj `if test -f 'myprint.c'; then $(CYGPATH_W) 'myprint.c'; else $(CYGPATH_W) '$(srcdir)/myprint.c'; fi` 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 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 726 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 727 `test -z '$(STRIP)' || \ 728 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install 729mostlyclean-generic: 730 731clean-generic: 732 733distclean-generic: 734 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) 735 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) 736 737maintainer-clean-generic: 738 @echo "This command is intended for maintainers to use" 739 @echo "it deletes files that may require special tools to rebuild." 740clean: clean-recursive 741 742clean-am: clean-checkPROGRAMS clean-generic clean-local mostlyclean-am 743 744distclean: distclean-recursive 745 -rm -rf ./$(DEPDIR) 746 -rm -f Makefile 747distclean-am: clean-am distclean-compile distclean-generic \ 748 distclean-tags 749 750dvi: dvi-recursive 751 752dvi-am: 753 754html: html-recursive 755 756html-am: 757 758info: info-recursive 759 760info-am: 761 762install-data-am: 763 764install-dvi: install-dvi-recursive 765 766install-dvi-am: 767 768install-exec-am: 769 770install-html: install-html-recursive 771 772install-html-am: 773 774install-info: install-info-recursive 775 776install-info-am: 777 778install-man: 779 780install-pdf: install-pdf-recursive 781 782install-pdf-am: 783 784install-ps: install-ps-recursive 785 786install-ps-am: 787 788installcheck-am: 789 790maintainer-clean: maintainer-clean-recursive 791 -rm -rf ./$(DEPDIR) 792 -rm -f Makefile 793maintainer-clean-am: distclean-am maintainer-clean-generic 794 795mostlyclean: mostlyclean-recursive 796 797mostlyclean-am: mostlyclean-compile mostlyclean-generic 798 799pdf: pdf-recursive 800 801pdf-am: 802 803ps: ps-recursive 804 805ps-am: 806 807uninstall-am: 808 809.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) check-am \ 810 ctags-recursive install-am install-strip tags-recursive 811 812.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ 813 all all-am check check-am check-local clean \ 814 clean-checkPROGRAMS clean-generic clean-local ctags \ 815 ctags-recursive distclean distclean-compile distclean-generic \ 816 distclean-tags distdir dvi dvi-am html html-am info info-am \ 817 install install-am install-data install-data-am install-dvi \ 818 install-dvi-am install-exec install-exec-am install-html \ 819 install-html-am install-info install-info-am install-man \ 820 install-pdf install-pdf-am install-ps install-ps-am \ 821 install-strip installcheck installcheck-am installdirs \ 822 installdirs-am maintainer-clean maintainer-clean-generic \ 823 mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \ 824 ps ps-am tags tags-recursive uninstall uninstall-am 825 826 827# This used to be required when Vex had a handwritten Makefile. It 828# shouldn't be needed any more, though. 829 830#---------------------------------------------------------------------------- 831# noinst_PROGRAMS and noinst_DSYMS targets 832#---------------------------------------------------------------------------- 833 834# On Darwin, for a program 'p', the DWARF debug info is stored in the 835# directory 'p.dSYM'. This must be generated after the executable is 836# created, with 'dsymutil p'. We could redefine LINK with a script that 837# executes 'dsymutil' after linking, but that's a pain. Instead we use this 838# hook so that every time "make check" is run, we subsequently invoke 839# 'dsymutil' on all the executables that lack a .dSYM directory, or that are 840# newer than their corresponding .dSYM directory. 841build-noinst_DSYMS: $(noinst_DSYMS) 842 for f in $(noinst_DSYMS); do \ 843 if [ ! -e $$f.dSYM -o $$f -nt $$f.dSYM ] ; then \ 844 echo "dsymutil $$f"; \ 845 dsymutil $$f; \ 846 fi; \ 847 done 848 849# This is used by coregrind/Makefile.am and Makefile.tool.am for doing 850# "in-place" installs. It copies $(noinst_PROGRAMS) into $inplacedir. 851# It needs to be depended on by an 'all-local' rule. 852inplace-noinst_PROGRAMS: $(noinst_PROGRAMS) 853 mkdir -p $(inplacedir); \ 854 for f in $(noinst_PROGRAMS) ; do \ 855 rm -f $(inplacedir)/$$f; \ 856 ln -f -s ../$(subdir)/$$f $(inplacedir); \ 857 done 858 859# Similar to inplace-noinst_PROGRAMS 860inplace-noinst_DSYMS: build-noinst_DSYMS 861 mkdir -p $(inplacedir); \ 862 for f in $(noinst_DSYMS); do \ 863 rm -f $(inplacedir)/$$f.dSYM; \ 864 ln -f -s ../$(subdir)/$$f.dSYM $(inplacedir); \ 865 done 866 867# This is used by coregrind/Makefile.am and by <tool>/Makefile.am for doing 868# "make install". It copies $(noinst_PROGRAMS) into $prefix/lib/valgrind/. 869# It needs to be depended on by an 'install-exec-local' rule. 870install-noinst_PROGRAMS: $(noinst_PROGRAMS) 871 $(mkinstalldirs) $(DESTDIR)$(pkglibdir); \ 872 for f in $(noinst_PROGRAMS); do \ 873 $(INSTALL_PROGRAM) $$f $(DESTDIR)$(pkglibdir); \ 874 done 875 876# Similar to install-noinst_PROGRAMS. 877# Nb: we don't use $(INSTALL_PROGRAM) here because it doesn't work with 878# directories. XXX: not sure whether the resulting permissions will be 879# correct when using 'cp -R'... 880install-noinst_DSYMS: build-noinst_DSYMS 881 $(mkinstalldirs) $(DESTDIR)$(pkglibdir); \ 882 for f in $(noinst_DSYMS); do \ 883 cp -R $$f.dSYM $(DESTDIR)$(pkglibdir); \ 884 done 885 886# This needs to be depended on by a 'clean-local' rule. 887clean-noinst_DSYMS: 888 for f in $(noinst_DSYMS); do \ 889 rm -rf $$f.dSYM; \ 890 done 891 892check-local: build-noinst_DSYMS 893 894clean-local: clean-noinst_DSYMS 895 896# Tell versions [3.59,3.63) of GNU make to not export all variables. 897# Otherwise a system limit (for SysV at least) may be exceeded. 898.NOEXPORT: 899