2000-06-25 14:31:11 +00:00
|
|
|
# $FreeBSD$
|
1998-09-09 07:00:04 +00:00
|
|
|
use ExtUtils::MakeMaker;
|
2000-06-25 14:31:11 +00:00
|
|
|
use Config;
|
|
|
|
my @libs;
|
|
|
|
if ($^O ne 'MSWin32') {
|
|
|
|
if ($Config{archname} =~ /RM\d\d\d-svr4/) {
|
|
|
|
@libs = ('LIBS' => ["-lm -lc -lposix -lcposix"]);
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
@libs = ('LIBS' => ["-lm -lposix -lcposix"]);
|
|
|
|
}
|
|
|
|
}
|
1998-09-09 07:00:04 +00:00
|
|
|
WriteMakefile(
|
|
|
|
NAME => 'POSIX',
|
2000-06-25 14:31:11 +00:00
|
|
|
@libs,
|
1999-05-02 15:18:32 +00:00
|
|
|
MAN3PODS => {}, # Pods will be built by installman.
|
1998-09-09 07:00:04 +00:00
|
|
|
XSPROTOARG => '-noprototypes', # XXX remove later?
|
|
|
|
VERSION_FROM => 'POSIX.pm',
|
|
|
|
);
|