summaryrefslogtreecommitdiff
path: root/src/lib/elput
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/elput
parent2d105a7e597a38a31ea88fefc02ac84b8b6e5543 (diff)
downloadefl-8e3606698eb439eecd7302a885504365aca7e564.tar.gz
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/elput')
-rw-r--r--src/lib/elput/meson.build13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/lib/elput/meson.build b/src/lib/elput/meson.build
index bbfe85d74f..639840e424 100644
--- a/src/lib/elput/meson.build
+++ b/src/lib/elput/meson.build
@@ -1,11 +1,12 @@
elput_deps = [ecore, ecore_input, eeze, eo, m]
elput_pub_deps = [eina, eldbus]
+elput_ext_deps = []
elput_header_src = [
'Elput.h'
]
-elput_src = [
+elput_src = files([
'elput_touch.c',
'elput_evdev.c',
'elput_input.c',
@@ -13,16 +14,16 @@ elput_src = [
'elput_manager.c',
'elput.c',
'elput_private.h'
-]
+])
-elput_deps += dependency('libinput', version : ['>=1.7.0'])
-elput_deps += dependency('xkbcommon', version : ['>=0.3.0'])
-elput_deps += dependency('libudev')
+elput_ext_deps += dependency('libinput', version : ['>=1.7.0'])
+elput_ext_deps += dependency('xkbcommon', version : ['>=0.3.0'])
+elput_ext_deps += dependency('libudev')
elput_lib = library('elput',
elput_src, pub_eo_file_target,
c_args : package_c_args,
- dependencies: elput_pub_deps + elput_deps,
+ dependencies: elput_pub_deps + elput_deps + elput_ext_deps,
include_directories : config_dir,
install: true,
version : meson.project_version()