home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / perl560.zip / ext / POSIX / Makefile.PL next >
Makefile  |  2000-03-22  |  440b  |  19 lines

  1. use ExtUtils::MakeMaker;
  2. use Config;
  3. my @libs;
  4. if ($^O ne 'MSWin32') {
  5.     if ($Config{archname} =~ /RM\d\d\d-svr4/) {
  6.     @libs = ('LIBS' => ["-lm -lc -lposix -lcposix"]);
  7.     }
  8.     else {
  9.     @libs = ('LIBS' => ["-lm -lposix -lcposix"]);
  10.     }
  11. }
  12. WriteMakefile(
  13.     NAME    => 'POSIX',
  14.     @libs,
  15.     MAN3PODS     => {},     # Pods will be built by installman.
  16.     XSPROTOARG => '-noprototypes',         # XXX remove later?
  17.     VERSION_FROM => 'POSIX.pm', 
  18. );
  19.