diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2011-01-14 18:07:11 +0000 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2011-01-14 21:13:28 +0100 |
commit | a75f4eb21b7a1ff639634fdd39c8fe2ba6753945 (patch) | |
tree | ed407178cda3e4e4459f689a62888c55adab2404 /Makefile.am | |
parent | 71187955773a3f1a4ac58ab50e26af74d0b145e5 (diff) |
Adapt build system to allow building with GTK3
The new configure flag '--with-gtk' can be used to choose
which GTK version to build against, defaulting to GTK2.
To enable GTK3 use
./configure --with-gtk=3.0
The libspice-client-glib-2.0.la library is unchanged, building
against glib-2.0 at all times.
The GTK3 build will produce a libspice-client-gtk-3.0.la
The include files will also live in $prefix/spice-client-gtk-3.0
and the pkgconfig is called spice-client-gtk-3.0 too.
This allows for full parallel install of GTK2 and GTK3 builds
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 60fd91d..6e7fcfe 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4,7 +4,7 @@ NULL = SUBDIRS = common gtk po python_modules doc data pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = spice-client-glib-2.0.pc spice-client-gtk-2.0.pc +pkgconfig_DATA = spice-client-glib-2.0.pc spice-client-gtk-$(SPICE_GTK_API_VERSION).pc INTLTOOL_FILES = intltool-extract.in \ intltool-merge.in \ |