]> git.0d.be Git - empathy.git/blob - tests/Makefile.am
a93b6fd8a567fa5fae3b239d705a468c15a0abb7
[empathy.git] / tests / Makefile.am
1 SUBDIRS = interactive xml
2
3 CLEANFILES=
4
5 include $(top_srcdir)/rules/check.mak
6
7 SUPPRESSIONS=valgrind.supp dlopen.supp
8
9 EXTRA_DIST =            \
10         test.manager    \
11         test.profile
12
13 AM_CPPFLAGS =                                           \
14         $(ERROR_CFLAGS)                                 \
15         -I$(top_srcdir)                                 \
16         -DPKGDATADIR=\""$(pkgdatadir)"\"                \
17         $(EMPATHY_CFLAGS)                               \
18         $(WARN_CFLAGS)                                  \
19         $(DISABLE_DEPRECATED)
20
21 LDADD =                                                         \
22         $(top_builddir)/libempathy-gtk/libempathy-gtk.la        \
23         $(top_builddir)/libempathy/libempathy.la                \
24         $(EMPATHY_LIBS)
25
26 check_PROGRAMS = check-main
27 TESTS = check-main
28 check_main_SOURCES =                             \
29     check-main.c                                 \
30     check-helpers.c                              \
31     check-helpers.h                              \
32     check-libempathy.h                           \
33     check-empathy-utils.c                        \
34     check-empathy-helpers.h                      \
35     check-empathy-helpers.c                      \
36     check-irc-helper.h                           \
37     check-irc-helper.c                           \
38     check-empathy-irc-server.c                   \
39     check-empathy-irc-network.c                  \
40     check-empathy-irc-network-manager.c          \
41     check-empathy-chatroom.c                     \
42     check-empathy-chatroom-manager.c
43
44 check_c_sources = \
45     $(check_main_SOURCES)
46 include $(top_srcdir)/tools/check-coding-style.mk
47 check-local: check-coding-style
48
49 check_main_LDADD = \
50     @CHECK_LIBS@ \
51     $(top_builddir)/libempathy-gtk/libempathy-gtk.la    \
52     $(top_builddir)/libempathy/libempathy.la            \
53     $(AM_LDFLAGS)
54
55 check_main_CFLAGS = \
56     @CHECK_CFLAGS@ \
57     $(AM_CFLAGS)
58
59 TESTS_ENVIRONMENT = EMPATHY_SRCDIR=@abs_top_srcdir@ \
60                     MC_PROFILE_DIR=@abs_top_srcdir@/tests \
61                     MC_MANAGER_DIR=@abs_top_srcdir@/tests