|
From: <sv...@va...> - 2005-07-02 17:36:13
|
Author: njn
Date: 2005-07-02 18:36:11 +0100 (Sat, 02 Jul 2005)
New Revision: 4085
Log:
Fixed 'make dist'. In particular, all the arch/platform-specific files
get included in the distro now, not just the ones for the arch/platform
that the distro tarball is built on.
Modified:
trunk/auxprogs/Makefile.am
trunk/cachegrind/Makefile.am
trunk/coregrind/m_dispatch/Makefile.am
trunk/coregrind/m_sigframe/Makefile.am
trunk/coregrind/m_syswrap/Makefile.am
trunk/memcheck/tests/Makefile.am
trunk/memcheck/tests/zeropage.c
trunk/none/tests/Makefile.am
Modified: trunk/auxprogs/Makefile.am
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/auxprogs/Makefile.am 2005-07-02 17:15:28 UTC (rev 4084)
+++ trunk/auxprogs/Makefile.am 2005-07-02 17:36:11 UTC (rev 4085)
@@ -5,5 +5,7 @@
=20
noinst_SCRIPTS =3D gen-mdg DotToScc.hs
=20
+EXTRA_DIST =3D $(noinst_SCRIPTS)
+
valgrind_listener_SOURCES =3D valgrind-listener.c
=20
Modified: trunk/cachegrind/Makefile.am
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/cachegrind/Makefile.am 2005-07-02 17:15:28 UTC (rev 4084)
+++ trunk/cachegrind/Makefile.am 2005-07-02 17:36:11 UTC (rev 4085)
@@ -2,7 +2,10 @@
=20
bin_SCRIPTS =3D cg_annotate
=20
-EXTRA_DIST =3D cg_sim.c=20
+# Remember to include all the arch-specific files in the distribution.
+EXTRA_DIST =3D \
+ cg_sim.c \
+ $(addsuffix .c,$(addprefix cg-,$(VG_ARCH_ALL)))
=20
noinst_HEADERS =3D cg_arch.h
=20
Modified: trunk/coregrind/m_dispatch/Makefile.am
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/m_dispatch/Makefile.am 2005-07-02 17:15:28 UTC (rev 4=
084)
+++ trunk/coregrind/m_dispatch/Makefile.am 2005-07-02 17:36:11 UTC (rev 4=
085)
@@ -3,7 +3,9 @@
=20
noinst_LIBRARIES =3D libdispatch.a
=20
-## XXX: this won't work with "make dist" -- only one dispatch-XXX.S file
-## will be put in the tarball. Problem exists in various other Makefile=
s.
+# Remember to include all the arch-specific files in the distribution.
+EXTRA_DIST =3D \
+ $(addsuffix .S,$(addprefix dispatch-,$(VG_ARCH_ALL)))
+
libdispatch_a_SOURCES =3D \
dispatch-@VG_ARCH@.S
Modified: trunk/coregrind/m_sigframe/Makefile.am
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/m_sigframe/Makefile.am 2005-07-02 17:15:28 UTC (rev 4=
084)
+++ trunk/coregrind/m_sigframe/Makefile.am 2005-07-02 17:36:11 UTC (rev 4=
085)
@@ -1,6 +1,10 @@
include $(top_srcdir)/Makefile.all.am
include $(top_srcdir)/Makefile.core-AM_CPPFLAGS.am
=20
+# Remember to include all the platform-specific files in the distributio=
n.
+EXTRA_DIST =3D \
+ $(addsuffix .c,$(addprefix sigframe-,$(VG_PLATFORM_ALL)))
+
noinst_LIBRARIES =3D libsigframe.a
=20
libsigframe_a_SOURCES =3D \
Modified: trunk/coregrind/m_syswrap/Makefile.am
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/m_syswrap/Makefile.am 2005-07-02 17:15:28 UTC (rev 40=
84)
+++ trunk/coregrind/m_syswrap/Makefile.am 2005-07-02 17:36:11 UTC (rev 40=
85)
@@ -1,8 +1,12 @@
include $(top_srcdir)/Makefile.all.am
include $(top_srcdir)/Makefile.core-AM_CPPFLAGS.am
=20
+# Remember to include all the OS/platform-specific files in the distribu=
tion.
EXTRA_DIST =3D \
- README_SYSWRAP.txt
+ README_SYSWRAP.txt \
+ $(addsuffix .S,$(addprefix syscall-,$(VG_PLATFORM_ALL))) \
+ $(addsuffix .c,$(addprefix syswrap-,$(VG_OS_ALL))) \
+ $(addsuffix .c,$(addprefix syswrap-,$(VG_PLATFORM_ALL)))
=20
noinst_HEADERS =3D \
priv_types_n_macros.h \
Modified: trunk/memcheck/tests/Makefile.am
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/tests/Makefile.am 2005-07-02 17:15:28 UTC (rev 4084)
+++ trunk/memcheck/tests/Makefile.am 2005-07-02 17:36:11 UTC (rev 4085)
@@ -83,7 +83,8 @@
vgtest_ume.stderr.exp vgtest_ume.vgtest \
writev.stderr.exp writev.stderr.exp2 writev.stderr.exp3 writev.vgtest \
xml1.stderr.exp xml1.stderr.exp64 xml1.stdout.exp xml1.vgtest \
- zeropage.stderr.exp zeropage.stderr.exp2 zeropage.vgtest
+ zeropage.stderr.exp zeropage.stderr.exp2 zeropage.stdout.exp \
+ zeropage.vgtest
=20
check_PROGRAMS =3D \
addressable \
Modified: trunk/memcheck/tests/zeropage.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/tests/zeropage.c 2005-07-02 17:15:28 UTC (rev 4084)
+++ trunk/memcheck/tests/zeropage.c 2005-07-02 17:36:11 UTC (rev 4085)
@@ -6,8 +6,8 @@
=20
/* The quick sanity check of Memcheck (and other tools with shadow memor=
y)
relies on the first 64KB of memory never being used. So our mmap()
- refuses to touch this area. This program tests for that. */
-
+ refuses to touch this area. This program tests for that.
+ [actually, no longer true, these all now succeed.] */
int main(void)
{
/* mmap(0x0, ... FIXED) should fail */
Modified: trunk/none/tests/Makefile.am
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/none/tests/Makefile.am 2005-07-02 17:15:28 UTC (rev 4084)
+++ trunk/none/tests/Makefile.am 2005-07-02 17:36:11 UTC (rev 4085)
@@ -1,7 +1,7 @@
SUBDIRS =3D ${VG_ARCH} .
DIST_SUBDIRS =3D ${VG_ARCH_ALL} .
=20
-noinst_SCRIPTS =3D=20
+noinst_SCRIPTS =3D \
filter_as_mmap filter_fdleak filter_none_discards filter_stderr
=20
EXTRA_DIST =3D $(noinst_SCRIPTS) \
@@ -29,7 +29,7 @@
execve.vgtest execve.stdout.exp execve.stderr.exp \
faultstatus.vgtest faultstatus.stderr.exp \
fcntl_setown.vgtest fcntl_setown.stdout.exp fcntl_setown.stderr.exp \
- fdleak_cmsg.stderr.exp fdleak_cmsg.stderr.exp2 fdleak_cmsg.exp3 \
+ fdleak_cmsg.stderr.exp fdleak_cmsg.stderr.exp2 fdleak_cmsg.stderr.exp3 =
\
fdleak_cmsg.vgtest \
fdleak_creat.stderr.exp fdleak_creat.stderr.exp2 \
fdleak_creat.stderr.exp3 fdleak_creat.vgtest \
|