This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
second arg to mkdir is MODE, not MASK
[perl5.git] / ext / SDBM_File / Makefile.PL
1 use strict; use warnings;
2 use ExtUtils::MakeMaker;
3
4 my $define = '-DSDBM -DDUFF';
5
6 my $dirfext = $^O eq 'VMS' ? '.sdbm_dir' : '.dir';
7
8 WriteMakefile(
9     NAME      => 'SDBM_File',
10     VERSION_FROM => 'SDBM_File.pm',
11     DEFINE    => $define,
12     INC       => '-I$(PERL_INC)', # force PERL_INC dir ahead of system -I's
13     OBJECT    => '$(O_FILES)',
14     clean     => {'FILES' => "dbu dbd dba dbe x-dbu *${dirfext} *.pag"},
15     H         => [qw(tune.h sdbm.h pair.h $(PERL_INC)/config.h)],
16     C         => [qw(SDBM_File.c sdbm.c pair.c hash.c)],
17 );