applied patch from Ilya, tweaked some to get clean static build of
[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)',
8 DEFINE => '-DDEBUGGING -DIN_XSUB_RE',
9);
10
11sub MY::postamble {
12 return <<'EOF';
13re_comp.c: ../../regcomp.c
14 -$(RM) $@
15 $(CP) ../../regcomp.c $@
16
17re_exec.c: ../../regexec.c
18 -$(RM) $@
19 $(CP) ../../regexec.c $@
20
21EOF
22}