home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / perl560.zip / ext / File / Glob / Makefile.PL < prev   
Makefile  |  2000-02-28  |  568b  |  22 lines

  1. use ExtUtils::MakeMaker;
  2. WriteMakefile(
  3.     NAME        => 'File::Glob',
  4.     VERSION_FROM    => 'Glob.pm',
  5.     MAN3PODS        => {},     # Pods will be built by installman.
  6.     OBJECT        => 'bsd_glob$(OBJ_EXT) Glob$(OBJ_EXT)',
  7.  
  8. ## uncomment for glob debugging (will cause make test to fail)
  9. #   DEFINE        => '-DGLOB_DEBUG',
  10. #   OPTIMIZE        => '-g',
  11. );
  12. use Config;
  13. sub MY::cflags {
  14.   package MY;
  15.   my $inherited = shift->SUPER::cflags(@_);
  16.   if ($Config::Config{archname} =~ /^aix/ and 
  17.       $Config::Config{use64bitall} eq 'define') {
  18.     $inherited =~ s/\s-O\d?//m;
  19.   }
  20.   $inherited;
  21. }
  22.