]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
- No longer using VG_ARCH_ALL to determine the DIST_SUBDIRS used for
authorNicholas Nethercote <njn@valgrind.org>
Thu, 22 Jan 2009 01:13:16 +0000 (01:13 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Thu, 22 Jan 2009 01:13:16 +0000 (01:13 +0000)
  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

cachegrind/tests/Makefile.am
cachegrind/tests/amd64/Makefile.am [deleted file]
cachegrind/tests/ppc32/Makefile.am [deleted file]
cachegrind/tests/ppc64/Makefile.am [deleted file]
configure.in
docs/internals/porting-HOWTO.txt
exp-ptrcheck/tests/Makefile.am
memcheck/tests/Makefile.am
memcheck/tests/ppc32/Makefile.am [deleted file]
memcheck/tests/ppc64/Makefile.am [deleted file]
none/tests/Makefile.am

index e49b01cb1eee13e08961e080a74ec475251f64d6..4b4806bdcfdc759ddbc7b1d96f916d55c9aa8fdb 100644 (file)
@@ -3,20 +3,11 @@
 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
 
diff --git a/cachegrind/tests/amd64/Makefile.am b/cachegrind/tests/amd64/Makefile.am
deleted file mode 100644 (file)
index 2377194..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-
-# if any tests appear here, remember to include @FLAG_M64@ in the
-# compilation flags
diff --git a/cachegrind/tests/ppc32/Makefile.am b/cachegrind/tests/ppc32/Makefile.am
deleted file mode 100644 (file)
index 123b3a9..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-
-# if any tests appear here, remember to include @FLAG_M32@ in the
-# compilation flags
diff --git a/cachegrind/tests/ppc64/Makefile.am b/cachegrind/tests/ppc64/Makefile.am
deleted file mode 100644 (file)
index 2377194..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-
-# if any tests appear here, remember to include @FLAG_M64@ in the
-# compilation flags
index 6cca6edee348e2b12de406d7e7feb3ddbcdd568f..4bb7d108f25e24df18755a0bf540c1471d2b778b 100644 (file)
@@ -143,9 +143,6 @@ AC_CANONICAL_HOST
 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})])
@@ -1640,17 +1637,12 @@ AC_OUTPUT(
    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
index 80dd289235dcc718b92172ce495b8c39fbddbf4c..8ea1909fb57eb1a8420982dfd08bfcb29a2c49e8 100644 (file)
@@ -17,8 +17,7 @@ To begin:
   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:
 
index 38512ab77b42c9ed4e60291e7a41964ff9a9400a..73553c07bebdcc87ee5e5e7a80513f77e8bcc0b4 100644 (file)
@@ -3,20 +3,10 @@
 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
index 54cdbfc2379b2832e13bcdb54d9d1c3ed54245d6..7b4398e1a8c19e8a20782346a22387f98f488aeb 100644 (file)
@@ -11,12 +11,6 @@ endif
 if VGA_AMD64
 SUBDIRS += amd64
 endif
-if VGA_PPC32
-SUBDIRS += ppc32
-endif
-if VGA_PPC64
-SUBDIRS += ppc64
-endif
 
 # OS-specific tests
 if VGO_LINUX
@@ -28,7 +22,7 @@ if VGP_X86_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 \
diff --git a/memcheck/tests/ppc32/Makefile.am b/memcheck/tests/ppc32/Makefile.am
deleted file mode 100644 (file)
index 123b3a9..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-
-# if any tests appear here, remember to include @FLAG_M32@ in the
-# compilation flags
diff --git a/memcheck/tests/ppc64/Makefile.am b/memcheck/tests/ppc64/Makefile.am
deleted file mode 100644 (file)
index 2377194..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-
-# if any tests appear here, remember to include @FLAG_M64@ in the
-# compilation flags
index 9c4662e241a12315d69786ebf60882a8e8db54c9..5f0633720da32a80ff3e91161df7071d7c8778b1 100644 (file)
@@ -16,7 +16,7 @@ if VGA_PPC64
 SUBDIRS += ppc64
 endif
 
-DIST_SUBDIRS = ${VG_ARCH_ALL} .
+DIST_SUBDIRS = x86 amd64 ppc32 ppc64 .
 
 noinst_SCRIPTS = \
        filter_cmdline0 filter_linenos \