]> git.0d.be Git - empathy.git/blob - tests/Makefile.am
Don't hardcode path to uninstalled files, use EMPATHY_SRCDIR env var instead.
[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 AM_CPPFLAGS =                                           \
10         -I$(top_srcdir)                                 \
11         $(EMPATHY_CFLAGS)                               \
12         $(WARN_CFLAGS)
13
14 LDADD =                                                         \
15         $(top_builddir)/libempathy-gtk/libempathy-gtk.la        \
16         $(top_builddir)/libempathy/libempathy.la                \
17         $(EMPATHY_LIBS)
18
19 noinst_PROGRAMS =                       \
20         contact-manager
21
22 contact_manager_SOURCES = contact-manager.c
23
24 check_PROGRAMS = check-main
25 TESTS = check-main
26 check_main_SOURCES =                             \
27     check-main.c                                 \
28     check-helpers.c                              \
29     check-helpers.h                              \
30     check-libempathy.h                           \
31     check-empathy-utils.c                        \
32     check-irc-helper.h                           \
33     check-irc-helper.c                           \
34     check-empathy-irc-server.c                   \
35     check-empathy-irc-network.c                  \
36     check-empathy-irc-network-manager.c
37
38 check_main_LDADD = \
39     @CHECK_LIBS@ \
40     $(top_builddir)/libempathy-gtk/libempathy-gtk.la    \
41     $(top_builddir)/libempathy/libempathy.la            \
42     $(AM_LDFLAGS)
43
44 check_main_CFLAGS = \
45     @CHECK_CFLAGS@ \
46     $(AM_CFLAGS)
47
48 TESTS_ENVIRONMENT = EMPATHY_SRCDIR=@abs_top_srcdir@