--- /dev/null
+PYDEFS=`pkg-config --variable=defsdir pygtk-2.0`
+
+AM_CPPFLAGS = \
+ -I. \
+ -I$(top_srcdir)/champlain-gtk \
+ -I$(top_srcdir)/champlain \
+ -I$(top_srcdir) \
+ -DDATADIR=\""$(datadir)"\" \
+ $(PYTHON_BINDING_CFLAGS) \
+ $(PYTHON_INCLUDES) \
+ $(WARN_CFLAGS)
+
+BUILT_SOURCES = \
+ pychamplaingtk.c
+
+pychamplaingtkdir = $(pyexecdir)
+pychamplaingtk_LTLIBRARIES = champlain-gtk.la
+
+champlain_gtk_la_SOURCES = \
+ pychamplaingtk.c
+
+champlain_gtk_la_LIBADD = \
+ $(PYTHON_BINDING_LIBS) \
+ $(top_builddir)/champlain/libchamplain-0.3.la \
+ $(top_builddir)/champlain-gtk/libchamplain-gtk-0.3.la
+
+champlain_gtk_la_LDFLAGS = \
+ -module -avoid-version
+
+pychamplaingtk.c: pychamplaingtk.override pychamplaingtk.defs
+ $(PYGOBJECTCODEGEN) \
+ --prefix champlain \
+ --register $(PYDEFS)/gdk-types.defs \
+ --register $(PYDEFS)/gtk-types.defs \
+ --override pychamplaingtk.override \
+ pychamplaingtk.defs > $@
+
+EXTRA_DIST = \
+ pychamplaingtk.override \
+ pychamplaingtk.defs
+
+CLEANFILES = $(BUILT_SOURCES)
+
--- /dev/null
+;; -*- scheme -*-
+; object definitions ...
+;; Enumerations and flags ...
+
+
+;; From champlain-gtk.h
+
+
+
+;; From champlain-view-embed.h
+
+(define-function view_embed_get_type
+ (c-name "champlain_view_embed_get_type")
+ (return-type "GType")
+)
+
+(define-method embed_new
+ (of-object "ChamplainView")
+ (c-name "champlain_view_embed_new")
+ (return-type "GtkWidget*")
+)
+
+(define-method get_view
+ (of-object "ChamplainViewEmbed")
+ (c-name "champlain_view_embed_get_view")
+ (return-type "ChamplainView*")
+)
+
+
+
+;; From champlain-gtk-marshal.h
+
+
--- /dev/null
+%%
+headers
+#include <Python.h>
+#include <pygobject.h>
+#include <champlain/champlain.h>
+#include <clutter/clutter.h>
+
+%%
+modulename champlain
+%%
+import clutter.Actor as PyClutterActor_Type
+import clutter.Group as PyClutterGroup_Type
+%%