summaryrefslogtreecommitdiff
path: root/examples/client/Makefile.am
blob: 3481a0f4ddb9484c6e51fa0faf5c3202ad6844c1 (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
SUBDIRS = stream-tubes python js

EXAMPLES =

EXAMPLES += telepathy-example-inspect-channel
telepathy_example_inspect_channel_SOURCES = inspect-channel.c

EXAMPLES += telepathy-example-inspect-connection
telepathy_example_inspect_connection_SOURCES = inspect-connection.c

EXAMPLES += telepathy-example-inspect-contact
telepathy_example_inspect_contact_SOURCES = inspect-contact.c

EXAMPLES += telepathy-example-inspect-cm
telepathy_example_inspect_cm_SOURCES = inspect-cm.c

EXAMPLES += telepathy-example-list-connections
telepathy_example_list_connections_SOURCES = list-connections.c

EXAMPLES += telepathy-example-list-managers
telepathy_example_list_managers_SOURCES = list-managers.c

EXAMPLES += telepathy-example-extended-client
telepathy_example_extended_client_SOURCES = extended-client.c
telepathy_example_extended_client_LDADD = \
    $(top_builddir)/examples/extensions/libexample-extensions.la \
    $(LDADD)

EXAMPLES += telepathy-example-media-observer
telepathy_example_media_observer_SOURCES = media-observer.c

EXAMPLES += telepathy-example-approver
telepathy_example_approver_SOURCES = approver.c

EXAMPLES += telepathy-example-text-handler
telepathy_example_text_handler_SOURCES = text-handler.c

EXAMPLES += telepathy-example-contact-list
telepathy_example_contact_list_SOURCES = contact-list.c

if INSTALL_EXAMPLES
bin_PROGRAMS = $(EXAMPLES)
else
noinst_PROGRAMS = $(EXAMPLES)
endif

# In an external project you'd use $(TP_GLIB_LIBS) (obtained from
# pkg-config via autoconf) instead of the .la path, and put it last; we use
# a different format here because we're part of the telepathy-glib source tree.
# Similarly, in an external project you'd put $(TP_GLIB_CFLAGS) at the end of
# AM_CPPFLAGS.
LDADD = \
    $(top_builddir)/telepathy-glib/libtelepathy-glib.la \
    $(GLIB_LIBS) \
    $(DBUS_LIBS) \
    $(NULL)

AM_CPPFLAGS = \
    -I${top_srcdir} -I${top_builddir} \
    $(GLIB_CFLAGS) \
    $(DBUS_CFLAGS) \
    $(NULL)

AM_CFLAGS = $(ERROR_CFLAGS)
AM_LDFLAGS = \
    $(ERROR_LDFLAGS) \
    $(NULL)