blob: 70fdc9a59dbe69859b45355ccbfdcbd823a1cde5 (
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
|
CLEANFILES=
include $(top_srcdir)/rules/check.mak
SUPPRESSIONS=valgrind.supp dlopen.supp
SUBDIRS = twisted
.PHONY: always-run test test-report
# ------------------------------------------------------------------------------
# telepathy-salut-debug
noinst_PROGRAMS = \
telepathy-salut-debug
telepathy_salut_debug_SOURCES = \
debug.c
telepathy_salut_debug_LDADD = \
$(top_builddir)/salut/src/libsalut-convenience.la \
$(top_builddir)/lib/gibber/libgibber.la \
$(top_builddir)/extensions/libsalut-extensions.la
# Teach it how to make libgibber.la
$(top_builddir)/lib/gibber/libgibber.la:
${MAKE} -C $(top_builddir)/lib/gibber libgibber.la
.PHONY: $(top_builddir)/lib/gibber/libgibber.la
# ------------------------------------------------------------------------------
# TESTS
check_PROGRAMS = check-node-properties
AM_CFLAGS = $(ERROR_CFLAGS) @GLIB_CFLAGS@ @LIBXML2_CFLAGS@ @WOCKY_CFLAGS@ \
@DBUS_CFLAGS@ @TP_GLIB_CFLAGS@ \
-I $(top_srcdir) -I $(top_builddir) \
-I $(top_srcdir)/lib -I $(top_builddir)/lib \
-I $(top_srcdir)/salut/src -I $(top_builddir)/salut/src
AM_LDFLAGS = \
@GLIB_LIBS@ @TP_GLIB_LIBS@ @LIBSOUP_LIBS@ @WOCKY_LIBS@ @UUID_LIBS@
check_node_properties_LDADD = \
$(top_builddir)/salut/src/libsalut-convenience.la \
$(top_builddir)/lib/gibber/libgibber.la \
$(top_builddir)/extensions/libsalut-extensions.la
test: ${TEST_PROGS}
gtester -k --verbose $(check_PROGRAMS)
# ------------------------------------------------------------------------------
# CODING STYLE
# Coding style checks
check_c_sources = \
$(telepathy_salut_debug_SOURCES) \
$(test_xmpp_connection_SOURCES) \
$(test_r_multicast_transport_io_SOURCES) \
$(check_main_SOURCES)
include $(top_srcdir)/tools/check-coding-style.mk
check-local: check-coding-style test
|