[differences between cumulative patch application and perl5.004_01]
[p5sagit/p5-mst-13.2.git] / ext / SDBM_File / Makefile.PL
CommitLineData
42793c05 1use 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
3e3baf6d 8$define = ($^O eq 'MSWin32') ? '-DMSDOS' : '';
137443ea 9
42793c05 10WriteMakefile(
1adb159c 11 NAME => 'SDBM_File',
3e3baf6d 12 MYEXTLIB => 'sdbm'.($^O eq 'MSWin32' ? '\\' : '/').'libsdbm$(LIB_EXT)',
4ad3186e 13 MAN3PODS => ' ', # Pods will be built by installman.
14 XSPROTOARG => '-noprototypes', # XXX remove later?
c07a80fd 15 VERSION_FROM => 'SDBM_File.pm',
137443ea 16 DEFINE => $define,
42793c05 17);
18
19
20sub MY::postamble {
21 '
22$(MYEXTLIB): sdbm/Makefile
137443ea 23 cd sdbm && $(MAKE) all
42793c05 24';
25}
26