diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 969 |
1 files changed, 969 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..fbd2dac --- /dev/null +++ b/Makefile @@ -0,0 +1,969 @@ +# Makefile.in generated by automake 1.10.1 from Makefile.am. +# Makefile. Generated from Makefile.in by configure. + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + + + + + +pkgdatadir = $(datadir)/valgrind +pkglibdir = $(libdir)/valgrind +pkgincludedir = $(includedir)/valgrind +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = x86_64-unknown-linux-gnu +host_triplet = x86_64-unknown-linux-gnu +DIST_COMMON = README $(am__configure_deps) $(dist_noinst_DATA) \ + $(dist_val_DATA) $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ + $(srcdir)/config.h.in $(srcdir)/glibc-2.X.supp.in \ + $(srcdir)/valgrind.pc.in $(srcdir)/valgrind.spec.in \ + $(top_srcdir)/Makefile.all.am $(top_srcdir)/configure \ + $(top_srcdir)/drd/scripts/download-and-build-splash2.in \ + $(top_srcdir)/fat/Makefile.in AUTHORS COPYING INSTALL NEWS \ + compile config.guess config.sub depcomp install-sh missing +#am__append_1 = valt_load_address_x86_linux.lds +#am__append_2 = valt_load_address_x86_linux.lds +am__append_3 = valt_load_address_amd64_linux.lds +am__append_4 = valt_load_address_amd64_linux.lds +#am__append_5 = valt_load_address_ppc32_linux.lds +#am__append_6 = valt_load_address_ppc32_linux.lds +#am__append_7 = valt_load_address_ppc64_linux.lds +#am__append_8 = valt_load_address_ppc64_linux.lds +subdir = . +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.in +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ + configure.lineno config.status.lineno +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = config.h +CONFIG_CLEAN_FILES = valgrind.spec valgrind.pc glibc-2.X.supp \ + fat/Makefile drd/scripts/download-and-build-splash2 +SOURCES = +DIST_SOURCES = +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ + html-recursive info-recursive install-data-recursive \ + install-dvi-recursive install-exec-recursive \ + install-html-recursive install-info-recursive \ + install-pdf-recursive install-ps-recursive install-recursive \ + installcheck-recursive installdirs-recursive pdf-recursive \ + ps-recursive uninstall-recursive +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; +am__installdirs = "$(DESTDIR)$(valdir)" "$(DESTDIR)$(pkgconfigdir)" \ + "$(DESTDIR)$(incincdir)" +dist_valDATA_INSTALL = $(INSTALL_DATA) +pkgconfigDATA_INSTALL = $(INSTALL_DATA) +DATA = $(dist_noinst_DATA) $(dist_val_DATA) $(pkgconfig_DATA) +nodist_incincHEADERS_INSTALL = $(INSTALL_HEADER) +HEADERS = $(nodist_incinc_HEADERS) +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +ETAGS = etags +CTAGS = ctags +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(distdir) +am__remove_distdir = \ + { test ! -d $(distdir) \ + || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ + && rm -fr $(distdir); }; } +DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2 +GZIP_ENV = --best +distuninstallcheck_listfiles = find . -type f -print +distcleancheck_listfiles = find . -type f -print +ACLOCAL = ${SHELL} /home/steph/compile/valgrind/missing --run aclocal-1.10 +AMTAR = ${SHELL} /home/steph/compile/valgrind/missing --run tar +AR = /usr/bin/ar +AUTOCONF = ${SHELL} /home/steph/compile/valgrind/missing --run autoconf +AUTOHEADER = ${SHELL} /home/steph/compile/valgrind/missing --run autoheader +AUTOMAKE = ${SHELL} /home/steph/compile/valgrind/missing --run automake-1.10 +AWK = gawk +BOOST_CFLAGS = +BOOST_LIBS = -lboost_thread-mt -m64 +CC = gcc +CCAS = gcc +CCASDEPMODE = depmode=gcc3 +CCASFLAGS = -Wno-long-long +CCDEPMODE = depmode=gcc3 +CFLAGS = -Wno-long-long -Wno-pointer-sign -Wdeclaration-after-statement -fno-stack-protector +CPP = gcc -E +CPPFLAGS = +CXX = g++ +CXXDEPMODE = depmode=gcc3 +CXXFLAGS = -g -O2 +CYGPATH_W = echo +DEFAULT_SUPP = exp-ptrcheck.supp xfree-3.supp xfree-4.supp glibc-2.X-drd.supp glibc-2.34567-NPTL-helgrind.supp glibc-2.X.supp +DEFS = -DHAVE_CONFIG_H +DEPDIR = .deps +DIFF = diff -u +DISTCHECK_CONFIGURE_FLAGS = --with-vex=$(top_srcdir)/VEX +ECHO_C = +ECHO_N = -n +ECHO_T = +EGREP = /bin/grep -E +EXEEXT = +FLAG_FNO_STACK_PROTECTOR = -fno-stack-protector +FLAG_M32 = -m32 +FLAG_M64 = -m64 +FLAG_MAIX32 = +FLAG_MAIX64 = +FLAG_MMMX = -mmmx +FLAG_MSSE = -msse +FLAG_UNLIMITED_INLINE_UNIT_GROWTH = --param inline-unit-growth=900 +FLAG_WDECL_AFTER_STMT = -Wdeclaration-after-statement +FLAG_W_EXTRA = -Wextra +FLAG_W_NO_FORMAT_ZERO_LENGTH = -Wno-format-zero-length +GDB = /usr/bin/gdb +GLIBC_VERSION = 2.8 +GREP = /bin/grep +INSTALL = /usr/bin/install -c +INSTALL_DATA = ${INSTALL} -m 644 +INSTALL_PROGRAM = ${INSTALL} +INSTALL_SCRIPT = ${INSTALL} +INSTALL_STRIP_PROGRAM = $(install_sh) -c -s +LDFLAGS = +LIBOBJS = +LIBS = +LN_S = ln -s +LTLIBOBJS = +MAINT = # +MAKEINFO = ${SHELL} /home/steph/compile/valgrind/missing --run makeinfo +MKDIR_P = /bin/mkdir -p +MPI_CC = mpicc +OBJEXT = o +PACKAGE = valgrind +PACKAGE_BUGREPORT = valgrind-users@lists.sourceforge.net +PACKAGE_NAME = Valgrind +PACKAGE_STRING = Valgrind 3.5.0.SVN +PACKAGE_TARNAME = valgrind +PACKAGE_VERSION = 3.5.0.SVN +PATH_SEPARATOR = : +PERL = /usr/bin/perl +PKG_CONFIG = /usr/bin/pkg-config +PREFERRED_STACK_BOUNDARY = +QTCORE_CFLAGS = -DQT_SHARED -I/usr/include/QtCore +QTCORE_LIBS = -lQtCore +RANLIB = ranlib +SET_MAKE = +SHELL = /bin/sh +STRIP = +VALT_LOAD_ADDRESS = 0x38000000 +VERSION = 3.5.0.SVN +VEX_DIR = $(top_srcdir)/VEX +VGCONF_ARCH_PRI = amd64 +VGCONF_OS = linux +VGCONF_PLATFORM_PRI_CAPS = AMD64_LINUX +VGCONF_PLATFORM_SEC_CAPS = +abs_builddir = /home/steph/compile/valgrind +abs_srcdir = /home/steph/compile/valgrind +abs_top_builddir = /home/steph/compile/valgrind +abs_top_srcdir = /home/steph/compile/valgrind +ac_ct_CC = gcc +ac_ct_CXX = g++ +am__include = include +am__leading_dot = . +am__quote = +am__tar = ${AMTAR} chof - "$$tardir" +am__untar = ${AMTAR} xf - +bindir = ${exec_prefix}/bin +build = x86_64-unknown-linux-gnu +build_alias = +build_cpu = x86_64 +build_os = linux-gnu +build_vendor = unknown +builddir = . +datadir = ${datarootdir} +datarootdir = ${prefix}/share +docdir = ${datarootdir}/doc/${PACKAGE_TARNAME} +dvidir = ${docdir} +exec_prefix = ${prefix} +host = x86_64-unknown-linux-gnu +host_alias = +host_cpu = x86_64 +host_os = linux-gnu +host_vendor = unknown +htmldir = ${docdir} +includedir = ${prefix}/include +infodir = ${datarootdir}/info +install_sh = $(SHELL) /home/steph/compile/valgrind/install-sh +libdir = ${exec_prefix}/lib +libexecdir = ${exec_prefix}/libexec +localedir = ${datarootdir}/locale +localstatedir = ${prefix}/var +mandir = ${datarootdir}/man +mkdir_p = /bin/mkdir -p +oldincludedir = /usr/include +pdfdir = ${docdir} +prefix = /usr/local +program_transform_name = s,x,x, +psdir = ${docdir} +sbindir = ${exec_prefix}/sbin +sharedstatedir = ${prefix}/com +srcdir = . +sysconfdir = ${prefix}/etc +target_alias = +top_builddir = . +top_srcdir = . +AUTOMAKE_OPTIONS = foreign 1.7 dist-bzip2 +valdir = $(libdir)/valgrind +inplacedir = $(top_builddir)/.in_place +TOOLS = memcheck \ + cachegrind \ + callgrind \ + fat \ + massif \ + lackey \ + none \ + helgrind \ + drd + +EXP_TOOLS = exp-omega \ + exp-ptrcheck + + +# Put docs last because building the HTML is slow and we want to get +# everything else working before we try it. +SUBDIRS = include coregrind . tests perf auxprogs $(TOOLS) $(EXP_TOOLS) docs +DIST_SUBDIRS = $(SUBDIRS) +SUPP_FILES = \ + glibc-2.2.supp glibc-2.3.supp glibc-2.4.supp glibc-2.5.supp \ + glibc-2.6.supp glibc-2.7.supp glibc-2.X.supp.in \ + aix5libc.supp xfree-3.supp xfree-4.supp \ + glibc-2.34567-NPTL-helgrind.supp \ + glibc-2.2-LinuxThreads-helgrind.supp \ + glibc-2.X-drd.supp \ + exp-ptrcheck.supp + +DEFAULT_SUPP_FILES = exp-ptrcheck.supp xfree-3.supp xfree-4.supp glibc-2.X-drd.supp glibc-2.34567-NPTL-helgrind.supp glibc-2.X.supp + +# We include all .supp files in the distribution, but only install +# default.supp. +dist_val_DATA = default.supp +dist_noinst_DATA = $(SUPP_FILES) +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = valgrind.pc +incincdir = $(includedir)/valgrind +nodist_incinc_HEADERS = $(VEX_PUBLIC_HDRS) +BUILT_SOURCES = default.supp valgrind.pc $(am__append_1) \ + $(am__append_3) $(am__append_5) $(am__append_7) +CLEANFILES = $(am__append_2) $(am__append_4) $(am__append_6) \ + $(am__append_8) +DISTCLEANFILES = default.supp + +# Nb: no need to include any Makefile.am files here, or files included from +# them, as automake includes them automatically. +EXTRA_DIST = \ + ACKNOWLEDGEMENTS \ + README_DEVELOPERS \ + README_PACKAGERS \ + README_MISSING_SYSCALL_OR_IOCTL \ + valgrind.spec.in valgrind.pc.in \ + $(vex_primary_sources) \ + vg-in-place + + +# These list the bits of vex we need to install +VEX_PUBLIC_HDRS = \ + $(top_srcdir)/VEX/pub/libvex_guest_amd64.h \ + $(top_srcdir)/VEX/pub/libvex_ir.h \ + $(top_srcdir)/VEX/pub/libvex_guest_ppc32.h \ + $(top_srcdir)/VEX/pub/libvex_guest_ppc64.h \ + $(top_srcdir)/VEX/pub/libvex_basictypes.h \ + $(top_srcdir)/VEX/pub/libvex_guest_offsets.h \ + $(top_srcdir)/VEX/pub/libvex_emwarn.h \ + $(top_srcdir)/VEX/pub/libvex.h \ + $(top_srcdir)/VEX/pub/libvex_trc_values.h \ + $(top_srcdir)/VEX/pub/libvex_guest_arm.h \ + $(top_srcdir)/VEX/pub/libvex_guest_x86.h + + +# These list the bits of vex we need to copy into the tarball +vex_primary_sources = \ + VEX/quote.txt \ + VEX/newline.txt \ + VEX/HACKING.README \ + VEX/LICENSE.README \ + VEX/LICENSE.GPL \ + VEX/Makefile \ + VEX/auxprogs/genoffsets.c \ + VEX/pub/libvex_guest_amd64.h \ + VEX/pub/libvex_ir.h \ + VEX/pub/libvex_guest_ppc32.h \ + VEX/pub/libvex_guest_ppc64.h \ + VEX/pub/libvex_basictypes.h \ + VEX/pub/libvex_guest_offsets.h \ + VEX/pub/libvex_emwarn.h \ + VEX/pub/libvex.h \ + VEX/pub/libvex_trc_values.h \ + VEX/pub/libvex_guest_arm.h \ + VEX/pub/libvex_guest_x86.h \ + VEX/priv/ir/irmatch.c \ + VEX/priv/ir/irmatch.h \ + VEX/priv/ir/irdefs.c \ + VEX/priv/ir/iropt.c \ + VEX/priv/ir/iropt.h \ + VEX/priv/host-ppc/isel.c \ + VEX/priv/host-ppc/hdefs.c \ + VEX/priv/host-ppc/hdefs.h \ + VEX/priv/main/vex_svnversion.h \ + VEX/priv/main/vex_globals.c \ + VEX/priv/main/vex_globals.h \ + VEX/priv/main/vex_main.c \ + VEX/priv/main/vex_util.c \ + VEX/priv/main/vex_util.h \ + VEX/priv/guest-arm/ghelpers.c \ + VEX/priv/guest-arm/gdefs.h \ + VEX/priv/guest-arm/toIR.c \ + VEX/priv/guest-x86/ghelpers.c \ + VEX/priv/guest-x86/gdefs.h \ + VEX/priv/guest-x86/toIR.c \ + VEX/priv/guest-generic/g_generic_x87.c \ + VEX/priv/guest-generic/g_generic_x87.h \ + VEX/priv/guest-generic/bb_to_IR.c \ + VEX/priv/guest-generic/bb_to_IR.h \ + VEX/priv/host-arm/isel.c \ + VEX/priv/host-arm/hdefs.c \ + VEX/priv/host-arm/hdefs.h \ + VEX/priv/host-x86/isel.c \ + VEX/priv/host-x86/hdefs.c \ + VEX/priv/host-x86/hdefs.h \ + VEX/priv/guest-amd64/ghelpers.c \ + VEX/priv/guest-amd64/gdefs.h \ + VEX/priv/guest-amd64/toIR.c \ + VEX/priv/guest-ppc/ghelpers.c \ + VEX/priv/guest-ppc/gdefs.h \ + VEX/priv/guest-ppc/toIR.c \ + VEX/priv/host-generic/reg_alloc2.c \ + VEX/priv/host-generic/h_generic_regs.c \ + VEX/priv/host-generic/h_generic_regs.h \ + VEX/priv/host-generic/h_generic_simd64.c \ + VEX/priv/host-generic/h_generic_simd64.h \ + VEX/priv/host-amd64/isel.c \ + VEX/priv/host-amd64/hdefs.c \ + VEX/priv/host-amd64/hdefs.h + +all: $(BUILT_SOURCES) config.h + $(MAKE) $(AM_MAKEFLAGS) all-recursive + +.SUFFIXES: +am--refresh: + @: +$(srcdir)/Makefile.in: # $(srcdir)/Makefile.am $(top_srcdir)/Makefile.all.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \ + cd $(srcdir) && $(AUTOMAKE) --foreign \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --foreign Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + echo ' $(SHELL) ./config.status'; \ + $(SHELL) ./config.status;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck + +$(top_srcdir)/configure: # $(am__configure_deps) + cd $(srcdir) && $(AUTOCONF) +$(ACLOCAL_M4): # $(am__aclocal_m4_deps) + cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) + +config.h: stamp-h1 + @if test ! -f $@; then \ + rm -f stamp-h1; \ + $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ + else :; fi + +stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status + @rm -f stamp-h1 + cd $(top_builddir) && $(SHELL) ./config.status config.h +$(srcdir)/config.h.in: # $(am__configure_deps) + cd $(top_srcdir) && $(AUTOHEADER) + rm -f stamp-h1 + touch $@ + +distclean-hdr: + -rm -f config.h stamp-h1 +valgrind.spec: $(top_builddir)/config.status $(srcdir)/valgrind.spec.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +valgrind.pc: $(top_builddir)/config.status $(srcdir)/valgrind.pc.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +glibc-2.X.supp: $(top_builddir)/config.status $(srcdir)/glibc-2.X.supp.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +fat/Makefile: $(top_builddir)/config.status $(top_srcdir)/fat/Makefile.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +drd/scripts/download-and-build-splash2: $(top_builddir)/config.status $(top_srcdir)/drd/scripts/download-and-build-splash2.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +install-dist_valDATA: $(dist_val_DATA) + @$(NORMAL_INSTALL) + test -z "$(valdir)" || $(MKDIR_P) "$(DESTDIR)$(valdir)" + @list='$(dist_val_DATA)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + f=$(am__strip_dir) \ + echo " $(dist_valDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(valdir)/$$f'"; \ + $(dist_valDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(valdir)/$$f"; \ + done + +uninstall-dist_valDATA: + @$(NORMAL_UNINSTALL) + @list='$(dist_val_DATA)'; for p in $$list; do \ + f=$(am__strip_dir) \ + echo " rm -f '$(DESTDIR)$(valdir)/$$f'"; \ + rm -f "$(DESTDIR)$(valdir)/$$f"; \ + done +install-pkgconfigDATA: $(pkgconfig_DATA) + @$(NORMAL_INSTALL) + test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" + @list='$(pkgconfig_DATA)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + f=$(am__strip_dir) \ + echo " $(pkgconfigDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfigdir)/$$f'"; \ + $(pkgconfigDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfigdir)/$$f"; \ + done + +uninstall-pkgconfigDATA: + @$(NORMAL_UNINSTALL) + @list='$(pkgconfig_DATA)'; for p in $$list; do \ + f=$(am__strip_dir) \ + echo " rm -f '$(DESTDIR)$(pkgconfigdir)/$$f'"; \ + rm -f "$(DESTDIR)$(pkgconfigdir)/$$f"; \ + done +install-nodist_incincHEADERS: $(nodist_incinc_HEADERS) + @$(NORMAL_INSTALL) + test -z "$(incincdir)" || $(MKDIR_P) "$(DESTDIR)$(incincdir)" + @list='$(nodist_incinc_HEADERS)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + f=$(am__strip_dir) \ + echo " $(nodist_incincHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(incincdir)/$$f'"; \ + $(nodist_incincHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(incincdir)/$$f"; \ + done + +uninstall-nodist_incincHEADERS: + @$(NORMAL_UNINSTALL) + @list='$(nodist_incinc_HEADERS)'; for p in $$list; do \ + f=$(am__strip_dir) \ + echo " rm -f '$(DESTDIR)$(incincdir)/$$f'"; \ + rm -f "$(DESTDIR)$(incincdir)/$$f"; \ + done + +# This directory's subdirectories are mostly independent; you can cd +# into them and run `make' without going through this Makefile. +# To change the values of `make' variables: instead of editing Makefiles, +# (1) if the variable is set in `config.status', edit `config.status' +# (which will cause the Makefiles to be regenerated when you run `make'); +# (2) otherwise, pass the desired values on the `make' command line. +$(RECURSIVE_TARGETS): + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +$(RECURSIVE_CLEAN_TARGETS): + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + rev=''; for subdir in $$list; do \ + if test "$$subdir" = "."; then :; else \ + rev="$$subdir $$rev"; \ + fi; \ + done; \ + rev="$$rev ."; \ + target=`echo $@ | sed s/-recursive//`; \ + for subdir in $$rev; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done && test -z "$$fail" +tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done +ctags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ + done + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$tags $$unique; \ + fi +ctags: CTAGS +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && cd $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) $$here + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + $(am__remove_distdir) + test -d $(distdir) || mkdir $(distdir) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ + test -f $(distdir)/$$file \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done + list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ + distdir=`$(am__cd) $(distdir) && pwd`; \ + top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ + (cd $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$top_distdir" \ + distdir="$$distdir/$$subdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ + distdir) \ + || exit 1; \ + fi; \ + done + -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ + || chmod -R a+r $(distdir) +dist-gzip: distdir + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + $(am__remove_distdir) +dist-bzip2: distdir + tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 + $(am__remove_distdir) + +dist-lzma: distdir + tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma + $(am__remove_distdir) + +dist-tarZ: distdir + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z + $(am__remove_distdir) + +dist-shar: distdir + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz + $(am__remove_distdir) + +dist-zip: distdir + -rm -f $(distdir).zip + zip -rq $(distdir).zip $(distdir) + $(am__remove_distdir) + +dist dist-all: distdir + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 + $(am__remove_distdir) + +# This target untars the dist file and tries a VPATH configuration. Then +# it guarantees that the distribution is self-contained by making another +# tarfile. +distcheck: dist + case '$(DIST_ARCHIVES)' in \ + *.tar.gz*) \ + GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ + *.tar.bz2*) \ + bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ + *.tar.lzma*) \ + unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\ + *.tar.Z*) \ + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ + *.shar.gz*) \ + GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ + *.zip*) \ + unzip $(distdir).zip ;;\ + esac + chmod -R a-w $(distdir); chmod a+w $(distdir) + mkdir $(distdir)/_build + mkdir $(distdir)/_inst + chmod a-w $(distdir) + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ + && cd $(distdir)/_build \ + && ../configure --srcdir=.. --prefix="$$dc_install_base" \ + $(DISTCHECK_CONFIGURE_FLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ + distuninstallcheck \ + && chmod -R a-w "$$dc_install_base" \ + && ({ \ + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ + } || { rm -rf "$$dc_destdir"; exit 1; }) \ + && rm -rf "$$dc_destdir" \ + && $(MAKE) $(AM_MAKEFLAGS) dist \ + && rm -rf $(DIST_ARCHIVES) \ + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck + $(am__remove_distdir) + @(echo "$(distdir) archives ready for distribution: "; \ + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ + sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' +distuninstallcheck: + @cd $(distuninstallcheck_dir) \ + && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ + || { echo "ERROR: files left after uninstall:" ; \ + if test -n "$(DESTDIR)"; then \ + echo " (check DESTDIR support)"; \ + fi ; \ + $(distuninstallcheck_listfiles) ; \ + exit 1; } >&2 +distcleancheck: distclean + @if test '$(srcdir)' = . ; then \ + echo "ERROR: distcleancheck can only run from a VPATH build" ; \ + exit 1 ; \ + fi + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ + || { echo "ERROR: files left in build directory after distclean:" ; \ + $(distcleancheck_listfiles) ; \ + exit 1; } >&2 +check-am: all-am +check: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) check-recursive +all-am: Makefile $(DATA) $(HEADERS) config.h all-local +installdirs: installdirs-recursive +installdirs-am: + for dir in "$(DESTDIR)$(valdir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(incincdir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." + -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) +clean: clean-recursive + +clean-am: clean-generic clean-local mostlyclean-am + +distclean: distclean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -f Makefile +distclean-am: clean-am distclean-generic distclean-hdr distclean-tags + +dvi: dvi-recursive + +dvi-am: + +html: html-recursive + +info: info-recursive + +info-am: + +install-data-am: install-dist_valDATA install-nodist_incincHEADERS \ + install-pkgconfigDATA + +install-dvi: install-dvi-recursive + +install-exec-am: + @$(NORMAL_INSTALL) + $(MAKE) $(AM_MAKEFLAGS) install-exec-hook + +install-html: install-html-recursive + +install-info: install-info-recursive + +install-man: + +install-pdf: install-pdf-recursive + +install-ps: install-ps-recursive + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -rf $(top_srcdir)/autom4te.cache + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-generic + +pdf: pdf-recursive + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: uninstall-dist_valDATA uninstall-nodist_incincHEADERS \ + uninstall-pkgconfigDATA + +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ + install-exec-am install-strip + +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ + all all-am all-local am--refresh check check-am clean \ + clean-generic clean-local ctags ctags-recursive dist dist-all \ + dist-bzip2 dist-gzip dist-lzma dist-shar dist-tarZ dist-zip \ + distcheck distclean distclean-generic distclean-hdr \ + distclean-tags distcleancheck distdir distuninstallcheck dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-dist_valDATA install-dvi \ + install-dvi-am install-exec install-exec-am install-exec-hook \ + install-html install-html-am install-info install-info-am \ + install-man install-nodist_incincHEADERS install-pdf \ + install-pdf-am install-pkgconfigDATA install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + installdirs-am maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \ + tags-recursive uninstall uninstall-am uninstall-dist_valDATA \ + uninstall-nodist_incincHEADERS uninstall-pkgconfigDATA + + +# The kludge that passes for vex's build system can't handle parallel +# builds. So, for the time being, serialise all Valgrind building. +# (this is equivalent to enforcing "make -j 1". +.NOTPARALLEL: +# No need to generate valt_load_address*.lds; the final executables +# can be linked to be at any address. They will be relocated by +# AIX kernel when they are loaded. +# Ditto + +default.supp: $(DEFAULT_SUPP_FILES) + echo "# This is a generated file, composed of the following suppression rules:" > default.supp + echo "# " $(DEFAULT_SUPP_FILES) >> default.supp + cat $(DEFAULT_SUPP_FILES) >> default.supp + +regtest: check + /usr/bin/perl tests/vg_regtest $(TOOLS) $(EXP_TOOLS) +nonexp-regtest: check + /usr/bin/perl tests/vg_regtest $(TOOLS) +exp-regtest: check + /usr/bin/perl tests/vg_regtest $(EXP_TOOLS) + +perf: check + /usr/bin/perl perf/vg_perf perf + +install-exec-hook: + $(mkinstalldirs) $(DESTDIR)$(valdir) + +all-local: default.supp + mkdir -p $(inplacedir) + rm -f $(inplacedir)/default.supp + ln -s ../default.supp $(inplacedir) + +clean-local: + rm -rf $(inplacedir) + +# Generate a linker script for linking the binaries. This is the +# standard gcc linker script, except hacked so that an alternative +# load address can be specified by (1) asking gcc to use this script +# (-Wl,-T,valt_load_address.lds) and (2) setting the symbol +# valt_load_address to the required value +# (-Wl,-defsym,valt_load_address=0x70000000). +# +# Extract ld's default linker script and hack it to our needs. +# First we cut everything above and below the "=====..." lines at the top +# and bottom. +# Then we have to replace the load address with "valt_load_address". +# The line to replace in has one of the following two forms: +# +# . = 0x08048000 + SIZEOF_HEADERS; +# +# or +# PROVIDE (__executable_start = 0x08048000); . = 0x08048000 + SIZEOF_HEADERS; +# +# So we search for the line with a hex value "+ SIZEOF_HEADERS", and replace +# all the hex values in that line with "valt_load_address". +valt_load_address_x86_linux.lds: Makefile + $(CC) -m32 -Wl,--verbose -nostdlib 2>&1 | sed \ + -e '1,/^=====\+$$/d' \ + -e '/^=====\+$$/,/.\*/d' \ + -e '/\. = \(0x[0-9A-Fa-f]\+\|SEGMENT_START("[^"]\+", 0x[0-9A-Fa-f]\+)\) + SIZEOF_HEADERS/s/0x[0-9A-Fa-f]\+/valt_load_address/g' > $@ \ + || rm -f $@ + +valt_load_address_amd64_linux.lds: Makefile + $(CC) -m64 -Wl,--verbose -nostdlib 2>&1 | sed \ + -e '1,/^=====\+$$/d' \ + -e '/^=====\+$$/,/.\*/d' \ + -e '/\. = \(0x[0-9A-Fa-f]\+\|SEGMENT_START("[^"]\+", 0x[0-9A-Fa-f]\+)\) + SIZEOF_HEADERS/s/0x[0-9A-Fa-f]\+/valt_load_address/g' > $@ \ + || rm -f $@ + +valt_load_address_ppc32_linux.lds: Makefile + $(CC) -m32 -Wl,--verbose -nostdlib 2>&1 | sed \ + -e '1,/^=====\+$$/d' \ + -e '/^=====\+$$/,/.\*/d' \ + -e '/\. = \(0x[0-9A-Fa-f]\+\|SEGMENT_START("[^"]\+", 0x[0-9A-Fa-f]\+)\) + SIZEOF_HEADERS/s/0x[0-9A-Fa-f]\+/valt_load_address/g' > $@ \ + || rm -f $@ + +valt_load_address_ppc64_linux.lds: Makefile + $(CC) -m64 -Wl,--verbose -nostdlib 2>&1 | sed \ + -e '1,/^=====\+$$/d' \ + -e '/^=====\+$$/,/.\*/d' \ + -e '/\. = \(0x[0-9A-Fa-f]\+\|SEGMENT_START("[^"]\+", 0x[0-9A-Fa-f]\+)\) + SIZEOF_HEADERS/s/0x[0-9A-Fa-f]\+/valt_load_address/g' > $@ \ + || rm -f $@ +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: |