blob: 202f62cf1735700ddfddde0ff2fbdcd44e2f0710 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
NULL =
SUBDIRS = services
@GNOME_CODE_COVERAGE_RULES@
common_cflags = \
$(AM_CPPFLAGS) \
-I$(top_srcdir) \
-I$(top_builddir) \
-I$(top_srcdir)/addressbook \
-I$(top_builddir)/addressbook \
-I$(top_srcdir)/calendar \
-I$(top_builddir)/calendar \
-DG_LOG_DOMAIN=\"e-test-server-utils\" \
-DEDS_TEST_DBUS_SERVICE_DIR=\""$(abs_top_builddir)/tests/test-server-utils/services"\" \
-DEDS_TEST_WORK_DIR=\""$(abs_top_builddir)/tests/test-server-utils/cache"\" \
-DEDS_TEST_SCHEMA_DIR=\""$(abs_top_builddir)/data"\" \
-DEDS_TEST_ADDRESS_BOOK_DIR=\""$(abs_top_builddir)/addressbook/backends/file/.libs"\" \
-DEDS_TEST_CALENDAR_DIR=\""$(abs_top_builddir)/calendar/backends/file/.libs"\" \
-DEDS_TEST_REGISTRY_DIR=\""$(abs_top_builddir)/modules/cache-reaper/.libs"\" \
-DEDS_TEST_CAMEL_DIR=\""$(abs_top_builddir)/camel/providers/local/.libs"\" \
$(E_DATA_SERVER_CFLAGS) \
$(EVOLUTION_CALENDAR_CFLAGS) \
$(GIO_UNIX_CFLAGS) \
$(NULL)
common_libs = \
$(top_builddir)/libedataserver/libedataserver-1.2.la \
$(top_builddir)/addressbook/libebook/libebook-1.2.la \
$(top_builddir)/calendar/libecal/libecal-1.2.la \
$(E_DATA_SERVER_LIBS) \
$(EVOLUTION_CALENDAR_LIBS) \
$(GIO_UNIX_LIBS) \
$(NULL)
######################################
# Utility Library #
######################################
noinst_LTLIBRARIES = libetestserverutils.la
libetestserverutils_la_CPPFLAGS = $(common_cflags)
libetestserverutils_la_LIBADD = $(common_libs)
libetestserverutils_la_SOURCES = \
e-test-server-utils.c \
e-test-server-utils.h \
$(NULL)
######################################
# Local Unit Tests #
######################################
noinst_PROGRAMS = $(TESTS)
TESTS = test-fixture
test_fixture_CPPFLAGS = $(common_cflags)
test_fixture_LDADD = $(common_libs) libetestserverutils.la
test_fixture_SOURCES = test-fixture.c
######################################
# The test directory needs to be #
# cleaned in order to pass distcheck #
######################################
clean-local: clean-local-check
.PHONY: clean-local-check
clean-local-check:
-rm -rf $(abs_top_builddir)/tests/test-server-utils/cache
-include $(top_srcdir)/git.mk
|