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