]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fixed 'make dist'. In particular, all the arch/platform-specific files
authorNicholas Nethercote <njn@valgrind.org>
Sat, 2 Jul 2005 17:36:11 +0000 (17:36 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Sat, 2 Jul 2005 17:36:11 +0000 (17:36 +0000)
get included in the distro now, not just the ones for the arch/platform
that the distro tarball is built on.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4085

auxprogs/Makefile.am
cachegrind/Makefile.am
coregrind/m_dispatch/Makefile.am
coregrind/m_sigframe/Makefile.am
coregrind/m_syswrap/Makefile.am
memcheck/tests/Makefile.am
memcheck/tests/zeropage.c
none/tests/Makefile.am

index 4b7bc1cb9b0960e8259e90c7fa159a971925ec1b..fd59d068852f970d9b45c3c70e6ed9c8c8b8851f 100644 (file)
@@ -5,5 +5,7 @@ bin_PROGRAMS = valgrind-listener
 
 noinst_SCRIPTS = gen-mdg DotToScc.hs
 
+EXTRA_DIST = $(noinst_SCRIPTS)
+
 valgrind_listener_SOURCES = valgrind-listener.c
 
index e981aaf68e41040612f6d28ec74ca51285349854..7cbebe09aa9186153be09a57794337bd12bb26a2 100644 (file)
@@ -2,7 +2,10 @@ include $(top_srcdir)/Makefile.tool.am
 
 bin_SCRIPTS = cg_annotate
 
-EXTRA_DIST = cg_sim.c 
+# Remember to include all the arch-specific files in the distribution.
+EXTRA_DIST = \
+       cg_sim.c \
+       $(addsuffix .c,$(addprefix cg-,$(VG_ARCH_ALL)))
 
 noinst_HEADERS = cg_arch.h
 
index 79abd355b3eb7232aa89f10d068baff836b6876f..3af6290e05ef07547b598a58909c9d5ad7def7c3 100644 (file)
@@ -3,7 +3,9 @@ include $(top_srcdir)/Makefile.core-AM_CPPFLAGS.am
 
 noinst_LIBRARIES = libdispatch.a
 
-## 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 Makefiles.
+# Remember to include all the arch-specific files in the distribution.
+EXTRA_DIST = \
+       $(addsuffix .S,$(addprefix dispatch-,$(VG_ARCH_ALL)))
+
 libdispatch_a_SOURCES = \
        dispatch-@VG_ARCH@.S
index 67ef249fbc6fe18c57e736bb1733c6861b332054..fe886de017ef7e44b10d1992e3876684d6fd06a7 100644 (file)
@@ -1,6 +1,10 @@
 include $(top_srcdir)/Makefile.all.am
 include $(top_srcdir)/Makefile.core-AM_CPPFLAGS.am
 
+# Remember to include all the platform-specific files in the distribution.
+EXTRA_DIST = \
+       $(addsuffix .c,$(addprefix sigframe-,$(VG_PLATFORM_ALL)))
+
 noinst_LIBRARIES = libsigframe.a
 
 libsigframe_a_SOURCES = \
index 20b36f465014d9bdde6041fcfca97ddf32f1743b..d380e93b6f0dc1783c2249a3b493de1278a5cc29 100644 (file)
@@ -1,8 +1,12 @@
 include $(top_srcdir)/Makefile.all.am
 include $(top_srcdir)/Makefile.core-AM_CPPFLAGS.am
 
+# Remember to include all the OS/platform-specific files in the distribution.
 EXTRA_DIST = \
-       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)))
 
 noinst_HEADERS = \
        priv_types_n_macros.h \
index 85d2eed0f5822effdd9b55bd757752000e1851df..9c2f63a94dfc3d513308480643eff91aa2d28143 100644 (file)
@@ -83,7 +83,8 @@ EXTRA_DIST = $(noinst_SCRIPTS) \
        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
 
 check_PROGRAMS = \
        addressable \
index 5a52def7a9268a5c78270930fb5ad08b12c362c6..a4ba95f247db02e2f314c8e5ca2068735ad78bf5 100644 (file)
@@ -6,8 +6,8 @@
 
 /* The quick sanity check of Memcheck (and other tools with shadow memory)
    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 */
index 2b86ae78f0750c47dd7807cffcdebca236ef3ed5..e7c6ea32ac6c5ce5a90b34b9b6c16fbc6f1030c5 100644 (file)
@@ -1,7 +1,7 @@
 SUBDIRS      = ${VG_ARCH}     .
 DIST_SUBDIRS = ${VG_ARCH_ALL} .
 
-noinst_SCRIPTS = 
+noinst_SCRIPTS = \
        filter_as_mmap filter_fdleak filter_none_discards filter_stderr
 
 EXTRA_DIST = $(noinst_SCRIPTS) \
@@ -29,7 +29,7 @@ EXTRA_DIST = $(noinst_SCRIPTS) \
        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 \