noinst_SCRIPTS = gen-mdg DotToScc.hs
+EXTRA_DIST = $(noinst_SCRIPTS)
+
valgrind_listener_SOURCES = valgrind-listener.c
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
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
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 = \
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 \
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 \
/* 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 */
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) \
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 \