[gnome-games] libgames-support: modernise introspection Makefile
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] libgames-support: modernise introspection Makefile
- Date: Wed, 11 Jan 2012 13:40:44 +0000 (UTC)
commit 87b4f9f23a685ee4dbcbd00941cc8933a70da994
Author: Ryan Lortie <desrt desrt ca>
Date: Wed Jan 11 14:40:22 2012 +0100
libgames-support: modernise introspection Makefile
libgames-support/Makefile.am | 37 +++++++----------
m4/introspection.m4 | 88 ------------------------------------------
2 files changed, 15 insertions(+), 110 deletions(-)
---
diff --git a/libgames-support/Makefile.am b/libgames-support/Makefile.am
index 32d3466..cced7b2 100644
--- a/libgames-support/Makefile.am
+++ b/libgames-support/Makefile.am
@@ -97,34 +97,27 @@ libgames_support_gi_la_CPPFLAGS = $(libgames_support_la_CPPFLAGS) -DLIBGAMES_SUP
libgames_support_gi_la_CFLAGS = $(libgames_support_la_CFLAGS)
libgames_support_gi_la_LIBADD = $(libgames_support_la_LIBADD)
-BUILT_GIRSOURCES = GnomeGamesSupport-1.0.gir
-
-GnomeGamesSupport-1.0.gir: $(INTROSPECTION_SCANNER) libgames-support-gi.la $(libgames_support_gi_la_SOURCES)
- $(AM_V_GEN) $(INTROSPECTION_SCANNER) -v \
- --namespace GnomeGamesSupport --nsversion=1.0 \
- --identifier-prefix=Games --symbol-prefix=games_ --accept-unprefixed \
- --add-include-path=$(srcdir) --add-include=path=. \
- --include=Gtk-3.0 \
- --library=games-support-gi \
- --libtool="$(LIBTOOL)" \
- --output $@ \
- --pkg gobject-2.0 \
- --pkg gtk+-3.0 \
- --warn-all \
- -I$(top_srcdir) \
- -I$(top_builddir) \
- $(filter games%,$^)
+INTROSPECTION_GIRS = GnomeGamesSupport-1.0.gir
girdir = $(pkglibdir)
-gir_DATA = $(BUILT_GIRSOURCES)
+gir_DATA = GnomeGamesSupport-1.0.gir
typelibsdir = $(pkglibdir)
-typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
+typelibs_DATA = GnomeGamesSupport-1.0.typelib
-%.typelib: %.gir $(INTROSPECTION_COMPILER)
- $(AM_V_GEN) $(DEBUG) $(INTROSPECTION_COMPILER) --includedir=$(srcdir) --includedir=. $(INTROSPECTION_COMPILER_OPTS) $< -o $@
+include $(INTROSPECTION_MAKEFILE)
-CLEANFILES += GnomeGamesSupport-1.0.gir $(typelibs_DATA)
+GnomeGamesSupport_1_0_gir_NAMESPACE = GnomeGamesSupport
+GnomeGamesSupport_1_0_gir_VERSION = 1.0
+GnomeGamesSupport_1_0_gir_INCLUDES = Gtk-3.0
+GnomeGamesSupport_1_0_gir_SCANNERFLAGS = \
+ --identifier-prefix=Games \
+ --symbol-prefix=games_ \
+ --accept-unprefixed
+GnomeGamesSupport_1_0_gir_LIBS = libgames-support-gi.la
+GnomeGamesSupport_1_0_gir_FILES = $(libgames_support_gi_la_SOURCES)
+
+CLEANFILES += $(gir_DATA) $(typelibs_DATA)
endif # HAVE_INTROSPECTION
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]