Makefile.am 961 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
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 \
Stef Walter's avatar
Stef Walter committed
19
	$(top_builddir)/library/libsecret.la \
20
21
	$(LIBGCRYPT_LIBS)

22
23
LDADD =  \
	$(top_builddir)/egg/libegg.la \
Stef Walter's avatar
Stef Walter committed
24
	$(top_builddir)/library/libsecret.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 \
33
	test-methods \
Stef Walter's avatar
Stef Walter committed
34
	test-password \
35
36
	test-item \
	test-collection \
37
38
39
40
41
42
43
44
45
	$(NULL)

check_PROGRAMS = \
	$(TEST_PROGS)

noinst_PROGRAMS =  \
	$(NULL)

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

all-local: $(check_PROGRAMS)

50
51
52
53
54
check-local: test

check-memory: perform-memcheck

.PHONY: check-memory