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