2011-11-06 12:41:21 +00:00
|
|
|
include $(top_srcdir)/Makefile.decl
|
2011-09-25 19:13:00 +00:00
|
|
|
|
|
|
|
INCLUDES = \
|
|
|
|
-I$(top_builddir) \
|
|
|
|
-I$(top_srcdir) \
|
|
|
|
-DSRCDIR="\"@abs_srcdir@\"" \
|
|
|
|
$(GLIB_CFLAGS)
|
|
|
|
|
|
|
|
LDADD = \
|
|
|
|
$(top_builddir)/egg/libegg.la \
|
|
|
|
$(LIBGCRYPT_LIBS) \
|
|
|
|
$(GLIB_LIBS)
|
|
|
|
|
|
|
|
TEST_PROGS = \
|
2011-11-12 07:08:12 +00:00
|
|
|
test-hex \
|
2011-09-25 19:13:00 +00:00
|
|
|
test-secmem
|
|
|
|
|
|
|
|
if WITH_GCRYPT
|
|
|
|
TEST_PROGS += test-hkdf test-dh
|
|
|
|
endif
|
|
|
|
|
|
|
|
check_PROGRAMS = $(TEST_PROGS)
|
|
|
|
|
|
|
|
test: $(TEST_PROGS)
|
|
|
|
gtester --verbose -m $(TEST_MODE) --g-fatal-warnings $(TEST_PROGS)
|
|
|
|
|
|
|
|
check-local: test
|
|
|
|
|
2011-11-06 12:41:21 +00:00
|
|
|
check-memory: perform-memcheck
|
|
|
|
|
2011-09-25 19:13:00 +00:00
|
|
|
all-local: $(check_PROGRAMS)
|