mirror of
https://gitlab.gnome.org/GNOME/libsecret.git
synced 2024-12-22 12:48:51 +00:00
4893c73c5b
* Cleanup secure memory allocator for valgrind. * Bring valgrind headers in. * Add lots of suppressions for glib, gdbus, gcrypt * Fix up a bunch of bugs where things weren't getting freed * Add new 'make check-memory' target
31 lines
502 B
Makefile
31 lines
502 B
Makefile
include $(top_srcdir)/Makefile.decl
|
|
|
|
INCLUDES = \
|
|
-I$(top_builddir) \
|
|
-I$(top_srcdir) \
|
|
-DSRCDIR="\"@abs_srcdir@\"" \
|
|
$(GLIB_CFLAGS)
|
|
|
|
LDADD = \
|
|
$(top_builddir)/egg/libegg.la \
|
|
$(LIBGCRYPT_LIBS) \
|
|
$(GLIB_LIBS)
|
|
|
|
TEST_PROGS = \
|
|
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
|
|
|
|
check-memory: perform-memcheck
|
|
|
|
all-local: $(check_PROGRAMS)
|