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