mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-gtk
synced 2026-01-25 17:35:33 +00:00
With this iteration, all the spice_codegen.py/proto/marshaller generation has been moved to spice-common. The spice-common directory will ship spice-protocol, since it's needed there too to build libspice-common. Again, make distcheck passes. Build with mingw & fedora linux.
109 lines
3.0 KiB
Makefile
109 lines
3.0 KiB
Makefile
ACLOCAL_AMFLAGS = -I m4
|
|
NULL =
|
|
|
|
SUBDIRS = spice-common gtk po doc data
|
|
|
|
if HAVE_INTROSPECTION
|
|
if WITH_VALA
|
|
SUBDIRS += vapi
|
|
endif
|
|
endif
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
pkgconfig_DATA = \
|
|
spice-client-glib-2.0.pc \
|
|
spice-client-gtk-$(SPICE_GTK_API_VERSION).pc \
|
|
spice-controller.pc \
|
|
$(NULL)
|
|
|
|
INTLTOOL_FILES = \
|
|
intltool-extract.in \
|
|
intltool-merge.in \
|
|
intltool-update.in \
|
|
$(NULL)
|
|
|
|
DISTCLEANFILES = \
|
|
$(pkgconfig_DATA) \
|
|
intltool-extract \
|
|
intltool-merge \
|
|
intltool-update \
|
|
gnome-doc-utils.make \
|
|
po/.intltool-merge-cache \
|
|
$(NULL)
|
|
|
|
EXTRA_DIST = \
|
|
build-aux/git-version-gen \
|
|
gtk-doc.make \
|
|
.version \
|
|
THANKS \
|
|
$(INTLTOOL_FILES) \
|
|
$(NULL)
|
|
|
|
MAINTAINERCLEANFILES = \
|
|
ABOUT-NLS \
|
|
aclocal.m4 \
|
|
config.h.in \
|
|
m4/gtk-doc.m4 \
|
|
m4/intltool.m4 \
|
|
m4/libtool.m4 \
|
|
m4/ltoptions.m4 \
|
|
m4/ltsugar.m4 \
|
|
m4/ltversion.m4 \
|
|
m4/lt~obsolete.m4 \
|
|
build-aux/compile \
|
|
build-aux/config.guess \
|
|
build-aux/config.rpath \
|
|
build-aux/config.sub \
|
|
build-aux/depcomp \
|
|
build-aux/install-sh \
|
|
build-aux/ltmain.sh \
|
|
build-aux/missing \
|
|
build-aux/mkinstalldirs \
|
|
po/Makefile.in.in \
|
|
gtk-doc.make \
|
|
$(NULL)
|
|
|
|
# Generate the ChangeLog file (with all entries since the switch to git)
|
|
# and insert it into the directory we're about to use to create a tarball.
|
|
.PHONY: gen-ChangeLog
|
|
gen-ChangeLog:
|
|
if test -d .git || test -d ../.git; then \
|
|
$(top_srcdir)/build-aux/gitlog-to-changelog > $(distdir)/cl-t; \
|
|
rm -f $(distdir)/ChangeLog; \
|
|
mv $(distdir)/cl-t $(distdir)/ChangeLog; \
|
|
fi
|
|
|
|
# see git-version-gen
|
|
dist-hook: gen-ChangeLog
|
|
echo $(VERSION) > $(distdir)/.tarball-version
|
|
|
|
BUILT_SOURCES = $(top_srcdir)/.version
|
|
$(top_srcdir)/.version:
|
|
echo $(VERSION) > $@-t && mv $@-t $@
|
|
|
|
DISTCHECK_CONFIGURE_FLAGS = \
|
|
--enable-introspection \
|
|
--disable-vala \
|
|
--disable-usbredir \
|
|
--enable-gtk-doc \
|
|
--enable-werror \
|
|
--with-gtk=3.0 \
|
|
$(NULL)
|
|
|
|
spicy-for-windows.exe:
|
|
PATH=$$PATH:/usr/i686-pc-mingw32/sys-root/mingw/bin/:/usr/i686-pc-mingw32/sys-root/mingw/lib \
|
|
nsiswrapper --run --name "spicy" --outfile "spicy-for-windows.exe" --with-gtk \
|
|
/usr/i686-pc-mingw32/sys-root/mingw/bin/spicy.exe /usr/i686-pc-mingw32/sys-root/mingw/bin/snappy.exe \
|
|
/usr/i686-pc-mingw32/sys-root/mingw/bin/libpangoft2-1.0-0.dll \
|
|
/usr/i686-pc-mingw32/sys-root/mingw/bin/libgdk_pixbuf-2.0-0.dll \
|
|
/usr/i686-pc-mingw32/sys-root/mingw/bin/libgdk-win32-2.0-0.dll \
|
|
/usr/i686-pc-mingw32/sys-root/mingw/bin/gst-*.exe \
|
|
/usr/i686-pc-mingw32/sys-root/mingw/lib/gstreamer-0.10/libgstaudio*.dll \
|
|
/usr/i686-pc-mingw32/sys-root/mingw/lib/gstreamer-0.10/libgstdirectsoundsink.dll \
|
|
/usr/i686-pc-mingw32/sys-root/mingw/lib/gstreamer-0.10/libgstdirectsoundsrc.dll \
|
|
/usr/i686-pc-mingw32/sys-root/mingw/lib/gstreamer-0.10/libgstapp.dll \
|
|
/usr/i686-pc-mingw32/sys-root/mingw/lib/gstreamer-0.10/libgstautodetect.dll \
|
|
/usr/i686-pc-mingw32/sys-root/mingw/lib/gstreamer-0.10/libgstcoreelements.dll
|
|
|
|
-include $(top_srcdir)/git.mk
|