]> git.0d.be Git - empathy.git/blob - tests/Makefile.am
Merge commit 'bigon/configure-deprecated-flag'
[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         contact-run-until-ready         \
28         contact-run-until-ready-2       \
29         empetit                         \
30         test-empathy-presence-chooser
31
32 contact_manager_SOURCES = contact-manager.c
33 contact_run_until_ready_SOURCES = contact-run-until-ready.c
34 contact_run_until_ready_2_SOURCES = contact-run-until-ready-2.c
35 empetit_SOURCES = empetit.c
36 test_empathy_presence_chooser_SOURCES = test-empathy-presence-chooser.c
37
38 check_PROGRAMS = check-main
39 TESTS = check-main
40 check_main_SOURCES =                             \
41     check-main.c                                 \
42     check-helpers.c                              \
43     check-helpers.h                              \
44     check-libempathy.h                           \
45     check-empathy-utils.c                        \
46     check-empathy-helpers.h                      \
47     check-empathy-helpers.c                      \
48     check-irc-helper.h                           \
49     check-irc-helper.c                           \
50     check-empathy-irc-server.c                   \
51     check-empathy-irc-network.c                  \
52     check-empathy-irc-network-manager.c          \
53     check-empathy-chatroom.c                     \
54     check-empathy-chatroom-manager.c
55
56 check_c_sources = \
57     $(check_main_SOURCES)
58 include $(top_srcdir)/tools/check-coding-style.mk
59 check-local: check-coding-style
60
61 check_main_LDADD = \
62     @CHECK_LIBS@ \
63     $(top_builddir)/libempathy-gtk/libempathy-gtk.la    \
64     $(top_builddir)/libempathy/libempathy.la            \
65     $(AM_LDFLAGS)
66
67 check_main_CFLAGS = \
68     @CHECK_CFLAGS@ \
69     $(AM_CFLAGS)
70
71 TESTS_ENVIRONMENT = EMPATHY_SRCDIR=@abs_top_srcdir@ \
72                     MC_PROFILE_DIR=@abs_top_srcdir@/tests \
73                     MC_MANAGER_DIR=@abs_top_srcdir@/tests