summaryrefslogtreecommitdiff
path: root/src/Makefile_Emile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile_Emile.am')
-rw-r--r--src/Makefile_Emile.am101
1 files changed, 0 insertions, 101 deletions
diff --git a/src/Makefile_Emile.am b/src/Makefile_Emile.am
deleted file mode 100644
index 59ac7bb..0000000
--- a/src/Makefile_Emile.am
+++ /dev/null
@@ -1,101 +0,0 @@
1
2### Library
3lib_LTLIBRARIES += lib/emile/libemile.la
4
5installed_emilemainheadersdir = $(includedir)/emile-@VMAJ@
6dist_installed_emilemainheaders_DATA = \
7lib/emile/Emile.h \
8lib/emile/emile_cipher.h \
9lib/emile/emile_compress.h \
10lib/emile/emile_image.h \
11lib/emile/emile_base64.h
12
13lib_emile_libemile_la_SOURCES = \
14lib/emile/emile_private.h \
15lib/emile/emile_main.c \
16lib/emile/emile_compress.c \
17lib/emile/emile_image.c \
18lib/emile/emile_base64.c \
19static_libs/rg_etc/rg_etc1.c \
20static_libs/rg_etc/rg_etc2.c \
21static_libs/rg_etc/rg_etc1.h \
22static_libs/rg_etc/etc2_encoder.c
23
24if ! ENABLE_LIBLZ4
25lib_emile_libemile_la_SOURCES += \
26static_libs/lz4/lz4.c \
27static_libs/lz4/lz4.h \
28static_libs/lz4/lz4hc.c \
29static_libs/lz4/lz4hc.h
30endif
31
32if HAVE_CRYPTO_GNUTLS
33lib_emile_libemile_la_SOURCES += lib/emile/emile_cipher_gnutls.c
34else
35if HAVE_CRYPTO_OPENSSL
36lib_emile_libemile_la_SOURCES += lib/emile/emile_cipher_openssl.c
37else
38lib_emile_libemile_la_SOURCES += lib/emile/emile_cipher.c
39endif
40endif
41
42lib_emile_libemile_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
43-I$(top_srcdir)/src/static_libs/rg_etc \
44-DPACKAGE_BIN_DIR=\"$(bindir)\" \
45-DPACKAGE_LIB_DIR=\"$(libdir)\" \
46-DPACKAGE_DATA_DIR=\"$(datadir)/emile\" \
47-DEFL_BUILD \
48@EMILE_CFLAGS@ \
49@NEON_CFLAGS@
50
51if ! ENABLE_LIBLZ4
52lib_emile_libemile_la_CPPFLAGS += \
53-I$(top_srcdir)/src/static_libs/lz4
54endif
55
56lib_emile_libemile_la_LIBADD = @EMILE_LIBS@
57lib_emile_libemile_la_DEPENDENCIES = @EMILE_INTERNAL_LIBS@
58lib_emile_libemile_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
59
60if ENABLE_LIBLZ4
61lib_emile_libemile_la_LIBADD += @LIBLZ4_LIBS@
62endif
63
64EXTRA_DIST2 += static_libs/lz4/README.md \
65static_libs/lz4/LICENSE \
66static_libs/lz4/NEWS \
67static_libs/lz4/lz4.c \
68static_libs/lz4/lz4.h \
69static_libs/lz4/lz4hc.c \
70static_libs/lz4/lz4hc.h \
71static_libs/rg_etc/README
72
73### Binary
74
75# None yet, maybe a tool to manually use cypher/compression ?
76
77### Unit tests
78
79if EFL_ENABLE_TESTS
80
81check_PROGRAMS += tests/emile/emile_suite
82TESTS += tests/emile/emile_suite
83
84tests_emile_emile_suite_SOURCES = \
85tests/emile/emile_suite.c \
86tests/emile/emile_test_base.c \
87tests/emile/emile_test_base64.c \
88tests/emile/emile_suite.h
89
90tests_emile_emile_suite_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
91-DTESTS_WD=\"`pwd`\" \
92-DPACKAGE_BUILD_DIR=\"$(abs_top_builddir)\" \
93-DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/emile\" \
94-DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/emile\" \
95@CHECK_CFLAGS@ \
96@EMILE_CFLAGS@
97
98tests_emile_emile_suite_LDADD = @CHECK_LIBS@ @USE_EMILE_LIBS@
99tests_emile_emile_suite_DEPENDENCIES = @USE_EMILE_INTERNAL_LIBS@
100
101endif