Julian Seward b101826494 Makefile stuff, partly from Tom, which uses the SVN-externall'd VEX
tree a bit better.  Also, fixes to make 'make dist' include into the
final tarball a minimal but workable subset of the stuff in the VEX
directory.

Note, you must do 'make' or 'make install' before 'make dist' since
otherwise VEX/priv/main/vex_svnversion.h will not exist.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4266
2005-07-26 10:42:57 +00:00

30 lines
804 B
Makefile

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 = \
$(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 \
priv_syswrap-generic.h \
priv_syswrap-linux.h \
priv_syswrap-main.h
noinst_LIBRARIES = libsyswrap.a
libsyswrap_a_SOURCES = \
syscall-@VG_PLATFORM@.S \
syswrap-generic.c \
syswrap-@VG_OS@.c \
syswrap-@VG_PLATFORM@.c \
syswrap-main.c
syscall-@VG_PLATFORM@.S: libvex_guest_offsets.h
syswrap-main.c: libvex_guest_offsets.h
libvex_guest_offsets.h:
$(MAKE) -C @VEX_DIR@ pub/libvex_guest_offsets.h