Add cast to malloc to calm cc when system headers decalre int malloc()
[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     NAME        => 'SDBM_File',
10     MYEXTLIB => 'sdbm/libsdbm$(LIB_EXT)',
11     MAN3PODS    => ' ',         # Pods will be built by installman.
12     XSPROTOARG => '-noprototypes',              # XXX remove later?
13     VERSION_FROM => 'SDBM_File.pm',
14 );
15
16
17 sub MY::postamble {
18     '
19 $(MYEXTLIB): sdbm/Makefile
20         cd sdbm; $(MAKE) all
21 ';
22 }
23