• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Makefile.in generated by automake 1.11.1 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
6# Inc.
7# This Makefile.in is free software; the Free Software Foundation
8# gives unlimited permission to copy and/or distribute it,
9# with or without modifications, as long as this notice is preserved.
10
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14# PARTICULAR PURPOSE.
15
16@SET_MAKE@
17
18# This file 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
25VPATH = @srcdir@
26pkgdatadir = $(datadir)/@PACKAGE@
27pkgincludedir = $(includedir)/@PACKAGE@
28pkglibdir = $(libdir)/@PACKAGE@
29pkglibexecdir = $(libexecdir)/@PACKAGE@
30am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
31install_sh_DATA = $(install_sh) -c -m 644
32install_sh_PROGRAM = $(install_sh) -c
33install_sh_SCRIPT = $(install_sh) -c
34INSTALL_HEADER = $(INSTALL_DATA)
35transform = $(program_transform_name)
36NORMAL_INSTALL = :
37PRE_INSTALL = :
38POST_INSTALL = :
39NORMAL_UNINSTALL = :
40PRE_UNINSTALL = :
41POST_UNINSTALL = :
42build_triplet = @build@
43host_triplet = @host@
44DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
45	$(top_srcdir)/Makefile.all.am $(top_srcdir)/Makefile.tool.am
46noinst_PROGRAMS = exp-dhat-@VGCONF_ARCH_PRI@-@VGCONF_OS@$(EXEEXT) \
47	$(am__EXEEXT_1) \
48	vgpreload_exp-dhat-@VGCONF_ARCH_PRI@-@VGCONF_OS@.so$(EXEEXT) \
49	$(am__EXEEXT_2)
50@VGCONF_HAVE_PLATFORM_SEC_TRUE@am__append_1 = exp-dhat-@VGCONF_ARCH_SEC@-@VGCONF_OS@
51@VGCONF_HAVE_PLATFORM_SEC_FALSE@exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_DEPENDENCIES =
52@VGCONF_HAVE_PLATFORM_SEC_TRUE@am__append_2 = vgpreload_exp-dhat-@VGCONF_ARCH_SEC@-@VGCONF_OS@.so
53subdir = exp-dhat
54ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
55am__aclocal_m4_deps = $(top_srcdir)/configure.in
56am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
57	$(ACLOCAL_M4)
58mkinstalldirs = $(install_sh) -d
59CONFIG_HEADER = $(top_builddir)/config.h
60CONFIG_CLEAN_FILES =
61CONFIG_CLEAN_VPATH_FILES =
62@VGCONF_HAVE_PLATFORM_SEC_TRUE@am__EXEEXT_1 = exp-dhat-@VGCONF_ARCH_SEC@-@VGCONF_OS@$(EXEEXT)
63@VGCONF_HAVE_PLATFORM_SEC_TRUE@am__EXEEXT_2 = vgpreload_exp-dhat-@VGCONF_ARCH_SEC@-@VGCONF_OS@.so$(EXEEXT)
64PROGRAMS = $(noinst_PROGRAMS)
65am__objects_1 =  \
66	exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@-dh_main.$(OBJEXT)
67am_exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_OBJECTS = $(am__objects_1)
68exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_OBJECTS =  \
69	$(am_exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_OBJECTS)
70am__exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_SOURCES_DIST = dh_main.c
71am__objects_2 =  \
72	exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@-dh_main.$(OBJEXT)
73@VGCONF_HAVE_PLATFORM_SEC_TRUE@am_exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_OBJECTS =  \
74@VGCONF_HAVE_PLATFORM_SEC_TRUE@	$(am__objects_2)
75exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_OBJECTS =  \
76	$(am_exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_OBJECTS)
77am_vgpreload_exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_OBJECTS =
78vgpreload_exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_OBJECTS = $(am_vgpreload_exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_OBJECTS)
79vgpreload_exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_LDADD = $(LDADD)
80vgpreload_exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_LINK = $(CCLD) \
81	$(vgpreload_exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_CFLAGS) \
82	$(CFLAGS) \
83	$(vgpreload_exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_LDFLAGS) \
84	$(LDFLAGS) -o $@
85am_vgpreload_exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_so_OBJECTS =
86vgpreload_exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_so_OBJECTS = $(am_vgpreload_exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_so_OBJECTS)
87vgpreload_exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_so_LDADD = $(LDADD)
88vgpreload_exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_so_LINK = $(CCLD) \
89	$(vgpreload_exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_so_CFLAGS) \
90	$(CFLAGS) \
91	$(vgpreload_exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_so_LDFLAGS) \
92	$(LDFLAGS) -o $@
93DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
94depcomp = $(SHELL) $(top_srcdir)/depcomp
95am__depfiles_maybe = depfiles
96am__mv = mv -f
97COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
98	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
99CCLD = $(CC)
100LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
101SOURCES = $(exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_SOURCES) \
102	$(exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_SOURCES) \
103	$(vgpreload_exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_SOURCES) \
104	$(vgpreload_exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_so_SOURCES)
105DIST_SOURCES = $(exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_SOURCES) \
106	$(am__exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_SOURCES_DIST) \
107	$(vgpreload_exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_SOURCES) \
108	$(vgpreload_exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_so_SOURCES)
109RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
110	html-recursive info-recursive install-data-recursive \
111	install-dvi-recursive install-exec-recursive \
112	install-html-recursive install-info-recursive \
113	install-pdf-recursive install-ps-recursive install-recursive \
114	installcheck-recursive installdirs-recursive pdf-recursive \
115	ps-recursive uninstall-recursive
116RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive	\
117  distclean-recursive maintainer-clean-recursive
118AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
119	$(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
120	distdir
121ETAGS = etags
122CTAGS = ctags
123DIST_SUBDIRS = $(SUBDIRS)
124DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
125am__relativize = \
126  dir0=`pwd`; \
127  sed_first='s,^\([^/]*\)/.*$$,\1,'; \
128  sed_rest='s,^[^/]*/*,,'; \
129  sed_last='s,^.*/\([^/]*\)$$,\1,'; \
130  sed_butlast='s,/*[^/]*$$,,'; \
131  while test -n "$$dir1"; do \
132    first=`echo "$$dir1" | sed -e "$$sed_first"`; \
133    if test "$$first" != "."; then \
134      if test "$$first" = ".."; then \
135        dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
136        dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
137      else \
138        first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
139        if test "$$first2" = "$$first"; then \
140          dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
141        else \
142          dir2="../$$dir2"; \
143        fi; \
144        dir0="$$dir0"/"$$first"; \
145      fi; \
146    fi; \
147    dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
148  done; \
149  reldir="$$dir2"
150ACLOCAL = @ACLOCAL@
151AMTAR = @AMTAR@
152AR = @AR@
153AUTOCONF = @AUTOCONF@
154AUTOHEADER = @AUTOHEADER@
155AUTOMAKE = @AUTOMAKE@
156AWK = @AWK@
157BOOST_CFLAGS = @BOOST_CFLAGS@
158BOOST_LIBS = @BOOST_LIBS@
159CC = @CC@
160CCAS = @CCAS@
161CCASDEPMODE = @CCASDEPMODE@
162CCASFLAGS = @CCASFLAGS@
163CCDEPMODE = @CCDEPMODE@
164CFLAGS = @CFLAGS@
165CPP = @CPP@
166CPPFLAGS = @CPPFLAGS@
167CXX = @CXX@
168CXXDEPMODE = @CXXDEPMODE@
169CXXFLAGS = @CXXFLAGS@
170CYGPATH_W = @CYGPATH_W@
171DEFAULT_SUPP = @DEFAULT_SUPP@
172DEFS = @DEFS@
173DEPDIR = @DEPDIR@
174DIFF = @DIFF@
175ECHO_C = @ECHO_C@
176ECHO_N = @ECHO_N@
177ECHO_T = @ECHO_T@
178EGREP = @EGREP@
179EXEEXT = @EXEEXT@
180FLAG_FNO_STACK_PROTECTOR = @FLAG_FNO_STACK_PROTECTOR@
181FLAG_M32 = @FLAG_M32@
182FLAG_M64 = @FLAG_M64@
183FLAG_MAIX32 = @FLAG_MAIX32@
184FLAG_MAIX64 = @FLAG_MAIX64@
185FLAG_MMMX = @FLAG_MMMX@
186FLAG_MSSE = @FLAG_MSSE@
187FLAG_NO_BUILD_ID = @FLAG_NO_BUILD_ID@
188FLAG_UNLIMITED_INLINE_UNIT_GROWTH = @FLAG_UNLIMITED_INLINE_UNIT_GROWTH@
189FLAG_W_EXTRA = @FLAG_W_EXTRA@
190FLAG_W_NO_EMPTY_BODY = @FLAG_W_NO_EMPTY_BODY@
191FLAG_W_NO_FORMAT_ZERO_LENGTH = @FLAG_W_NO_FORMAT_ZERO_LENGTH@
192FLAG_W_NO_UNINITIALIZED = @FLAG_W_NO_UNINITIALIZED@
193GDB = @GDB@
194GLIBC_VERSION = @GLIBC_VERSION@
195GREP = @GREP@
196INSTALL = @INSTALL@
197INSTALL_DATA = @INSTALL_DATA@
198INSTALL_PROGRAM = @INSTALL_PROGRAM@
199INSTALL_SCRIPT = @INSTALL_SCRIPT@
200INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
201LDFLAGS = @LDFLAGS@
202LIBOBJS = @LIBOBJS@
203LIBS = @LIBS@
204LN_S = @LN_S@
205LTLIBOBJS = @LTLIBOBJS@
206MAINT = @MAINT@
207MAKEINFO = @MAKEINFO@
208MKDIR_P = @MKDIR_P@
209MPI_CC = @MPI_CC@
210OBJEXT = @OBJEXT@
211PACKAGE = @PACKAGE@
212PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
213PACKAGE_NAME = @PACKAGE_NAME@
214PACKAGE_STRING = @PACKAGE_STRING@
215PACKAGE_TARNAME = @PACKAGE_TARNAME@
216PACKAGE_URL = @PACKAGE_URL@
217PACKAGE_VERSION = @PACKAGE_VERSION@
218PATH_SEPARATOR = @PATH_SEPARATOR@
219PERL = @PERL@
220PKG_CONFIG = @PKG_CONFIG@
221PREFERRED_STACK_BOUNDARY = @PREFERRED_STACK_BOUNDARY@
222QTCORE_CFLAGS = @QTCORE_CFLAGS@
223QTCORE_LIBS = @QTCORE_LIBS@
224RANLIB = @RANLIB@
225SED = @SED@
226SET_MAKE = @SET_MAKE@
227SHELL = @SHELL@
228STRIP = @STRIP@
229VALT_LOAD_ADDRESS_PRI = @VALT_LOAD_ADDRESS_PRI@
230VALT_LOAD_ADDRESS_SEC = @VALT_LOAD_ADDRESS_SEC@
231VERSION = @VERSION@
232VGCONF_ARCH_PRI = @VGCONF_ARCH_PRI@
233VGCONF_ARCH_SEC = @VGCONF_ARCH_SEC@
234VGCONF_OS = @VGCONF_OS@
235VGCONF_PLATFORM_PRI_CAPS = @VGCONF_PLATFORM_PRI_CAPS@
236VGCONF_PLATFORM_SEC_CAPS = @VGCONF_PLATFORM_SEC_CAPS@
237abs_builddir = @abs_builddir@
238abs_srcdir = @abs_srcdir@
239abs_top_builddir = @abs_top_builddir@
240abs_top_srcdir = @abs_top_srcdir@
241ac_ct_CC = @ac_ct_CC@
242ac_ct_CXX = @ac_ct_CXX@
243am__include = @am__include@
244am__leading_dot = @am__leading_dot@
245am__quote = @am__quote@
246am__tar = @am__tar@
247am__untar = @am__untar@
248bindir = @bindir@
249build = @build@
250build_alias = @build_alias@
251build_cpu = @build_cpu@
252build_os = @build_os@
253build_vendor = @build_vendor@
254builddir = @builddir@
255datadir = @datadir@
256datarootdir = @datarootdir@
257docdir = @docdir@
258dvidir = @dvidir@
259exec_prefix = @exec_prefix@
260host = @host@
261host_alias = @host_alias@
262host_cpu = @host_cpu@
263host_os = @host_os@
264host_vendor = @host_vendor@
265htmldir = @htmldir@
266includedir = @includedir@
267infodir = @infodir@
268install_sh = @install_sh@
269libdir = @libdir@
270libexecdir = @libexecdir@
271localedir = @localedir@
272localstatedir = @localstatedir@
273mandir = @mandir@
274mkdir_p = @mkdir_p@
275oldincludedir = @oldincludedir@
276pdfdir = @pdfdir@
277prefix = @prefix@
278program_transform_name = @program_transform_name@
279psdir = @psdir@
280sbindir = @sbindir@
281sharedstatedir = @sharedstatedir@
282srcdir = @srcdir@
283sysconfdir = @sysconfdir@
284target_alias = @target_alias@
285top_build_prefix = @top_build_prefix@
286top_builddir = @top_builddir@
287top_srcdir = @top_srcdir@
288SUBDIRS = . tests
289inplacedir = $(top_builddir)/.in_place
290
291#----------------------------------------------------------------------------
292# Flags
293#----------------------------------------------------------------------------
294
295# Baseline flags for all compilations.  Aim here is to maximise
296# performance and get whatever useful warnings we can out of gcc.
297AM_CFLAGS_BASE = \
298	-O2 -g \
299	-Wall \
300	-Wmissing-prototypes \
301	-Wshadow \
302	-Wpointer-arith \
303	-Wstrict-prototypes \
304	-Wmissing-declarations \
305	@FLAG_W_NO_FORMAT_ZERO_LENGTH@ \
306	-fno-strict-aliasing
307
308@VGCONF_OS_IS_DARWIN_FALSE@AM_CFLAGS_PIC = -fpic -O -g -fno-omit-frame-pointer -fno-strict-aliasing
309
310# These flags are used for building the preload shared objects.
311# The aim is to give reasonable performance but also to have good
312# stack traces, since users often see stack traces extending
313# into (and through) the preloads.
314@VGCONF_OS_IS_DARWIN_TRUE@AM_CFLAGS_PIC = -dynamic -O -g -fno-omit-frame-pointer -fno-strict-aliasing \
315@VGCONF_OS_IS_DARWIN_TRUE@		-mno-dynamic-no-pic -fpic -fPIC
316
317
318# Flags for specific targets.
319#
320# Nb: the AM_CPPFLAGS_* values are suitable for building tools and auxprogs.
321# For building the core, coregrind/Makefile.am files add some extra things.
322#
323# Also: in newer versions of automake (1.10 onwards?) asm files ending with
324# '.S' are considered "pre-processed" (as opposed to those ending in '.s')
325# and so the CPPFLAGS are passed to the assembler.  But this is not true for
326# older automakes (e.g. 1.8.5, 1.9.6), sigh.  So we include
327# AM_CPPFLAGS_<PLATFORM> in each AM_CCASFLAGS_<PLATFORM> variable.  This
328# means some of the flags are duplicated on systems with newer versions of
329# automake, but this does not really matter and seems hard to avoid.
330AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@ = \
331	-I$(top_srcdir) \
332	-I$(top_srcdir)/include \
333	-I$(top_srcdir)/VEX/pub \
334	-DVGA_@VGCONF_ARCH_PRI@=1 \
335	-DVGO_@VGCONF_OS@=1 \
336	-DVGP_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1
337
338@VGCONF_HAVE_PLATFORM_SEC_TRUE@AM_CPPFLAGS_@VGCONF_PLATFORM_SEC_CAPS@ = \
339@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-I$(top_srcdir) \
340@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-I$(top_srcdir)/include \
341@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-I$(top_srcdir)/VEX/pub \
342@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-DVGA_@VGCONF_ARCH_SEC@=1 \
343@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-DVGO_@VGCONF_OS@=1 \
344@VGCONF_HAVE_PLATFORM_SEC_TRUE@	-DVGP_@VGCONF_ARCH_SEC@_@VGCONF_OS@=1
345
346AM_FLAG_M3264_X86_LINUX = @FLAG_M32@
347AM_CFLAGS_X86_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \
348			 	$(AM_CFLAGS_BASE)
349
350AM_CCASFLAGS_X86_LINUX = $(AM_CPPFLAGS_X86_LINUX) @FLAG_M32@ -g
351AM_FLAG_M3264_AMD64_LINUX = @FLAG_M64@
352AM_CFLAGS_AMD64_LINUX = @FLAG_M64@ -fomit-frame-pointer \
353				@PREFERRED_STACK_BOUNDARY@ $(AM_CFLAGS_BASE)
354
355AM_CCASFLAGS_AMD64_LINUX = $(AM_CPPFLAGS_AMD64_LINUX) @FLAG_M64@ -g
356AM_FLAG_M3264_PPC32_LINUX = @FLAG_M32@
357AM_CFLAGS_PPC32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE)
358AM_CCASFLAGS_PPC32_LINUX = $(AM_CPPFLAGS_PPC32_LINUX) @FLAG_M32@ -g
359AM_FLAG_M3264_PPC64_LINUX = @FLAG_M64@
360AM_CFLAGS_PPC64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE)
361AM_CCASFLAGS_PPC64_LINUX = $(AM_CPPFLAGS_PPC64_LINUX) @FLAG_M64@ -g
362AM_FLAG_M3264_ARM_LINUX = @FLAG_M32@
363AM_CFLAGS_ARM_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \
364			 	$(AM_CFLAGS_BASE) -marm
365
366AM_CCASFLAGS_ARM_LINUX = $(AM_CPPFLAGS_ARM_LINUX) @FLAG_M32@ -marm -g
367AM_FLAG_M3264_PPC32_AIX5 = @FLAG_MAIX32@
368AM_CFLAGS_PPC32_AIX5 = @FLAG_MAIX32@ -mcpu=powerpc $(AM_CFLAGS_BASE)
369AM_CCASFLAGS_PPC32_AIX5 = $(AM_CPPFLAGS_PPC32_AIX5) \
370			    @FLAG_MAIX32@ -mcpu=powerpc -g
371
372AM_FLAG_M3264_PPC64_AIX5 = @FLAG_MAIX64@
373AM_CFLAGS_PPC64_AIX5 = @FLAG_MAIX64@ -mcpu=powerpc64 $(AM_CFLAGS_BASE)
374AM_CCASFLAGS_PPC64_AIX5 = $(AM_CPPFLAGS_PPC64_AIX5) \
375			    @FLAG_MAIX64@ -mcpu=powerpc64 -g
376
377AM_FLAG_M3264_X86_DARWIN = -arch i386
378AM_CFLAGS_X86_DARWIN = $(WERROR) -arch i386 $(AM_CFLAGS_BASE) \
379				-mmacosx-version-min=10.5 \
380				-fno-stack-protector -fno-pic -fno-PIC
381
382AM_CCASFLAGS_X86_DARWIN = $(AM_CPPFLAGS_X86_DARWIN) -arch i386 -g
383AM_FLAG_M3264_AMD64_DARWIN = -arch x86_64
384AM_CFLAGS_AMD64_DARWIN = $(WERROR) -arch x86_64 $(AM_CFLAGS_BASE) \
385			    -mmacosx-version-min=10.5 -fno-stack-protector
386
387AM_CCASFLAGS_AMD64_DARWIN = $(AM_CPPFLAGS_AMD64_DARWIN) -arch x86_64 -g
388
389# Flags for the primary target.  These must be used to build the
390# regtests and performance tests.  In fact, these must be used to
391# build anything which is built only once on a dual-arch build.
392#
393AM_FLAG_M3264_PRI = $(AM_FLAG_M3264_@VGCONF_PLATFORM_PRI_CAPS@)
394AM_CPPFLAGS_PRI = $(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
395AM_CFLAGS_PRI = $(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
396AM_CCASFLAGS_PRI = $(AM_CCASFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
397@VGCONF_HAVE_PLATFORM_SEC_FALSE@AM_FLAG_M3264_SEC =
398@VGCONF_HAVE_PLATFORM_SEC_TRUE@AM_FLAG_M3264_SEC = $(AM_FLAG_M3264_@VGCONF_PLATFORM_SEC_CAPS@)
399
400# Baseline link flags for making vgpreload shared objects.
401#
402PRELOAD_LDFLAGS_COMMON_LINUX = -nodefaultlibs -shared -Wl,-z,interpose,-z,initfirst
403PRELOAD_LDFLAGS_COMMON_AIX5 = -nodefaultlibs -shared -Wl,-G -Wl,-bnogc
404PRELOAD_LDFLAGS_COMMON_DARWIN = -dynamic -dynamiclib -all_load
405PRELOAD_LDFLAGS_X86_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
406PRELOAD_LDFLAGS_AMD64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
407PRELOAD_LDFLAGS_PPC32_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
408PRELOAD_LDFLAGS_PPC64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
409PRELOAD_LDFLAGS_ARM_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
410PRELOAD_LDFLAGS_PPC32_AIX5 = $(PRELOAD_LDFLAGS_COMMON_AIX5)  @FLAG_MAIX32@
411PRELOAD_LDFLAGS_PPC64_AIX5 = $(PRELOAD_LDFLAGS_COMMON_AIX5)  @FLAG_MAIX64@
412PRELOAD_LDFLAGS_X86_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch i386
413PRELOAD_LDFLAGS_AMD64_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch x86_64
414
415#----------------------------------------------------------------------------
416# <tool>-<platform> stuff
417#----------------------------------------------------------------------------
418TOOL_DEPENDENCIES_@VGCONF_PLATFORM_PRI_CAPS@ = \
419	$(top_builddir)/coregrind/libcoregrind-@VGCONF_ARCH_PRI@-@VGCONF_OS@.a \
420	$(top_builddir)/VEX/libvex-@VGCONF_ARCH_PRI@-@VGCONF_OS@.a
421
422@VGCONF_HAVE_PLATFORM_SEC_TRUE@TOOL_DEPENDENCIES_@VGCONF_PLATFORM_SEC_CAPS@ = \
423@VGCONF_HAVE_PLATFORM_SEC_TRUE@	$(top_builddir)/coregrind/libcoregrind-@VGCONF_ARCH_SEC@-@VGCONF_OS@.a \
424@VGCONF_HAVE_PLATFORM_SEC_TRUE@	$(top_builddir)/VEX/libvex-@VGCONF_ARCH_SEC@-@VGCONF_OS@.a
425
426TOOL_LDADD_COMMON = -lgcc
427TOOL_LDADD_@VGCONF_PLATFORM_PRI_CAPS@ = \
428	$(TOOL_DEPENDENCIES_@VGCONF_PLATFORM_PRI_CAPS@) $(TOOL_LDADD_COMMON)
429
430@VGCONF_HAVE_PLATFORM_SEC_TRUE@TOOL_LDADD_@VGCONF_PLATFORM_SEC_CAPS@ = \
431@VGCONF_HAVE_PLATFORM_SEC_TRUE@	$(TOOL_DEPENDENCIES_@VGCONF_PLATFORM_SEC_CAPS@) $(TOOL_LDADD_COMMON)
432
433
434# -Wl,--build-id=none is needed when linking tools on Linux. Without this
435# flag newer ld versions (2.20 and later) create a .note.gnu.build-id at the
436# default text segment address, which of course means the resulting executable
437# is unusable. So we have to tell ld not to generate that, with --build-id=none.
438TOOL_LDFLAGS_COMMON_LINUX = \
439	-static -nodefaultlibs -nostartfiles -u _start @FLAG_NO_BUILD_ID@
440
441TOOL_LDFLAGS_COMMON_AIX5 = \
442	-static -Wl,-e_start_valgrind
443
444TOOL_LDFLAGS_COMMON_DARWIN = \
445	-nodefaultlibs -nostartfiles -Wl,-u,__start -Wl,-e,__start
446
447TOOL_LDFLAGS_X86_LINUX = \
448	$(TOOL_LDFLAGS_COMMON_LINUX) @FLAG_M32@
449
450TOOL_LDFLAGS_AMD64_LINUX = \
451	$(TOOL_LDFLAGS_COMMON_LINUX) @FLAG_M64@
452
453TOOL_LDFLAGS_PPC32_LINUX = \
454	$(TOOL_LDFLAGS_COMMON_LINUX) @FLAG_M32@
455
456TOOL_LDFLAGS_PPC64_LINUX = \
457	$(TOOL_LDFLAGS_COMMON_LINUX) @FLAG_M64@
458
459TOOL_LDFLAGS_ARM_LINUX = \
460	$(TOOL_LDFLAGS_COMMON_LINUX) @FLAG_M32@
461
462TOOL_LDFLAGS_PPC32_AIX5 = \
463	$(TOOL_LDFLAGS_COMMON_AIX5) @FLAG_MAIX32@
464
465TOOL_LDFLAGS_PPC64_AIX5 = \
466	$(TOOL_LDFLAGS_COMMON_AIX5) @FLAG_MAIX64@ -Wl,-bbigtoc
467
468TOOL_LDFLAGS_X86_DARWIN = \
469	$(TOOL_LDFLAGS_COMMON_DARWIN) -arch i386
470
471TOOL_LDFLAGS_AMD64_DARWIN = \
472	$(TOOL_LDFLAGS_COMMON_DARWIN) -arch x86_64
473
474
475# NB for 64-bit darwin.  We may want to set -Wl,-pagezero_size to
476# something smaller than the default of 4G, so as to facilitate
477# loading clients who are also linked thusly (currently m_ume.c
478# will fail to load them).  Although such setting is probably
479# better done in link_tool_exe.c.
480#
481#	-Wl,-pagezero_size,0x100000000
482
483#----------------------------------------------------------------------------
484# vgpreload_<tool>-<platform>.a stuff
485#----------------------------------------------------------------------------
486LIBREPLACEMALLOC_X86_LINUX = \
487	$(top_builddir)/coregrind/libreplacemalloc_toolpreload-x86-linux.a
488
489LIBREPLACEMALLOC_AMD64_LINUX = \
490	$(top_builddir)/coregrind/libreplacemalloc_toolpreload-amd64-linux.a
491
492LIBREPLACEMALLOC_PPC32_LINUX = \
493	$(top_builddir)/coregrind/libreplacemalloc_toolpreload-ppc32-linux.a
494
495LIBREPLACEMALLOC_PPC64_LINUX = \
496	$(top_builddir)/coregrind/libreplacemalloc_toolpreload-ppc64-linux.a
497
498LIBREPLACEMALLOC_ARM_LINUX = \
499	$(top_builddir)/coregrind/libreplacemalloc_toolpreload-arm-linux.a
500
501LIBREPLACEMALLOC_PPC32_AIX5 = \
502	$(top_builddir)/coregrind/libreplacemalloc_toolpreload-ppc32-aix5.a
503
504LIBREPLACEMALLOC_PPC64_AIX5 = \
505	$(top_builddir)/coregrind/libreplacemalloc_toolpreload-ppc64-aix5.a
506
507LIBREPLACEMALLOC_X86_DARWIN = \
508	$(top_builddir)/coregrind/libreplacemalloc_toolpreload-x86-darwin.a
509
510LIBREPLACEMALLOC_AMD64_DARWIN = \
511	$(top_builddir)/coregrind/libreplacemalloc_toolpreload-amd64-darwin.a
512
513LIBREPLACEMALLOC_LDFLAGS_X86_LINUX = \
514	-Wl,--whole-archive \
515	$(LIBREPLACEMALLOC_X86_LINUX) \
516	-Wl,--no-whole-archive
517
518LIBREPLACEMALLOC_LDFLAGS_AMD64_LINUX = \
519	-Wl,--whole-archive \
520	$(LIBREPLACEMALLOC_AMD64_LINUX) \
521	-Wl,--no-whole-archive
522
523LIBREPLACEMALLOC_LDFLAGS_PPC32_LINUX = \
524	-Wl,--whole-archive \
525	$(LIBREPLACEMALLOC_PPC32_LINUX) \
526	-Wl,--no-whole-archive
527
528LIBREPLACEMALLOC_LDFLAGS_PPC64_LINUX = \
529	-Wl,--whole-archive \
530	$(LIBREPLACEMALLOC_PPC64_LINUX) \
531	-Wl,--no-whole-archive
532
533LIBREPLACEMALLOC_LDFLAGS_ARM_LINUX = \
534	-Wl,--whole-archive \
535	$(LIBREPLACEMALLOC_ARM_LINUX) \
536	-Wl,--no-whole-archive
537
538LIBREPLACEMALLOC_LDFLAGS_PPC32_AIX5 = \
539	$(LIBREPLACEMALLOC_PPC32_AIX5)
540
541LIBREPLACEMALLOC_LDFLAGS_PPC64_AIX5 = \
542	$(LIBREPLACEMALLOC_PPC64_AIX5)
543
544LIBREPLACEMALLOC_LDFLAGS_X86_DARWIN = \
545	$(LIBREPLACEMALLOC_X86_DARWIN)
546
547LIBREPLACEMALLOC_LDFLAGS_AMD64_DARWIN = \
548	$(LIBREPLACEMALLOC_AMD64_DARWIN)
549
550
551#SUBDIRS += perf
552EXTRA_DIST = docs/dh-manual.xml
553EXP_DHAT_SOURCES_COMMON = dh_main.c
554exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_SOURCES = \
555	$(EXP_DHAT_SOURCES_COMMON)
556
557exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CPPFLAGS = \
558	$(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
559
560exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CFLAGS = \
561	$(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
562
563exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_DEPENDENCIES = \
564	$(TOOL_DEPENDENCIES_@VGCONF_PLATFORM_PRI_CAPS@)
565
566exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LDADD = \
567	$(TOOL_LDADD_@VGCONF_PLATFORM_PRI_CAPS@)
568
569exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LDFLAGS = \
570	$(TOOL_LDFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
571
572exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LINK = \
573	$(top_builddir)/coregrind/link_tool_exe_@VGCONF_OS@ \
574	@VALT_LOAD_ADDRESS_PRI@ \
575	$(LINK) \
576	$(exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CFLAGS) \
577	$(exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LDFLAGS)
578
579@VGCONF_HAVE_PLATFORM_SEC_TRUE@exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_SOURCES = \
580@VGCONF_HAVE_PLATFORM_SEC_TRUE@	$(EXP_DHAT_SOURCES_COMMON)
581
582@VGCONF_HAVE_PLATFORM_SEC_TRUE@exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CPPFLAGS = \
583@VGCONF_HAVE_PLATFORM_SEC_TRUE@	$(AM_CPPFLAGS_@VGCONF_PLATFORM_SEC_CAPS@)
584
585@VGCONF_HAVE_PLATFORM_SEC_TRUE@exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CFLAGS = \
586@VGCONF_HAVE_PLATFORM_SEC_TRUE@	$(AM_CFLAGS_@VGCONF_PLATFORM_SEC_CAPS@)
587
588@VGCONF_HAVE_PLATFORM_SEC_TRUE@exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_DEPENDENCIES = \
589@VGCONF_HAVE_PLATFORM_SEC_TRUE@	$(TOOL_DEPENDENCIES_@VGCONF_PLATFORM_SEC_CAPS@)
590
591@VGCONF_HAVE_PLATFORM_SEC_TRUE@exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LDADD = \
592@VGCONF_HAVE_PLATFORM_SEC_TRUE@	$(TOOL_LDADD_@VGCONF_PLATFORM_SEC_CAPS@)
593
594@VGCONF_HAVE_PLATFORM_SEC_TRUE@exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LDFLAGS = \
595@VGCONF_HAVE_PLATFORM_SEC_TRUE@	$(TOOL_LDFLAGS_@VGCONF_PLATFORM_SEC_CAPS@)
596
597@VGCONF_HAVE_PLATFORM_SEC_TRUE@exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LINK = \
598@VGCONF_HAVE_PLATFORM_SEC_TRUE@	$(top_builddir)/coregrind/link_tool_exe_@VGCONF_OS@ \
599@VGCONF_HAVE_PLATFORM_SEC_TRUE@	@VALT_LOAD_ADDRESS_SEC@ \
600@VGCONF_HAVE_PLATFORM_SEC_TRUE@	$(LINK) \
601@VGCONF_HAVE_PLATFORM_SEC_TRUE@	$(exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CFLAGS) \
602@VGCONF_HAVE_PLATFORM_SEC_TRUE@	$(exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LDFLAGS)
603
604@VGCONF_OS_IS_DARWIN_TRUE@noinst_DSYMS = $(noinst_PROGRAMS)
605vgpreload_exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_SOURCES =
606vgpreload_exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_CPPFLAGS = \
607	$(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
608
609vgpreload_exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_CFLAGS = \
610	$(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) $(AM_CFLAGS_PIC)
611
612vgpreload_exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_DEPENDENCIES = \
613	$(LIBREPLACEMALLOC_@VGCONF_PLATFORM_PRI_CAPS@)
614
615vgpreload_exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_LDFLAGS = \
616	$(PRELOAD_LDFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) \
617	$(LIBREPLACEMALLOC_LDFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
618
619@VGCONF_HAVE_PLATFORM_SEC_TRUE@vgpreload_exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_so_SOURCES =
620@VGCONF_HAVE_PLATFORM_SEC_TRUE@vgpreload_exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_so_CPPFLAGS = \
621@VGCONF_HAVE_PLATFORM_SEC_TRUE@	$(AM_CPPFLAGS_@VGCONF_PLATFORM_SEC_CAPS@)
622
623@VGCONF_HAVE_PLATFORM_SEC_TRUE@vgpreload_exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_so_CFLAGS = \
624@VGCONF_HAVE_PLATFORM_SEC_TRUE@	$(AM_CFLAGS_@VGCONF_PLATFORM_SEC_CAPS@) $(AM_CFLAGS_PIC)
625
626@VGCONF_HAVE_PLATFORM_SEC_TRUE@vgpreload_exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_so_DEPENDENCIES = \
627@VGCONF_HAVE_PLATFORM_SEC_TRUE@	$(LIBREPLACEMALLOC_@VGCONF_PLATFORM_SEC_CAPS@)
628
629@VGCONF_HAVE_PLATFORM_SEC_TRUE@vgpreload_exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_so_LDFLAGS = \
630@VGCONF_HAVE_PLATFORM_SEC_TRUE@	$(PRELOAD_LDFLAGS_@VGCONF_PLATFORM_SEC_CAPS@) \
631@VGCONF_HAVE_PLATFORM_SEC_TRUE@	$(LIBREPLACEMALLOC_LDFLAGS_@VGCONF_PLATFORM_SEC_CAPS@)
632
633all: all-recursive
634
635.SUFFIXES:
636.SUFFIXES: .c .o .obj
637$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.tool.am $(top_srcdir)/Makefile.all.am $(am__configure_deps)
638	@for dep in $?; do \
639	  case '$(am__configure_deps)' in \
640	    *$$dep*) \
641	      ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
642	        && { if test -f $@; then exit 0; else break; fi; }; \
643	      exit 1;; \
644	  esac; \
645	done; \
646	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign exp-dhat/Makefile'; \
647	$(am__cd) $(top_srcdir) && \
648	  $(AUTOMAKE) --foreign exp-dhat/Makefile
649.PRECIOUS: Makefile
650Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
651	@case '$?' in \
652	  *config.status*) \
653	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
654	  *) \
655	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
656	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
657	esac;
658
659$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
660	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
661
662$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
663	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
664$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
665	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
666$(am__aclocal_m4_deps):
667
668clean-noinstPROGRAMS:
669	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
670exp-dhat-@VGCONF_ARCH_PRI@-@VGCONF_OS@$(EXEEXT): $(exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_OBJECTS) $(exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_DEPENDENCIES)
671	@rm -f exp-dhat-@VGCONF_ARCH_PRI@-@VGCONF_OS@$(EXEEXT)
672	$(exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LINK) $(exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_OBJECTS) $(exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LDADD) $(LIBS)
673exp-dhat-@VGCONF_ARCH_SEC@-@VGCONF_OS@$(EXEEXT): $(exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_OBJECTS) $(exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_DEPENDENCIES)
674	@rm -f exp-dhat-@VGCONF_ARCH_SEC@-@VGCONF_OS@$(EXEEXT)
675	$(exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LINK) $(exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_OBJECTS) $(exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LDADD) $(LIBS)
676vgpreload_exp-dhat-@VGCONF_ARCH_PRI@-@VGCONF_OS@.so$(EXEEXT): $(vgpreload_exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_OBJECTS) $(vgpreload_exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_DEPENDENCIES)
677	@rm -f vgpreload_exp-dhat-@VGCONF_ARCH_PRI@-@VGCONF_OS@.so$(EXEEXT)
678	$(vgpreload_exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_LINK) $(vgpreload_exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_OBJECTS) $(vgpreload_exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_LDADD) $(LIBS)
679vgpreload_exp-dhat-@VGCONF_ARCH_SEC@-@VGCONF_OS@.so$(EXEEXT): $(vgpreload_exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_so_OBJECTS) $(vgpreload_exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_so_DEPENDENCIES)
680	@rm -f vgpreload_exp-dhat-@VGCONF_ARCH_SEC@-@VGCONF_OS@.so$(EXEEXT)
681	$(vgpreload_exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_so_LINK) $(vgpreload_exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_so_OBJECTS) $(vgpreload_exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_so_LDADD) $(LIBS)
682
683mostlyclean-compile:
684	-rm -f *.$(OBJEXT)
685
686distclean-compile:
687	-rm -f *.tab.c
688
689@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@-dh_main.Po@am__quote@
690@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@-dh_main.Po@am__quote@
691
692.c.o:
693@am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
694@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
695@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
696@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
697@am__fastdepCC_FALSE@	$(COMPILE) -c $<
698
699.c.obj:
700@am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
701@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
702@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
703@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
704@am__fastdepCC_FALSE@	$(COMPILE) -c `$(CYGPATH_W) '$<'`
705
706exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@-dh_main.o: dh_main.c
707@am__fastdepCC_TRUE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CPPFLAGS) $(CPPFLAGS) $(exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CFLAGS) $(CFLAGS) -MT exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@-dh_main.o -MD -MP -MF $(DEPDIR)/exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@-dh_main.Tpo -c -o exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@-dh_main.o `test -f 'dh_main.c' || echo '$(srcdir)/'`dh_main.c
708@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@-dh_main.Tpo $(DEPDIR)/exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@-dh_main.Po
709@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='dh_main.c' object='exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@-dh_main.o' libtool=no @AMDEPBACKSLASH@
710@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
711@am__fastdepCC_FALSE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CPPFLAGS) $(CPPFLAGS) $(exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CFLAGS) $(CFLAGS) -c -o exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@-dh_main.o `test -f 'dh_main.c' || echo '$(srcdir)/'`dh_main.c
712
713exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@-dh_main.obj: dh_main.c
714@am__fastdepCC_TRUE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CPPFLAGS) $(CPPFLAGS) $(exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CFLAGS) $(CFLAGS) -MT exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@-dh_main.obj -MD -MP -MF $(DEPDIR)/exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@-dh_main.Tpo -c -o exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@-dh_main.obj `if test -f 'dh_main.c'; then $(CYGPATH_W) 'dh_main.c'; else $(CYGPATH_W) '$(srcdir)/dh_main.c'; fi`
715@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@-dh_main.Tpo $(DEPDIR)/exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@-dh_main.Po
716@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='dh_main.c' object='exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@-dh_main.obj' libtool=no @AMDEPBACKSLASH@
717@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
718@am__fastdepCC_FALSE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CPPFLAGS) $(CPPFLAGS) $(exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CFLAGS) $(CFLAGS) -c -o exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@-dh_main.obj `if test -f 'dh_main.c'; then $(CYGPATH_W) 'dh_main.c'; else $(CYGPATH_W) '$(srcdir)/dh_main.c'; fi`
719
720exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@-dh_main.o: dh_main.c
721@am__fastdepCC_TRUE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CPPFLAGS) $(CPPFLAGS) $(exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CFLAGS) $(CFLAGS) -MT exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@-dh_main.o -MD -MP -MF $(DEPDIR)/exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@-dh_main.Tpo -c -o exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@-dh_main.o `test -f 'dh_main.c' || echo '$(srcdir)/'`dh_main.c
722@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@-dh_main.Tpo $(DEPDIR)/exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@-dh_main.Po
723@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='dh_main.c' object='exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@-dh_main.o' libtool=no @AMDEPBACKSLASH@
724@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
725@am__fastdepCC_FALSE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CPPFLAGS) $(CPPFLAGS) $(exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CFLAGS) $(CFLAGS) -c -o exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@-dh_main.o `test -f 'dh_main.c' || echo '$(srcdir)/'`dh_main.c
726
727exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@-dh_main.obj: dh_main.c
728@am__fastdepCC_TRUE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CPPFLAGS) $(CPPFLAGS) $(exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CFLAGS) $(CFLAGS) -MT exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@-dh_main.obj -MD -MP -MF $(DEPDIR)/exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@-dh_main.Tpo -c -o exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@-dh_main.obj `if test -f 'dh_main.c'; then $(CYGPATH_W) 'dh_main.c'; else $(CYGPATH_W) '$(srcdir)/dh_main.c'; fi`
729@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@-dh_main.Tpo $(DEPDIR)/exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@-dh_main.Po
730@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='dh_main.c' object='exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@-dh_main.obj' libtool=no @AMDEPBACKSLASH@
731@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
732@am__fastdepCC_FALSE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CPPFLAGS) $(CPPFLAGS) $(exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CFLAGS) $(CFLAGS) -c -o exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@-dh_main.obj `if test -f 'dh_main.c'; then $(CYGPATH_W) 'dh_main.c'; else $(CYGPATH_W) '$(srcdir)/dh_main.c'; fi`
733
734# This directory's subdirectories are mostly independent; you can cd
735# into them and run `make' without going through this Makefile.
736# To change the values of `make' variables: instead of editing Makefiles,
737# (1) if the variable is set in `config.status', edit `config.status'
738#     (which will cause the Makefiles to be regenerated when you run `make');
739# (2) otherwise, pass the desired values on the `make' command line.
740$(RECURSIVE_TARGETS):
741	@fail= failcom='exit 1'; \
742	for f in x $$MAKEFLAGS; do \
743	  case $$f in \
744	    *=* | --[!k]*);; \
745	    *k*) failcom='fail=yes';; \
746	  esac; \
747	done; \
748	dot_seen=no; \
749	target=`echo $@ | sed s/-recursive//`; \
750	list='$(SUBDIRS)'; for subdir in $$list; do \
751	  echo "Making $$target in $$subdir"; \
752	  if test "$$subdir" = "."; then \
753	    dot_seen=yes; \
754	    local_target="$$target-am"; \
755	  else \
756	    local_target="$$target"; \
757	  fi; \
758	  ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
759	  || eval $$failcom; \
760	done; \
761	if test "$$dot_seen" = "no"; then \
762	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
763	fi; test -z "$$fail"
764
765$(RECURSIVE_CLEAN_TARGETS):
766	@fail= failcom='exit 1'; \
767	for f in x $$MAKEFLAGS; do \
768	  case $$f in \
769	    *=* | --[!k]*);; \
770	    *k*) failcom='fail=yes';; \
771	  esac; \
772	done; \
773	dot_seen=no; \
774	case "$@" in \
775	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
776	  *) list='$(SUBDIRS)' ;; \
777	esac; \
778	rev=''; for subdir in $$list; do \
779	  if test "$$subdir" = "."; then :; else \
780	    rev="$$subdir $$rev"; \
781	  fi; \
782	done; \
783	rev="$$rev ."; \
784	target=`echo $@ | sed s/-recursive//`; \
785	for subdir in $$rev; do \
786	  echo "Making $$target in $$subdir"; \
787	  if test "$$subdir" = "."; then \
788	    local_target="$$target-am"; \
789	  else \
790	    local_target="$$target"; \
791	  fi; \
792	  ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
793	  || eval $$failcom; \
794	done && test -z "$$fail"
795tags-recursive:
796	list='$(SUBDIRS)'; for subdir in $$list; do \
797	  test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
798	done
799ctags-recursive:
800	list='$(SUBDIRS)'; for subdir in $$list; do \
801	  test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
802	done
803
804ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
805	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
806	unique=`for i in $$list; do \
807	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
808	  done | \
809	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
810	      END { if (nonempty) { for (i in files) print i; }; }'`; \
811	mkid -fID $$unique
812tags: TAGS
813
814TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
815		$(TAGS_FILES) $(LISP)
816	set x; \
817	here=`pwd`; \
818	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
819	  include_option=--etags-include; \
820	  empty_fix=.; \
821	else \
822	  include_option=--include; \
823	  empty_fix=; \
824	fi; \
825	list='$(SUBDIRS)'; for subdir in $$list; do \
826	  if test "$$subdir" = .; then :; else \
827	    test ! -f $$subdir/TAGS || \
828	      set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
829	  fi; \
830	done; \
831	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
832	unique=`for i in $$list; do \
833	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
834	  done | \
835	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
836	      END { if (nonempty) { for (i in files) print i; }; }'`; \
837	shift; \
838	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
839	  test -n "$$unique" || unique=$$empty_fix; \
840	  if test $$# -gt 0; then \
841	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
842	      "$$@" $$unique; \
843	  else \
844	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
845	      $$unique; \
846	  fi; \
847	fi
848ctags: CTAGS
849CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
850		$(TAGS_FILES) $(LISP)
851	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
852	unique=`for i in $$list; do \
853	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
854	  done | \
855	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
856	      END { if (nonempty) { for (i in files) print i; }; }'`; \
857	test -z "$(CTAGS_ARGS)$$unique" \
858	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
859	     $$unique
860
861GTAGS:
862	here=`$(am__cd) $(top_builddir) && pwd` \
863	  && $(am__cd) $(top_srcdir) \
864	  && gtags -i $(GTAGS_ARGS) "$$here"
865
866distclean-tags:
867	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
868
869distdir: $(DISTFILES)
870	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
871	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
872	list='$(DISTFILES)'; \
873	  dist_files=`for file in $$list; do echo $$file; done | \
874	  sed -e "s|^$$srcdirstrip/||;t" \
875	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
876	case $$dist_files in \
877	  */*) $(MKDIR_P) `echo "$$dist_files" | \
878			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
879			   sort -u` ;; \
880	esac; \
881	for file in $$dist_files; do \
882	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
883	  if test -d $$d/$$file; then \
884	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
885	    if test -d "$(distdir)/$$file"; then \
886	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
887	    fi; \
888	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
889	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
890	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
891	    fi; \
892	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
893	  else \
894	    test -f "$(distdir)/$$file" \
895	    || cp -p $$d/$$file "$(distdir)/$$file" \
896	    || exit 1; \
897	  fi; \
898	done
899	@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
900	  if test "$$subdir" = .; then :; else \
901	    test -d "$(distdir)/$$subdir" \
902	    || $(MKDIR_P) "$(distdir)/$$subdir" \
903	    || exit 1; \
904	  fi; \
905	done
906	@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
907	  if test "$$subdir" = .; then :; else \
908	    dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
909	    $(am__relativize); \
910	    new_distdir=$$reldir; \
911	    dir1=$$subdir; dir2="$(top_distdir)"; \
912	    $(am__relativize); \
913	    new_top_distdir=$$reldir; \
914	    echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
915	    echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
916	    ($(am__cd) $$subdir && \
917	      $(MAKE) $(AM_MAKEFLAGS) \
918	        top_distdir="$$new_top_distdir" \
919	        distdir="$$new_distdir" \
920		am__remove_distdir=: \
921		am__skip_length_check=: \
922		am__skip_mode_fix=: \
923	        distdir) \
924	      || exit 1; \
925	  fi; \
926	done
927check-am: all-am
928check: check-recursive
929all-am: Makefile $(PROGRAMS) all-local
930installdirs: installdirs-recursive
931installdirs-am:
932install: install-recursive
933install-exec: install-exec-recursive
934install-data: install-data-recursive
935uninstall: uninstall-recursive
936
937install-am: all-am
938	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
939
940installcheck: installcheck-recursive
941install-strip:
942	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
943	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
944	  `test -z '$(STRIP)' || \
945	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
946mostlyclean-generic:
947
948clean-generic:
949
950distclean-generic:
951	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
952	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
953
954maintainer-clean-generic:
955	@echo "This command is intended for maintainers to use"
956	@echo "it deletes files that may require special tools to rebuild."
957clean: clean-recursive
958
959clean-am: clean-generic clean-local clean-noinstPROGRAMS \
960	mostlyclean-am
961
962distclean: distclean-recursive
963	-rm -rf ./$(DEPDIR)
964	-rm -f Makefile
965distclean-am: clean-am distclean-compile distclean-generic \
966	distclean-tags
967
968dvi: dvi-recursive
969
970dvi-am:
971
972html: html-recursive
973
974html-am:
975
976info: info-recursive
977
978info-am:
979
980install-data-am:
981
982install-dvi: install-dvi-recursive
983
984install-dvi-am:
985
986install-exec-am: install-exec-local
987
988install-html: install-html-recursive
989
990install-html-am:
991
992install-info: install-info-recursive
993
994install-info-am:
995
996install-man:
997
998install-pdf: install-pdf-recursive
999
1000install-pdf-am:
1001
1002install-ps: install-ps-recursive
1003
1004install-ps-am:
1005
1006installcheck-am:
1007
1008maintainer-clean: maintainer-clean-recursive
1009	-rm -rf ./$(DEPDIR)
1010	-rm -f Makefile
1011maintainer-clean-am: distclean-am maintainer-clean-generic
1012
1013mostlyclean: mostlyclean-recursive
1014
1015mostlyclean-am: mostlyclean-compile mostlyclean-generic
1016
1017pdf: pdf-recursive
1018
1019pdf-am:
1020
1021ps: ps-recursive
1022
1023ps-am:
1024
1025uninstall-am:
1026
1027.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
1028	install-am install-strip tags-recursive
1029
1030.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
1031	all all-am all-local check check-am clean clean-generic \
1032	clean-local clean-noinstPROGRAMS ctags ctags-recursive \
1033	distclean distclean-compile distclean-generic distclean-tags \
1034	distdir dvi dvi-am html html-am info info-am install \
1035	install-am install-data install-data-am install-dvi \
1036	install-dvi-am install-exec install-exec-am install-exec-local \
1037	install-html install-html-am install-info install-info-am \
1038	install-man install-pdf install-pdf-am install-ps \
1039	install-ps-am install-strip installcheck installcheck-am \
1040	installdirs installdirs-am maintainer-clean \
1041	maintainer-clean-generic mostlyclean mostlyclean-compile \
1042	mostlyclean-generic pdf pdf-am ps ps-am tags tags-recursive \
1043	uninstall uninstall-am
1044
1045
1046# This used to be required when Vex had a handwritten Makefile.  It
1047# shouldn't be needed any more, though.
1048
1049#----------------------------------------------------------------------------
1050# noinst_PROGRAMS and noinst_DSYMS targets
1051#----------------------------------------------------------------------------
1052
1053# On Darwin, for a program 'p', the DWARF debug info is stored in the
1054# directory 'p.dSYM'.  This must be generated after the executable is
1055# created, with 'dsymutil p'.  We could redefine LINK with a script that
1056# executes 'dsymutil' after linking, but that's a pain.  Instead we use this
1057# hook so that every time "make check" is run, we subsequently invoke
1058# 'dsymutil' on all the executables that lack a .dSYM directory, or that are
1059# newer than their corresponding .dSYM directory.
1060build-noinst_DSYMS: $(noinst_DSYMS)
1061	for f in $(noinst_DSYMS); do \
1062	  if [ ! -e $$f.dSYM  -o  $$f -nt $$f.dSYM ] ; then \
1063	      echo "dsymutil $$f"; \
1064	      dsymutil $$f; \
1065	  fi; \
1066	done
1067
1068# This is used by coregrind/Makefile.am and Makefile.tool.am for doing
1069# "in-place" installs.  It copies $(noinst_PROGRAMS) into $inplacedir.
1070# It needs to be depended on by an 'all-local' rule.
1071inplace-noinst_PROGRAMS: $(noinst_PROGRAMS)
1072	mkdir -p $(inplacedir); \
1073	for f in $(noinst_PROGRAMS) ; do \
1074	  rm -f $(inplacedir)/$$f; \
1075	  ln -f -s ../$(subdir)/$$f $(inplacedir); \
1076	done
1077
1078# Similar to inplace-noinst_PROGRAMS
1079inplace-noinst_DSYMS: build-noinst_DSYMS
1080	mkdir -p $(inplacedir); \
1081	for f in $(noinst_DSYMS); do \
1082	  rm -f $(inplacedir)/$$f.dSYM; \
1083	  ln -f -s ../$(subdir)/$$f.dSYM $(inplacedir); \
1084	done
1085
1086# This is used by coregrind/Makefile.am and by <tool>/Makefile.am for doing
1087# "make install".  It copies $(noinst_PROGRAMS) into $prefix/lib/valgrind/.
1088# It needs to be depended on by an 'install-exec-local' rule.
1089install-noinst_PROGRAMS: $(noinst_PROGRAMS)
1090	$(mkinstalldirs) $(DESTDIR)$(pkglibdir); \
1091	for f in $(noinst_PROGRAMS); do \
1092	  $(INSTALL_PROGRAM) $$f $(DESTDIR)$(pkglibdir); \
1093	done
1094
1095# Similar to install-noinst_PROGRAMS.
1096# Nb: we don't use $(INSTALL_PROGRAM) here because it doesn't work with
1097# directories.  XXX: not sure whether the resulting permissions will be
1098# correct when using 'cp -R'...
1099install-noinst_DSYMS: build-noinst_DSYMS
1100	$(mkinstalldirs) $(DESTDIR)$(pkglibdir); \
1101	for f in $(noinst_DSYMS); do \
1102	  cp -R $$f.dSYM $(DESTDIR)$(pkglibdir); \
1103	done
1104
1105# This needs to be depended on by a 'clean-local' rule.
1106clean-noinst_DSYMS:
1107	for f in $(noinst_DSYMS); do \
1108	  rm -rf $$f.dSYM; \
1109	done
1110
1111#----------------------------------------------------------------------------
1112# General stuff
1113#----------------------------------------------------------------------------
1114
1115all-local: inplace-noinst_PROGRAMS inplace-noinst_DSYMS
1116
1117clean-local: clean-noinst_DSYMS
1118
1119install-exec-local: install-noinst_PROGRAMS install-noinst_DSYMS
1120
1121# Tell versions [3.59,3.63) of GNU make to not export all variables.
1122# Otherwise a system limit (for SysV at least) may be exceeded.
1123.NOEXPORT:
1124