summaryrefslogtreecommitdiffstats
path: root/src/perl/irc/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/perl/irc/meson.build')
-rw-r--r--src/perl/irc/meson.build41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/perl/irc/meson.build b/src/perl/irc/meson.build
new file mode 100644
index 0000000..c83d4b4
--- /dev/null
+++ b/src/perl/irc/meson.build
@@ -0,0 +1,41 @@
+libperl_Irssi_Irc_a = shared_module('Irc',
+ [ xsubpp.process(
+ files(
+ 'Channel.xs',
+ 'Client.xs',
+ 'Ctcp.xs',
+ 'Dcc.xs',
+ 'Irc.xs',
+ 'Modes.xs',
+ 'Netsplit.xs',
+ 'Notifylist.xs',
+ 'Query.xs',
+ 'Server.xs',
+ ),
+ extra_args : [
+ '-typemap',
+ '../common/typemap',
+ ],
+ ) ]
+ + files(
+ 'module.h',
+ ),
+ name_prefix : '',
+ name_suffix : perl_module_suffix,
+ install : true,
+ install_dir : perlmoddir / 'auto' / 'Irssi' / 'Irc',
+ include_directories : rootinc,
+ implicit_include_directories : true,
+ dependencies : dep + [ perl_dep ],
+ link_with : dl_cross_perl_core,
+)
+
+install_headers(
+ files(
+ 'Irc.pm',
+ ),
+ install_dir : perlmoddir / 'Irssi',
+)
+
+# 'Makefile.PL.in',
+# 'typemap',