~mdw
/
catacomb-perl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
infra: Add a copy of the GPL.
[catacomb-perl]
/
Makefile.PL
diff --git
a/Makefile.PL
b/Makefile.PL
index
b53a393
..
9d06e47
100644
(file)
--- a/
Makefile.PL
+++ b/
Makefile.PL
@@
-1,6
+1,6
@@
# -*-perl-*-
#
# -*-perl-*-
#
-# $Id
: Makefile.PL,v 1.1 2004/04/02 18:04:01 mdw Exp
$
+# $Id$
#
# Makefile for Catacomb/Perl
#
#
# Makefile for Catacomb/Perl
#
@@
-25,16
+25,20
@@
# along with Catacomb/Perl; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
# along with Catacomb/Perl; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-#----- Revision history -----------------------------------------------------
-#
-# $Log: Makefile.PL,v $
-# Revision 1.1 2004/04/02 18:04:01 mdw
-# Initial checkin.
-#
-
use ExtUtils::MakeMaker;
use Config;
use ExtUtils::MakeMaker;
use Config;
+sub pmfix {
+ my $h = {};
+ foreach my $i (@_) {
+ my $f = $i;
+ $f =~ s!::!/!;
+ $f .= ".pm";
+ $h->{$f} = "\$(INST_LIBDIR)/$f";
+ }
+ return $h;
+}
+
WriteMakefile(NAME => "Catacomb",
DISTNAME => "catacomb-perl",
AUTHOR => "Mark Wooding (mdw\@nsict.org)",
WriteMakefile(NAME => "Catacomb",
DISTNAME => "catacomb-perl",
AUTHOR => "Mark Wooding (mdw\@nsict.org)",
@@
-42,13
+46,19
@@
WriteMakefile(NAME => "Catacomb",
XS => { "catacomb.xs" => "catacomb.c" },
OBJECT => join(" ", grep { s/$/$Config{_o}/ }
@{[qw(algs mpstuff catacomb algstuff
XS => { "catacomb.xs" => "catacomb.c" },
OBJECT => join(" ", grep { s/$/$Config{_o}/ }
@{[qw(algs mpstuff catacomb algstuff
- pgproc utils)]}),
+
keystuff
pgproc utils)]}),
CONFIGURE => \&configure,
CONFIGURE => \&configure,
+ PM => pmfix(Catacomb, Catacomb::Base, Catacomb::Cache,
+ Catacomb::MP, Catacomb::Field, Catacomb::EC,
+ Catacomb::Group, Catacomb::GF, Catacomb::Rand,
+ Catacomb::Crypto, Catacomb::Key),
+ PERL_MALLOC_OK => 1,
PL_FILES => { 'algs.PL' => 'algs.c' },
depend => { '$(MAKEFILE)' => '$(VERSION_FROM)',
'catacomb.c' =>
join(" ", grep { s/$/.xs/ }
PL_FILES => { 'algs.PL' => 'algs.c' },
depend => { '$(MAKEFILE)' => '$(VERSION_FROM)',
'catacomb.c' =>
join(" ", grep { s/$/.xs/ }
- @{[qw(catacomb algorithms mp misc pgen)]})
+ @{[qw(catacomb algorithms mp field ec
+ gf misc pgen key group pubkey)]})
},
VERSION_FROM => "Catacomb.pm");
},
VERSION_FROM => "Catacomb.pm");