This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
xsubpp incorrectly handles 'class::newthing()'
[perl5.git] / ext / SDBM_File / sdbm / Makefile.PL
CommitLineData
42793c05
TB
1use ExtUtils::MakeMaker;
2WriteMakefile(
74767600
PP
3 NAME => 'SDBM_File/sdbm', # doesn't matter what the name is here
4 LINKTYPE => 'static',
5 DEFINE => '-DSDBM -DDUFF',
6 SKIP => [qw(static static_lib dynamic dynamic_lib)],
7 clean => {'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}