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