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