88b9e51d699c1039515fb2f294690521d7c3171e
[platform/upstream/libsecret.git] / egg / tests / Makefile.am
1 include $(top_srcdir)/Makefile.decl
2
3 INCLUDES = \
4         -I$(top_builddir) \
5         -I$(top_srcdir) \
6         -DSRCDIR="\"@abs_srcdir@\"" \
7         $(GLIB_CFLAGS)
8
9 LDADD =  \
10         $(top_builddir)/egg/libegg.la \
11         $(LIBGCRYPT_LIBS) \
12         $(GLIB_LIBS)
13
14 TEST_PROGS = \
15         test-hex \
16         test-secmem
17
18 if WITH_GCRYPT
19 TEST_PROGS += test-hkdf test-dh
20 endif
21
22 check_PROGRAMS = $(TEST_PROGS)
23
24 test: $(TEST_PROGS)
25         gtester --verbose -m $(TEST_MODE) --g-fatal-warnings $(TEST_PROGS)
26
27 check-local: test
28
29 check-memory: perform-memcheck
30
31 all-local: $(check_PROGRAMS)