]> git.0d.be Git - empathy.git/blob - tests/Makefile.am
Add necessary files to EXTRA_DIST
[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         $(EMPATHY_CFLAGS)                               \
16         $(WARN_CFLAGS)
17
18 LDADD =                                                         \
19         $(top_builddir)/libempathy-gtk/libempathy-gtk.la        \
20         $(top_builddir)/libempathy/libempathy.la                \
21         $(EMPATHY_LIBS)
22
23 noinst_PROGRAMS =                       \
24         contact-manager                 \
25         contact-run-until-ready         \
26         contact-run-until-ready-2
27
28 contact_manager_SOURCES = contact-manager.c
29 contact_run_until_ready_SOURCES = contact-run-until-ready.c
30 contact_run_until_ready_2_SOURCES = contact-run-until-ready-2.c
31
32 check_PROGRAMS = check-main
33 TESTS = check-main
34 check_main_SOURCES =                             \
35     check-main.c                                 \
36     check-helpers.c                              \
37     check-helpers.h                              \
38     check-libempathy.h                           \
39     check-empathy-utils.c                        \
40     check-empathy-helpers.h                      \
41     check-empathy-helpers.c                      \
42     check-irc-helper.h                           \
43     check-irc-helper.c                           \
44     check-empathy-irc-server.c                   \
45     check-empathy-irc-network.c                  \
46     check-empathy-irc-network-manager.c          \
47     check-empathy-chatroom.c                     \
48     check-empathy-chatroom-manager.c
49
50 check_main_LDADD = \
51     @CHECK_LIBS@ \
52     $(top_builddir)/libempathy-gtk/libempathy-gtk.la    \
53     $(top_builddir)/libempathy/libempathy.la            \
54     $(AM_LDFLAGS)
55
56 check_main_CFLAGS = \
57     @CHECK_CFLAGS@ \
58     $(AM_CFLAGS)
59
60 TESTS_ENVIRONMENT = EMPATHY_SRCDIR=@abs_top_srcdir@ \
61                     MC_PROFILE_DIR=@abs_top_srcdir@/tests \
62                     MC_MANAGER_DIR=@abs_top_srcdir@/tests