aboutsummaryrefslogtreecommitdiffstats
path: root/perl/Makefile.PL.in
blob: 0d70d427032681057e604dacfe00d8ae49913b3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
use ExtUtils::MakeMaker;
WriteMakefile(
    NAME         => 'Mail::Rspamd',
    AUTHOR       => 'Vsevolod Stakhov <vsevolod@rambler-co.ru>',
    XS           => { 'Rspamd.xs'  => 'Rspamd.c' },
    VERSION_FROM => 'Rspamd.pm', # finds $VERSION
    LIBS         => ['${GLIB_LDFLAGS} ${GMIME_LDFLAGS} -levent'],   # e.g., '-lm'
    DEFINE       => '',
    INC          => '${GLIB_CFLAGS} ${GMIME_CFLAGS}',
    PM		     => { 'Rspamd.pod' => '$(INST_LIBDIR)/Rspamd.pod',
     	              'Rspamd.pm' => '$(INST_LIBDIR)/Rspamd.pm'},
    depend       => {
	    'Rspamd.so'  => 'Rspamd.o',
	    'Rspamd.o'   => 'Rspamd.c',
	    'Rspamd.c'   => qw{
Rspamd/ContentType.xs            Rspamd/Part.xs                   Rspamd/Hash.xs
Rspamd/InternetAddress.xs        Rspamd/Message.xs                Rspamd/Object.xs
},
	},
);