Remove calls to g_type_init()
[dconf.git] / tests / Makefile.am
blobfc77755dba4f32e08c350a65e2fb85e79e50bd9d
1 include $(top_srcdir)/Makefile.gtester
3 noinst_LIBRARIES = libdconf-mock.a
4 noinst_PROGRAMS = $(TEST_PROGS)
5 noinst_HEADERS = dconf-mock.h
7 libdconf_mock_a_CFLAGS = $(glib_CFLAGS)
8 libdconf_mock_a_SOURCES = \
9         dconf-mock-dbus.c       \
10         dconf-mock-gvdb.c       \
11         dconf-mock-shm.c
13 TEST_PROGS += paths
14 paths_CFLAGS = $(glib_CFLAGS)
15 paths_LDADD = \
16         ../common/libdconf-common.a     \
17         $(gio_LIBS)
18 paths_SOURCES = paths.c
20 TEST_PROGS += changeset
21 changeset_CFLAGS = $(glib_CFLAGS)
22 changeset_LDADD = \
23         ../common/libdconf-common.a     \
24         $(glib_LIBS)
25 changeset_SOURCES = changeset.c
27 TEST_PROGS += shm
28 shm_CFLAGS = $(glib_CFLAGS)
29 shm_LDADD = \
30         ../shm/libdconf-shm.a                   \
31         $(glib_LIBS)                            \
32         -ldl
33 shm_SOURCES = \
34         shm.c                                   \
35         tmpdir.h                                \
36         tmpdir.c
38 TEST_PROGS += gvdb
39 gvdb_CFLAGS = $(glib_CFLAGS) -DSRCDIR=\"$(abs_srcdir)\"
40 gvdb_LDADD = \
41         ../gvdb/libgvdb.a                       \
42         $(glib_LIBS)
43 gvdb_SOURCES = gvdb.c
44 EXTRA_DIST = \
45         gvdbs/empty_gvdb                        \
46         gvdbs/example_gvdb                      \
47         gvdbs/example_gvdb.big-endian           \
48         gvdbs/file_empty                        \
49         gvdbs/file_too_small                    \
50         gvdbs/invalid_header                    \
51         gvdbs/nested_gvdb
53 TEST_PROGS += gdbus-thread
54 gdbus_thread_CFLAGS = $(gio_CFLAGS) -DDBUS_BACKEND=\"/gdbus/thread\"
55 gdbus_thread_LDADD = \
56         ../gdbus/libdconf-gdbus-thread.a        \
57         $(gio_LIBS)
58 gdbus_thread_SOURCES = dbus.c
60 TEST_PROGS += gdbus-filter
61 gdbus_filter_CFLAGS = $(gio_CFLAGS) -DDBUS_BACKEND=\"/gdbus/filter\"
62 gdbus_filter_LDADD = \
63         ../gdbus/libdconf-gdbus-filter.a        \
64         $(gio_LIBS)
65 gdbus_filter_SOURCES = dbus.c
67 TEST_PROGS += libdbus-1
68 libdbus_1_CFLAGS = $(gio_CFLAGS) -DDBUS_BACKEND=\"/libdbus-1\"
69 libdbus_1_LDADD = \
70         ../dbus-1/libdconf-libdbus-1.a          \
71         $(glib_LIBS)                            \
72         $(dbus_LIBS)
73 libdbus_1_SOURCES = dbus.c
75 TEST_PROGS += engine
76 engine_CFLAGS = $(glib_CFLAGS) -DSRCDIR=\"$(abs_srcdir)\"
77 engine_LDADD = \
78         ../engine/libdconf-engine.a             \
79         ../common/libdconf-common.a             \
80         libdconf-mock.a                         \
81         $(glib_LIBS)                            \
82         -ldl -lm
83 engine_SOURCES = engine.c
84 EXTRA_DIST += \
85         profile/broken-profile                  \
86         profile/colourful                       \
87         profile/dos                             \
88         profile/empty-profile                   \
89         profile/gdm                             \
90         profile/many-sources                    \
91         profile/no-newline-longline             \
92         profile/test-profile                    \
93         profile/will-never-exist
95 TEST_PROGS += client
96 client_CFLAGS = $(gio_CFLAGS) -DSRCDIR=\"$(abs_srcdir)\"
97 client_LDADD = \
98         ../client/libdconf-client.a             \
99         ../engine/libdconf-engine.a             \
100         ../common/libdconf-common.a             \
101         libdconf-mock.a                         \
102         $(gio_LIBS)
103 client_SOURCES = client.c