summaryrefslogtreecommitdiff
path: root/examples/Makefile.am
blob: bb05126a0d7aae7f24acf42be1c2efd271415d4d (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
EXAMPLES =

EXAMPLES += wocky-connect
EXAMPLES += wocky-message
EXAMPLES += wocky-register
EXAMPLES += wocky-unregister

INCLUDES := -I$(top_builddir)/wocky

wocky_connect_SOURCES = connect.c
wocky_connect_DEPENDENCIES = $(top_builddir)/wocky/libwocky.la

wocky_message_SOURCES = message.c
wocky_message_DEPENDENCIES = $(top_builddir)/wocky/libwocky.la

wocky_register_SOURCES = register.c
wocky_register_DEPENDENCIES = $(top_builddir)/wocky/libwocky.la

wocky_unregister_SOURCES = unregister.c
wocky_unregister_DEPENDENCIES = $(top_builddir)/wocky/libwocky.la


LDADD = \
    @GLIB_LIBS@ \
    $(top_builddir)/wocky/libwocky.la

AM_CFLAGS = \
    $(WOCKY_CFLAGS) \
    $(ERROR_CFLAGS) \
    @GLIB_CFLAGS@

check_c_sources = $(wocky_connect_SOURCES)    \
                  $(wocky_message_SOURCES)    \
                  $(wocky_register_SOURCES)   \
                  $(wocky_unregister_SOURCES)

include $(top_srcdir)/tools/check-coding-style.mk
check-local: check-coding-style

noinst_PROGRAMS = $(EXAMPLES)