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 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 @VGCONF_ARCHS_INCLUDE_X86_TRUE@am__append_3 = x86 58 check_PROGRAMS = chdir$(EXEEXT) clreq$(EXEEXT) dlclose$(EXEEXT) \ 59 myprint.so$(EXEEXT) 60 subdir = cachegrind/tests 61 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 62 am__aclocal_m4_deps = $(top_srcdir)/configure.in 63 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 64 $(ACLOCAL_M4) 65 mkinstalldirs = $(install_sh) -d 66 CONFIG_HEADER = $(top_builddir)/config.h 67 CONFIG_CLEAN_FILES = 68 CONFIG_CLEAN_VPATH_FILES = 69 chdir_SOURCES = chdir.c 70 chdir_OBJECTS = chdir.$(OBJEXT) 71 chdir_LDADD = $(LDADD) 72 clreq_SOURCES = clreq.c 73 clreq_OBJECTS = clreq.$(OBJEXT) 74 clreq_LDADD = $(LDADD) 75 dlclose_SOURCES = dlclose.c 76 dlclose_OBJECTS = dlclose.$(OBJEXT) 77 dlclose_DEPENDENCIES = 78 myprint_so_SOURCES = myprint.c 79 myprint_so_OBJECTS = myprint_so-myprint.$(OBJEXT) 80 myprint_so_LDADD = $(LDADD) 81 myprint_so_LINK = $(CCLD) $(myprint_so_CFLAGS) $(CFLAGS) \ 82 $(myprint_so_LDFLAGS) $(LDFLAGS) -o $@ 83 SCRIPTS = $(dist_noinst_SCRIPTS) 84 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) 85 depcomp = $(SHELL) $(top_srcdir)/depcomp 86 am__depfiles_maybe = depfiles 87 am__mv = mv -f 88 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ 89 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 90 CCLD = $(CC) 91 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ 92 SOURCES = chdir.c clreq.c dlclose.c myprint.c 93 DIST_SOURCES = chdir.c clreq.c dlclose.c myprint.c 94 RECURSIVE_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 101 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ 102 distclean-recursive maintainer-clean-recursive 103 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ 104 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ 105 distdir 106 ETAGS = etags 107 CTAGS = ctags 108 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 109 am__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" 134 ACLOCAL = @ACLOCAL@ 135 AMTAR = @AMTAR@ 136 AR = @AR@ 137 AUTOCONF = @AUTOCONF@ 138 AUTOHEADER = @AUTOHEADER@ 139 AUTOMAKE = @AUTOMAKE@ 140 AWK = @AWK@ 141 BOOST_CFLAGS = @BOOST_CFLAGS@ 142 BOOST_LIBS = @BOOST_LIBS@ 143 CC = @CC@ 144 CCAS = @CCAS@ 145 CCASDEPMODE = @CCASDEPMODE@ 146 CCASFLAGS = @CCASFLAGS@ 147 CCDEPMODE = @CCDEPMODE@ 148 CFLAGS = @CFLAGS@ 149 CFLAGS_MPI = @CFLAGS_MPI@ 150 CPP = @CPP@ 151 CPPFLAGS = @CPPFLAGS@ 152 CXX = @CXX@ 153 CXXDEPMODE = @CXXDEPMODE@ 154 CXXFLAGS = @CXXFLAGS@ 155 CYGPATH_W = @CYGPATH_W@ 156 DEFAULT_SUPP = @DEFAULT_SUPP@ 157 DEFS = @DEFS@ 158 DEPDIR = @DEPDIR@ 159 DIFF = @DIFF@ 160 ECHO_C = @ECHO_C@ 161 ECHO_N = @ECHO_N@ 162 ECHO_T = @ECHO_T@ 163 EGREP = @EGREP@ 164 EXEEXT = @EXEEXT@ 165 FLAG_FNO_STACK_PROTECTOR = @FLAG_FNO_STACK_PROTECTOR@ 166 FLAG_M32 = @FLAG_M32@ 167 FLAG_M64 = @FLAG_M64@ 168 FLAG_MMMX = @FLAG_MMMX@ 169 FLAG_MSSE = @FLAG_MSSE@ 170 FLAG_NO_BUILD_ID = @FLAG_NO_BUILD_ID@ 171 FLAG_UNLIMITED_INLINE_UNIT_GROWTH = @FLAG_UNLIMITED_INLINE_UNIT_GROWTH@ 172 FLAG_W_EXTRA = @FLAG_W_EXTRA@ 173 FLAG_W_NO_EMPTY_BODY = @FLAG_W_NO_EMPTY_BODY@ 174 FLAG_W_NO_FORMAT_ZERO_LENGTH = @FLAG_W_NO_FORMAT_ZERO_LENGTH@ 175 FLAG_W_NO_NONNULL = @FLAG_W_NO_NONNULL@ 176 FLAG_W_NO_OVERFLOW = @FLAG_W_NO_OVERFLOW@ 177 FLAG_W_NO_UNINITIALIZED = @FLAG_W_NO_UNINITIALIZED@ 178 GDB = @GDB@ 179 GLIBC_VERSION = @GLIBC_VERSION@ 180 GREP = @GREP@ 181 INSTALL = @INSTALL@ 182 INSTALL_DATA = @INSTALL_DATA@ 183 INSTALL_PROGRAM = @INSTALL_PROGRAM@ 184 INSTALL_SCRIPT = @INSTALL_SCRIPT@ 185 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ 186 LDFLAGS = @LDFLAGS@ 187 LDFLAGS_MPI = @LDFLAGS_MPI@ 188 LIBOBJS = @LIBOBJS@ 189 LIBS = @LIBS@ 190 LN_S = @LN_S@ 191 LTLIBOBJS = @LTLIBOBJS@ 192 MAINT = @MAINT@ 193 MAKEINFO = @MAKEINFO@ 194 MKDIR_P = @MKDIR_P@ 195 MPI_CC = @MPI_CC@ 196 OBJEXT = @OBJEXT@ 197 PACKAGE = @PACKAGE@ 198 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ 199 PACKAGE_NAME = @PACKAGE_NAME@ 200 PACKAGE_STRING = @PACKAGE_STRING@ 201 PACKAGE_TARNAME = @PACKAGE_TARNAME@ 202 PACKAGE_URL = @PACKAGE_URL@ 203 PACKAGE_VERSION = @PACKAGE_VERSION@ 204 PATH_SEPARATOR = @PATH_SEPARATOR@ 205 PERL = @PERL@ 206 PREFERRED_STACK_BOUNDARY = @PREFERRED_STACK_BOUNDARY@ 207 RANLIB = @RANLIB@ 208 SED = @SED@ 209 SET_MAKE = @SET_MAKE@ 210 SHELL = @SHELL@ 211 STRIP = @STRIP@ 212 VALT_LOAD_ADDRESS_PRI = @VALT_LOAD_ADDRESS_PRI@ 213 VALT_LOAD_ADDRESS_SEC = @VALT_LOAD_ADDRESS_SEC@ 214 VERSION = @VERSION@ 215 VGCONF_ARCH_PRI = @VGCONF_ARCH_PRI@ 216 VGCONF_ARCH_SEC = @VGCONF_ARCH_SEC@ 217 VGCONF_OS = @VGCONF_OS@ 218 VGCONF_PLATFORM_PRI_CAPS = @VGCONF_PLATFORM_PRI_CAPS@ 219 VGCONF_PLATFORM_SEC_CAPS = @VGCONF_PLATFORM_SEC_CAPS@ 220 VGCONF_PLATVARIANT = @VGCONF_PLATVARIANT@ 221 abs_builddir = @abs_builddir@ 222 abs_srcdir = @abs_srcdir@ 223 abs_top_builddir = @abs_top_builddir@ 224 abs_top_srcdir = @abs_top_srcdir@ 225 ac_ct_CC = @ac_ct_CC@ 226 ac_ct_CXX = @ac_ct_CXX@ 227 am__include = @am__include@ 228 am__leading_dot = @am__leading_dot@ 229 am__quote = @am__quote@ 230 am__tar = @am__tar@ 231 am__untar = @am__untar@ 232 bindir = @bindir@ 233 build = @build@ 234 build_alias = @build_alias@ 235 build_cpu = @build_cpu@ 236 build_os = @build_os@ 237 build_vendor = @build_vendor@ 238 builddir = @builddir@ 239 datadir = @datadir@ 240 datarootdir = @datarootdir@ 241 docdir = @docdir@ 242 dvidir = @dvidir@ 243 exec_prefix = @exec_prefix@ 244 host = @host@ 245 host_alias = @host_alias@ 246 host_cpu = @host_cpu@ 247 host_os = @host_os@ 248 host_vendor = @host_vendor@ 249 htmldir = @htmldir@ 250 includedir = @includedir@ 251 infodir = @infodir@ 252 install_sh = @install_sh@ 253 libdir = @libdir@ 254 libexecdir = @libexecdir@ 255 localedir = @localedir@ 256 localstatedir = @localstatedir@ 257 mandir = @mandir@ 258 mkdir_p = @mkdir_p@ 259 oldincludedir = @oldincludedir@ 260 pdfdir = @pdfdir@ 261 prefix = @prefix@ 262 program_transform_name = @program_transform_name@ 263 psdir = @psdir@ 264 sbindir = @sbindir@ 265 sharedstatedir = @sharedstatedir@ 266 srcdir = @srcdir@ 267 sysconfdir = @sysconfdir@ 268 target_alias = @target_alias@ 269 top_build_prefix = @top_build_prefix@ 270 top_builddir = @top_builddir@ 271 top_srcdir = @top_srcdir@ 272 inplacedir = $(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. 282 AM_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. 311 AM_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 329 AM_FLAG_M3264_X86_LINUX = @FLAG_M32@ 330 AM_CFLAGS_X86_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \ 331 $(AM_CFLAGS_BASE) -fomit-frame-pointer 332 333 AM_CCASFLAGS_X86_LINUX = @FLAG_M32@ -g 334 AM_FLAG_M3264_AMD64_LINUX = @FLAG_M64@ 335 AM_CFLAGS_AMD64_LINUX = @FLAG_M64@ @PREFERRED_STACK_BOUNDARY@ \ 336 $(AM_CFLAGS_BASE) -fomit-frame-pointer 337 338 AM_CCASFLAGS_AMD64_LINUX = @FLAG_M64@ -g 339 AM_FLAG_M3264_PPC32_LINUX = @FLAG_M32@ 340 AM_CFLAGS_PPC32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) 341 AM_CCASFLAGS_PPC32_LINUX = @FLAG_M32@ -g 342 AM_FLAG_M3264_PPC64_LINUX = @FLAG_M64@ 343 AM_CFLAGS_PPC64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) 344 AM_CCASFLAGS_PPC64_LINUX = @FLAG_M64@ -g 345 AM_FLAG_M3264_ARM_LINUX = @FLAG_M32@ 346 AM_CFLAGS_ARM_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \ 347 $(AM_CFLAGS_BASE) -marm -mcpu=cortex-a8 348 349 AM_CCASFLAGS_ARM_LINUX = @FLAG_M32@ \ 350 -marm -mcpu=cortex-a8 -g 351 352 AM_FLAG_M3264_X86_DARWIN = -arch i386 353 AM_CFLAGS_X86_DARWIN = $(WERROR) -arch i386 $(AM_CFLAGS_BASE) \ 354 -mmacosx-version-min=10.5 \ 355 -fno-stack-protector -fno-pic -fno-PIC 356 357 AM_CCASFLAGS_X86_DARWIN = -arch i386 -g 358 AM_FLAG_M3264_AMD64_DARWIN = -arch x86_64 359 AM_CFLAGS_AMD64_DARWIN = $(WERROR) -arch x86_64 $(AM_CFLAGS_BASE) \ 360 -mmacosx-version-min=10.5 -fno-stack-protector 361 362 AM_CCASFLAGS_AMD64_DARWIN = -arch x86_64 -g 363 AM_FLAG_M3264_S390X_LINUX = @FLAG_M64@ 364 AM_CFLAGS_S390X_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) -fomit-frame-pointer 365 AM_CCASFLAGS_S390X_LINUX = @FLAG_M64@ -g -mzarch -march=z900 366 AM_FLAG_M3264_MIPS32_LINUX = @FLAG_M32@ 367 AM_CFLAGS_MIPS32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) -mips32 368 AM_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 # 374 AM_FLAG_M3264_PRI = $(AM_FLAG_M3264_@VGCONF_PLATFORM_PRI_CAPS@) 375 AM_CPPFLAGS_PRI = $(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) 376 AM_CFLAGS_PRI = $(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) 377 AM_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 # 383 PRELOAD_LDFLAGS_COMMON_LINUX = -nodefaultlibs -shared \ 384 -Wl,-z,interpose,-z,initfirst $(am__append_1) 385 PRELOAD_LDFLAGS_COMMON_DARWIN = -dynamic -dynamiclib -all_load 386 PRELOAD_LDFLAGS_X86_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@ 387 PRELOAD_LDFLAGS_AMD64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ 388 PRELOAD_LDFLAGS_PPC32_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@ 389 PRELOAD_LDFLAGS_PPC64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ 390 PRELOAD_LDFLAGS_ARM_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@ 391 PRELOAD_LDFLAGS_X86_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch i386 392 PRELOAD_LDFLAGS_AMD64_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch x86_64 393 PRELOAD_LDFLAGS_S390X_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ 394 PRELOAD_LDFLAGS_MIPS32_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@ 395 AM_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). 404 AM_CFLAGS = -Winline -Wall -Wshadow -g $(AM_FLAG_M3264_PRI) 405 AM_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. 408 AM_CCASFLAGS = $(AM_CPPFLAGS) 409 @VGCONF_OS_IS_DARWIN_TRUE@noinst_DSYMS = $(check_PROGRAMS) 410 SUBDIRS = . $(am__append_3) 411 DIST_SUBDIRS = x86 . 412 dist_noinst_SCRIPTS = filter_stderr filter_cachesim_discards 413 EXTRA_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 422 dlclose_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 425 myprint_so_CFLAGS = $(AM_CFLAGS) -fPIC 426 all: 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 443 Makefile: $(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 461 clean-checkPROGRAMS: 462 -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS) 463 chdir$(EXEEXT): $(chdir_OBJECTS) $(chdir_DEPENDENCIES) 464 @rm -f chdir$(EXEEXT) 465 $(LINK) $(chdir_OBJECTS) $(chdir_LDADD) $(LIBS) 466 clreq$(EXEEXT): $(clreq_OBJECTS) $(clreq_DEPENDENCIES) 467 @rm -f clreq$(EXEEXT) 468 $(LINK) $(clreq_OBJECTS) $(clreq_LDADD) $(LIBS) 469 dlclose$(EXEEXT): $(dlclose_OBJECTS) $(dlclose_DEPENDENCIES) 470 @rm -f dlclose$(EXEEXT) 471 $(LINK) $(dlclose_OBJECTS) $(dlclose_LDADD) $(LIBS) 472 myprint.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 476 mostlyclean-compile: 477 -rm -f *.$(OBJEXT) 478 479 distclean-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 501 myprint_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 508 myprint_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" 576 tags-recursive: 577 list='$(SUBDIRS)'; for subdir in $$list; do \ 578 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ 579 done 580 ctags-recursive: 581 list='$(SUBDIRS)'; for subdir in $$list; do \ 582 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ 583 done 584 585 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) 586 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 587 unique=`for i in $$list; do \ 588 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 589 done | \ 590 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 591 END { if (nonempty) { for (i in files) print i; }; }'`; \ 592 mkid -fID $$unique 593 tags: TAGS 594 595 TAGS: 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 629 ctags: CTAGS 630 CTAGS: 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 642 GTAGS: 643 here=`$(am__cd) $(top_builddir) && pwd` \ 644 && $(am__cd) $(top_srcdir) \ 645 && gtags -i $(GTAGS_ARGS) "$$here" 646 647 distclean-tags: 648 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 649 650 distdir: $(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 708 check-am: all-am 709 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) 710 $(MAKE) $(AM_MAKEFLAGS) check-local 711 check: check-recursive 712 all-am: Makefile $(SCRIPTS) 713 installdirs: installdirs-recursive 714 installdirs-am: 715 install: install-recursive 716 install-exec: install-exec-recursive 717 install-data: install-data-recursive 718 uninstall: uninstall-recursive 719 720 install-am: all-am 721 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 722 723 installcheck: installcheck-recursive 724 install-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 729 mostlyclean-generic: 730 731 clean-generic: 732 733 distclean-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 737 maintainer-clean-generic: 738 @echo "This command is intended for maintainers to use" 739 @echo "it deletes files that may require special tools to rebuild." 740 clean: clean-recursive 741 742 clean-am: clean-checkPROGRAMS clean-generic clean-local mostlyclean-am 743 744 distclean: distclean-recursive 745 -rm -rf ./$(DEPDIR) 746 -rm -f Makefile 747 distclean-am: clean-am distclean-compile distclean-generic \ 748 distclean-tags 749 750 dvi: dvi-recursive 751 752 dvi-am: 753 754 html: html-recursive 755 756 html-am: 757 758 info: info-recursive 759 760 info-am: 761 762 install-data-am: 763 764 install-dvi: install-dvi-recursive 765 766 install-dvi-am: 767 768 install-exec-am: 769 770 install-html: install-html-recursive 771 772 install-html-am: 773 774 install-info: install-info-recursive 775 776 install-info-am: 777 778 install-man: 779 780 install-pdf: install-pdf-recursive 781 782 install-pdf-am: 783 784 install-ps: install-ps-recursive 785 786 install-ps-am: 787 788 installcheck-am: 789 790 maintainer-clean: maintainer-clean-recursive 791 -rm -rf ./$(DEPDIR) 792 -rm -f Makefile 793 maintainer-clean-am: distclean-am maintainer-clean-generic 794 795 mostlyclean: mostlyclean-recursive 796 797 mostlyclean-am: mostlyclean-compile mostlyclean-generic 798 799 pdf: pdf-recursive 800 801 pdf-am: 802 803 ps: ps-recursive 804 805 ps-am: 806 807 uninstall-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. 841 build-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. 852 inplace-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 860 inplace-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. 870 install-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'... 880 install-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. 887 clean-noinst_DSYMS: 888 for f in $(noinst_DSYMS); do \ 889 rm -rf $$f.dSYM; \ 890 done 891 892 check-local: build-noinst_DSYMS 893 894 clean-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