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