Commit | Line | Data |
56953603 |
1 | use ExtUtils::MakeMaker; |
2 | WriteMakefile( |
3 | NAME => 're', |
4 | VERSION_FROM => 're.pm', |
69158f75 |
5 | MAN3PODS => {}, # Pods will be built by installman. |
56953603 |
6 | XSPROTOARG => '-noprototypes', |
7 | OBJECT => 're_exec$(OBJ_EXT) re_comp$(OBJ_EXT) re$(OBJ_EXT)', |
cad2e5aa |
8 | DEFINE => '-DPERL_EXT_RE_BUILD -DPERL_EXT_RE_DEBUG', |
782f0963 |
9 | clean => { FILES => '*$(OBJ_EXT) *.c ../../lib/re.pm' }, |
56953603 |
10 | ); |
11 | |
12 | sub MY::postamble { |
778ddebd |
13 | if ($^O eq 'VMS') { |
14 | return <<'VMS_EOF'; |
15 | re_comp.c : [--]regcomp.c |
16 | - $(RM_F) $(MMS$TARGET_NAME) |
17 | $(CP) [--]regcomp.c $(MMS$TARGET_NAME) |
18 | |
19 | re_comp$(OBJ_EXT) : re_comp.c |
20 | |
21 | re_exec.c : [--]regexec.c |
22 | - $(RM_F) $(MMS$TARGET_NAME) |
23 | $(CP) [--]regexec.c $(MMS$TARGET_NAME) |
24 | |
25 | re_exec$(OBJ_EXT) : re_exec.c |
26 | |
27 | |
28 | VMS_EOF |
29 | } else { |
56953603 |
30 | return <<'EOF'; |
31 | re_comp.c: ../../regcomp.c |
15e52e56 |
32 | -$(RM_F) $@ |
56953603 |
33 | $(CP) ../../regcomp.c $@ |
34 | |
35 | re_exec.c: ../../regexec.c |
15e52e56 |
36 | -$(RM_F) $@ |
56953603 |
37 | $(CP) ../../regexec.c $@ |
38 | |
39 | EOF |
778ddebd |
40 | } |
56953603 |
41 | } |