udapted vi.po
[rhythmbox.git] / tests / Makefile.am
blob0d0ca6ab976b4104d23d2c83f04b6c6ad95a766c
1 ## arch-tag: Automake rules for test programs
2 ## Process this file with automake to produce Makefile.in
4 TESTS = 
6 LDADD = \
7         $(CHECK_LIBS)                                           \
8         $(top_builddir)/rhythmdb/librhythmdb.la                 \
9         $(top_builddir)/lib/librb.la                            \
10         $(top_builddir)/metadata/librbmetadata.la               \
11         $(top_builddir)/widgets/librbwidgets.la                 \
12         $(RHYTHMBOX_LIBS)
14 test_utils = \
15         test-utils.h                                            \
16         test-utils.c
18 test_rhythmdb_SOURCES = \
19         test-rhythmdb.c                                         \
20         $(test_utils)
22 test_rhythmdb_query_model_SOURCES = \
23         test-rhythmdb-query-model.c                             \
24         $(test_utils)
26 test_rhythmdb_property_model_SOURCES = \
27         test-rhythmdb-property-model.c                          \
28         $(test_utils)
30 test_file_helpers_SOURCES = \
31         test-file-helpers.c                                     \
32         $(test_utils)
34 bench_rhythmdb_load_SOURCES = bench-rhythmdb-load.c
36 INCLUDES =                                                      \
37         -DGNOMELOCALEDIR=\""$(datadir)/locale"\"                \
38         -DG_LOG_DOMAIN=\"Rhythmbox-tests\"                      \
39         -I$(top_srcdir)                                         \
40         $(RHYTHMBOX_CFLAGS)                                     \
41         -I$(top_srcdir)/lib                                     \
42         -I$(top_srcdir)/metadata                                \
43         -I$(top_srcdir)/widgets                                 \
44         -I$(top_srcdir)/rhythmdb
47 if HAVE_CHECK
48 TESTS += \
49         test-rhythmdb                                           \
50         test-rhythmdb-query-model                               \
51         test-rhythmdb-property-model                            \
52         test-file-helpers
53 endif
55 OLD_TESTS = \
56         test-rhythmdb-query.c                                   \
57         test-rhythmdb-tree-serialization.c                      \
58         test-rhythmdb-view.c
60 noinst_PROGRAMS = \
61                 bench-rhythmdb-load                             \
62                 $(TESTS)
65 EXTRA_DIST = deserialization-test1.xml deserialization-test2.xml deserialization-test3.xml $(OLD_TESTS)