• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Makefile.in generated by automake 1.11.1 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
6# Inc.
7# This Makefile.in is free software; the Free Software Foundation
8# gives unlimited permission to copy and/or distribute it,
9# with or without modifications, as long as this notice is preserved.
10
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14# PARTICULAR PURPOSE.
15
16@SET_MAKE@
17
18# This file is used for tool tests, and also in perf/Makefile.am.
19
20# This file should be included (directly or indirectly) by every
21# Makefile.am that builds programs.  And also the top-level Makefile.am.
22
23#----------------------------------------------------------------------------
24# Global stuff
25#----------------------------------------------------------------------------
26
27VPATH = @srcdir@
28pkgdatadir = $(datadir)/@PACKAGE@
29pkgincludedir = $(includedir)/@PACKAGE@
30pkglibdir = $(libdir)/@PACKAGE@
31pkglibexecdir = $(libexecdir)/@PACKAGE@
32am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
33install_sh_DATA = $(install_sh) -c -m 644
34install_sh_PROGRAM = $(install_sh) -c
35install_sh_SCRIPT = $(install_sh) -c
36INSTALL_HEADER = $(INSTALL_DATA)
37transform = $(program_transform_name)
38NORMAL_INSTALL = :
39PRE_INSTALL = :
40POST_INSTALL = :
41NORMAL_UNINSTALL = :
42PRE_UNINSTALL = :
43POST_UNINSTALL = :
44build_triplet = @build@
45host_triplet = @host@
46DIST_COMMON = $(dist_noinst_SCRIPTS) $(srcdir)/Makefile.am \
47	$(srcdir)/Makefile.in $(top_srcdir)/Makefile.all.am \
48	$(top_srcdir)/Makefile.tool-tests.am
49check_PROGRAMS = clreq$(EXEEXT) simwork$(EXEEXT) threads$(EXEEXT)
50subdir = callgrind/tests
51ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
52am__aclocal_m4_deps = $(top_srcdir)/configure.in
53am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
54	$(ACLOCAL_M4)
55mkinstalldirs = $(install_sh) -d
56CONFIG_HEADER = $(top_builddir)/config.h
57CONFIG_CLEAN_FILES =
58CONFIG_CLEAN_VPATH_FILES =
59clreq_SOURCES = clreq.c
60clreq_OBJECTS = clreq.$(OBJEXT)
61clreq_LDADD = $(LDADD)
62simwork_SOURCES = simwork.c
63simwork_OBJECTS = simwork.$(OBJEXT)
64simwork_LDADD = $(LDADD)
65threads_SOURCES = threads.c
66threads_OBJECTS = threads.$(OBJEXT)
67threads_DEPENDENCIES =
68SCRIPTS = $(dist_noinst_SCRIPTS)
69DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
70depcomp = $(SHELL) $(top_srcdir)/depcomp
71am__depfiles_maybe = depfiles
72am__mv = mv -f
73COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
74	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
75CCLD = $(CC)
76LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
77SOURCES = clreq.c simwork.c threads.c
78DIST_SOURCES = clreq.c simwork.c threads.c
79RECURSIVE_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
86RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive	\
87  distclean-recursive maintainer-clean-recursive
88AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
89	$(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
90	distdir
91ETAGS = etags
92CTAGS = ctags
93DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
94am__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"
119ACLOCAL = @ACLOCAL@
120AMTAR = @AMTAR@
121AR = @AR@
122AUTOCONF = @AUTOCONF@
123AUTOHEADER = @AUTOHEADER@
124AUTOMAKE = @AUTOMAKE@
125AWK = @AWK@
126BOOST_CFLAGS = @BOOST_CFLAGS@
127BOOST_LIBS = @BOOST_LIBS@
128CC = @CC@
129CCAS = @CCAS@
130CCASDEPMODE = @CCASDEPMODE@
131CCASFLAGS = @CCASFLAGS@
132CCDEPMODE = @CCDEPMODE@
133CFLAGS = @CFLAGS@
134CPP = @CPP@
135CPPFLAGS = @CPPFLAGS@
136CXX = @CXX@
137CXXDEPMODE = @CXXDEPMODE@
138CXXFLAGS = @CXXFLAGS@
139CYGPATH_W = @CYGPATH_W@
140DEFAULT_SUPP = @DEFAULT_SUPP@
141DEFS = @DEFS@
142DEPDIR = @DEPDIR@
143DIFF = @DIFF@
144ECHO_C = @ECHO_C@
145ECHO_N = @ECHO_N@
146ECHO_T = @ECHO_T@
147EGREP = @EGREP@
148EXEEXT = @EXEEXT@
149FLAG_FNO_STACK_PROTECTOR = @FLAG_FNO_STACK_PROTECTOR@
150FLAG_M32 = @FLAG_M32@
151FLAG_M64 = @FLAG_M64@
152FLAG_MAIX32 = @FLAG_MAIX32@
153FLAG_MAIX64 = @FLAG_MAIX64@
154FLAG_MMMX = @FLAG_MMMX@
155FLAG_MSSE = @FLAG_MSSE@
156FLAG_NO_BUILD_ID = @FLAG_NO_BUILD_ID@
157FLAG_UNLIMITED_INLINE_UNIT_GROWTH = @FLAG_UNLIMITED_INLINE_UNIT_GROWTH@
158FLAG_W_EXTRA = @FLAG_W_EXTRA@
159FLAG_W_NO_EMPTY_BODY = @FLAG_W_NO_EMPTY_BODY@
160FLAG_W_NO_FORMAT_ZERO_LENGTH = @FLAG_W_NO_FORMAT_ZERO_LENGTH@
161FLAG_W_NO_UNINITIALIZED = @FLAG_W_NO_UNINITIALIZED@
162GDB = @GDB@
163GLIBC_VERSION = @GLIBC_VERSION@
164GREP = @GREP@
165INSTALL = @INSTALL@
166INSTALL_DATA = @INSTALL_DATA@
167INSTALL_PROGRAM = @INSTALL_PROGRAM@
168INSTALL_SCRIPT = @INSTALL_SCRIPT@
169INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
170LDFLAGS = @LDFLAGS@
171LIBOBJS = @LIBOBJS@
172LIBS = @LIBS@
173LN_S = @LN_S@
174LTLIBOBJS = @LTLIBOBJS@
175MAINT = @MAINT@
176MAKEINFO = @MAKEINFO@
177MKDIR_P = @MKDIR_P@
178MPI_CC = @MPI_CC@
179OBJEXT = @OBJEXT@
180PACKAGE = @PACKAGE@
181PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
182PACKAGE_NAME = @PACKAGE_NAME@
183PACKAGE_STRING = @PACKAGE_STRING@
184PACKAGE_TARNAME = @PACKAGE_TARNAME@
185PACKAGE_URL = @PACKAGE_URL@
186PACKAGE_VERSION = @PACKAGE_VERSION@
187PATH_SEPARATOR = @PATH_SEPARATOR@
188PERL = @PERL@
189PKG_CONFIG = @PKG_CONFIG@
190PREFERRED_STACK_BOUNDARY = @PREFERRED_STACK_BOUNDARY@
191QTCORE_CFLAGS = @QTCORE_CFLAGS@
192QTCORE_LIBS = @QTCORE_LIBS@
193RANLIB = @RANLIB@
194SED = @SED@
195SET_MAKE = @SET_MAKE@
196SHELL = @SHELL@
197STRIP = @STRIP@
198VALT_LOAD_ADDRESS_PRI = @VALT_LOAD_ADDRESS_PRI@
199VALT_LOAD_ADDRESS_SEC = @VALT_LOAD_ADDRESS_SEC@
200VERSION = @VERSION@
201VGCONF_ARCH_PRI = @VGCONF_ARCH_PRI@
202VGCONF_ARCH_SEC = @VGCONF_ARCH_SEC@
203VGCONF_OS = @VGCONF_OS@
204VGCONF_PLATFORM_PRI_CAPS = @VGCONF_PLATFORM_PRI_CAPS@
205VGCONF_PLATFORM_SEC_CAPS = @VGCONF_PLATFORM_SEC_CAPS@
206abs_builddir = @abs_builddir@
207abs_srcdir = @abs_srcdir@
208abs_top_builddir = @abs_top_builddir@
209abs_top_srcdir = @abs_top_srcdir@
210ac_ct_CC = @ac_ct_CC@
211ac_ct_CXX = @ac_ct_CXX@
212am__include = @am__include@
213am__leading_dot = @am__leading_dot@
214am__quote = @am__quote@
215am__tar = @am__tar@
216am__untar = @am__untar@
217bindir = @bindir@
218build = @build@
219build_alias = @build_alias@
220build_cpu = @build_cpu@
221build_os = @build_os@
222build_vendor = @build_vendor@
223builddir = @builddir@
224datadir = @datadir@
225datarootdir = @datarootdir@
226docdir = @docdir@
227dvidir = @dvidir@
228exec_prefix = @exec_prefix@
229host = @host@
230host_alias = @host_alias@
231host_cpu = @host_cpu@
232host_os = @host_os@
233host_vendor = @host_vendor@
234htmldir = @htmldir@
235includedir = @includedir@
236infodir = @infodir@
237install_sh = @install_sh@
238libdir = @libdir@
239libexecdir = @libexecdir@
240localedir = @localedir@
241localstatedir = @localstatedir@
242mandir = @mandir@
243mkdir_p = @mkdir_p@
244oldincludedir = @oldincludedir@
245pdfdir = @pdfdir@
246prefix = @prefix@
247program_transform_name = @program_transform_name@
248psdir = @psdir@
249sbindir = @sbindir@
250sharedstatedir = @sharedstatedir@
251srcdir = @srcdir@
252sysconfdir = @sysconfdir@
253target_alias = @target_alias@
254top_build_prefix = @top_build_prefix@
255top_builddir = @top_builddir@
256top_srcdir = @top_srcdir@
257inplacedir = $(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.
265AM_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.
298AM_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
314AM_FLAG_M3264_X86_LINUX = @FLAG_M32@
315AM_CFLAGS_X86_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \
316			 	$(AM_CFLAGS_BASE)
317
318AM_CCASFLAGS_X86_LINUX = $(AM_CPPFLAGS_X86_LINUX) @FLAG_M32@ -g
319AM_FLAG_M3264_AMD64_LINUX = @FLAG_M64@
320AM_CFLAGS_AMD64_LINUX = @FLAG_M64@ -fomit-frame-pointer \
321				@PREFERRED_STACK_BOUNDARY@ $(AM_CFLAGS_BASE)
322
323AM_CCASFLAGS_AMD64_LINUX = $(AM_CPPFLAGS_AMD64_LINUX) @FLAG_M64@ -g
324AM_FLAG_M3264_PPC32_LINUX = @FLAG_M32@
325AM_CFLAGS_PPC32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE)
326AM_CCASFLAGS_PPC32_LINUX = $(AM_CPPFLAGS_PPC32_LINUX) @FLAG_M32@ -g
327AM_FLAG_M3264_PPC64_LINUX = @FLAG_M64@
328AM_CFLAGS_PPC64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE)
329AM_CCASFLAGS_PPC64_LINUX = $(AM_CPPFLAGS_PPC64_LINUX) @FLAG_M64@ -g
330AM_FLAG_M3264_ARM_LINUX = @FLAG_M32@
331AM_CFLAGS_ARM_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \
332			 	$(AM_CFLAGS_BASE) -marm
333
334AM_CCASFLAGS_ARM_LINUX = $(AM_CPPFLAGS_ARM_LINUX) @FLAG_M32@ -marm -g
335AM_FLAG_M3264_PPC32_AIX5 = @FLAG_MAIX32@
336AM_CFLAGS_PPC32_AIX5 = @FLAG_MAIX32@ -mcpu=powerpc $(AM_CFLAGS_BASE)
337AM_CCASFLAGS_PPC32_AIX5 = $(AM_CPPFLAGS_PPC32_AIX5) \
338			    @FLAG_MAIX32@ -mcpu=powerpc -g
339
340AM_FLAG_M3264_PPC64_AIX5 = @FLAG_MAIX64@
341AM_CFLAGS_PPC64_AIX5 = @FLAG_MAIX64@ -mcpu=powerpc64 $(AM_CFLAGS_BASE)
342AM_CCASFLAGS_PPC64_AIX5 = $(AM_CPPFLAGS_PPC64_AIX5) \
343			    @FLAG_MAIX64@ -mcpu=powerpc64 -g
344
345AM_FLAG_M3264_X86_DARWIN = -arch i386
346AM_CFLAGS_X86_DARWIN = $(WERROR) -arch i386 $(AM_CFLAGS_BASE) \
347				-mmacosx-version-min=10.5 \
348				-fno-stack-protector -fno-pic -fno-PIC
349
350AM_CCASFLAGS_X86_DARWIN = $(AM_CPPFLAGS_X86_DARWIN) -arch i386 -g
351AM_FLAG_M3264_AMD64_DARWIN = -arch x86_64
352AM_CFLAGS_AMD64_DARWIN = $(WERROR) -arch x86_64 $(AM_CFLAGS_BASE) \
353			    -mmacosx-version-min=10.5 -fno-stack-protector
354
355AM_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#
361AM_FLAG_M3264_PRI = $(AM_FLAG_M3264_@VGCONF_PLATFORM_PRI_CAPS@)
362AM_CPPFLAGS_PRI = $(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
363AM_CFLAGS_PRI = $(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
364AM_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#
370PRELOAD_LDFLAGS_COMMON_LINUX = -nodefaultlibs -shared -Wl,-z,interpose,-z,initfirst
371PRELOAD_LDFLAGS_COMMON_AIX5 = -nodefaultlibs -shared -Wl,-G -Wl,-bnogc
372PRELOAD_LDFLAGS_COMMON_DARWIN = -dynamic -dynamiclib -all_load
373PRELOAD_LDFLAGS_X86_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
374PRELOAD_LDFLAGS_AMD64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
375PRELOAD_LDFLAGS_PPC32_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
376PRELOAD_LDFLAGS_PPC64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
377PRELOAD_LDFLAGS_ARM_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
378PRELOAD_LDFLAGS_PPC32_AIX5 = $(PRELOAD_LDFLAGS_COMMON_AIX5)  @FLAG_MAIX32@
379PRELOAD_LDFLAGS_PPC64_AIX5 = $(PRELOAD_LDFLAGS_COMMON_AIX5)  @FLAG_MAIX64@
380PRELOAD_LDFLAGS_X86_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch i386
381PRELOAD_LDFLAGS_AMD64_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch x86_64
382AM_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).
391AM_CFLAGS = -Winline -Wall -Wshadow -g $(AM_FLAG_M3264_PRI)
392AM_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.
395AM_CCASFLAGS = $(AM_CPPFLAGS)
396@VGCONF_OS_IS_DARWIN_TRUE@noinst_DSYMS = $(check_PROGRAMS)
397SUBDIRS = .
398DIST_SUBDIRS = .
399dist_noinst_SCRIPTS = filter_stderr
400EXTRA_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
412threads_LDADD = -lpthread
413all: 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
430Makefile: $(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
448clean-checkPROGRAMS:
449	-test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
450clreq$(EXEEXT): $(clreq_OBJECTS) $(clreq_DEPENDENCIES)
451	@rm -f clreq$(EXEEXT)
452	$(LINK) $(clreq_OBJECTS) $(clreq_LDADD) $(LIBS)
453simwork$(EXEEXT): $(simwork_OBJECTS) $(simwork_DEPENDENCIES)
454	@rm -f simwork$(EXEEXT)
455	$(LINK) $(simwork_OBJECTS) $(simwork_LDADD) $(LIBS)
456threads$(EXEEXT): $(threads_OBJECTS) $(threads_DEPENDENCIES)
457	@rm -f threads$(EXEEXT)
458	$(LINK) $(threads_OBJECTS) $(threads_LDADD) $(LIBS)
459
460mostlyclean-compile:
461	-rm -f *.$(OBJEXT)
462
463distclean-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"
545tags-recursive:
546	list='$(SUBDIRS)'; for subdir in $$list; do \
547	  test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
548	done
549ctags-recursive:
550	list='$(SUBDIRS)'; for subdir in $$list; do \
551	  test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
552	done
553
554ID: $(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
562tags: TAGS
563
564TAGS: 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
598ctags: CTAGS
599CTAGS: 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
611GTAGS:
612	here=`$(am__cd) $(top_builddir) && pwd` \
613	  && $(am__cd) $(top_srcdir) \
614	  && gtags -i $(GTAGS_ARGS) "$$here"
615
616distclean-tags:
617	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
618
619distdir: $(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
677check-am: all-am
678	$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
679	$(MAKE) $(AM_MAKEFLAGS) check-local
680check: check-recursive
681all-am: Makefile $(SCRIPTS)
682installdirs: installdirs-recursive
683installdirs-am:
684install: install-recursive
685install-exec: install-exec-recursive
686install-data: install-data-recursive
687uninstall: uninstall-recursive
688
689install-am: all-am
690	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
691
692installcheck: installcheck-recursive
693install-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
698mostlyclean-generic:
699
700clean-generic:
701
702distclean-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
706maintainer-clean-generic:
707	@echo "This command is intended for maintainers to use"
708	@echo "it deletes files that may require special tools to rebuild."
709clean: clean-recursive
710
711clean-am: clean-checkPROGRAMS clean-generic clean-local mostlyclean-am
712
713distclean: distclean-recursive
714	-rm -rf ./$(DEPDIR)
715	-rm -f Makefile
716distclean-am: clean-am distclean-compile distclean-generic \
717	distclean-tags
718
719dvi: dvi-recursive
720
721dvi-am:
722
723html: html-recursive
724
725html-am:
726
727info: info-recursive
728
729info-am:
730
731install-data-am:
732
733install-dvi: install-dvi-recursive
734
735install-dvi-am:
736
737install-exec-am:
738
739install-html: install-html-recursive
740
741install-html-am:
742
743install-info: install-info-recursive
744
745install-info-am:
746
747install-man:
748
749install-pdf: install-pdf-recursive
750
751install-pdf-am:
752
753install-ps: install-ps-recursive
754
755install-ps-am:
756
757installcheck-am:
758
759maintainer-clean: maintainer-clean-recursive
760	-rm -rf ./$(DEPDIR)
761	-rm -f Makefile
762maintainer-clean-am: distclean-am maintainer-clean-generic
763
764mostlyclean: mostlyclean-recursive
765
766mostlyclean-am: mostlyclean-compile mostlyclean-generic
767
768pdf: pdf-recursive
769
770pdf-am:
771
772ps: ps-recursive
773
774ps-am:
775
776uninstall-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.
810build-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.
821inplace-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
829inplace-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.
839install-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'...
849install-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.
856clean-noinst_DSYMS:
857	for f in $(noinst_DSYMS); do \
858	  rm -rf $$f.dSYM; \
859	done
860
861check-local: build-noinst_DSYMS
862
863clean-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