Makefile.am 901 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 = \
Stef Walter's avatar
Stef Walter committed
29
	test-prompt \
30
	test-service \
31
	test-session \
Stef Walter's avatar
Stef Walter committed
32
	test-password \
33
34
35
36
37
38
39
40
41
	$(NULL)

check_PROGRAMS = \
	$(TEST_PROGS)

noinst_PROGRAMS =  \
	$(NULL)

test: $(TEST_PROGS)
42
	gtester --verbose -m $(TEST_MODE) --g-fatal-warnings $(TEST_PROGS)
43
44
45

all-local: $(check_PROGRAMS)

46
47
48
49
50
check-local: test

check-memory: perform-memcheck

.PHONY: check-memory