summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2011-01-14 18:07:11 +0000
committerMarc-André Lureau <marcandre.lureau@redhat.com>2011-01-14 21:13:28 +0100
commita75f4eb21b7a1ff639634fdd39c8fe2ba6753945 (patch)
treeed407178cda3e4e4459f689a62888c55adab2404 /doc
parent71187955773a3f1a4ac58ab50e26af74d0b145e5 (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 'doc')
-rw-r--r--doc/reference/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/reference/Makefile.am b/doc/reference/Makefile.am
index 04b3292..dc906b6 100644
--- a/doc/reference/Makefile.am
+++ b/doc/reference/Makefile.am
@@ -93,7 +93,7 @@ expand_content_files=
# e.g. GTKDOC_CFLAGS=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
# e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
GTKDOC_CFLAGS=-I$(top_srcdir) -I$(top_builddir) -I$(top_srcdir)/gtk -I$(top_builddir)/gtk $(SPICE_GLIB_CFLAGS) $(SPICE_GTK_CFLAGS)
-GTKDOC_LIBS=$(top_builddir)/gtk/libspice-client-glib.la $(top_builddir)/gtk/libspice-client-gtk.la
+GTKDOC_LIBS=$(top_builddir)/gtk/libspice-client-glib-2.0.la $(top_builddir)/gtk/libspice-client-gtk-$(SPICE_GTK_API_VERSION).la
# This includes the standard gtk-doc make rules, copied by gtkdocize.
include $(top_srcdir)/gtk-doc.make