This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl 5.003: INSTALL
[perl5.git] / ext / SDBM_File / sdbm / Makefile.PL
CommitLineData
42793c05
TB
1use ExtUtils::MakeMaker;
2WriteMakefile(
3 'LINKTYPE' => 'static',
4 'DEFINE' => '-DSDBM -DDUFF',
5 'SKIP' => [qw(static static_lib dynamic dynamic_lib)],
6 'clean'
40000a8c
AD
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)]
42793c05
TB
10);
11
12
13sub MY::top_targets {
14 '
42793c05
TB
15all :: static
16
4633a7c4 17static :: libsdbm$(LIB_EXT)
42793c05 18
42793c05
TB
19config ::
20
4633a7c4
LW
21libsdbm$(LIB_EXT): $(O_FILES)
22 $(AR) cr libsdbm$(LIB_EXT) $(O_FILES)
23 $(RANLIB) libsdbm$(LIB_EXT)
40000a8c 24
42793c05
TB
25lint:
26 lint -abchx $(LIBSRCS)
27';
28}