• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Makefile.in generated by automake 1.11.3 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, 2010, 2011 Free Software
6# Foundation, 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
49
50# The Android toolchain includes all kinds of stdlib helpers present in
51# bionic which is bad because we are not linking with it and the Android
52# linker will panic.
53@VGCONF_PLATVARIANT_IS_ANDROID_TRUE@am__append_1 = -nostdlib
54@VGCONF_HAVE_PLATFORM_SEC_TRUE@am__append_2 = -DVGA_SEC_@VGCONF_ARCH_SEC@=1  \
55@VGCONF_HAVE_PLATFORM_SEC_TRUE@		-DVGP_SEC_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1
56
57@HAS_WRITE_STRINGS_WARNING_TRUE@am__append_3 = -Wno-write-strings
58@COMPILER_IS_CLANG_TRUE@am__append_4 = -Wno-format-extra-args \
59@COMPILER_IS_CLANG_TRUE@	-Wno-literal-range \
60@COMPILER_IS_CLANG_TRUE@	-Wno-string-plus-int # \
61@COMPILER_IS_CLANG_TRUE@	drd/tests/annotate_ignore_rw.c
62@COMPILER_IS_CLANG_TRUE@am__append_5 = -Wno-unused-private-field    # drd/tests/tsan_unittest.cpp
63check_PROGRAMS = allexec$(EXEEXT) block_size$(EXEEXT) \
64	branches$(EXEEXT) FPUarithmetic$(EXEEXT) LoadStore$(EXEEXT) \
65	LoadStore1$(EXEEXT) MemCpyTest$(EXEEXT) MIPS32int$(EXEEXT) \
66	MoveIns$(EXEEXT) round$(EXEEXT) vfp$(EXEEXT) \
67	SignalException$(EXEEXT) bug320057-mips32$(EXEEXT) \
68	mips32_dsp$(EXEEXT) mips32_dspr2$(EXEEXT) \
69	unaligned_load_store$(EXEEXT) test_fcsr$(EXEEXT) \
70	test_math$(EXEEXT) round_fpu64$(EXEEXT) fpu_branches$(EXEEXT)
71subdir = none/tests/mips32
72ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
73am__aclocal_m4_deps = $(top_srcdir)/configure.ac
74am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
75	$(ACLOCAL_M4)
76mkinstalldirs = $(install_sh) -d
77CONFIG_HEADER = $(top_builddir)/config.h
78CONFIG_CLEAN_FILES =
79CONFIG_CLEAN_VPATH_FILES =
80FPUarithmetic_SOURCES = FPUarithmetic.c
81FPUarithmetic_OBJECTS = FPUarithmetic.$(OBJEXT)
82FPUarithmetic_LDADD = $(LDADD)
83LoadStore_SOURCES = LoadStore.c
84LoadStore_OBJECTS = LoadStore.$(OBJEXT)
85LoadStore_LDADD = $(LDADD)
86LoadStore1_SOURCES = LoadStore1.c
87LoadStore1_OBJECTS = LoadStore1.$(OBJEXT)
88LoadStore1_LDADD = $(LDADD)
89MIPS32int_SOURCES = MIPS32int.c
90MIPS32int_OBJECTS = MIPS32int.$(OBJEXT)
91MIPS32int_LDADD = $(LDADD)
92MemCpyTest_SOURCES = MemCpyTest.c
93MemCpyTest_OBJECTS = MemCpyTest.$(OBJEXT)
94MemCpyTest_LDADD = $(LDADD)
95MoveIns_SOURCES = MoveIns.c
96MoveIns_OBJECTS = MoveIns.$(OBJEXT)
97MoveIns_LDADD = $(LDADD)
98SignalException_SOURCES = SignalException.c
99SignalException_OBJECTS = SignalException.$(OBJEXT)
100SignalException_LDADD = $(LDADD)
101allexec_SOURCES = allexec.c
102allexec_OBJECTS = allexec-allexec.$(OBJEXT)
103allexec_LDADD = $(LDADD)
104allexec_LINK = $(CCLD) $(allexec_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
105	$(LDFLAGS) -o $@
106block_size_SOURCES = block_size.c
107block_size_OBJECTS = block_size.$(OBJEXT)
108block_size_LDADD = $(LDADD)
109branches_SOURCES = branches.c
110branches_OBJECTS = branches.$(OBJEXT)
111branches_LDADD = $(LDADD)
112bug320057_mips32_SOURCES = bug320057-mips32.c
113bug320057_mips32_OBJECTS = bug320057-mips32.$(OBJEXT)
114bug320057_mips32_LDADD = $(LDADD)
115bug320057_mips32_LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
116	$(bug320057_mips32_LDFLAGS) $(LDFLAGS) -o $@
117fpu_branches_SOURCES = fpu_branches.c
118fpu_branches_OBJECTS = fpu_branches.$(OBJEXT)
119fpu_branches_LDADD = $(LDADD)
120mips32_dsp_SOURCES = mips32_dsp.c
121mips32_dsp_OBJECTS = mips32_dsp.$(OBJEXT)
122mips32_dsp_LDADD = $(LDADD)
123mips32_dspr2_SOURCES = mips32_dspr2.c
124mips32_dspr2_OBJECTS = mips32_dspr2.$(OBJEXT)
125mips32_dspr2_LDADD = $(LDADD)
126round_SOURCES = round.c
127round_OBJECTS = round.$(OBJEXT)
128round_LDADD = $(LDADD)
129round_fpu64_SOURCES = round_fpu64.c
130round_fpu64_OBJECTS = round_fpu64.$(OBJEXT)
131round_fpu64_LDADD = $(LDADD)
132test_fcsr_SOURCES = test_fcsr.c
133test_fcsr_OBJECTS = test_fcsr.$(OBJEXT)
134test_fcsr_LDADD = $(LDADD)
135am_test_math_OBJECTS = test_math.$(OBJEXT)
136test_math_OBJECTS = $(am_test_math_OBJECTS)
137test_math_LDADD = $(LDADD)
138unaligned_load_store_SOURCES = unaligned_load_store.c
139unaligned_load_store_OBJECTS = unaligned_load_store.$(OBJEXT)
140unaligned_load_store_LDADD = $(LDADD)
141vfp_SOURCES = vfp.c
142vfp_OBJECTS = vfp.$(OBJEXT)
143vfp_LDADD = $(LDADD)
144SCRIPTS = $(dist_noinst_SCRIPTS)
145DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
146depcomp = $(SHELL) $(top_srcdir)/depcomp
147am__depfiles_maybe = depfiles
148am__mv = mv -f
149COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
150	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
151CCLD = $(CC)
152LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
153CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
154	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
155CXXLD = $(CXX)
156CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
157	-o $@
158SOURCES = FPUarithmetic.c LoadStore.c LoadStore1.c MIPS32int.c \
159	MemCpyTest.c MoveIns.c SignalException.c allexec.c \
160	block_size.c branches.c bug320057-mips32.c fpu_branches.c \
161	mips32_dsp.c mips32_dspr2.c round.c round_fpu64.c test_fcsr.c \
162	$(test_math_SOURCES) unaligned_load_store.c vfp.c
163DIST_SOURCES = FPUarithmetic.c LoadStore.c LoadStore1.c MIPS32int.c \
164	MemCpyTest.c MoveIns.c SignalException.c allexec.c \
165	block_size.c branches.c bug320057-mips32.c fpu_branches.c \
166	mips32_dsp.c mips32_dspr2.c round.c round_fpu64.c test_fcsr.c \
167	$(test_math_SOURCES) unaligned_load_store.c vfp.c
168ETAGS = etags
169CTAGS = ctags
170DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
171ACLOCAL = @ACLOCAL@
172AMTAR = @AMTAR@
173AR = @AR@
174AUTOCONF = @AUTOCONF@
175AUTOHEADER = @AUTOHEADER@
176AUTOMAKE = @AUTOMAKE@
177AWK = @AWK@
178BOOST_CFLAGS = @BOOST_CFLAGS@
179BOOST_LIBS = @BOOST_LIBS@
180CC = @CC@
181CCAS = @CCAS@
182CCASDEPMODE = @CCASDEPMODE@
183CCASFLAGS = @CCASFLAGS@
184CCDEPMODE = @CCDEPMODE@
185CFLAGS = @CFLAGS@ $(am__append_3) $(am__append_4)
186CFLAGS_MPI = @CFLAGS_MPI@
187CPP = @CPP@
188CPPFLAGS = @CPPFLAGS@
189CXX = @CXX@
190CXXDEPMODE = @CXXDEPMODE@
191CXXFLAGS = @CXXFLAGS@ $(am__append_5)
192CYGPATH_W = @CYGPATH_W@
193DEFAULT_SUPP = @DEFAULT_SUPP@
194DEFS = @DEFS@
195DEPDIR = @DEPDIR@
196DIFF = @DIFF@
197ECHO_C = @ECHO_C@
198ECHO_N = @ECHO_N@
199ECHO_T = @ECHO_T@
200EGREP = @EGREP@
201EXEEXT = @EXEEXT@
202FLAG_FNO_STACK_PROTECTOR = @FLAG_FNO_STACK_PROTECTOR@
203FLAG_M32 = @FLAG_M32@
204FLAG_M64 = @FLAG_M64@
205FLAG_MIPS32 = @FLAG_MIPS32@
206FLAG_MIPS64 = @FLAG_MIPS64@
207FLAG_MMMX = @FLAG_MMMX@
208FLAG_MSSE = @FLAG_MSSE@
209FLAG_NO_BUILD_ID = @FLAG_NO_BUILD_ID@
210FLAG_OCTEON = @FLAG_OCTEON@
211FLAG_OCTEON2 = @FLAG_OCTEON2@
212FLAG_T_TEXT = @FLAG_T_TEXT@
213FLAG_UNLIMITED_INLINE_UNIT_GROWTH = @FLAG_UNLIMITED_INLINE_UNIT_GROWTH@
214FLAG_W_EXTRA = @FLAG_W_EXTRA@
215FLAG_W_NO_EMPTY_BODY = @FLAG_W_NO_EMPTY_BODY@
216FLAG_W_NO_FORMAT_ZERO_LENGTH = @FLAG_W_NO_FORMAT_ZERO_LENGTH@
217FLAG_W_NO_NONNULL = @FLAG_W_NO_NONNULL@
218FLAG_W_NO_OVERFLOW = @FLAG_W_NO_OVERFLOW@
219FLAG_W_NO_UNINITIALIZED = @FLAG_W_NO_UNINITIALIZED@
220GDB = @GDB@
221GLIBC_VERSION = @GLIBC_VERSION@
222GREP = @GREP@
223INSTALL = @INSTALL@
224INSTALL_DATA = @INSTALL_DATA@
225INSTALL_PROGRAM = @INSTALL_PROGRAM@
226INSTALL_SCRIPT = @INSTALL_SCRIPT@
227INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
228LDFLAGS = @LDFLAGS@
229LDFLAGS_MPI = @LDFLAGS_MPI@
230LIBOBJS = @LIBOBJS@
231LIBS = @LIBS@
232LN_S = @LN_S@
233LTLIBOBJS = @LTLIBOBJS@
234MAINT = @MAINT@
235MAKEINFO = @MAKEINFO@
236MKDIR_P = @MKDIR_P@
237MPI_CC = @MPI_CC@
238OBJEXT = @OBJEXT@
239PACKAGE = @PACKAGE@
240PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
241PACKAGE_NAME = @PACKAGE_NAME@
242PACKAGE_STRING = @PACKAGE_STRING@
243PACKAGE_TARNAME = @PACKAGE_TARNAME@
244PACKAGE_URL = @PACKAGE_URL@
245PACKAGE_VERSION = @PACKAGE_VERSION@
246PATH_SEPARATOR = @PATH_SEPARATOR@
247PERL = @PERL@
248PREFERRED_STACK_BOUNDARY = @PREFERRED_STACK_BOUNDARY@
249RANLIB = @RANLIB@
250SED = @SED@
251SET_MAKE = @SET_MAKE@
252SHELL = @SHELL@
253STRIP = @STRIP@
254VALT_LOAD_ADDRESS_PRI = @VALT_LOAD_ADDRESS_PRI@
255VALT_LOAD_ADDRESS_SEC = @VALT_LOAD_ADDRESS_SEC@
256VERSION = @VERSION@
257VGCONF_ARCH_PRI = @VGCONF_ARCH_PRI@
258VGCONF_ARCH_SEC = @VGCONF_ARCH_SEC@
259VGCONF_OS = @VGCONF_OS@
260VGCONF_PLATFORM_PRI_CAPS = @VGCONF_PLATFORM_PRI_CAPS@
261VGCONF_PLATFORM_SEC_CAPS = @VGCONF_PLATFORM_SEC_CAPS@
262VGCONF_PLATVARIANT = @VGCONF_PLATVARIANT@
263abs_builddir = @abs_builddir@
264abs_srcdir = @abs_srcdir@
265abs_top_builddir = @abs_top_builddir@
266abs_top_srcdir = @abs_top_srcdir@
267ac_ct_CC = @ac_ct_CC@
268ac_ct_CXX = @ac_ct_CXX@
269am__include = @am__include@
270am__leading_dot = @am__leading_dot@
271am__quote = @am__quote@
272am__tar = @am__tar@
273am__untar = @am__untar@
274bindir = @bindir@
275build = @build@
276build_alias = @build_alias@
277build_cpu = @build_cpu@
278build_os = @build_os@
279build_vendor = @build_vendor@
280builddir = @builddir@
281datadir = @datadir@
282datarootdir = @datarootdir@
283docdir = @docdir@
284dvidir = @dvidir@
285exec_prefix = @exec_prefix@
286host = @host@
287host_alias = @host_alias@
288host_cpu = @host_cpu@
289host_os = @host_os@
290host_vendor = @host_vendor@
291htmldir = @htmldir@
292includedir = @includedir@
293infodir = @infodir@
294install_sh = @install_sh@
295libdir = @libdir@
296libexecdir = @libexecdir@
297localedir = @localedir@
298localstatedir = @localstatedir@
299mandir = @mandir@
300mkdir_p = @mkdir_p@
301oldincludedir = @oldincludedir@
302pdfdir = @pdfdir@
303prefix = @prefix@
304program_transform_name = @program_transform_name@
305psdir = @psdir@
306sbindir = @sbindir@
307sharedstatedir = @sharedstatedir@
308srcdir = @srcdir@
309sysconfdir = @sysconfdir@
310target_alias = @target_alias@
311top_build_prefix = @top_build_prefix@
312top_builddir = @top_builddir@
313top_srcdir = @top_srcdir@
314inplacedir = $(top_builddir)/.in_place
315
316#----------------------------------------------------------------------------
317# Flags
318#----------------------------------------------------------------------------
319
320# Baseline flags for all compilations.  Aim here is to maximise
321# performance and get whatever useful warnings we can out of gcc.
322# -fno-builtin is important for defeating LLVM's idiom recognition
323# that somehow causes VG_(memset) to get into infinite recursion.
324AM_CFLAGS_BASE = \
325	-O2 -g \
326	-Wall \
327	-Wmissing-prototypes \
328	-Wshadow \
329	-Wpointer-arith \
330	-Wstrict-prototypes \
331	-Wmissing-declarations \
332	@FLAG_W_NO_FORMAT_ZERO_LENGTH@ \
333	-fno-strict-aliasing \
334	-fno-builtin
335
336@VGCONF_OS_IS_DARWIN_FALSE@AM_CFLAGS_PIC = -fpic -O -g -fno-omit-frame-pointer -fno-strict-aliasing \
337@VGCONF_OS_IS_DARWIN_FALSE@		-fno-builtin
338
339
340# These flags are used for building the preload shared objects.
341# The aim is to give reasonable performance but also to have good
342# stack traces, since users often see stack traces extending
343# into (and through) the preloads.
344@VGCONF_OS_IS_DARWIN_TRUE@AM_CFLAGS_PIC = -dynamic -O -g -fno-omit-frame-pointer -fno-strict-aliasing \
345@VGCONF_OS_IS_DARWIN_TRUE@		-mno-dynamic-no-pic -fpic -fPIC \
346@VGCONF_OS_IS_DARWIN_TRUE@		-fno-builtin
347
348
349# Flags for specific targets.
350#
351# Nb: the AM_CPPFLAGS_* values are suitable for building tools and auxprogs.
352# For building the core, coregrind/Makefile.am files add some extra things.
353AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@ = \
354	-I$(top_srcdir) \
355	-I$(top_srcdir)/include \
356	-I$(top_srcdir)/VEX/pub \
357	-DVGA_@VGCONF_ARCH_PRI@=1 \
358	-DVGO_@VGCONF_OS@=1 \
359	-DVGP_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1 \
360	-DVGPV_@VGCONF_ARCH_PRI@_@VGCONF_OS@_@VGCONF_PLATVARIANT@=1
361
362@VGCONF_HAVE_PLATFORM_SEC_TRUE@AM_CPPFLAGS_@VGCONF_PLATFORM_SEC_CAPS@ = \
363@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-I$(top_srcdir) \
364@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-I$(top_srcdir)/include \
365@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-I$(top_srcdir)/VEX/pub \
366@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-DVGA_@VGCONF_ARCH_SEC@=1 \
367@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-DVGO_@VGCONF_OS@=1 \
368@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-DVGP_@VGCONF_ARCH_SEC@_@VGCONF_OS@=1 \
369@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-DVGPV_@VGCONF_ARCH_SEC@_@VGCONF_OS@_@VGCONF_PLATVARIANT@=1
370
371AM_FLAG_M3264_X86_LINUX = @FLAG_M32@
372AM_CFLAGS_X86_LINUX = @FLAG_M32@  @PREFERRED_STACK_BOUNDARY@ \
373				$(AM_CFLAGS_BASE) -fomit-frame-pointer
374
375AM_CCASFLAGS_X86_LINUX = @FLAG_M32@ -g
376AM_FLAG_M3264_AMD64_LINUX = @FLAG_M64@
377AM_CFLAGS_AMD64_LINUX = @FLAG_M64@ @PREFERRED_STACK_BOUNDARY@ \
378				$(AM_CFLAGS_BASE) -fomit-frame-pointer
379
380AM_CCASFLAGS_AMD64_LINUX = @FLAG_M64@ -g
381AM_FLAG_M3264_PPC32_LINUX = @FLAG_M32@
382AM_CFLAGS_PPC32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE)
383AM_CCASFLAGS_PPC32_LINUX = @FLAG_M32@ -g
384AM_FLAG_M3264_PPC64_LINUX = @FLAG_M64@
385AM_CFLAGS_PPC64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE)
386AM_CCASFLAGS_PPC64_LINUX = @FLAG_M64@ -g
387AM_FLAG_M3264_ARM_LINUX = @FLAG_M32@
388AM_CFLAGS_ARM_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \
389			 	$(AM_CFLAGS_BASE) -marm -mcpu=cortex-a8
390
391AM_CCASFLAGS_ARM_LINUX = @FLAG_M32@ \
392				-marm -mcpu=cortex-a8 -g
393
394AM_FLAG_M3264_ARM64_LINUX = @FLAG_M64@
395AM_CFLAGS_ARM64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE)
396AM_CCASFLAGS_ARM64_LINUX = @FLAG_M64@ -g
397AM_FLAG_M3264_X86_DARWIN = -arch i386
398AM_CFLAGS_X86_DARWIN = $(WERROR) -arch i386 $(AM_CFLAGS_BASE) \
399				-mmacosx-version-min=10.5 \
400				-fno-stack-protector -fno-pic -fno-PIC
401
402AM_CCASFLAGS_X86_DARWIN = -arch i386 -g
403AM_FLAG_M3264_AMD64_DARWIN = -arch x86_64
404AM_CFLAGS_AMD64_DARWIN = $(WERROR) -arch x86_64 $(AM_CFLAGS_BASE) \
405			    -mmacosx-version-min=10.5 -fno-stack-protector
406
407AM_CCASFLAGS_AMD64_DARWIN = -arch x86_64 -g
408AM_FLAG_M3264_S390X_LINUX = @FLAG_M64@
409AM_CFLAGS_S390X_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) -fomit-frame-pointer
410AM_CCASFLAGS_S390X_LINUX = @FLAG_M64@ -g -mzarch -march=z900
411AM_FLAG_M3264_MIPS32_LINUX = @FLAG_M32@
412AM_CFLAGS_MIPS32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) @FLAG_MIPS32@
413AM_CCASFLAGS_MIPS32_LINUX = @FLAG_M32@ -g @FLAG_MIPS32@
414AM_FLAG_M3264_MIPS64_LINUX = @FLAG_M64@
415AM_CFLAGS_MIPS64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) @FLAG_MIPS64@
416AM_CCASFLAGS_MIPS64_LINUX = @FLAG_M64@ -g @FLAG_MIPS64@
417
418# Flags for the primary target.  These must be used to build the
419# regtests and performance tests.  In fact, these must be used to
420# build anything which is built only once on a dual-arch build.
421#
422AM_FLAG_M3264_PRI = $(AM_FLAG_M3264_@VGCONF_PLATFORM_PRI_CAPS@)
423AM_CPPFLAGS_PRI = $(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
424AM_CFLAGS_PRI = $(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
425AM_CCASFLAGS_PRI = $(AM_CCASFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
426@VGCONF_HAVE_PLATFORM_SEC_FALSE@AM_FLAG_M3264_SEC =
427@VGCONF_HAVE_PLATFORM_SEC_TRUE@AM_FLAG_M3264_SEC = $(AM_FLAG_M3264_@VGCONF_PLATFORM_SEC_CAPS@)
428
429# Baseline link flags for making vgpreload shared objects.
430#
431PRELOAD_LDFLAGS_COMMON_LINUX = -nodefaultlibs -shared \
432	-Wl,-z,interpose,-z,initfirst $(am__append_1)
433PRELOAD_LDFLAGS_COMMON_DARWIN = -dynamic -dynamiclib -all_load
434PRELOAD_LDFLAGS_X86_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
435PRELOAD_LDFLAGS_AMD64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
436PRELOAD_LDFLAGS_PPC32_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
437PRELOAD_LDFLAGS_PPC64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
438PRELOAD_LDFLAGS_ARM_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
439PRELOAD_LDFLAGS_ARM64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
440PRELOAD_LDFLAGS_X86_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch i386
441PRELOAD_LDFLAGS_AMD64_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch x86_64
442PRELOAD_LDFLAGS_S390X_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
443PRELOAD_LDFLAGS_MIPS32_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
444PRELOAD_LDFLAGS_MIPS64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
445AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \
446	-I$(top_srcdir)/coregrind -I$(top_builddir)/include \
447	-I$(top_srcdir)/VEX/pub -DVGA_@VGCONF_ARCH_PRI@=1 \
448	-DVGO_@VGCONF_OS@=1 -DVGP_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1 \
449	-DVGPV_@VGCONF_ARCH_PRI@_@VGCONF_OS@_@VGCONF_PLATVARIANT@=1 \
450	$(am__append_2)
451
452# Nb: Tools need to augment these flags with an arch-selection option, such
453# as $(AM_FLAG_M3264_PRI).
454AM_CFLAGS = -Winline -Wall -Wshadow -g @FLAG_M32@
455AM_CXXFLAGS = -Winline -Wall -Wshadow -g @FLAG_M32@
456# Include AM_CPPFLAGS in AM_CCASFLAGS to allow for older versions of
457# automake;  see comments in Makefile.all.am for more detail.
458AM_CCASFLAGS = $(AM_CPPFLAGS) @FLAG_M32@
459@VGCONF_OS_IS_DARWIN_TRUE@noinst_DSYMS = $(check_PROGRAMS)
460dist_noinst_SCRIPTS = filter_stderr
461EXTRA_DIST = \
462	block_size.stdout.exp block_size.stderr.exp block_size.vgtest \
463	branches.stdout.exp branches.stderr.exp branches.vgtest \
464	FPUarithmetic.stdout.exp FPUarithmetic.stdout.exp-mips32 \
465	FPUarithmetic.stderr.exp FPUarithmetic.vgtest \
466	LoadStore.stdout.exp LoadStore.stdout.exp-BE LoadStore.stderr.exp \
467	LoadStore.vgtest \
468	LoadStore1.stdout.exp LoadStore1.stdout.exp-LE LoadStore1.stderr.exp \
469	LoadStore1.vgtest \
470	MemCpyTest.stdout.exp MemCpyTest.stderr.exp MemCpyTest.vgtest \
471	MIPS32int.stdout.exp-mips32-BE MIPS32int.stdout.exp-mips32r2-BE \
472	MIPS32int.stdout.exp-mips32-LE MIPS32int.stdout.exp-mips32r2-LE \
473	MIPS32int.stderr.exp MIPS32int.vgtest \
474	MoveIns.stdout.exp MoveIns.stdout.exp-BE MoveIns.stderr.exp MoveIns.vgtest \
475	round.stdout.exp round.stderr.exp round.vgtest \
476	vfp.stdout.exp-mips32-BE vfp.stdout.exp-mips32r2-BE \
477	vfp.stdout.exp-mips32-LE vfp.stdout.exp-mips32r2-LE vfp.stderr.exp \
478	vfp.vgtest \
479	SignalException.stderr.exp SignalException.vgtest \
480	bug320057-mips32.stdout.exp bug320057-mips32.stderr.exp \
481	bug320057-mips32.vgtest \
482	mips32_dsp.stdout.exp-LE mips32_dsp.stdout.exp-BE \
483	mips32_dsp.stderr.exp mips32_dsp.vgtest \
484	mips32_dspr2.stdout.exp mips32_dspr2.stderr.exp \
485	mips32_dspr2.vgtest \
486	unaligned_load_store.stdout.exp-LE unaligned_load_store.stdout.exp-BE \
487	unaligned_load_store.stderr.exp unaligned_load_store.vgtest \
488	test_fcsr.stdout.exp test_fcsr.stderr.exp test_fcsr.vgtest \
489	test_math.stdout.exp test_math.stderr.exp test_math.vgtest \
490	round_fpu64.stdout.exp round_fpu64.stdout.exp-fpu32 \
491	round_fpu64.stderr.exp round_fpu64.vgtest \
492	fpu_branches.stdout.exp fpu_branches.stderr.exp fpu_branches.vgtest
493
494allexec_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_NONNULL@
495bug320057_mips32_LDFLAGS = -lrt
496
497# C++ tests
498test_math_SOURCES = test_math.cpp
499all: all-am
500
501.SUFFIXES:
502.SUFFIXES: .c .cpp .o .obj
503$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.tool-tests.am $(top_srcdir)/Makefile.all.am $(am__configure_deps)
504	@for dep in $?; do \
505	  case '$(am__configure_deps)' in \
506	    *$$dep*) \
507	      ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
508	        && { if test -f $@; then exit 0; else break; fi; }; \
509	      exit 1;; \
510	  esac; \
511	done; \
512	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign none/tests/mips32/Makefile'; \
513	$(am__cd) $(top_srcdir) && \
514	  $(AUTOMAKE) --foreign none/tests/mips32/Makefile
515.PRECIOUS: Makefile
516Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
517	@case '$?' in \
518	  *config.status*) \
519	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
520	  *) \
521	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
522	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
523	esac;
524$(top_srcdir)/Makefile.tool-tests.am $(top_srcdir)/Makefile.all.am:
525
526$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
527	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
528
529$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
530	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
531$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
532	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
533$(am__aclocal_m4_deps):
534
535clean-checkPROGRAMS:
536	-test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
537FPUarithmetic$(EXEEXT): $(FPUarithmetic_OBJECTS) $(FPUarithmetic_DEPENDENCIES) $(EXTRA_FPUarithmetic_DEPENDENCIES)
538	@rm -f FPUarithmetic$(EXEEXT)
539	$(LINK) $(FPUarithmetic_OBJECTS) $(FPUarithmetic_LDADD) $(LIBS)
540LoadStore$(EXEEXT): $(LoadStore_OBJECTS) $(LoadStore_DEPENDENCIES) $(EXTRA_LoadStore_DEPENDENCIES)
541	@rm -f LoadStore$(EXEEXT)
542	$(LINK) $(LoadStore_OBJECTS) $(LoadStore_LDADD) $(LIBS)
543LoadStore1$(EXEEXT): $(LoadStore1_OBJECTS) $(LoadStore1_DEPENDENCIES) $(EXTRA_LoadStore1_DEPENDENCIES)
544	@rm -f LoadStore1$(EXEEXT)
545	$(LINK) $(LoadStore1_OBJECTS) $(LoadStore1_LDADD) $(LIBS)
546MIPS32int$(EXEEXT): $(MIPS32int_OBJECTS) $(MIPS32int_DEPENDENCIES) $(EXTRA_MIPS32int_DEPENDENCIES)
547	@rm -f MIPS32int$(EXEEXT)
548	$(LINK) $(MIPS32int_OBJECTS) $(MIPS32int_LDADD) $(LIBS)
549MemCpyTest$(EXEEXT): $(MemCpyTest_OBJECTS) $(MemCpyTest_DEPENDENCIES) $(EXTRA_MemCpyTest_DEPENDENCIES)
550	@rm -f MemCpyTest$(EXEEXT)
551	$(LINK) $(MemCpyTest_OBJECTS) $(MemCpyTest_LDADD) $(LIBS)
552MoveIns$(EXEEXT): $(MoveIns_OBJECTS) $(MoveIns_DEPENDENCIES) $(EXTRA_MoveIns_DEPENDENCIES)
553	@rm -f MoveIns$(EXEEXT)
554	$(LINK) $(MoveIns_OBJECTS) $(MoveIns_LDADD) $(LIBS)
555SignalException$(EXEEXT): $(SignalException_OBJECTS) $(SignalException_DEPENDENCIES) $(EXTRA_SignalException_DEPENDENCIES)
556	@rm -f SignalException$(EXEEXT)
557	$(LINK) $(SignalException_OBJECTS) $(SignalException_LDADD) $(LIBS)
558allexec$(EXEEXT): $(allexec_OBJECTS) $(allexec_DEPENDENCIES) $(EXTRA_allexec_DEPENDENCIES)
559	@rm -f allexec$(EXEEXT)
560	$(allexec_LINK) $(allexec_OBJECTS) $(allexec_LDADD) $(LIBS)
561block_size$(EXEEXT): $(block_size_OBJECTS) $(block_size_DEPENDENCIES) $(EXTRA_block_size_DEPENDENCIES)
562	@rm -f block_size$(EXEEXT)
563	$(LINK) $(block_size_OBJECTS) $(block_size_LDADD) $(LIBS)
564branches$(EXEEXT): $(branches_OBJECTS) $(branches_DEPENDENCIES) $(EXTRA_branches_DEPENDENCIES)
565	@rm -f branches$(EXEEXT)
566	$(LINK) $(branches_OBJECTS) $(branches_LDADD) $(LIBS)
567bug320057-mips32$(EXEEXT): $(bug320057_mips32_OBJECTS) $(bug320057_mips32_DEPENDENCIES) $(EXTRA_bug320057_mips32_DEPENDENCIES)
568	@rm -f bug320057-mips32$(EXEEXT)
569	$(bug320057_mips32_LINK) $(bug320057_mips32_OBJECTS) $(bug320057_mips32_LDADD) $(LIBS)
570fpu_branches$(EXEEXT): $(fpu_branches_OBJECTS) $(fpu_branches_DEPENDENCIES) $(EXTRA_fpu_branches_DEPENDENCIES)
571	@rm -f fpu_branches$(EXEEXT)
572	$(LINK) $(fpu_branches_OBJECTS) $(fpu_branches_LDADD) $(LIBS)
573mips32_dsp$(EXEEXT): $(mips32_dsp_OBJECTS) $(mips32_dsp_DEPENDENCIES) $(EXTRA_mips32_dsp_DEPENDENCIES)
574	@rm -f mips32_dsp$(EXEEXT)
575	$(LINK) $(mips32_dsp_OBJECTS) $(mips32_dsp_LDADD) $(LIBS)
576mips32_dspr2$(EXEEXT): $(mips32_dspr2_OBJECTS) $(mips32_dspr2_DEPENDENCIES) $(EXTRA_mips32_dspr2_DEPENDENCIES)
577	@rm -f mips32_dspr2$(EXEEXT)
578	$(LINK) $(mips32_dspr2_OBJECTS) $(mips32_dspr2_LDADD) $(LIBS)
579round$(EXEEXT): $(round_OBJECTS) $(round_DEPENDENCIES) $(EXTRA_round_DEPENDENCIES)
580	@rm -f round$(EXEEXT)
581	$(LINK) $(round_OBJECTS) $(round_LDADD) $(LIBS)
582round_fpu64$(EXEEXT): $(round_fpu64_OBJECTS) $(round_fpu64_DEPENDENCIES) $(EXTRA_round_fpu64_DEPENDENCIES)
583	@rm -f round_fpu64$(EXEEXT)
584	$(LINK) $(round_fpu64_OBJECTS) $(round_fpu64_LDADD) $(LIBS)
585test_fcsr$(EXEEXT): $(test_fcsr_OBJECTS) $(test_fcsr_DEPENDENCIES) $(EXTRA_test_fcsr_DEPENDENCIES)
586	@rm -f test_fcsr$(EXEEXT)
587	$(LINK) $(test_fcsr_OBJECTS) $(test_fcsr_LDADD) $(LIBS)
588test_math$(EXEEXT): $(test_math_OBJECTS) $(test_math_DEPENDENCIES) $(EXTRA_test_math_DEPENDENCIES)
589	@rm -f test_math$(EXEEXT)
590	$(CXXLINK) $(test_math_OBJECTS) $(test_math_LDADD) $(LIBS)
591unaligned_load_store$(EXEEXT): $(unaligned_load_store_OBJECTS) $(unaligned_load_store_DEPENDENCIES) $(EXTRA_unaligned_load_store_DEPENDENCIES)
592	@rm -f unaligned_load_store$(EXEEXT)
593	$(LINK) $(unaligned_load_store_OBJECTS) $(unaligned_load_store_LDADD) $(LIBS)
594vfp$(EXEEXT): $(vfp_OBJECTS) $(vfp_DEPENDENCIES) $(EXTRA_vfp_DEPENDENCIES)
595	@rm -f vfp$(EXEEXT)
596	$(LINK) $(vfp_OBJECTS) $(vfp_LDADD) $(LIBS)
597
598mostlyclean-compile:
599	-rm -f *.$(OBJEXT)
600
601distclean-compile:
602	-rm -f *.tab.c
603
604@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/FPUarithmetic.Po@am__quote@
605@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/LoadStore.Po@am__quote@
606@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/LoadStore1.Po@am__quote@
607@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/MIPS32int.Po@am__quote@
608@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/MemCpyTest.Po@am__quote@
609@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/MoveIns.Po@am__quote@
610@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SignalException.Po@am__quote@
611@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/allexec-allexec.Po@am__quote@
612@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/block_size.Po@am__quote@
613@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/branches.Po@am__quote@
614@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bug320057-mips32.Po@am__quote@
615@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fpu_branches.Po@am__quote@
616@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mips32_dsp.Po@am__quote@
617@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mips32_dspr2.Po@am__quote@
618@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/round.Po@am__quote@
619@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/round_fpu64.Po@am__quote@
620@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_fcsr.Po@am__quote@
621@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_math.Po@am__quote@
622@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unaligned_load_store.Po@am__quote@
623@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vfp.Po@am__quote@
624
625.c.o:
626@am__fastdepCC_TRUE@	depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
627@am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
628@am__fastdepCC_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Po
629@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
630@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
631@am__fastdepCC_FALSE@	$(COMPILE) -c -o $@ $<
632
633.c.obj:
634@am__fastdepCC_TRUE@	depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
635@am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
636@am__fastdepCC_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Po
637@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
638@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
639@am__fastdepCC_FALSE@	$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
640
641allexec-allexec.o: allexec.c
642@am__fastdepCC_TRUE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(allexec_CFLAGS) $(CFLAGS) -MT allexec-allexec.o -MD -MP -MF $(DEPDIR)/allexec-allexec.Tpo -c -o allexec-allexec.o `test -f 'allexec.c' || echo '$(srcdir)/'`allexec.c
643@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/allexec-allexec.Tpo $(DEPDIR)/allexec-allexec.Po
644@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='allexec.c' object='allexec-allexec.o' libtool=no @AMDEPBACKSLASH@
645@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
646@am__fastdepCC_FALSE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(allexec_CFLAGS) $(CFLAGS) -c -o allexec-allexec.o `test -f 'allexec.c' || echo '$(srcdir)/'`allexec.c
647
648allexec-allexec.obj: allexec.c
649@am__fastdepCC_TRUE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(allexec_CFLAGS) $(CFLAGS) -MT allexec-allexec.obj -MD -MP -MF $(DEPDIR)/allexec-allexec.Tpo -c -o allexec-allexec.obj `if test -f 'allexec.c'; then $(CYGPATH_W) 'allexec.c'; else $(CYGPATH_W) '$(srcdir)/allexec.c'; fi`
650@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/allexec-allexec.Tpo $(DEPDIR)/allexec-allexec.Po
651@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='allexec.c' object='allexec-allexec.obj' libtool=no @AMDEPBACKSLASH@
652@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
653@am__fastdepCC_FALSE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(allexec_CFLAGS) $(CFLAGS) -c -o allexec-allexec.obj `if test -f 'allexec.c'; then $(CYGPATH_W) 'allexec.c'; else $(CYGPATH_W) '$(srcdir)/allexec.c'; fi`
654
655.cpp.o:
656@am__fastdepCXX_TRUE@	depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
657@am__fastdepCXX_TRUE@	$(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
658@am__fastdepCXX_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Po
659@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
660@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
661@am__fastdepCXX_FALSE@	$(CXXCOMPILE) -c -o $@ $<
662
663.cpp.obj:
664@am__fastdepCXX_TRUE@	depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
665@am__fastdepCXX_TRUE@	$(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
666@am__fastdepCXX_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Po
667@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
668@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
669@am__fastdepCXX_FALSE@	$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
670
671ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
672	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
673	unique=`for i in $$list; do \
674	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
675	  done | \
676	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
677	      END { if (nonempty) { for (i in files) print i; }; }'`; \
678	mkid -fID $$unique
679tags: TAGS
680
681TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
682		$(TAGS_FILES) $(LISP)
683	set x; \
684	here=`pwd`; \
685	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
686	unique=`for i in $$list; do \
687	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
688	  done | \
689	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
690	      END { if (nonempty) { for (i in files) print i; }; }'`; \
691	shift; \
692	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
693	  test -n "$$unique" || unique=$$empty_fix; \
694	  if test $$# -gt 0; then \
695	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
696	      "$$@" $$unique; \
697	  else \
698	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
699	      $$unique; \
700	  fi; \
701	fi
702ctags: CTAGS
703CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
704		$(TAGS_FILES) $(LISP)
705	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
706	unique=`for i in $$list; do \
707	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
708	  done | \
709	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
710	      END { if (nonempty) { for (i in files) print i; }; }'`; \
711	test -z "$(CTAGS_ARGS)$$unique" \
712	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
713	     $$unique
714
715GTAGS:
716	here=`$(am__cd) $(top_builddir) && pwd` \
717	  && $(am__cd) $(top_srcdir) \
718	  && gtags -i $(GTAGS_ARGS) "$$here"
719
720distclean-tags:
721	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
722
723distdir: $(DISTFILES)
724	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
725	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
726	list='$(DISTFILES)'; \
727	  dist_files=`for file in $$list; do echo $$file; done | \
728	  sed -e "s|^$$srcdirstrip/||;t" \
729	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
730	case $$dist_files in \
731	  */*) $(MKDIR_P) `echo "$$dist_files" | \
732			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
733			   sort -u` ;; \
734	esac; \
735	for file in $$dist_files; do \
736	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
737	  if test -d $$d/$$file; then \
738	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
739	    if test -d "$(distdir)/$$file"; then \
740	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
741	    fi; \
742	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
743	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
744	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
745	    fi; \
746	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
747	  else \
748	    test -f "$(distdir)/$$file" \
749	    || cp -p $$d/$$file "$(distdir)/$$file" \
750	    || exit 1; \
751	  fi; \
752	done
753check-am: all-am
754	$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
755	$(MAKE) $(AM_MAKEFLAGS) check-local
756check: check-am
757all-am: Makefile $(SCRIPTS)
758installdirs:
759install: install-am
760install-exec: install-exec-am
761install-data: install-data-am
762uninstall: uninstall-am
763
764install-am: all-am
765	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
766
767installcheck: installcheck-am
768install-strip:
769	if test -z '$(STRIP)'; then \
770	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
771	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
772	      install; \
773	else \
774	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
775	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
776	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
777	fi
778mostlyclean-generic:
779
780clean-generic:
781
782distclean-generic:
783	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
784	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
785
786maintainer-clean-generic:
787	@echo "This command is intended for maintainers to use"
788	@echo "it deletes files that may require special tools to rebuild."
789clean: clean-am
790
791clean-am: clean-checkPROGRAMS clean-generic clean-local mostlyclean-am
792
793distclean: distclean-am
794	-rm -rf ./$(DEPDIR)
795	-rm -f Makefile
796distclean-am: clean-am distclean-compile distclean-generic \
797	distclean-tags
798
799dvi: dvi-am
800
801dvi-am:
802
803html: html-am
804
805html-am:
806
807info: info-am
808
809info-am:
810
811install-data-am:
812
813install-dvi: install-dvi-am
814
815install-dvi-am:
816
817install-exec-am:
818
819install-html: install-html-am
820
821install-html-am:
822
823install-info: install-info-am
824
825install-info-am:
826
827install-man:
828
829install-pdf: install-pdf-am
830
831install-pdf-am:
832
833install-ps: install-ps-am
834
835install-ps-am:
836
837installcheck-am:
838
839maintainer-clean: maintainer-clean-am
840	-rm -rf ./$(DEPDIR)
841	-rm -f Makefile
842maintainer-clean-am: distclean-am maintainer-clean-generic
843
844mostlyclean: mostlyclean-am
845
846mostlyclean-am: mostlyclean-compile mostlyclean-generic
847
848pdf: pdf-am
849
850pdf-am:
851
852ps: ps-am
853
854ps-am:
855
856uninstall-am:
857
858.MAKE: check-am install-am install-strip
859
860.PHONY: CTAGS GTAGS all all-am check check-am check-local clean \
861	clean-checkPROGRAMS clean-generic clean-local ctags distclean \
862	distclean-compile distclean-generic distclean-tags distdir dvi \
863	dvi-am html html-am info info-am install install-am \
864	install-data install-data-am install-dvi install-dvi-am \
865	install-exec install-exec-am install-html install-html-am \
866	install-info install-info-am install-man install-pdf \
867	install-pdf-am install-ps install-ps-am install-strip \
868	installcheck installcheck-am installdirs maintainer-clean \
869	maintainer-clean-generic mostlyclean mostlyclean-compile \
870	mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
871	uninstall-am
872
873
874# This used to be required when Vex had a handwritten Makefile.  It
875# shouldn't be needed any more, though.
876
877#----------------------------------------------------------------------------
878# noinst_PROGRAMS and noinst_DSYMS targets
879#----------------------------------------------------------------------------
880
881# On Darwin, for a program 'p', the DWARF debug info is stored in the
882# directory 'p.dSYM'.  This must be generated after the executable is
883# created, with 'dsymutil p'.  We could redefine LINK with a script that
884# executes 'dsymutil' after linking, but that's a pain.  Instead we use this
885# hook so that every time "make check" is run, we subsequently invoke
886# 'dsymutil' on all the executables that lack a .dSYM directory, or that are
887# newer than their corresponding .dSYM directory.
888build-noinst_DSYMS: $(noinst_DSYMS)
889	for f in $(noinst_DSYMS); do \
890	  if [ ! -e $$f.dSYM  -o  $$f -nt $$f.dSYM ] ; then \
891	      echo "dsymutil $$f"; \
892	      dsymutil $$f; \
893	  fi; \
894	done
895
896# This is used by coregrind/Makefile.am and Makefile.tool.am for doing
897# "in-place" installs.  It copies $(noinst_PROGRAMS) into $inplacedir.
898# It needs to be depended on by an 'all-local' rule.
899inplace-noinst_PROGRAMS: $(noinst_PROGRAMS)
900	mkdir -p $(inplacedir); \
901	for f in $(noinst_PROGRAMS) ; do \
902	  rm -f $(inplacedir)/$$f; \
903	  ln -f -s ../$(subdir)/$$f $(inplacedir); \
904	done
905
906# Similar to inplace-noinst_PROGRAMS
907inplace-noinst_DSYMS: build-noinst_DSYMS
908	mkdir -p $(inplacedir); \
909	for f in $(noinst_DSYMS); do \
910	  rm -f $(inplacedir)/$$f.dSYM; \
911	  ln -f -s ../$(subdir)/$$f.dSYM $(inplacedir); \
912	done
913
914# This is used by coregrind/Makefile.am and by <tool>/Makefile.am for doing
915# "make install".  It copies $(noinst_PROGRAMS) into $prefix/lib/valgrind/.
916# It needs to be depended on by an 'install-exec-local' rule.
917install-noinst_PROGRAMS: $(noinst_PROGRAMS)
918	$(mkinstalldirs) $(DESTDIR)$(pkglibdir); \
919	for f in $(noinst_PROGRAMS); do \
920	  $(INSTALL_PROGRAM) $$f $(DESTDIR)$(pkglibdir); \
921	done
922
923# Similar to install-noinst_PROGRAMS.
924# Nb: we don't use $(INSTALL_PROGRAM) here because it doesn't work with
925# directories.  XXX: not sure whether the resulting permissions will be
926# correct when using 'cp -R'...
927install-noinst_DSYMS: build-noinst_DSYMS
928	$(mkinstalldirs) $(DESTDIR)$(pkglibdir); \
929	for f in $(noinst_DSYMS); do \
930	  cp -R $$f.dSYM $(DESTDIR)$(pkglibdir); \
931	done
932
933# This needs to be depended on by a 'clean-local' rule.
934clean-noinst_DSYMS:
935	for f in $(noinst_DSYMS); do \
936	  rm -rf $$f.dSYM; \
937	done
938
939check-local: build-noinst_DSYMS
940
941clean-local: clean-noinst_DSYMS
942
943# Tell versions [3.59,3.63) of GNU make to not export all variables.
944# Otherwise a system limit (for SysV at least) may be exceeded.
945.NOEXPORT:
946