added suggested patch (via PM), tweaked to implicitly specify -DDEBUGGING
[p5sagit/p5-mst-13.2.git] / ext / re / Makefile.PL
CommitLineData
56953603 1use ExtUtils::MakeMaker;
2WriteMakefile(
3 NAME => 're',
4 VERSION_FROM => 're.pm',
5 MAN3PODS => ' ', # Pods will be built by installman.
6 XSPROTOARG => '-noprototypes',
7 OBJECT => 're_exec$(OBJ_EXT) re_comp$(OBJ_EXT) re$(OBJ_EXT)',
b9d5759e 8 DEFINE => '-DPERL_EXT_RE_BUILD',
782f0963 9 clean => { FILES => '*$(OBJ_EXT) *.c ../../lib/re.pm' },
56953603 10);
11
12sub MY::postamble {
13 return <<'EOF';
14re_comp.c: ../../regcomp.c
15e52e56 15 -$(RM_F) $@
56953603 16 $(CP) ../../regcomp.c $@
17
18re_exec.c: ../../regexec.c
15e52e56 19 -$(RM_F) $@
56953603 20 $(CP) ../../regexec.c $@
21
22EOF
23}