home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextDeveloper / Source / GNU / perl / Perl / ext / SDBM_File / sdbm / Makefile.PL < prev    next >
Encoding:
Makefile  |  1995-02-22  |  519 b   |  29 lines

  1. use ExtUtils::MakeMaker;
  2. WriteMakefile(
  3.     'LINKTYPE'  => 'static',
  4.     'DEFINE'    => '-DSDBM -DDUFF',
  5.     'SKIP'    => [qw(static static_lib dynamic dynamic_lib)],
  6.     'clean'
  7.     => {'FILES' => 'dbu libsdbm.a dbd dba dbe x-dbu *.dir *.pag'},
  8.     'H' => [qw(tune.h sdbm.h pair.h $(PERL_INC)/config.h)],
  9.     'C' => [qw(sdbm.c pair.c hash.c)]
  10. );
  11.  
  12.  
  13. sub MY::top_targets {
  14.     '
  15. all :: static
  16.  
  17. static ::    libsdbm.a
  18.  
  19. config ::
  20.  
  21. libsdbm.a: $(O_FILES)
  22.     ar cr libsdbm.a $(O_FILES)
  23.     $(RANLIB) libsdbm.a
  24.  
  25. lint:
  26.     lint -abchx $(LIBSRCS)
  27. ';
  28. }
  29.