summaryrefslogtreecommitdiff
path: root/telepathy-glib/introspection.am
blob: ab0a5bfe31205c81937181c33038de4d30ca2dcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
# To be included by Makefile.am.

introspection_extra_dist = \
	TelepathyGLib-1.metadata \
	TelepathyGLibDBus-1.metadata \
	$(NULL)

if HAVE_INTROSPECTION

include $(INTROSPECTION_MAKEFILE)

INTROSPECTION_GIRS = TelepathyGLib-1.gir TelepathyGLibDBus-1.gir

# Set PKG_CONFIG_PATH so we can find our own -uninstalled.pc for
# telepathy-glib-1-dbus
INTROSPECTION_SCANNER_ENV = PKG_CONFIG_PATH=$(builddir):$${PKG_CONFIG_PATH}

TelepathyGLib-1.gir: libtelepathy-glib-1.la
# /!\ Order matters, see https://bugzilla.gnome.org/show_bug.cgi?id=660629
TelepathyGLib_1_gir_FILES = \
	$(srcdir)/proxy.c _gen/proxy-introspectable.h \
	$(srcdir)/account.c $(srcdir)/account.h \
	$(srcdir)/account-channel-request.c $(srcdir)/account-channel-request.h \
	$(srcdir)/account-manager.c $(srcdir)/account-manager.h \
	$(srcdir)/automatic-client-factory.c $(srcdir)/automatic-client-factory.h \
	$(srcdir)/base-contact-list.c $(srcdir)/base-contact-list.h \
	$(srcdir)/channel-filter.c $(srcdir)/channel-filter.h \
	$(srcdir)/connection.c $(srcdir)/connection.h \
	$(srcdir)/connection-contact-list.c $(srcdir)/connection-contact-list.h \
	$(srcdir)/connection-contact-info.c \
	$(srcdir)/connection-avatars.c \
	$(srcdir)/protocol.c $(srcdir)/protocol.h \
	$(srcdir)/connection-manager.c $(srcdir)/connection-manager.h \
	$(srcdir)/channel.c $(srcdir)/channel.h \
	$(srcdir)/channel-manager-request.c $(srcdir)/channel-manager-request.h \
	$(srcdir)/channel-group.c \
	$(srcdir)/handle.c $(srcdir)/handle.h \
	$(srcdir)/handle-channel-context.c $(srcdir)/handle-channel-context.h \
	$(srcdir)/interfaces.c \
	$(srcdir)/intset.c $(srcdir)/intset.h \
	$(srcdir)/dbus.c $(srcdir)/dbus.h \
	$(srcdir)/capabilities.c $(srcdir)/capabilities.h \
	$(srcdir)/contact.c $(srcdir)/contact.h \
	$(srcdir)/contact-operations.c $(srcdir)/contact-operations.h \
	$(srcdir)/contact-search.c $(srcdir)/contact-search.h \
	$(srcdir)/contact-search-result.c $(srcdir)/contact-search-result.h \
	$(srcdir)/defs.h \
	$(srcdir)/debug.c $(srcdir)/debug.h \
	$(srcdir)/base-client.c $(srcdir)/base-client.h \
	$(srcdir)/simple-approver.c $(srcdir)/simple-approver.h \
	$(srcdir)/client-factory.c $(srcdir)/client-factory.h \
	$(srcdir)/simple-handler.c $(srcdir)/simple-handler.h \
	$(srcdir)/simple-observer.c $(srcdir)/simple-observer.h \
	$(srcdir)/dbus-properties-mixin.c $(srcdir)/dbus-properties-mixin.h \
	$(srcdir)/group-mixin.c $(srcdir)/group-mixin.h \
	$(srcdir)/presence-mixin.c $(srcdir)/presence-mixin.h \
	$(srcdir)/channel-dispatch-operation.c $(srcdir)/channel-dispatch-operation.h \
	$(srcdir)/channel-request.c $(srcdir)/channel-request.h \
	$(srcdir)/observe-channel-context.c $(srcdir)/observe-channel-context.h \
	$(srcdir)/add-dispatch-operation-context.c $(srcdir)/add-dispatch-operation-context.h \
	$(srcdir)/protocol.c $(srcdir)/protocol.h \
	$(srcdir)/base-connection.c $(srcdir)/base-connection.h \
	$(srcdir)/handle-repo.c $(srcdir)/handle-repo.h $(srcdir)/handle-set.c \
	$(srcdir)/stream-tube-channel.c $(srcdir)/stream-tube-channel.h \
	$(srcdir)/dbus-tube-channel.c $(srcdir)/dbus-tube-channel.h \
	$(srcdir)/stream-tube-connection.c $(srcdir)/stream-tube-connection.h \
	$(srcdir)/text-channel.c $(srcdir)/text-channel.h \
	$(srcdir)/file-transfer-channel.c $(srcdir)/file-transfer-channel.h \
	$(srcdir)/call-channel.c $(srcdir)/call-channel.h \
	$(srcdir)/call-content.c $(srcdir)/call-content.h \
	$(srcdir)/call-stream.c $(srcdir)/call-stream.h \
	$(srcdir)/client-message.c $(srcdir)/client-message.h \
	$(srcdir)/message.c $(srcdir)/message.h \
	$(srcdir)/signalled-message.c $(srcdir)/signalled-message.h \
	$(srcdir)/channel-dispatcher.c $(srcdir)/channel-dispatcher.h \
	$(srcdir)/debug-client.c $(srcdir)/debug-client.h \
	$(srcdir)/debug-message.c $(srcdir)/debug-message.h \
	$(srcdir)/tls-certificate.c $(srcdir)/tls-certificate.h \
	$(srcdir)/tls-certificate-rejection.c $(srcdir)/tls-certificate-rejection.h \
	$(srcdir)/errors.c $(srcdir)/errors.h \
	$(srcdir)/room-list.c $(srcdir)/room-list.h \
	$(srcdir)/room-info.c $(srcdir)/room-info.h \
	$(srcdir)/account-request.c $(srcdir)/account-request.h \
	$(srcdir)/logger.c $(srcdir)/logger.h \
	$(srcdir)/util.c $(srcdir)/util.h \
	_gen/telepathy-enums.h _gen/telepathy-enums-gtk-doc.h \
	$(NULL)

