84107e6ca8
under Unix and passes some trivial tests I've now added. But the whole stuff is horribly incomplete, so a README.1ST with a disclaimer was added to make sure no one expects that this stuff really works in the OpenSSL 0.9.2 release. Additionally I've started to clean the XS sources up and fixed a few little bugs and inconsistencies in OpenSSL.{pm,xs} and openssl_bio.xs. PS: I'm still not convinces whether we should try to make this finally running or kick it out and replace it with some other module....
42 lines
1.3 KiB
Perl
42 lines
1.3 KiB
Perl
##
|
|
## Makefile.PL -- Perl MakeMaker specification
|
|
##
|
|
|
|
$V = '0.9.2';
|
|
print "Configuring companion Perl module for OpenSSL $V\n";
|
|
|
|
use ExtUtils::MakeMaker;
|
|
|
|
WriteMakefile(
|
|
'OPTIMIZE' => '',
|
|
'DISTNAME' => "openssl-$V",
|
|
'NAME' => 'OpenSSL',
|
|
'VERSION_FROM' => 'OpenSSL.pm',
|
|
'LIBS' => ( $^O eq 'MSWin32'
|
|
? [ '-L../out32dll -lssleay32 -llibeay32' ]
|
|
: [ '-L.. -lssl -lcrypto' ] ),
|
|
'DEFINE' => '',
|
|
'INC' => '-I../include',
|
|
'H' => ['openssl.h'],
|
|
'C' => ['openssl_cb.c'],
|
|
'OBJECT' =>
|
|
'OpenSSL.o ' .
|
|
'openssl_bio.o ' .
|
|
'openssl_bn.o ' .
|
|
'openssl_cipher.o ' .
|
|
'openssl_digest.o ' .
|
|
'openssl_err.o ' .
|
|
'openssl_ssl.o ' .
|
|
'openssl_x509.o ',
|
|
'XS' => {
|
|
'OpenSSL.xs' => 'OpenSSL.c',
|
|
'openssl_bio.xs' => 'openssl_bio.c',
|
|
'openssl_bn.xs' => 'openssl_bn.c',
|
|
'openssl_cipher.xs' => 'openssl_cipher.c',
|
|
'openssl_digest.xs' => 'openssl_digest.c',
|
|
'openssl_err.xs' => 'openssl_err.c',
|
|
'openssl_ssl.xs' => 'openssl_ssl.c',
|
|
'openssl_x509.xs' => 'openssl_x509.c',
|
|
},
|
|
);
|
|
|