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