Valgrind integration, refactor build process
[platform/upstream/libsecret.git] / egg / Makefile.am
1 SUBDIRS = . tests
2
3 noinst_LTLIBRARIES = \
4         libegg.la
5
6 EXTRA_DIST = egg-testing.h
7
8 INCLUDES = \
9         -I$(top_srcdir) \
10         -I$(top_srcdir)/build \
11         -DWITH_VALGRIND
12
13 if WITH_GCRYPT
14 ENCRYPTION_SRCS = egg-dh.c egg-dh.h
15 ENCRYPTION_SRCS += egg-hkdf.c egg-hkdf.h
16 ENCRYPTION_SRCS += egg-libgcrypt.c egg-libgcrypt.h
17 else
18 ENCRYPTION_SRCS =
19 endif
20
21 libegg_la_SOURCES = \
22         egg-secure-memory.c egg-secure-memory.h \
23         egg-testing.c egg-testing.h \
24         $(ENCRYPTION_SRCS) \
25         $(BUILT_SOURCES)