~ubuntu-branches/debian/sid/libindicate/sid

« back to all changes in this revision

Viewing changes to libindicate-gtk/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Evgeni Golov
  • Date: 2010-06-20 14:01:00 UTC
  • mfrom: (4.1.14 maverick)
  • Revision ID: james.westby@ubuntu.com-20100620140100-59y3fqqmp9nfp8gr
Tags: 0.4.1-1
* Merge from Ubuntu.
  Closes: #560122
* debian/control:
  - Set Maintainer to pkg-ayatana.
  - Add myself as Uploader.
  - Update Vcs-* fields.
  - Standards-Version: 3.8.4
  - Update package descriptions.
  - -doc package is Arch:all
  - -doc package does not need to depend on the lib.
* debian/copyright:
  - Convert to DEP5 format.
  - Add Ken and Sebastien, according to changelog.
  - Add bindings/ and examples/ copyrights.
* debian/{control,rules}:
  - Force python2.6.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
        -export-symbols-regex "^[^_d].*"
29
29
 
30
30
libindicate_gtk_la_CFLAGS = \
31
 
        -I $(srcdir)/.. \
 
31
        -I $(top_srcdir) \
 
32
        -Wall -Werror \
32
33
        $(LIBINDICATEGTK_CFLAGS)
33
34
 
34
35
libindicate_gtk_la_LIBADD = \
38
39
pkgconfig_DATA = indicate-gtk.pc
39
40
pkgconfigdir = $(libdir)/pkgconfig
40
41
 
41
 
if USE_GIR
42
 
 
43
 
gobjectintrospection_gir_DATA = \
44
 
        Indicate-gtk-0.1.gir
45
 
gobjectintrospection_girdir = $(datadir)/gir
46
 
 
47
 
gobjectintrospection_type_DATA = \
48
 
        Indicate-gtk-0.1.typelib
49
 
gobjectintrospection_typedir = $(libdir)/girepository
50
 
 
51
 
irscanner_headers = $(patsubst %,$(srcdir)/%,$(indicate_headers))
52
 
Indicate-gtk-0.1.gir: $(irscanner_headers)
53
 
        $(G_IR_SCANNER) \
54
 
                -v --namespace IndicateGtk \
55
 
                --nsversion=0.1 \
 
42
CLEANFILES = 
 
43
 
 
44
if HAVE_INTROSPECTION
 
45
 
 
46
BUILT_GIRSOURCES = 
 
47
 
 
48
irscanner_headers = $(patsubst %,$(srcdir)/%,$(indicate_gtk_headers))
 
49
 
 
50
Indicate-Gtk-0.2.gir: $(INTROSPECTION_SCANNER) $(irscanner_headers) Makefile.am
 
51
        $(INTROSPECTION_SCANNER) \
 
52
                -v --namespace Indicate \
 
53
                --nsversion=0.2 \
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)
62
 
 
63
 
Indicate-gtk-0.1.typelib: Indicate-gtk-0.1.gir
64
 
        $(G_IR_COMPILER) \
65
 
                --includedir=$(srcdir) Indicate-gtk-0.1.gir \
66
 
                -o Indicate-gtk-0.1.typelib
67
 
 
68
 
DISTCLEANFILES = \
69
 
        Indicate-gtk-0.1.gir \
70
 
        Indicate-gtk-0.1.typelib
71
 
 
72
 
endif
 
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))
 
64
 
 
65
BUILT_GIRSOURCES += Indicate-Gtk-0.2.gir
 
66
 
 
67
girdir = $(datadir)/gir-1.0
 
68
gir_DATA = $(BUILT_GIRSOURCES)
 
69
 
 
70
typelibsdir = $(libdir)/girepository-1.0
 
71
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
 
72
 
 
73
%.typelib: %.gir $(INTROSPECTION_COMPILER)
 
74
        $(INTROSPECTION_COMPILER) \
 
75
                --includedir=$(srcdir) \
 
76
                --includedir=. \
 
77
                --includedir=$(top_builddir)/libindicate \
 
78
                $(INTROSPECTION_COMPILER_OPTS) \
 
79
                $< -o $(@F)
 
80
 
 
81
CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
 
82
 
 
83
endif
 
84
 
 
85
#########################
 
86
# VAPI Files
 
87
#########################
 
88
 
 
89
if HAVE_INTROSPECTION
 
90
 
 
91
vapidir = $(datadir)/vala/vapi
 
92
vapi_DATA = Indicate-Gtk-0.2.vapi
 
93
 
 
94
Indicate-Gtk-0.2.vapi: Indicate-Gtk-0.2.tmp.gir Makefile.am
 
95
        $(VALA_API_GEN) --library=Indicate-Gtk-0.2 \
 
96
                --pkg gtk+-2.0 \
 
97
                --pkg Dbusmenu-Glib-0.2 \
 
98
                --pkg Indicate-0.2 \
 
99
                --vapidir=$(top_builddir)/libindicate \
 
100
                $<
 
101
 
 
102
Indicate-Gtk-0.2.tmp.gir: Indicate-Gtk-0.2.gir
 
103
        $(SED) \
 
104
                -e "s|GdkPixbuf.Pixbuf|Gdk.Pixbuf|g" \
 
105
                -e "s|Atk.ImplementorIface|Atk.Implementor|g" \
 
106
                $< > $@
 
107
 
 
108
CLEANFILES += $(vapi_DATA) Indicate-Gtk-0.2.tmp.gir
 
109
 
 
110
endif
 
111