2019-03-25 09:33:03 +00:00
|
|
|
|
|
|
|
# Note: the list of immodules is in $(srcroot)/meson.build!
|
|
|
|
|
|
|
|
foreach l: immodules
|
|
|
|
name = l[0]
|
2019-03-30 15:21:21 +00:00
|
|
|
immod_sources = l[1]
|
2019-03-25 09:33:03 +00:00
|
|
|
cond = l.get(2, true)
|
|
|
|
cflags = l.get(3, [])
|
|
|
|
|
2019-04-05 05:48:56 +00:00
|
|
|
if cond and not builtin_immodules
|
2019-03-25 09:33:03 +00:00
|
|
|
shared_module('im-@0@'.format(name),
|
|
|
|
immod_sources,
|
2019-03-30 15:21:21 +00:00
|
|
|
c_args: common_cflags + cflags,
|
2019-03-25 09:33:03 +00:00
|
|
|
dependencies: [ libgtk_dep ],
|
|
|
|
install_dir: '@0@/gtk-@1@/@2@/immodules/'.format(gtk_libdir, gtk_api_version, gtk_binary_version),
|
|
|
|
include_directories: [confinc, gtkinc],
|
2019-03-30 12:34:24 +00:00
|
|
|
install : true,
|
|
|
|
name_prefix: '')
|
2019-03-25 09:33:03 +00:00
|
|
|
endif
|
2019-03-29 08:44:02 +00:00
|
|
|
endforeach
|