SUBDIRS = $(VG_ARCH) demangle . docs
AM_CPPFLAGS += -DVG_LIBDIR="\"$(valdir)"\" -I$(srcdir)/demangle \
- -DKICKSTART_BASE=$(KICKSTART_BASE)
+ -DKICKSTART_BASE=$(KICKSTART_BASE) \
+ -DVG_PLATFORM="\"$(VG_PLATFORM)"\"
AM_CFLAGS = $(WERROR) -Winline -Wall -Wshadow -O -fno-omit-frame-pointer \
@PREFERRED_STACK_BOUNDARY@ -g -DELFSZ=32
AM_CCASFLAGS = $(add_includes) -I..
if (VG_(clo_verbosity > 0)) {
/* Tool details */
- VG_(message)(Vg_UserMsg, "%s%s%s, %s for x86-linux.",
+ VG_(message)(Vg_UserMsg, "%s%s%s, %s for %s.",
VG_(details).name,
NULL == VG_(details).version ? "" : "-",
NULL == VG_(details).version
? (Char*)"" : VG_(details).version,
- VG_(details).description);
+ VG_(details).description,
+ VG_PLATFORM);
VG_(message)(Vg_UserMsg, "%s", VG_(details).copyright_author);
/* Core details */
VG_(message)(Vg_UserMsg,
- "Using valgrind-%s, a program supervision framework for x86-linux.",
- VERSION);
+ "Using valgrind-%s, a program supervision framework for %s.",
+ VERSION, VG_PLATFORM);
VG_(message)(Vg_UserMsg,
"Copyright (C) 2000-2004, and GNU GPL'd, by Julian Seward et al.");
}
# Remove ==pid== and --pid-- and ++pid++ and **pid** strings
sed "s/\(==\|--\|\+\+\|\*\*\)[0-9]\{1,5\}\1 //" |
-# Remove "<name>, a <description> for x86-linux." line and the following
+# Remove "<name>, a <description> for $ARCH-$OS." line and the following
# copyright notice line. Works for tool and core intro lines.
-sed "/^.*, .* for x86-linux\./ , /./ d" |
+sed "/^.*, .* for .*-.*\./ , /./ d" |
# Remove other introductory lines
sed "/Estimated CPU clock rate is [0-9]* MHz/d" |