cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=66bc74bbe6668ca9606d9dbdae02f8c008d2d796

commit 66bc74bbe6668ca9606d9dbdae02f8c008d2d796
Author: Cedric BAIL <ced...@osg.samsung.com>
Date:   Wed Apr 13 16:11:44 2016 -0700

    emile: make it possible to build the library alone.
---
 configure.ac              |  1 +
 src/lib/emile/Makefile.am | 61 +++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

diff --git a/configure.ac b/configure.ac
index 5ff72ca..98e0e12 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5485,6 +5485,7 @@ doc/widgets/Makefile
 src/Makefile
 src/lib/evil/Makefile
 src/lib/eina/Makefile
+src/lib/emile/Makefile
 src/benchmarks/eina/Makefile
 src/benchmarks/eo/Makefile
 src/benchmarks/evas/Makefile
diff --git a/src/lib/emile/Makefile.am b/src/lib/emile/Makefile.am
new file mode 100644
index 0000000..09b093b
--- /dev/null
+++ b/src/lib/emile/Makefile.am
@@ -0,0 +1,61 @@
+
+### Library
+lib_LTLIBRARIES = libemile.la
+
+installed_emilemainheadersdir = $(includedir)/emile-@VMAJ@
+dist_installed_emilemainheaders_DATA = \
+Emile.h \
+emile_cipher.h \
+emile_compress.h \
+emile_image.h \
+emile_base64.h
+
+libemile_la_SOURCES = \
+emile_private.h \
+emile_main.c \
+emile_compress.c \
+emile_image.c \
+emile_base64.c \
+../../static_libs/rg_etc/rg_etc1.c \
+../../static_libs/rg_etc/rg_etc2.c \
+../../static_libs/rg_etc/rg_etc1.h \
+../../static_libs/rg_etc/etc2_encoder.c
+
+if ! ENABLE_LIBLZ4
+libemile_la_SOURCES += \
+../../static_libs/lz4/lz4.c \
+../../static_libs/lz4/lz4.h \
+../../static_libs/lz4/lz4hc.c \
+../../static_libs/lz4/lz4hc.h
+endif
+
+if HAVE_CRYPTO_GNUTLS
+libemile_la_SOURCES += emile_cipher_gnutls.c
+else
+if HAVE_CRYPTO_OPENSSL
+libemile_la_SOURCES += emile_cipher_openssl.c
+else
+libemile_la_SOURCES += emile_cipher.c
+endif
+endif
+
+libemile_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
+-I$(top_srcdir)/src/static_libs/rg_etc \
+-DPACKAGE_BIN_DIR=\"$(bindir)\" \
+-DPACKAGE_LIB_DIR=\"$(libdir)\" \
+-DPACKAGE_DATA_DIR=\"$(datadir)/emile\" \
+@EMILE_CFLAGS@ \
+@NEON_CFLAGS@
+
+if ! ENABLE_LIBLZ4
+libemile_la_CPPFLAGS += \
+-I$(top_srcdir)/src/static_libs/lz4
+endif
+
+libemile_la_LIBADD = @EMILE_SUBBUILD_LIBS@
+libemile_la_DEPENDENCIES = @EMILE_SUBBUILD_INTERNAL_LIBS@
+libemile_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
+
+if ENABLE_LIBLZ4
+libemile_la_LIBADD += @LIBLZ4_LIBS@
+endif

-- 


Reply via email to