2011-09-25 19:13:00 +00:00
|
|
|
SUBDIRS = . tests
|
2011-06-12 20:55:02 +00:00
|
|
|
|
|
|
|
noinst_LTLIBRARIES = \
|
|
|
|
libegg.la
|
|
|
|
|
2011-09-25 19:13:00 +00:00
|
|
|
EXTRA_DIST = egg-testing.h
|
|
|
|
|
2013-06-21 10:51:54 +00:00
|
|
|
AM_CPPFLAGS = \
|
2011-11-06 12:41:21 +00:00
|
|
|
-I$(top_srcdir) \
|
|
|
|
-I$(top_srcdir)/build \
|
|
|
|
-DWITH_VALGRIND
|
2011-06-12 20:55:02 +00:00
|
|
|
|
2011-09-25 08:03:48 +00:00
|
|
|
if WITH_GCRYPT
|
|
|
|
ENCRYPTION_SRCS = egg-dh.c egg-dh.h
|
|
|
|
ENCRYPTION_SRCS += egg-hkdf.c egg-hkdf.h
|
|
|
|
ENCRYPTION_SRCS += egg-libgcrypt.c egg-libgcrypt.h
|
|
|
|
else
|
|
|
|
ENCRYPTION_SRCS =
|
|
|
|
endif
|
|
|
|
|
2011-06-12 20:55:02 +00:00
|
|
|
libegg_la_SOURCES = \
|
2011-11-12 07:08:12 +00:00
|
|
|
egg-hex.c egg-hex.h \
|
2011-06-12 20:55:02 +00:00
|
|
|
egg-secure-memory.c egg-secure-memory.h \
|
2011-09-25 19:13:00 +00:00
|
|
|
egg-testing.c egg-testing.h \
|
2011-09-25 08:03:48 +00:00
|
|
|
$(ENCRYPTION_SRCS) \
|
2011-11-12 07:08:12 +00:00
|
|
|
$(BUILT_SOURCES)
|
|
|
|
|
|
|
|
check-memory:
|
|
|
|
make -C tests check-memory
|