This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
threads 1.64 (repost)
[perl5.git] / ext / NDBM_File / Makefile.PL
CommitLineData
e82f3e3c 1use Config;
42793c05 2use ExtUtils::MakeMaker;
e82f3e3c
SP
3
4my $define = "";
5
6if($Config{i_gdbm} && $Config{i_gdbm} eq 'define') {
7 $define .= " -DHAS_GDBM";
8}
9
4ad3186e 10WriteMakefile(
1adb159c 11 NAME => 'NDBM_File',
4ad3186e 12 LIBS => ["-L/usr/local/lib -lndbm", "-ldbm -lucb"],
e82f3e3c 13 DEFINE => $define,
69158f75 14 MAN3PODS => {}, # Pods will be built by installman.
4ad3186e 15 XSPROTOARG => '-noprototypes', # XXX remove later?
c07a80fd 16 VERSION_FROM => 'NDBM_File.pm',
bf4acbe4 17 INC => ($^O eq "MacOS" ? "-i ::::db:include" : "")
4ad3186e 18);