aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile_Emile.am
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@samsung.com>2015-03-17 08:50:07 +0100
committerCedric BAIL <cedric@osg.samsung.com>2015-03-17 09:58:18 +0100
commit10184ca86039b67fdaa2add4b465acbc437cdbc1 (patch)
treeadb22039c6c9d6f0b6d59a8974bc76fdb5ee8672 /src/Makefile_Emile.am
parentemile: make it cross platform. (diff)
downloadefl-10184ca86039b67fdaa2add4b465acbc437cdbc1.tar.gz
emile: split OpenSSL, GNUTLS and no cipher into separate file as a first step toward module.
Diffstat (limited to 'src/Makefile_Emile.am')
-rw-r--r--src/Makefile_Emile.am10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Makefile_Emile.am b/src/Makefile_Emile.am
index 067eb988ca..a90e5bda09 100644
--- a/src/Makefile_Emile.am
+++ b/src/Makefile_Emile.am
@@ -19,6 +19,16 @@ static_libs/lz4/lz4hc.c \
static_libs/lz4/lz4hc.h
endif
+if HAVE_CRYPTO_GNUTLS
+lib_emile_libemile_la_SOURCES += lib/emile/emile_cipher_gnutls.c
+else
+if HAVE_CRYPTO_OPENSSL
+lib_emile_libemile_la_SOURCES += lib/emile/emile_cipher_openssl.c
+else
+lib_emile_libemile_la_SOURCES += lib/emile/emile_cipher.c
+endif
+endif
+
lib_emile_libemile_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
-DPACKAGE_BIN_DIR=\"$(bindir)\" \
-DPACKAGE_LIB_DIR=\"$(libdir)\" \