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

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

8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 \
	$(top_builddir)/library/libgsecret.la \
	$(LIBGCRYPT_LIBS)

22
23
24
LDADD =  \
	$(top_builddir)/egg/libegg.la \
	$(top_builddir)/library/libgsecret.la \
25
	$(top_builddir)/library/tests/libmock_service.la \
26
27
28
	$(NULL)

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

check_PROGRAMS = \
	$(TEST_PROGS)

noinst_PROGRAMS =  \
	$(NULL)

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

all-local: $(check_PROGRAMS)

49
50
51
52
53
check-local: test

check-memory: perform-memcheck

.PHONY: check-memory