diff options
Diffstat (limited to 'src/perl/common/meson.build')
-rw-r--r-- | src/perl/common/meson.build | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/perl/common/meson.build b/src/perl/common/meson.build new file mode 100644 index 0000000..4162756 --- /dev/null +++ b/src/perl/common/meson.build @@ -0,0 +1,40 @@ + +libperl_Irssi_a = shared_module('Irssi', + [ xsubpp.process( + files( + 'Channel.xs', + 'Core.xs', + 'Expando.xs', + 'Ignore.xs', + 'Irssi.xs', + 'Log.xs', + 'Masks.xs', + 'Query.xs', + 'Rawlog.xs', + 'Server.xs', + 'Settings.xs', + ) + ) ] + + files( + 'module.h', + ) + + [ irssi_version_h ], + name_prefix : '', + name_suffix : perl_module_suffix, + install : true, + install_dir : perlmoddir / 'auto' / 'Irssi', + include_directories : rootinc, + implicit_include_directories : true, + dependencies : dep + [ perl_dep ], + link_with : dl_cross_perl_core, +) + +install_headers( + files( + 'Irssi.pm', + ), + install_dir : perlmoddir, +) + +# 'Makefile.PL.in', +# 'typemap', |