blob: a64cb13e292dd87fc0cb6e4e6de88504599c5c29 (
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(
NAME => 'SDBM_File/sdbm', # doesn't matter what the name is here
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$(LIB_EXT)
config ::
libsdbm$(LIB_EXT): $(O_FILES)
$(AR) cr libsdbm$(LIB_EXT) $(O_FILES)
$(RANLIB) libsdbm$(LIB_EXT)
lint:
lint -abchx $(LIBSRCS)
';
}
|