Fix build of tests
[empathy.git] / tests / Makefile.am
1 CLEANFILES=
2
3 include $(top_srcdir)/rules/check.mak
4
5 SUPPRESSIONS=valgrind.supp dlopen.supp
6
7 AM_CPPFLAGS =                                           \
8         -I$(top_srcdir)                                 \
9         $(EMPATHY_CFLAGS)                               \
10         $(WARN_CFLAGS)
11
12 LDADD =                                                         \
13         $(top_builddir)/libempathy-gtk/libempathy-gtk.la        \
14         $(top_builddir)/libempathy/libempathy.la                \
15         $(EMPATHY_LIBS)
16
17 bin_PROGRAMS =                  \
18         contact-manager
19
20 contact_manager_SOURCES = contact-manager.c
21
22 check_PROGRAMS = check-main
23 TESTS = check-main
24 check_main_SOURCES =                             \
25     check-main.c                                 \
26     check-helpers.c                              \
27     check-helpers.h                              \
28     check-libempathy.h                           \
29     check-empathy-utils.c
30
31 check_main_LDADD = \
32     @CHECK_LIBS@ \
33     $(top_builddir)/libempathy-gtk/libempathy-gtk.la    \
34     $(top_builddir)/libempathy/libempathy.la            \
35     $(AM_LDFLAGS)
36
37 check_main_CFLAGS = \
38     @CHECK_CFLAGS@ \
39     $(AM_CFLAGS)
40