summaryrefslogtreecommitdiff
path: root/src/lib/emile/Makefile.am
blob: 09b093bcad066865da5a5dca6a19fc7211480ee0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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