TelepathyGLib_1_gir_NAMESPACE = TelepathyGLib
TelepathyGLib_1_gir_VERSION = 1
TelepathyGLib_1_gir_LIBS = \
    libtelepathy-glib-1.la \
    $(NULL)
TelepathyGLib_1_gir_EXPORT_PACKAGES = telepathy-glib-1
TelepathyGLib_1_gir_CFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS)

TelepathyGLib_1_gir_SCANNERFLAGS = \
	--identifier-prefix=Tp \
	-I$(top_builddir) \
	-I$(top_srcdir) \
	--c-include="telepathy-glib/telepathy-glib.h" \
	--warn-all \
	$(ERROR_SCANNERFLAGS) \
	$(NULL)

TelepathyGLib_1_gir_INCLUDES = \
	GLib-2.0 \
	Gio-2.0 \
	$(NULL)

TelepathyGLib_1_gir_PACKAGES = \
	gio-2.0	\
	dbus-glib-1 \
	telepathy-glib-1-dbus \
	$(NULL)

TelepathyGLibDBus-1.gir: libtelepathy-glib-1-dbus.la TelepathyGLib-1.gir
TelepathyGLibDBus_1_gir_FILES = \
	_gen/telepathy-interfaces.h \
	$(NULL)

TelepathyGLibDBus_1_gir_NAMESPACE = TelepathyGLibDBus
TelepathyGLibDBus_1_gir_VERSION = 1
TelepathyGLibDBus_1_gir_LIBS = \
    libtelepathy-glib-1-dbus.la \
    $(NULL)
TelepathyGLibDBus_1_gir_EXPORT_PACKAGES = telepathy-glib-1-dbus
TelepathyGLibDBus_1_gir_CFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS)

TelepathyGLibDBus_1_gir_SCANNERFLAGS = \
	--identifier-prefix=Tp \
	-I$(top_builddir) \
	-I$(top_srcdir) \
	--c-include="telepathy-glib/telepathy-glib-dbus.h" \
	--warn-all \
	$(ERROR_SCANNERFLAGS) \
	--include-uninstalled=TelepathyGLib-1.gir \
	$(NULL)

TelepathyGLibDBus_1_gir_INCLUDES = \
	GLib-2.0 \
	Gio-2.0 \
	$(NULL)

TelepathyGLibDBus_1_gir_PACKAGES = \
	gio-2.0	\
	dbus-glib-1 \
	$(NULL)

_gen/proxy-introspectable.h: proxy.h introspection.am
	@$(MKDIR_P) _gen
	$(AM_V_GEN)sed -e 's/gpointer self/TpProxy *self/' < $< > $@

girdir = $(datadir)/gir-1.0
dist_gir_DATA = TelepathyGLib-1.gir TelepathyGLibDBus-1.gir

typelibsdir = $(libdir)/girepository-1.0/
typelibs_DATA = $(dist_gir_DATA:.gir=.typelib)

CLEANFILES += \
    $(dist_gir_DATA) \
    $(typelibs_DATA)

endif

# vim:set ft=automake: