summaryrefslogtreecommitdiff
path: root/source4/pidl/Makefile.PL
blob: 8167cfd6f8c1b9517ea885b1336411b21dbaa076 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use ExtUtils::MakeMaker;
WriteMakefile(
    'NAME'	=> 'Parse::Pidl',
    'VERSION_FROM' => 'lib/Parse/Pidl.pm',
	'EXE_FILES' => [ 'pidl' ],
	'test' => { 'TESTS' => 'tests/*.pl' },
	'PMLIBDIRS' => [ 'lib/Parse/Pidl']
);

sub MY::postamble {
<<'EOT';
lib/Parse/Pidl/IDL.pm: idl.yp
	yapp -m 'Parse::Pidl::IDL' -o lib/Parse/Pidl/IDL.pm idl.yp

lib/Parse/Pidl/Expr.pm: expr.yp
	yapp -m 'Parse::Pidl::Expr' -o lib/Parse/Pidl/Expr.pm expr.yp
EOT
}