home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / perl-5.003-base.tgz / perl-5.003-base.tar / fsf / perl / ext / SDBM_File / Makefile.PL next >
Makefile  |  1996-06-23  |  581b  |  24 lines

  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.  
  24.