spice/common/Makefile.am
Uri Lublin ecc4e7d2cf spice: subdirs: support ./autogen.sh in a "make dist" tarball (subdir config)
Each subdir (common, client and server) can "make dist".
This commit adds configure.ac.shared and autogen.sh to the tar file.
Above files are copied from .. (spice/ directory)

Also added configure.ac.shared (which is not part of "distribution" tarball)
that only imports ../configure.ac.shared such that ./autogen.sh still
works (on "git directories").

Signed-off-by: Uri Lublin <uril@redhat.com>
2010-01-10 19:46:19 +02:00

63 lines
1.1 KiB
Makefile

NULL =
COMMON_SRCS = \
cairo_canvas.h \
cairo_canvas.c \
canvas_base.h \
canvas_base.c \
canvas_utils.h \
canvas_utils.c \
draw.h \
gl_canvas.h \
gl_canvas.c \
glc.h \
glc.c \
gl_utils.h \
lookup3.h \
lookup3.c \
lz_common.h \
mutex.h \
ogl_ctx.h \
ogl_ctx.c \
quic.h \
quic.c \
quic_config.h \
qxl_dev.h \
rect.h \
red_error_codes.h \
red.h \
reds_stat.h \
region.h \
region.c \
ring.h \
rop3.h \
rop3.c \
lz.c \
lz_compress_tmpl.c \
lz_config.h \
lz_decompress_tmpl.c \
lz.h \
quic_family_tmpl.c \
quic_rgb_tmpl.c \
quic_tmpl.c \
ipc_ring.h \
vd_agent.h \
quic_tmpl.c \
$(NULL)
EXTRA_DIST = $(COMMON_SRCS)
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = spice-common.pc
common_srcdir=$(prefix)/src/spice-common
common_src_DATA = $(COMMON_SRCS)
linux_includedir=$(common_srcdir)/linux
linux_include_DATA=linux/ffmpeg_inc.h
DISTCLEANFILES = spice-common.pc linux/ffmpeg_inc.h
dist-hook:
cp -p -f ../autogen.sh ../configure.ac.shared $(distdir)