143003dfeSmillertuse ExtUtils::MakeMaker; 2*898184e3Ssthenuse ExtUtils::Constant 0.23 'WriteConstants'; 343003dfeSmillertWriteMakefile( 443003dfeSmillert NAME => 'File::Glob', 543003dfeSmillert VERSION_FROM => 'Glob.pm', 643003dfeSmillert OBJECT => 'bsd_glob$(OBJ_EXT) Glob$(OBJ_EXT)', 743003dfeSmillert realclean => {FILES=> 'const-c.inc const-xs.inc'}, 843003dfeSmillert 943003dfeSmillert## uncomment for glob debugging (will cause make test to fail) 1043003dfeSmillert# DEFINE => '-DGLOB_DEBUG', 1143003dfeSmillert# OPTIMIZE => '-g', 1243003dfeSmillert); 1343003dfeSmillertuse Config; 1443003dfeSmillertsub MY::cflags { 1543003dfeSmillert package MY; 1643003dfeSmillert my $inherited = shift->SUPER::cflags(@_); 1743003dfeSmillert if ($Config::Config{archname} =~ /^aix/ and 1843003dfeSmillert $Config::Config{use64bitall} eq 'define') { 1943003dfeSmillert $inherited =~ s/\s-O\d?//m; 2043003dfeSmillert } 2143003dfeSmillert $inherited; 2243003dfeSmillert} 2343003dfeSmillert 2443003dfeSmillertWriteConstants( 25*898184e3Ssthen PROXYSUBS => {autoload => 1}, 2643003dfeSmillert NAME => 'File::Glob', 2743003dfeSmillert NAMES => [qw(GLOB_ABEND GLOB_ALPHASORT GLOB_ALTDIRFUNC GLOB_BRACE GLOB_ERR 2843003dfeSmillert GLOB_LIMIT GLOB_MARK GLOB_NOCASE GLOB_NOCHECK GLOB_NOMAGIC 2943003dfeSmillert GLOB_NOSORT GLOB_NOSPACE GLOB_QUOTE GLOB_TILDE), 30*898184e3Ssthen {name => 'GLOB_CSH', 31*898184e3Ssthen value => 'GLOB_BRACE|GLOB_NOMAGIC|GLOB_QUOTE|GLOB_TILDE|GLOB_ALPHASORT', 32*898184e3Ssthen macro => 1}, 33*898184e3Ssthen ], 3443003dfeSmillert BREAKOUT_AT => 8, 3543003dfeSmillert); 36