Cosimo Cecchi <cosimoc@gnome.org>
Vincent Untz <vuntz@gnome.org>
Felix Riemann <friemann@gnome.org>
+Cédric Bosdonnat <cedric.bosdonnat@gmail.com>
CHAMPLAIN_GTK_MARSHAL = champlain-gtk-marshal
CHAMPLAIN_GTK_MARSHAL_LIST = champlain-gtk-marshal.list
-lib_LTLIBRARIES = libchamplain-gtk-0.4.la
+lib_LTLIBRARIES = libchamplain-gtk-0.5.la
-libchamplain_gtk_0_4_la_SOURCES = \
+libchamplain_gtk_0_5_la_SOURCES = \
$(CHAMPLAIN_GTK_MARSHAL_LIST) \
$(BUILT_SOURCES) \
gtk-champlain-embed.c
noinst_HEADERS = gtk-champlain-embed.h
-libchamplain_gtk_0_4_la_LIBADD = $(GTK_DEPS_LIBS) \
- $(top_builddir)/champlain/libchamplain-0.4.la
+libchamplain_gtk_0_5_la_LIBADD = $(GTK_DEPS_LIBS) \
+ $(top_builddir)/champlain/libchamplain-0.5.la
champlain-gtk-marshal.h: $(CHAMPLAIN_GTK_MARSHAL_LIST)
@GLIB_GENMARSHAL@ --header --prefix=champlain_gtk_marshal $< > $(CHAMPLAIN_GTK_MARSHAL).h
champlain-gtk-marshal.c: $(CHAMPLAIN_GTK_MARSHAL_LIST)
@GLIB_GENMARSHAL@ --body --prefix=champlain_gtk_marshal $< > $(CHAMPLAIN_GTK_MARSHAL).c
-libchamplain_includedir=$(includedir)/libchamplain-gtk-0.4/champlain-gtk
+libchamplain_includedir=$(includedir)/libchamplain-gtk-0.5/champlain-gtk
libchamplain_include_HEADERS = champlain-gtk.h gtk-champlain-embed.h
-libchamplain_gtk_0_4_la_LDFLAGS= -version-info $(LIBRARY_VERSION)
+libchamplain_gtk_0_5_la_LDFLAGS= -version-info $(LIBRARY_VERSION)
AM_CPPFLAGS = $(GTK_DEPS_CFLAGS) -I$(top_srcdir) -DCHAMPLAIN_GTK_COMPILATION
AM_LDFLAGS = $(GTK_DEPS_LIBS) -export-symbols-regex ^gtk_champlain_.*
if HAVE_INTROSPECTION
BUILT_GIRSOURCES =
-GtkChamplain-0.4.gir: $(INTROSPECTION_SCANNER) libchamplain-gtk-0.4.la
+GtkChamplain-0.5.gir: $(INTROSPECTION_SCANNER) libchamplain-gtk-0.5.la
$(QUIET_GEN)$(INTROSPECTION_SCANNER) -v \
- --namespace GtkChamplain --nsversion=0.4 \
+ --namespace GtkChamplain --nsversion=0.5 \
--strip-prefix=GtkChamplain \
$(INCLUDES) \
--add-include-path=$(srcdir) --add-include=path=. \
--c-include="$(libchamplain_include_HEADERS)" \
--include=Clutter-1.0 \
--include=Gtk-2.0 \
- --library=champlain-gtk-0.4 \
+ --library=champlain-gtk-0.5 \
--output $@ \
--pkg gobject-2.0 \
--pkg gtk+-2.0 \
- $(libchamplain_gtk_0_4_la_SOURCES) $(libchamplain_include_HEADERS)
+ $(libchamplain_gtk_0_5_la_SOURCES) $(libchamplain_include_HEADERS)
-BUILT_GIRSOURCES += GtkChamplain-0.4.gir
+BUILT_GIRSOURCES += GtkChamplain-0.5.gir
# INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to
# install anything - we need to install inside our prefix.
CHAMPLAIN_MARSHAL = champlain-marshal
CHAMPLAIN_MARSHAL_LIST = champlain-marshal.list
-lib_LTLIBRARIES = libchamplain-0.4.la
+lib_LTLIBRARIES = libchamplain-0.5.la
libchamplain_headers = \
champlain.h \
champlain-version.h
-libchamplain_0_4_la_SOURCES = \
+libchamplain_0_5_la_SOURCES = \
$(CHAMPLAIN_MARSHAL_LIST) \
$(BUILT_SOURCES) \
champlain-debug.c \
champlain-polygon.h \
champlain-version.h
-libchamplain_0_4_la_LIBADD = $(DEPS_LIBS) $(SOUP_LIBS) ../tidy/libtidy-1.0.la
+libchamplain_0_5_la_LIBADD = $(DEPS_LIBS) $(SOUP_LIBS) ../tidy/libtidy-1.0.la
-libchamplain_includedir = $(includedir)/libchamplain-0.4/champlain
+libchamplain_includedir = $(includedir)/libchamplain-0.5/champlain
-libchamplain_0_4_la_LDFLAGS = -version-info $(LIBRARY_VERSION) \
+libchamplain_0_5_la_LDFLAGS = -version-info $(LIBRARY_VERSION) \
-export-symbols-regex \
^champlain_.*
--fhead "#include <glib-object.h>\n" \
--fhead "#include \"champlain-enum-types.h\"\n\n" \
--fprod "\n/* enumerations from \"@filename@\" */" \
- --vhead "static const G@Type@Value _@enum_name@_values[] = {" \
+ --vhead "static const G@Type@Value _@enum_name@_values[] = {" \
--vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
--vtail " { 0, NULL, NULL }\n};\n\n" \
--vtail "GType\n@enum_name@_get_type (void)\n{\n" \
if HAVE_INTROSPECTION
BUILT_GIRSOURCES =
-Champlain-0.4.gir: $(INTROSPECTION_SCANNER) libchamplain-0.4.la
+Champlain-0.5.gir: $(INTROSPECTION_SCANNER) libchamplain-0.5.la
$(QUIET_GEN)$(INTROSPECTION_SCANNER) -v \
- --namespace Champlain --nsversion=0.4 \
+ --namespace Champlain --nsversion=0.5 \
--strip-prefix=Champlain \
$(INCLUDES) \
--add-include-path=$(srcdir) --add-include=path=. \
--c-include="$(libchamplain_include_HEADERS)" \
--include=Clutter-1.0 \
--include=Gtk-2.0 \
- --library=champlain-0.4 \
+ --library=champlain-0.5 \
--output $@ \
--pkg gobject-2.0 \
--pkg gtk+-2.0 \
- $(libchamplain_0_4_la_SOURCES) $(libchamplain_include_HEADERS)
+ $(libchamplain_0_5_la_SOURCES) $(libchamplain_include_HEADERS)
-BUILT_GIRSOURCES += Champlain-0.4.gir
+BUILT_GIRSOURCES += Champlain-0.5.gir
# INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to
# install anything - we need to install inside our prefix.