summaryrefslogtreecommitdiff
path: root/src/lib/ecore_file/meson.build
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/ecore_file/meson.build
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 '')
-rw-r--r--src/lib/ecore_file/meson.build13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/lib/ecore_file/meson.build b/src/lib/ecore_file/meson.build
index 9bbee467d6..9e0212d6c0 100644
--- a/src/lib/ecore_file/meson.build
+++ b/src/lib/ecore_file/meson.build
@@ -1,20 +1,21 @@
1ecore_file_deps = [ecore_con, ecore] 1ecore_file_deps = [ecore_con, ecore]
2ecore_file_pub_deps = [eina] 2ecore_file_pub_deps = [eina]
3ecore_file_ext_deps = []
3 4
4ecore_file_src = [ 5ecore_file_src = files([
5 'ecore_file.c', 6 'ecore_file.c',
6 'ecore_file_download.c', 7 'ecore_file_download.c',
7 'ecore_file_monitor.c', 8 'ecore_file_monitor.c',
8 'ecore_file_path.c', 9 'ecore_file_path.c',
9 'ecore_file_private.h' 10 'ecore_file_private.h'
10] 11])
11 12
12if sys_windows == true 13if sys_windows == true
13 ecore_file_src += [ 'ecore_file_monitor_win32.c'] 14 ecore_file_src += files([ 'ecore_file_monitor_win32.c'])
14elif sys_linux == true 15elif sys_linux == true
15 ecore_file_src += [ 'ecore_file_monitor_inotify.c'] 16 ecore_file_src += files([ 'ecore_file_monitor_inotify.c'])
16else 17else
17 ecore_file_src += [ 'ecore_file_monitor_poll.c'] 18 ecore_file_src += files([ 'ecore_file_monitor_poll.c'])
18endif 19endif
19 20
20ecore_file_header_src = ['Ecore_File.h'] 21ecore_file_header_src = ['Ecore_File.h']
@@ -23,7 +24,7 @@ ecore_file_header_src = ['Ecore_File.h']
23ecore_file_lib = library('ecore_file', 24ecore_file_lib = library('ecore_file',
24 ecore_file_src, 25 ecore_file_src,
25 c_args : package_c_args, 26 c_args : package_c_args,
26 dependencies: ecore_file_deps + ecore_file_pub_deps + ecore_file_deps, 27 dependencies: ecore_file_deps + ecore_file_pub_deps + ecore_file_ext_deps,
27 include_directories : config_dir + [include_directories(join_paths('..','..'))], 28 include_directories : config_dir + [include_directories(join_paths('..','..'))],
28 install: true, 29 install: true,
29 version : meson.project_version() 30 version : meson.project_version()