summaryrefslogtreecommitdiffstats
path: root/src/perl/ui/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/perl/ui/meson.build')
-rw-r--r--src/perl/ui/meson.build35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/perl/ui/meson.build b/src/perl/ui/meson.build
new file mode 100644
index 0000000..26ef42e
--- /dev/null
+++ b/src/perl/ui/meson.build
@@ -0,0 +1,35 @@
+libperl_Irssi_UI_a = shared_module('UI',
+ [ xsubpp.process(
+ files(
+ 'Formats.xs',
+ 'Themes.xs',
+ 'UI.xs',
+ 'Window.xs',
+ ),
+ extra_args : [
+ '-typemap',
+ '../common/typemap',
+ ],
+ ) ]
+ + files(
+ 'module.h',
+ ),
+ name_prefix : '',
+ name_suffix : perl_module_suffix,
+ install : true,
+ install_dir : perlmoddir / 'auto' / 'Irssi' / 'UI',
+ include_directories : rootinc,
+ implicit_include_directories : true,
+ dependencies : dep + [ perl_dep ],
+ link_with : dl_cross_perl_core,
+)
+
+install_headers(
+ files(
+ 'UI.pm',
+ ),
+ install_dir : perlmoddir / 'Irssi',
+)
+
+# 'Makefile.PL.in',
+# 'typemap',