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