Makefile.am 1015 Bytes
Newer Older
1
2
3
4
include $(top_srcdir)/Makefile.decl

INCLUDES = \
	-I$(top_srcdir)/library \
5
	-DSRCDIR="\"@abs_srcdir@\"" \
6
	-DSECRET_COMPILATION \
7
8
	$(NULL)

9
10
11
12
13
14
15
16
17
18
19
noinst_LTLIBRARIES = libmock_service.la

libmock_service_la_SOURCES = \
	mock-service.c mock-service.h \
	$(NULL)

libmock_service_la_CFLAGS = \
	$(LIBGCRYPT_CFLAGS)

libmock_service_la_LIBADD = \
	$(top_builddir)/egg/libegg.la \
20
	$(top_builddir)/library/libsecret-@SECRET_MAJOR@.la \
21
22
	$(LIBGCRYPT_LIBS)

23
24
LDADD =  \
	$(top_builddir)/egg/libegg.la \
25
	$(top_builddir)/library/libsecret-@SECRET_MAJOR@.la \
26
	$(top_builddir)/library/tests/libmock_service.la \
27
28
29
	$(NULL)

TEST_PROGS = \
30
	test-value \
Stef Walter's avatar
Stef Walter committed
31
	test-prompt \
32
	test-service \
33
	test-session \
34
	test-methods \
Stef Walter's avatar
Stef Walter committed
35
	test-password \
36
37
	test-item \
	test-collection \
38
39
40
41
42
43
44
45
46
	$(NULL)

check_PROGRAMS = \
	$(TEST_PROGS)

noinst_PROGRAMS =  \
	$(NULL)

test: $(TEST_PROGS)
47
	gtester --verbose -m $(TEST_MODE) --g-fatal-warnings $(TEST_PROGS)
48
49
50

all-local: $(check_PROGRAMS)

51
52
53
54
55
check-local: test

check-memory: perform-memcheck

.PHONY: check-memory