arch/OS/platform-specific tool test dirs, instead writing it by hand.
This is important because up until now if we had any arch-specific test
dirs, we needed such dirs for all archs. Now that we also have
OS-specific and platform-specific test dirs, we don't want to have
(mostly) empty dirs for every arch/OS/platform.
- Correspondingly, removed several empty directories under memcheck/tests/
and cachegrind/tests that are no longer needed.
- Also removed VG_ARCH_ALL from configure.in.
- Also used an arch-specific guard rather than a platform-specific one where
appropriate in cachegrind/tests/Makefile.am.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9017
include $(top_srcdir)/Makefile.flags.am
SUBDIRS = .
-if VGP_X86_LINUX
+if VGA_X86
SUBDIRS += x86
endif
-if VGP_AMD64_LINUX
-SUBDIRS += amd64
-endif
-if VGP_PPC32_LINUX
-SUBDIRS += ppc32
-endif
-if VGP_PPC64_LINUX
-SUBDIRS += ppc64
-endif
-DIST_SUBDIRS = ${VG_ARCH_ALL} .
+DIST_SUBDIRS = x86 .
noinst_SCRIPTS = filter_stderr filter_cachesim_discards
+++ /dev/null
-
-# if any tests appear here, remember to include @FLAG_M64@ in the
-# compilation flags
+++ /dev/null
-
-# if any tests appear here, remember to include @FLAG_M32@ in the
-# compilation flags
+++ /dev/null
-
-# if any tests appear here, remember to include @FLAG_M64@ in the
-# compilation flags
AC_MSG_CHECKING([for a supported CPU])
AC_SUBST(VG_ARCH_MAX)
-AC_SUBST(VG_ARCH_ALL)
-VG_ARCH_ALL="amd64 ppc32 ppc64 x86"
-
case "${host_cpu}" in
i?86)
AC_MSG_RESULT([ok (${host_cpu})])
memcheck/Makefile
memcheck/tests/Makefile
memcheck/tests/amd64/Makefile
- memcheck/tests/ppc32/Makefile
- memcheck/tests/ppc64/Makefile
memcheck/tests/x86/Makefile
memcheck/tests/linux/Makefile
memcheck/tests/x86-linux/Makefile
memcheck/docs/Makefile
cachegrind/Makefile
cachegrind/tests/Makefile
- cachegrind/tests/amd64/Makefile
- cachegrind/tests/ppc32/Makefile
- cachegrind/tests/ppc64/Makefile
cachegrind/tests/x86/Makefile
cachegrind/docs/Makefile
cachegrind/cg_annotate
thorough!) Put in Makefile.am files for them, edit them for the new
architecture name.
-- Update configure.in (use x86 and x86-linux as a guide). Don't forget to
- update VG_ARCH_ALL, VG_PLATFORM_ALL.
+- Update configure.in (use x86 and x86-linux as a guide).
Once it configures ok, get it to compile:
include $(top_srcdir)/Makefile.flags.am
#SUBDIRS = .
-#if VGP_X86_LINUX
+#if VGA_X86
#SUBDIRS += x86
-#endif
-#if VGP_AMD64_LINUX
-#SUBDIRS += amd64
-#endif
-#if VGP_PPC32_LINUX
-#SUBDIRS += ppc32
-#endif
-#if VGP_PPC64_LINUX
-#SUBDIRS += ppc64
-#endif
-#DIST_SUBDIRS = ${VG_ARCH_ALL} .
+#DIST_SUBDIRS = x86 .
noinst_SCRIPTS = filter_stderr filter_add filter_suppgen \
sh_script
if VGA_AMD64
SUBDIRS += amd64
endif
-if VGA_PPC32
-SUBDIRS += ppc32
-endif
-if VGA_PPC64
-SUBDIRS += ppc64
-endif
# OS-specific tests
if VGO_LINUX
SUBDIRS += x86-linux
endif
-DIST_SUBDIRS = ${VG_ARCH_ALL} .
+DIST_SUBDIRS = x86 amd64 linux x86-linux .
noinst_SCRIPTS = filter_allocs filter_leak_check_size \
filter_stderr filter_stderr_backtrace filter_xml \
+++ /dev/null
-
-# if any tests appear here, remember to include @FLAG_M32@ in the
-# compilation flags
+++ /dev/null
-
-# if any tests appear here, remember to include @FLAG_M64@ in the
-# compilation flags
SUBDIRS += ppc64
endif
-DIST_SUBDIRS = ${VG_ARCH_ALL} .
+DIST_SUBDIRS = x86 amd64 ppc32 ppc64 .
noinst_SCRIPTS = \
filter_cmdline0 filter_linenos \