summaryrefslogtreecommitdiff
path: root/src/lib/emile
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2020-05-10 14:41:57 +0200
committerStefan Schmidt <s.schmidt@samsung.com>2020-05-27 11:06:46 +0200
commit8e3606698eb439eecd7302a885504365aca7e564 (patch)
tree6bb354ae72ab277548fafaab00a52aeaac5e61bb /src/lib/emile
parent2d105a7e597a38a31ea88fefc02ac84b8b6e5543 (diff)
refactor build
libraries are split into deps, external deps, and pub deps. Evas engines are refactored to use the predefined engine deps. this is preparation work for efl-one. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11806
Diffstat (limited to 'src/lib/emile')
-rw-r--r--src/lib/emile/meson.build13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/lib/emile/meson.build b/src/lib/emile/meson.build
index d8734cd1f2..fb5822836b 100644
--- a/src/lib/emile/meson.build
+++ b/src/lib/emile/meson.build
@@ -1,5 +1,6 @@
1emile_deps = [jpeg, crypto, dependency('zlib')] 1emile_deps = []
2emile_pub_deps = [eina, efl] 2emile_pub_deps = [eina, efl]
3emile_ext_deps = [jpeg, crypto, dependency('zlib'), lz4, rg_etc, m]
3 4
4emile_headers = [ 5emile_headers = [
5 'Emile.h', 6 'Emile.h',
@@ -9,25 +10,25 @@ emile_headers = [
9 'emile_base64.h' 10 'emile_base64.h'
10] 11]
11 12
12emile_src = [ 13emile_src = files([
13 'emile_private.h', 14 'emile_private.h',
14 'emile_main.c', 15 'emile_main.c',
15 'emile_compress.c', 16 'emile_compress.c',
16 'emile_image.c', 17 'emile_image.c',
17 'emile_base64.c', 18 'emile_base64.c',
18] 19])
19 20
20if (get_option('crypto') == 'gnutls') 21if (get_option('crypto') == 'gnutls')
21 emile_src += 'emile_cipher_gnutls.c' 22 emile_src += files('emile_cipher_gnutls.c')
22elif (get_option('crypto') == 'openssl') 23elif (get_option('crypto') == 'openssl')
23 emile_src += 'emile_cipher_openssl.c' 24 emile_src += files('emile_cipher_openssl.c')
24endif 25endif
25 26
26emile_lib = library('emile', 27emile_lib = library('emile',
27 emile_src, 28 emile_src,
28 c_args : package_c_args, 29 c_args : package_c_args,
29 include_directories: config_dir, 30 include_directories: config_dir,
30 dependencies: emile_pub_deps + emile_deps + [lz4, rg_etc, m], 31 dependencies: emile_pub_deps + emile_deps + emile_ext_deps,
31 install: true, 32 install: true,
32 version : meson.project_version() 33 version : meson.project_version()
33) 34)