perl 5.002beta2 patch
[p5sagit/p5-mst-13.2.git] / ext / SDBM_File / Makefile.PL
1 use ExtUtils::MakeMaker;
2
3 # The existence of the ./sdbm/Makefile.PL file causes MakeMaker
4 # to automatically include Makefile code for the targets
5 #       config, all, clean, realclean and sdbm/Makefile
6 # which perform the corresponding actions in the subdirectory.
7
8 WriteMakefile(
9     MYEXTLIB => 'sdbm/libsdbm$(LIB_EXT)',
10     MAN3PODS    => ' ',         # Pods will be built by installman.
11     XSPROTOARG => '-noprototypes',              # XXX remove later?
12 );
13
14
15 sub MY::postamble {
16     '
17 $(MYEXTLIB): sdbm/Makefile
18         cd sdbm; $(MAKE) all
19 ';
20 }
21