]> git.0d.be Git - empathy.git/blob - tests/Makefile.am
Merge branch 'master' into tp-tube
[empathy.git] / tests / Makefile.am
1 SUBDIRS = 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         -I$(top_srcdir)                                 \
15         -DPKGDATADIR=\""$(pkgdatadir)"\"                \
16         $(EMPATHY_CFLAGS)                               \
17         $(WARN_CFLAGS)                                  \
18         $(DISABLE_DEPRECATED)
19
20 LDADD =                                                         \
21         $(top_builddir)/libempathy-gtk/libempathy-gtk.la        \
22         $(top_builddir)/libempathy/libempathy.la                \
23         $(EMPATHY_LIBS)
24
25 noinst_PROGRAMS =                       \
26         contact-manager                 \
27         empetit                         \
28         test-empathy-presence-chooser   \
29         test-empathy-status-preset-dialog
30
31 contact_manager_SOURCES = contact-manager.c
32 empetit_SOURCES = empetit.c
33 test_empathy_presence_chooser_SOURCES = test-empathy-presence-chooser.c
34 test_empathy_status_preset_dialog_SOURCES = test-empathy-status-preset-dialog.c
35
36 check_PROGRAMS = check-main
37 TESTS = check-main
38 check_main_SOURCES =                             \
39     check-main.c                                 \
40     check-helpers.c                              \
41     check-helpers.h                              \
42     check-libempathy.h                           \
43     check-empathy-utils.c                        \
44     check-empathy-helpers.h                      \
45     check-empathy-helpers.c                      \
46     check-irc-helper.h                           \
47     check-irc-helper.c                           \
48     check-empathy-irc-server.c                   \
49     check-empathy-irc-network.c                  \
50     check-empathy-irc-network-manager.c          \
51     check-empathy-chatroom.c                     \
52     check-empathy-chatroom-manager.c
53
54 check_c_sources = \
55     $(check_main_SOURCES)
56 include $(top_srcdir)/tools/check-coding-style.mk
57 check-local: check-coding-style
58
59 check_main_LDADD = \
60     @CHECK_LIBS@ \
61     $(top_builddir)/libempathy-gtk/libempathy-gtk.la    \
62     $(top_builddir)/libempathy/libempathy.la            \
63     $(AM_LDFLAGS)
64
65 check_main_CFLAGS = \
66     @CHECK_CFLAGS@ \
67     $(AM_CFLAGS)
68
69 TESTS_ENVIRONMENT = EMPATHY_SRCDIR=@abs_top_srcdir@ \
70                     MC_PROFILE_DIR=@abs_top_srcdir@/tests \
71                     MC_MANAGER_DIR=@abs_top_srcdir@/tests