]> git.0d.be Git - empathy.git/blob - tests/Makefile.am
Move back the account assistant to src/
[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-account-assistant \
29         test-empathy-presence-chooser   \
30         test-empathy-status-preset-dialog \
31         test-empathy-protocol-chooser
32
33 contact_manager_SOURCES = contact-manager.c
34 empetit_SOURCES = empetit.c
35 test_empathy_presence_chooser_SOURCES = test-empathy-presence-chooser.c
36 test_empathy_status_preset_dialog_SOURCES = test-empathy-status-preset-dialog.c
37 test_empathy_protocol_chooser_SOURCES = test-empathy-protocol-chooser.c
38 test_empathy_account_assistant_SOURCES = test-empathy-account-assistant.c
39
40 test_empathy_account_assistant_CFLAGS = -I$(top_srcdir)/src
41 test_empathy_account_assistant_LDADD =                  \
42         $(top_builddir)/src/empathy-account-assistant.o \
43         $(LDADD)
44
45 check_PROGRAMS = check-main
46 TESTS = check-main
47 check_main_SOURCES =                             \
48     check-main.c                                 \
49     check-helpers.c                              \
50     check-helpers.h                              \
51     check-libempathy.h                           \
52     check-empathy-utils.c                        \
53     check-empathy-helpers.h                      \
54     check-empathy-helpers.c                      \
55     check-irc-helper.h                           \
56     check-irc-helper.c                           \
57     check-empathy-irc-server.c                   \
58     check-empathy-irc-network.c                  \
59     check-empathy-irc-network-manager.c          \
60     check-empathy-chatroom.c                     \
61     check-empathy-chatroom-manager.c
62
63 check_c_sources = \
64     $(check_main_SOURCES)
65 include $(top_srcdir)/tools/check-coding-style.mk
66 check-local: check-coding-style
67
68 check_main_LDADD = \
69     @CHECK_LIBS@ \
70     $(top_builddir)/libempathy-gtk/libempathy-gtk.la    \
71     $(top_builddir)/libempathy/libempathy.la            \
72     $(AM_LDFLAGS)
73
74 check_main_CFLAGS = \
75     @CHECK_CFLAGS@ \
76     $(AM_CFLAGS)
77
78 TESTS_ENVIRONMENT = EMPATHY_SRCDIR=@abs_top_srcdir@ \
79                     MC_PROFILE_DIR=@abs_top_srcdir@/tests \
80                     MC_MANAGER_DIR=@abs_top_srcdir@/tests