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') {
10 $myextlib = 'sdbm\\libsdbm$(LIB_EXT)';
11 } elsif ($^O eq 'VMS') {
12 $myextlib = 'sdbm/libsdbm$(LIB_EXT)';
14 $myextlib = 'sdbm/libsdbm$(LIB_EXT)';
19 MYEXTLIB => $myextlib,
20 MAN3PODS => ' ', # Pods will be built by installman.
21 XSPROTOARG => '-noprototypes', # XXX remove later?
22 VERSION_FROM => 'SDBM_File.pm',
24 # NORECURS => $^O eq 'VMS',
25 # SKIP => $^O eq 'VMS' ? 'subdirs' : '', # Don't do the subdirs section for VMS
31 $(MYEXTLIB): sdbm/Makefile
32 cd sdbm && $(MAKE) all
36 $(MYEXTLIB): [.sdbm]descrip.mms