38
39
pkgconfig_DATA = indicate-gtk.pc
39
40
pkgconfigdir = $(libdir)/pkgconfig
43
gobjectintrospection_gir_DATA = \
45
gobjectintrospection_girdir = $(datadir)/gir
47
gobjectintrospection_type_DATA = \
48
Indicate-gtk-0.1.typelib
49
gobjectintrospection_typedir = $(libdir)/girepository
51
irscanner_headers = $(patsubst %,$(srcdir)/%,$(indicate_headers))
52
Indicate-gtk-0.1.gir: $(irscanner_headers)
54
-v --namespace IndicateGtk \
48
irscanner_headers = $(patsubst %,$(srcdir)/%,$(indicate_gtk_headers))
50
Indicate-Gtk-0.2.gir: $(INTROSPECTION_SCANNER) $(irscanner_headers) Makefile.am
51
$(INTROSPECTION_SCANNER) \
52
-v --namespace Indicate \
56
54
--add-include-path=$(srcdir) \
57
55
--include=GObject-2.0 \
58
56
--include=GLib-2.0 \
59
57
--include=GdkPixbuf-2.0 \
60
--library=indicate --pkg indicate \
61
--output Indicate-gtk-0.1.gir $(irscanner_headers)
63
Indicate-gtk-0.1.typelib: Indicate-gtk-0.1.gir
65
--includedir=$(srcdir) Indicate-gtk-0.1.gir \
66
-o Indicate-gtk-0.1.typelib
69
Indicate-gtk-0.1.gir \
70
Indicate-gtk-0.1.typelib
58
--include=Indicate-0.2 \
59
--library=indicate-gtk \
60
--add-include-path=$(top_builddir)/libindicate \
61
$(LIBINDICATEGTK_CFLAGS) -I$(srcdir) -I$(top_srcdir) \
62
--output Indicate-Gtk-0.2.gir $(irscanner_headers) \
63
$(addprefix --c-include=libindicate-gtk/, $(indicate_gtk_headers))
65
BUILT_GIRSOURCES += Indicate-Gtk-0.2.gir
67
girdir = $(datadir)/gir-1.0
68
gir_DATA = $(BUILT_GIRSOURCES)
70
typelibsdir = $(libdir)/girepository-1.0
71
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
73
%.typelib: %.gir $(INTROSPECTION_COMPILER)
74
$(INTROSPECTION_COMPILER) \
75
--includedir=$(srcdir) \
77
--includedir=$(top_builddir)/libindicate \
78
$(INTROSPECTION_COMPILER_OPTS) \
81
CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
85
#########################
87
#########################
91
vapidir = $(datadir)/vala/vapi
92
vapi_DATA = Indicate-Gtk-0.2.vapi
94
Indicate-Gtk-0.2.vapi: Indicate-Gtk-0.2.tmp.gir Makefile.am
95
$(VALA_API_GEN) --library=Indicate-Gtk-0.2 \
97
--pkg Dbusmenu-Glib-0.2 \
99
--vapidir=$(top_builddir)/libindicate \
102
Indicate-Gtk-0.2.tmp.gir: Indicate-Gtk-0.2.gir
104
-e "s|GdkPixbuf.Pixbuf|Gdk.Pixbuf|g" \
105
-e "s|Atk.ImplementorIface|Atk.Implementor|g" \
108
CLEANFILES += $(vapi_DATA) Indicate-Gtk-0.2.tmp.gir