meson build - reformat and trim build files a bit to be more compact

working on it...
devs/derekf/for_derbyw
Carsten Haitzler 5 years ago
parent 022dd52cd9
commit 2349a298f0
  1. 6
      po/meson.build
  2. 73
      src/bin/e_fm/meson.build
  3. 22
      src/bin/generated/meson.build
  4. 1017
      src/bin/meson.build

@ -1,5 +1,5 @@
if get_option('nls')
i18n = import('i18n')
i18n.gettext('enlightenment')
config_h.set('HAVE_GETTEXT', '1')
i18n = import('i18n')
i18n.gettext('enlightenment')
config_h.set('HAVE_GETTEXT', '1')
endif

@ -1,50 +1,49 @@
deps_efm = [
dep_eina,
dep_ecore,
dep_ecore_con,
dep_ecore_file,
dep_ecore_ipc,
dep_efreet
deps = [
dep_eina,
dep_ecore,
dep_ecore_con,
dep_ecore_file,
dep_ecore_ipc,
dep_efreet
]
udisks_src = []
if config_h.has('HAVE_UDISKS_MOUNT') == true
udisks_src = [
'e_fm_main_udisks.c',
'e_fm_main_udisks.h',
'e_fm_main_udisks2.c',
'e_fm_main_udisks2.h'
]
deps_efm += [dep_eldbus]
udisks_src = [
'e_fm_main_udisks.c',
'e_fm_main_udisks.h',
'e_fm_main_udisks2.c',
'e_fm_main_udisks2.h'
]
deps += [ dep_eldbus ]
endif
eeze_src = []
if config_h.has('HAVE_EEZE_MOUNT') == true
eeze_src = [
'../e_prefix.c',
'e_fm_main_eeze.c',
'e_fm_main_eeze.h'
]
deps_efm += [dep_eeze, dep_eet]
eeze_src = [
'../e_prefix.c',
'e_fm_main_eeze.c',
'e_fm_main_eeze.h'
]
deps += [ dep_eeze, dep_eet ]
endif
efm_src = [
'e_fm_main.c',
'e_fm_main.h',
'e_fm_ipc.c',
'e_fm_ipc.h',
'../e_fm_shared_codec.c',
'../e_fm_shared_device.c',
'../e_user.c',
'../e_sha1.c',
udisks_src,
eeze_src
src = [
'e_fm_main.c',
'e_fm_main.h',
'e_fm_ipc.c',
'e_fm_ipc.h',
'../e_fm_shared_codec.c',
'../e_fm_shared_device.c',
'../e_user.c',
'../e_sha1.c',
udisks_src,
eeze_src
]
executable('enlightenment_fm',
[efm_src],
include_directories: include_directories('../../../', '../..', '.', '..'),
dependencies: [deps_efm],
install_dir: dir_e_utils,
install: true
executable('enlightenment_fm', src,
include_directories: include_directories('../../../', '../..', '.', '..'),
dependencies : deps,
install_dir : dir_e_utils,
install : true
)

@ -1,20 +1,20 @@
protos = [
'@0@/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml'.format(dir_wayland_protocols),
'../../protocol/session-recovery.xml',
'../../protocol/www.xml',
'../../protocol/efl-aux-hints.xml',
'../../protocol/action_route.xml',
'@0@/unstable/xdg-foreign/xdg-foreign-unstable-v1.xml'.format(dir_wayland_protocols),
'@0@/unstable/relative-pointer/relative-pointer-unstable-v1.xml'.format(dir_wayland_protocols),
'@0@/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml'.format(dir_wayland_protocols),
'@0@/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml'.format(dir_wayland_protocols),
'../../protocol/session-recovery.xml',
'../../protocol/www.xml',
'../../protocol/efl-aux-hints.xml',
'../../protocol/action_route.xml',
'@0@/unstable/xdg-foreign/xdg-foreign-unstable-v1.xml'.format(dir_wayland_protocols),
'@0@/unstable/relative-pointer/relative-pointer-unstable-v1.xml'.format(dir_wayland_protocols),
'@0@/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml'.format(dir_wayland_protocols),
]
proto_c = []
proto_h = []
foreach proto: protos
proto_h += gen_scanner_server.process(proto)
proto_c += gen_scanner_impl.process(proto)
foreach p: protos
proto_h += gen_scanner_server.process(p)
proto_c += gen_scanner_impl.process(p)
endforeach
wayland_proto_c = proto_c

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save