]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/valgrind/src/valgrind-3.6.0-svn/auxprogs/Makefile.in
de0a126ad0f66d08f509f9b2c7334bc20ef6d633
[l4.git] / l4 / pkg / valgrind / src / valgrind-3.6.0-svn / auxprogs / Makefile.in
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 should be included (directly or indirectly) by every
19 # Makefile.am that builds programs.  And also the top-level Makefile.am.
20
21 #----------------------------------------------------------------------------
22 # Global stuff
23 #----------------------------------------------------------------------------
24
25
26 VPATH = @srcdir@
27 pkgdatadir = $(datadir)/@PACKAGE@
28 pkgincludedir = $(includedir)/@PACKAGE@
29 pkglibdir = $(libdir)/@PACKAGE@
30 pkglibexecdir = $(libexecdir)/@PACKAGE@
31 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
32 install_sh_DATA = $(install_sh) -c -m 644
33 install_sh_PROGRAM = $(install_sh) -c
34 install_sh_SCRIPT = $(install_sh) -c
35 INSTALL_HEADER = $(INSTALL_DATA)
36 transform = $(program_transform_name)
37 NORMAL_INSTALL = :
38 PRE_INSTALL = :
39 POST_INSTALL = :
40 NORMAL_UNINSTALL = :
41 PRE_UNINSTALL = :
42 POST_UNINSTALL = :
43 build_triplet = @build@
44 host_triplet = @host@
45 DIST_COMMON = $(dist_noinst_SCRIPTS) $(srcdir)/Makefile.am \
46         $(srcdir)/Makefile.in $(top_srcdir)/Makefile.all.am
47 bin_PROGRAMS = valgrind-listener$(EXEEXT)
48 @VGCONF_PLATFORMS_INCLUDE_X86_DARWIN_TRUE@am__append_1 = -Wl,-read_only_relocs -Wl,suppress
49 subdir = auxprogs
50 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
51 am__aclocal_m4_deps = $(top_srcdir)/configure.in
52 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
53         $(ACLOCAL_M4)
54 mkinstalldirs = $(install_sh) -d
55 CONFIG_HEADER = $(top_builddir)/config.h
56 CONFIG_CLEAN_FILES =
57 CONFIG_CLEAN_VPATH_FILES =
58 am__installdirs = "$(DESTDIR)$(bindir)"
59 PROGRAMS = $(bin_PROGRAMS)
60 am_valgrind_listener_OBJECTS =  \
61         valgrind_listener-valgrind-listener.$(OBJEXT)
62 valgrind_listener_OBJECTS = $(am_valgrind_listener_OBJECTS)
63 valgrind_listener_LDADD = $(LDADD)
64 valgrind_listener_LINK = $(CCLD) $(valgrind_listener_CFLAGS) $(CFLAGS) \
65         $(valgrind_listener_LDFLAGS) $(LDFLAGS) -o $@
66 SCRIPTS = $(dist_noinst_SCRIPTS)
67 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
68 depcomp = $(SHELL) $(top_srcdir)/depcomp
69 am__depfiles_maybe = depfiles
70 am__mv = mv -f
71 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
72         $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
73 CCLD = $(CC)
74 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
75 SOURCES = $(valgrind_listener_SOURCES)
76 DIST_SOURCES = $(valgrind_listener_SOURCES)
77 ETAGS = etags
78 CTAGS = ctags
79 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
80 ACLOCAL = @ACLOCAL@
81 AMTAR = @AMTAR@
82 AR = @AR@
83 AUTOCONF = @AUTOCONF@
84 AUTOHEADER = @AUTOHEADER@
85 AUTOMAKE = @AUTOMAKE@
86 AWK = @AWK@
87 BOOST_CFLAGS = @BOOST_CFLAGS@
88 BOOST_LIBS = @BOOST_LIBS@
89 CC = @CC@
90 CCAS = @CCAS@
91 CCASDEPMODE = @CCASDEPMODE@
92 CCASFLAGS = @CCASFLAGS@
93 CCDEPMODE = @CCDEPMODE@
94 CFLAGS = @CFLAGS@
95 CPP = @CPP@
96 CPPFLAGS = @CPPFLAGS@
97 CXX = @CXX@
98 CXXDEPMODE = @CXXDEPMODE@
99 CXXFLAGS = @CXXFLAGS@
100 CYGPATH_W = @CYGPATH_W@
101 DEFAULT_SUPP = @DEFAULT_SUPP@
102 DEFS = @DEFS@
103 DEPDIR = @DEPDIR@
104 DIFF = @DIFF@
105 ECHO_C = @ECHO_C@
106 ECHO_N = @ECHO_N@
107 ECHO_T = @ECHO_T@
108 EGREP = @EGREP@
109 EXEEXT = @EXEEXT@
110 FLAG_FNO_STACK_PROTECTOR = @FLAG_FNO_STACK_PROTECTOR@
111 FLAG_M32 = @FLAG_M32@
112 FLAG_M64 = @FLAG_M64@
113 FLAG_MAIX32 = @FLAG_MAIX32@
114 FLAG_MAIX64 = @FLAG_MAIX64@
115 FLAG_MMMX = @FLAG_MMMX@
116 FLAG_MSSE = @FLAG_MSSE@
117 FLAG_NO_BUILD_ID = @FLAG_NO_BUILD_ID@
118 FLAG_UNLIMITED_INLINE_UNIT_GROWTH = @FLAG_UNLIMITED_INLINE_UNIT_GROWTH@
119 FLAG_W_EXTRA = @FLAG_W_EXTRA@
120 FLAG_W_NO_EMPTY_BODY = @FLAG_W_NO_EMPTY_BODY@
121 FLAG_W_NO_FORMAT_ZERO_LENGTH = @FLAG_W_NO_FORMAT_ZERO_LENGTH@
122 FLAG_W_NO_NONNULL = @FLAG_W_NO_NONNULL@
123 FLAG_W_NO_OVERFLOW = @FLAG_W_NO_OVERFLOW@
124 FLAG_W_NO_UNINITIALIZED = @FLAG_W_NO_UNINITIALIZED@
125 GDB = @GDB@
126 GENERATED_SUPP = @GENERATED_SUPP@
127 GLIBC_VERSION = @GLIBC_VERSION@
128 GREP = @GREP@
129 INSTALL = @INSTALL@
130 INSTALL_DATA = @INSTALL_DATA@
131 INSTALL_PROGRAM = @INSTALL_PROGRAM@
132 INSTALL_SCRIPT = @INSTALL_SCRIPT@
133 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
134 LDFLAGS = @LDFLAGS@
135 LIBOBJS = @LIBOBJS@
136 LIBS = @LIBS@
137 LN_S = @LN_S@
138 LTLIBOBJS = @LTLIBOBJS@
139 MAINT = @MAINT@
140 MAKEINFO = @MAKEINFO@
141 MKDIR_P = @MKDIR_P@
142 MPI_CC = @MPI_CC@
143 OBJEXT = @OBJEXT@
144 PACKAGE = @PACKAGE@
145 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
146 PACKAGE_NAME = @PACKAGE_NAME@
147 PACKAGE_STRING = @PACKAGE_STRING@
148 PACKAGE_TARNAME = @PACKAGE_TARNAME@
149 PACKAGE_URL = @PACKAGE_URL@
150 PACKAGE_VERSION = @PACKAGE_VERSION@
151 PATH_SEPARATOR = @PATH_SEPARATOR@
152 PERL = @PERL@
153 PREFERRED_STACK_BOUNDARY = @PREFERRED_STACK_BOUNDARY@
154 RANLIB = @RANLIB@
155 SED = @SED@
156 SET_MAKE = @SET_MAKE@
157 SHELL = @SHELL@
158 STRIP = @STRIP@
159 VALT_LOAD_ADDRESS_PRI = @VALT_LOAD_ADDRESS_PRI@
160 VALT_LOAD_ADDRESS_SEC = @VALT_LOAD_ADDRESS_SEC@
161 VERSION = @VERSION@
162 VGCONF_ARCH_PRI = @VGCONF_ARCH_PRI@
163 VGCONF_ARCH_SEC = @VGCONF_ARCH_SEC@
164 VGCONF_OS = @VGCONF_OS@
165 VGCONF_PLATFORM_PRI_CAPS = @VGCONF_PLATFORM_PRI_CAPS@
166 VGCONF_PLATFORM_SEC_CAPS = @VGCONF_PLATFORM_SEC_CAPS@
167 abs_builddir = @abs_builddir@
168 abs_srcdir = @abs_srcdir@
169 abs_top_builddir = @abs_top_builddir@
170 abs_top_srcdir = @abs_top_srcdir@
171 ac_ct_CC = @ac_ct_CC@
172 ac_ct_CXX = @ac_ct_CXX@
173 am__include = @am__include@
174 am__leading_dot = @am__leading_dot@
175 am__quote = @am__quote@
176 am__tar = @am__tar@
177 am__untar = @am__untar@
178 bindir = @bindir@
179 build = @build@
180 build_alias = @build_alias@
181 build_cpu = @build_cpu@
182 build_os = @build_os@
183 build_vendor = @build_vendor@
184 builddir = @builddir@
185 datadir = @datadir@
186 datarootdir = @datarootdir@
187 docdir = @docdir@
188 dvidir = @dvidir@
189 exec_prefix = @exec_prefix@
190 host = @host@
191 host_alias = @host_alias@
192 host_cpu = @host_cpu@
193 host_os = @host_os@
194 host_vendor = @host_vendor@
195 htmldir = @htmldir@
196 includedir = @includedir@
197 infodir = @infodir@
198 install_sh = @install_sh@
199 libdir = @libdir@
200 libexecdir = @libexecdir@
201 localedir = @localedir@
202 localstatedir = @localstatedir@
203 mandir = @mandir@
204 mkdir_p = @mkdir_p@
205 oldincludedir = @oldincludedir@
206 pdfdir = @pdfdir@
207 prefix = @prefix@
208 program_transform_name = @program_transform_name@
209 psdir = @psdir@
210 sbindir = @sbindir@
211 sharedstatedir = @sharedstatedir@
212 srcdir = @srcdir@
213 sysconfdir = @sysconfdir@
214 target_alias = @target_alias@
215 top_build_prefix = @top_build_prefix@
216 top_builddir = @top_builddir@
217 top_srcdir = @top_srcdir@
218 inplacedir = $(top_builddir)/.in_place
219
220 #----------------------------------------------------------------------------
221 # Flags
222 #----------------------------------------------------------------------------
223
224 # Baseline flags for all compilations.  Aim here is to maximise
225 # performance and get whatever useful warnings we can out of gcc.
226 AM_CFLAGS_BASE = \
227         -O2 -g \
228         -Wall \
229         -Wmissing-prototypes \
230         -Wshadow \
231         -Wpointer-arith \
232         -Wstrict-prototypes \
233         -Wmissing-declarations \
234         @FLAG_W_NO_FORMAT_ZERO_LENGTH@ \
235         -fno-strict-aliasing
236
237 @VGCONF_OS_IS_DARWIN_FALSE@AM_CFLAGS_PIC = -fpic -O -g -fno-omit-frame-pointer -fno-strict-aliasing
238
239 # These flags are used for building the preload shared objects.
240 # The aim is to give reasonable performance but also to have good
241 # stack traces, since users often see stack traces extending 
242 # into (and through) the preloads.
243 @VGCONF_OS_IS_DARWIN_TRUE@AM_CFLAGS_PIC = -dynamic -O -g -fno-omit-frame-pointer -fno-strict-aliasing \
244 @VGCONF_OS_IS_DARWIN_TRUE@              -mno-dynamic-no-pic -fpic -fPIC
245
246 @VGCONF_OS_IS_L4RE_FALSE@AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@ = \
247 @VGCONF_OS_IS_L4RE_FALSE@       -I$(top_srcdir) \
248 @VGCONF_OS_IS_L4RE_FALSE@       -I$(top_srcdir)/include \
249 @VGCONF_OS_IS_L4RE_FALSE@       -I$(top_srcdir)/VEX/pub \
250 @VGCONF_OS_IS_L4RE_FALSE@       -I$(top_builddir)/VEX/pub \
251 @VGCONF_OS_IS_L4RE_FALSE@       -DVGA_@VGCONF_ARCH_PRI@=1 \
252 @VGCONF_OS_IS_L4RE_FALSE@       -DVGO_@VGCONF_OS@=1 \
253 @VGCONF_OS_IS_L4RE_FALSE@       -DVGP_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1
254
255
256 # Flags for specific targets.
257 #
258 # Nb: the AM_CPPFLAGS_* values are suitable for building tools and auxprogs.
259 # For building the core, coregrind/Makefile.am files add some extra things.
260 #
261 # Also: in newer versions of automake (1.10 onwards?) asm files ending with
262 # '.S' are considered "pre-processed" (as opposed to those ending in '.s')
263 # and so the CPPFLAGS are passed to the assembler.  But this is not true for
264 # older automakes (e.g. 1.8.5, 1.9.6), sigh.  So we include
265 # AM_CPPFLAGS_<PLATFORM> in each AM_CCASFLAGS_<PLATFORM> variable.  This
266 # means some of the flags are duplicated on systems with newer versions of
267 # automake, but this does not really matter and seems hard to avoid.
268 @VGCONF_OS_IS_L4RE_TRUE@AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@ = $(L4_CPPFLAGS)\
269 @VGCONF_OS_IS_L4RE_TRUE@        -I$(top_srcdir) \
270 @VGCONF_OS_IS_L4RE_TRUE@        -I$(top_srcdir)/include \
271 @VGCONF_OS_IS_L4RE_TRUE@        -I$(top_srcdir)/VEX/pub \
272 @VGCONF_OS_IS_L4RE_TRUE@        -I$(top_builddir)/VEX/pub \
273 @VGCONF_OS_IS_L4RE_TRUE@        -DVGA_@VGCONF_ARCH_PRI@=1 \
274 @VGCONF_OS_IS_L4RE_TRUE@        -DVGO_@VGCONF_OS@=1 \
275 @VGCONF_OS_IS_L4RE_TRUE@        -DVGP_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1
276
277 @VGCONF_HAVE_PLATFORM_SEC_TRUE@AM_CPPFLAGS_@VGCONF_PLATFORM_SEC_CAPS@ = \
278 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_srcdir) \
279 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_srcdir)/include \
280 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_srcdir)/VEX/pub \
281 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_builddir)/VEX/pub \
282 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGA_@VGCONF_ARCH_SEC@=1 \
283 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGO_@VGCONF_OS@=1 \
284 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGP_@VGCONF_ARCH_SEC@_@VGCONF_OS@=1
285
286 AM_FLAG_M3264_X86_LINUX = @FLAG_M32@
287 AM_CFLAGS_X86_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \
288                                 $(AM_CFLAGS_BASE)
289
290 AM_CCASFLAGS_X86_LINUX = $(AM_CPPFLAGS_X86_LINUX) @FLAG_M32@ -g
291 AM_FLAG_M3264_AMD64_LINUX = @FLAG_M64@
292 AM_CFLAGS_AMD64_LINUX = @FLAG_M64@ -fomit-frame-pointer \
293                                 @PREFERRED_STACK_BOUNDARY@ $(AM_CFLAGS_BASE)
294
295 AM_CCASFLAGS_AMD64_LINUX = $(AM_CPPFLAGS_AMD64_LINUX) @FLAG_M64@ -g
296 AM_FLAG_M3264_PPC32_LINUX = @FLAG_M32@
297 AM_CFLAGS_PPC32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE)
298 AM_CCASFLAGS_PPC32_LINUX = $(AM_CPPFLAGS_PPC32_LINUX) @FLAG_M32@ -g
299 AM_FLAG_M3264_PPC64_LINUX = @FLAG_M64@
300 AM_CFLAGS_PPC64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE)
301 AM_CCASFLAGS_PPC64_LINUX = $(AM_CPPFLAGS_PPC64_LINUX) @FLAG_M64@ -g
302 AM_FLAG_M3264_ARM_LINUX = @FLAG_M32@
303 AM_CFLAGS_ARM_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \
304                                 $(AM_CFLAGS_BASE) -marm
305
306 AM_CCASFLAGS_ARM_LINUX = $(AM_CPPFLAGS_ARM_LINUX) @FLAG_M32@ -marm -g
307 AM_FLAG_M3264_PPC32_AIX5 = @FLAG_MAIX32@
308 AM_CFLAGS_PPC32_AIX5 = @FLAG_MAIX32@ -mcpu=powerpc $(AM_CFLAGS_BASE)
309 AM_CCASFLAGS_PPC32_AIX5 = $(AM_CPPFLAGS_PPC32_AIX5) \
310                             @FLAG_MAIX32@ -mcpu=powerpc -g
311
312 AM_FLAG_M3264_PPC64_AIX5 = @FLAG_MAIX64@
313 AM_CFLAGS_PPC64_AIX5 = @FLAG_MAIX64@ -mcpu=powerpc64 $(AM_CFLAGS_BASE)
314 AM_CCASFLAGS_PPC64_AIX5 = $(AM_CPPFLAGS_PPC64_AIX5) \
315                             @FLAG_MAIX64@ -mcpu=powerpc64 -g
316
317 AM_FLAG_M3264_X86_DARWIN = -arch i386
318 AM_CFLAGS_X86_DARWIN = $(WERROR) -arch i386 $(AM_CFLAGS_BASE) \
319                                 -mmacosx-version-min=10.5 \
320                                 -fno-stack-protector -fno-pic -fno-PIC
321
322 AM_CCASFLAGS_X86_DARWIN = $(AM_CPPFLAGS_X86_DARWIN) -arch i386 -g
323 AM_FLAG_M3264_AMD64_DARWIN = -arch x86_64
324 AM_CFLAGS_AMD64_DARWIN = $(WERROR) -arch x86_64 $(AM_CFLAGS_BASE) \
325                             -mmacosx-version-min=10.5 -fno-stack-protector
326
327 AM_CCASFLAGS_AMD64_DARWIN = $(AM_CPPFLAGS_AMD64_DARWIN) -arch x86_64 -g
328 AM_FLAG_M3264_X86_L4RE = @FLAG_M32@
329 AM_CFLAGS_X86_L4RE = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \
330                                                  $(L4_CFLAGS) $(AM_CFLAGS_BASE)
331
332 AM_CCASFLAGS_X86_L4RE = $(L4_CPPFLAGS) @FLAG_M32@ -g
333 AM_CXXFLAGS_X86_L4RE = $(L4_CXXFLAGS) @FLAG_M32@
334 #AM_CPPFLAGS_X86_L4RE   = $(L4_CPPFLAGS) $(AM_CPPFLAGS_X86_L4RE)
335 AM_FLAG_M3264_S390X_LINUX = @FLAG_M64@
336 AM_CFLAGS_S390X_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE)
337 AM_CCASFLAGS_S390X_LINUX = $(AM_CPPFLAGS_S390X_LINUX) -mzarch -march=z900 \
338                             @FLAG_M64@ -g
339
340
341 # Flags for the primary target.  These must be used to build the
342 # regtests and performance tests.  In fact, these must be used to
343 # build anything which is built only once on a dual-arch build.
344 #
345 AM_FLAG_M3264_PRI = $(AM_FLAG_M3264_@VGCONF_PLATFORM_PRI_CAPS@)
346 AM_CPPFLAGS_PRI = $(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
347 AM_CFLAGS_PRI = $(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
348 AM_CCASFLAGS_PRI = $(AM_CCASFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
349 AM_CXXFLAGS_PRI = $(AM_CXXFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
350 @VGCONF_HAVE_PLATFORM_SEC_FALSE@AM_FLAG_M3264_SEC = 
351 @VGCONF_HAVE_PLATFORM_SEC_TRUE@AM_FLAG_M3264_SEC = $(AM_FLAG_M3264_@VGCONF_PLATFORM_SEC_CAPS@)
352
353 # Baseline link flags for making vgpreload shared objects.
354 #
355 PRELOAD_LDFLAGS_COMMON_LINUX = -nodefaultlibs -shared -Wl,-z,interpose,-z,initfirst
356 PRELOAD_LDFLAGS_COMMON_AIX5 = -nodefaultlibs -shared -Wl,-G -Wl,-bnogc
357 PRELOAD_LDFLAGS_COMMON_DARWIN = -dynamic -dynamiclib -all_load
358 PRELOAD_LDFLAGS_COMMON_L4RE = -nodefaultlibs -shared -Wl,-z,interpose,-z,initfirst
359 PRELOAD_LDFLAGS_X86_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
360 PRELOAD_LDFLAGS_AMD64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
361 PRELOAD_LDFLAGS_PPC32_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
362 PRELOAD_LDFLAGS_PPC64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
363 PRELOAD_LDFLAGS_ARM_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
364 PRELOAD_LDFLAGS_PPC32_AIX5 = $(PRELOAD_LDFLAGS_COMMON_AIX5)  @FLAG_MAIX32@
365 PRELOAD_LDFLAGS_PPC64_AIX5 = $(PRELOAD_LDFLAGS_COMMON_AIX5)  @FLAG_MAIX64@
366 PRELOAD_LDFLAGS_X86_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch i386
367 PRELOAD_LDFLAGS_AMD64_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch x86_64
368 PRELOAD_LDFLAGS_S390X_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
369 PRELOAD_LDFLAGS_X86_L4RE = $(PRELOAD_LDFLAGS_COMMON_L4RE) @FLAG_M32@
370 dist_noinst_SCRIPTS = \
371         gen-mdg \
372         gsl16test \
373         gsl19test \
374         posixtestsuite-1.5.1-diff-results
375
376 EXTRA_DIST = \
377         DotToScc.hs \
378         Merge3Way.hs \
379         aix5_VKI_info.c \
380         aix5_proc_self_sysent.c \
381         gsl16-badfree.patch \
382         gsl16-wavelet.patch \
383         posixtestsuite-1.5.1-diff.txt \
384         ppcfround.c \
385         ppc64shifts.c \
386         primes.c
387
388 valgrind_listener_SOURCES = valgrind-listener.c
389 valgrind_listener_CPPFLAGS = $(AM_CPPFLAGS_PRI) -I$(top_srcdir)/coregrind
390 valgrind_listener_CFLAGS = $(AM_CFLAGS_PRI)
391 valgrind_listener_CCASFLAGS = $(AM_CCASFLAGS_PRI)
392 valgrind_listener_LDFLAGS = $(AM_CFLAGS_PRI) $(am__append_1)
393 all: all-am
394
395 .SUFFIXES:
396 .SUFFIXES: .c .o .obj
397 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.all.am $(am__configure_deps)
398         @for dep in $?; do \
399           case '$(am__configure_deps)' in \
400             *$$dep*) \
401               ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
402                 && { if test -f $@; then exit 0; else break; fi; }; \
403               exit 1;; \
404           esac; \
405         done; \
406         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign auxprogs/Makefile'; \
407         $(am__cd) $(top_srcdir) && \
408           $(AUTOMAKE) --foreign auxprogs/Makefile
409 .PRECIOUS: Makefile
410 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
411         @case '$?' in \
412           *config.status*) \
413             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
414           *) \
415             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
416             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
417         esac;
418
419 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
420         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
421
422 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
423         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
424 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
425         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
426 $(am__aclocal_m4_deps):
427 install-binPROGRAMS: $(bin_PROGRAMS)
428         @$(NORMAL_INSTALL)
429         test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
430         @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
431         for p in $$list; do echo "$$p $$p"; done | \
432         sed 's/$(EXEEXT)$$//' | \
433         while read p p1; do if test -f $$p; \
434           then echo "$$p"; echo "$$p"; else :; fi; \
435         done | \
436         sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
437             -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
438         sed 'N;N;N;s,\n, ,g' | \
439         $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
440           { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
441             if ($$2 == $$4) files[d] = files[d] " " $$1; \
442             else { print "f", $$3 "/" $$4, $$1; } } \
443           END { for (d in files) print "f", d, files[d] }' | \
444         while read type dir files; do \
445             if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
446             test -z "$$files" || { \
447               echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
448               $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
449             } \
450         ; done
451
452 uninstall-binPROGRAMS:
453         @$(NORMAL_UNINSTALL)
454         @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
455         files=`for p in $$list; do echo "$$p"; done | \
456           sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
457               -e 's/$$/$(EXEEXT)/' `; \
458         test -n "$$list" || exit 0; \
459         echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
460         cd "$(DESTDIR)$(bindir)" && rm -f $$files
461
462 clean-binPROGRAMS:
463         -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
464 valgrind-listener$(EXEEXT): $(valgrind_listener_OBJECTS) $(valgrind_listener_DEPENDENCIES) 
465         @rm -f valgrind-listener$(EXEEXT)
466         $(valgrind_listener_LINK) $(valgrind_listener_OBJECTS) $(valgrind_listener_LDADD) $(LIBS)
467
468 mostlyclean-compile:
469         -rm -f *.$(OBJEXT)
470
471 distclean-compile:
472         -rm -f *.tab.c
473
474 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/valgrind_listener-valgrind-listener.Po@am__quote@
475
476 .c.o:
477 @am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
478 @am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
479 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
480 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
481 @am__fastdepCC_FALSE@   $(COMPILE) -c $<
482
483 .c.obj:
484 @am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
485 @am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
486 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
487 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
488 @am__fastdepCC_FALSE@   $(COMPILE) -c `$(CYGPATH_W) '$<'`
489
490 valgrind_listener-valgrind-listener.o: valgrind-listener.c
491 @am__fastdepCC_TRUE@    $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(valgrind_listener_CPPFLAGS) $(CPPFLAGS) $(valgrind_listener_CFLAGS) $(CFLAGS) -MT valgrind_listener-valgrind-listener.o -MD -MP -MF $(DEPDIR)/valgrind_listener-valgrind-listener.Tpo -c -o valgrind_listener-valgrind-listener.o `test -f 'valgrind-listener.c' || echo '$(srcdir)/'`valgrind-listener.c
492 @am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/valgrind_listener-valgrind-listener.Tpo $(DEPDIR)/valgrind_listener-valgrind-listener.Po
493 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='valgrind-listener.c' object='valgrind_listener-valgrind-listener.o' libtool=no @AMDEPBACKSLASH@
494 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
495 @am__fastdepCC_FALSE@   $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(valgrind_listener_CPPFLAGS) $(CPPFLAGS) $(valgrind_listener_CFLAGS) $(CFLAGS) -c -o valgrind_listener-valgrind-listener.o `test -f 'valgrind-listener.c' || echo '$(srcdir)/'`valgrind-listener.c
496
497 valgrind_listener-valgrind-listener.obj: valgrind-listener.c
498 @am__fastdepCC_TRUE@    $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(valgrind_listener_CPPFLAGS) $(CPPFLAGS) $(valgrind_listener_CFLAGS) $(CFLAGS) -MT valgrind_listener-valgrind-listener.obj -MD -MP -MF $(DEPDIR)/valgrind_listener-valgrind-listener.Tpo -c -o valgrind_listener-valgrind-listener.obj `if test -f 'valgrind-listener.c'; then $(CYGPATH_W) 'valgrind-listener.c'; else $(CYGPATH_W) '$(srcdir)/valgrind-listener.c'; fi`
499 @am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/valgrind_listener-valgrind-listener.Tpo $(DEPDIR)/valgrind_listener-valgrind-listener.Po
500 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='valgrind-listener.c' object='valgrind_listener-valgrind-listener.obj' libtool=no @AMDEPBACKSLASH@
501 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
502 @am__fastdepCC_FALSE@   $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(valgrind_listener_CPPFLAGS) $(CPPFLAGS) $(valgrind_listener_CFLAGS) $(CFLAGS) -c -o valgrind_listener-valgrind-listener.obj `if test -f 'valgrind-listener.c'; then $(CYGPATH_W) 'valgrind-listener.c'; else $(CYGPATH_W) '$(srcdir)/valgrind-listener.c'; fi`
503
504 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
505         list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
506         unique=`for i in $$list; do \
507             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
508           done | \
509           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
510               END { if (nonempty) { for (i in files) print i; }; }'`; \
511         mkid -fID $$unique
512 tags: TAGS
513
514 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
515                 $(TAGS_FILES) $(LISP)
516         set x; \
517         here=`pwd`; \
518         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
519         unique=`for i in $$list; do \
520             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
521           done | \
522           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
523               END { if (nonempty) { for (i in files) print i; }; }'`; \
524         shift; \
525         if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
526           test -n "$$unique" || unique=$$empty_fix; \
527           if test $$# -gt 0; then \
528             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
529               "$$@" $$unique; \
530           else \
531             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
532               $$unique; \
533           fi; \
534         fi
535 ctags: CTAGS
536 CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
537                 $(TAGS_FILES) $(LISP)
538         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
539         unique=`for i in $$list; do \
540             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
541           done | \
542           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
543               END { if (nonempty) { for (i in files) print i; }; }'`; \
544         test -z "$(CTAGS_ARGS)$$unique" \
545           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
546              $$unique
547
548 GTAGS:
549         here=`$(am__cd) $(top_builddir) && pwd` \
550           && $(am__cd) $(top_srcdir) \
551           && gtags -i $(GTAGS_ARGS) "$$here"
552
553 distclean-tags:
554         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
555
556 distdir: $(DISTFILES)
557         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
558         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
559         list='$(DISTFILES)'; \
560           dist_files=`for file in $$list; do echo $$file; done | \
561           sed -e "s|^$$srcdirstrip/||;t" \
562               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
563         case $$dist_files in \
564           */*) $(MKDIR_P) `echo "$$dist_files" | \
565                            sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
566                            sort -u` ;; \
567         esac; \
568         for file in $$dist_files; do \
569           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
570           if test -d $$d/$$file; then \
571             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
572             if test -d "$(distdir)/$$file"; then \
573               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
574             fi; \
575             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
576               cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
577               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
578             fi; \
579             cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
580           else \
581             test -f "$(distdir)/$$file" \
582             || cp -p $$d/$$file "$(distdir)/$$file" \
583             || exit 1; \
584           fi; \
585         done
586 check-am: all-am
587 check: check-am
588 all-am: Makefile $(PROGRAMS) $(SCRIPTS)
589 installdirs:
590         for dir in "$(DESTDIR)$(bindir)"; do \
591           test -z "$$dir" || $(MKDIR_P) "$$dir"; \
592         done
593 install: install-am
594 install-exec: install-exec-am
595 install-data: install-data-am
596 uninstall: uninstall-am
597
598 install-am: all-am
599         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
600
601 installcheck: installcheck-am
602 install-strip:
603         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
604           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
605           `test -z '$(STRIP)' || \
606             echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
607 mostlyclean-generic:
608
609 clean-generic:
610
611 distclean-generic:
612         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
613         -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
614
615 maintainer-clean-generic:
616         @echo "This command is intended for maintainers to use"
617         @echo "it deletes files that may require special tools to rebuild."
618 clean: clean-am
619
620 clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
621
622 distclean: distclean-am
623         -rm -rf ./$(DEPDIR)
624         -rm -f Makefile
625 distclean-am: clean-am distclean-compile distclean-generic \
626         distclean-tags
627
628 dvi: dvi-am
629
630 dvi-am:
631
632 html: html-am
633
634 html-am:
635
636 info: info-am
637
638 info-am:
639
640 install-data-am:
641
642 install-dvi: install-dvi-am
643
644 install-dvi-am:
645
646 install-exec-am: install-binPROGRAMS
647
648 install-html: install-html-am
649
650 install-html-am:
651
652 install-info: install-info-am
653
654 install-info-am:
655
656 install-man:
657
658 install-pdf: install-pdf-am
659
660 install-pdf-am:
661
662 install-ps: install-ps-am
663
664 install-ps-am:
665
666 installcheck-am:
667
668 maintainer-clean: maintainer-clean-am
669         -rm -rf ./$(DEPDIR)
670         -rm -f Makefile
671 maintainer-clean-am: distclean-am maintainer-clean-generic
672
673 mostlyclean: mostlyclean-am
674
675 mostlyclean-am: mostlyclean-compile mostlyclean-generic
676
677 pdf: pdf-am
678
679 pdf-am:
680
681 ps: ps-am
682
683 ps-am:
684
685 uninstall-am: uninstall-binPROGRAMS
686
687 .MAKE: install-am install-strip
688
689 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
690         clean-generic ctags distclean distclean-compile \
691         distclean-generic distclean-tags distdir dvi dvi-am html \
692         html-am info info-am install install-am install-binPROGRAMS \
693         install-data install-data-am install-dvi install-dvi-am \
694         install-exec install-exec-am install-html install-html-am \
695         install-info install-info-am install-man install-pdf \
696         install-pdf-am install-ps install-ps-am install-strip \
697         installcheck installcheck-am installdirs maintainer-clean \
698         maintainer-clean-generic mostlyclean mostlyclean-compile \
699         mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
700         uninstall-am uninstall-binPROGRAMS
701
702
703 # This used to be required when Vex had a handwritten Makefile.  It
704 # shouldn't be needed any more, though.
705
706 #----------------------------------------------------------------------------
707 # noinst_PROGRAMS and noinst_DSYMS targets
708 #----------------------------------------------------------------------------
709
710 # On Darwin, for a program 'p', the DWARF debug info is stored in the
711 # directory 'p.dSYM'.  This must be generated after the executable is
712 # created, with 'dsymutil p'.  We could redefine LINK with a script that
713 # executes 'dsymutil' after linking, but that's a pain.  Instead we use this
714 # hook so that every time "make check" is run, we subsequently invoke
715 # 'dsymutil' on all the executables that lack a .dSYM directory, or that are
716 # newer than their corresponding .dSYM directory.
717 build-noinst_DSYMS: $(noinst_DSYMS)
718         for f in $(noinst_DSYMS); do \
719           if [ ! -e $$f.dSYM  -o  $$f -nt $$f.dSYM ] ; then \
720               echo "dsymutil $$f"; \
721               dsymutil $$f; \
722           fi; \
723         done
724
725 # This is used by coregrind/Makefile.am and Makefile.tool.am for doing
726 # "in-place" installs.  It copies $(noinst_PROGRAMS) into $inplacedir.
727 # It needs to be depended on by an 'all-local' rule.
728 inplace-noinst_PROGRAMS: $(noinst_PROGRAMS)
729         mkdir -p $(inplacedir); \
730         for f in $(noinst_PROGRAMS) ; do \
731           rm -f $(inplacedir)/$$f; \
732           ln -f -s ../$(subdir)/$$f $(inplacedir); \
733         done
734
735 # Similar to inplace-noinst_PROGRAMS
736 inplace-noinst_DSYMS: build-noinst_DSYMS
737         mkdir -p $(inplacedir); \
738         for f in $(noinst_DSYMS); do \
739           rm -f $(inplacedir)/$$f.dSYM; \
740           ln -f -s ../$(subdir)/$$f.dSYM $(inplacedir); \
741         done
742
743 # This is used by coregrind/Makefile.am and by <tool>/Makefile.am for doing
744 # "make install".  It copies $(noinst_PROGRAMS) into $prefix/lib/valgrind/.
745 # It needs to be depended on by an 'install-exec-local' rule.
746 install-noinst_PROGRAMS: $(noinst_PROGRAMS)
747         $(mkinstalldirs) $(DESTDIR)$(pkglibdir); \
748         for f in $(noinst_PROGRAMS); do \
749           $(INSTALL_PROGRAM) $$f $(DESTDIR)$(pkglibdir); \
750         done
751
752 # Similar to install-noinst_PROGRAMS.
753 # Nb: we don't use $(INSTALL_PROGRAM) here because it doesn't work with
754 # directories.  XXX: not sure whether the resulting permissions will be
755 # correct when using 'cp -R'...
756 install-noinst_DSYMS: build-noinst_DSYMS
757         $(mkinstalldirs) $(DESTDIR)$(pkglibdir); \
758         for f in $(noinst_DSYMS); do \
759           cp -R $$f.dSYM $(DESTDIR)$(pkglibdir); \
760         done
761
762 # This needs to be depended on by a 'clean-local' rule.
763 clean-noinst_DSYMS:
764         for f in $(noinst_DSYMS); do \
765           rm -rf $$f.dSYM; \
766         done
767
768 # Tell versions [3.59,3.63) of GNU make to not export all variables.
769 # Otherwise a system limit (for SysV at least) may be exceeded.
770 .NOEXPORT: