1 use ExtUtils::MakeMaker;
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.
8 $define = ($^O eq 'MSWin32') ? '-DMSDOS' : '';
9 if ($^O eq 'MSWin32') { $myextlib = 'sdbm\\libsdbm$(LIB_EXT)'; }
10 else { $myextlib = 'sdbm/libsdbm$(LIB_EXT)'; }
14 MYEXTLIB => $myextlib,
15 MAN3PODS => {}, # Pods will be built by installman.
16 XSPROTOARG => '-noprototypes', # XXX remove later?
17 VERSION_FROM => 'SDBM_File.pm',
25 $(MYEXTLIB): sdbm/Makefile
26 cd sdbm && $(MAKE) all
30 $(MYEXTLIB) : [.sdbm]descrip.mms