summaryrefslogtreecommitdiffabout
path: root/Makefile.PL
authorSergey Poznyakoff <gray@gnu.org>2018-07-03 12:01:55 (GMT)
committer Sergey Poznyakoff <gray@gnu.org>2018-07-03 12:01:55 (GMT)
commit3a1d5f8bdc29803fb7a6713515f2c0c332e379fc (patch) (side-by-side diff)
treef95c9240257bec56094b938541c80aa7b61c62f3 /Makefile.PL
downloadGDBM_File-3a1d5f8bdc29803fb7a6713515f2c0c332e379fc.tar.gz
GDBM_File-3a1d5f8bdc29803fb7a6713515f2c0c332e379fc.tar.bz2
Perl 5.28.0
Diffstat (limited to 'Makefile.PL') (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile.PL20
1 files changed, 20 insertions, 0 deletions
diff --git a/Makefile.PL b/Makefile.PL
new file mode 100644
index 0000000..2a44d3e
--- a/dev/null
+++ b/Makefile.PL
@@ -0,0 +1,20 @@
+use ExtUtils::MakeMaker;
+use ExtUtils::Constant 0.11 'WriteConstants';
+WriteMakefile(
+ NAME => 'GDBM_File',
+ LIBS => ["-lgdbm", "-ldbm"],
+ XSPROTOARG => '-noprototypes', # XXX remove later?
+ VERSION_FROM => 'GDBM_File.pm',
+ realclean => {FILES=> 'const-c.inc const-xs.inc'},
+ XS_VERSION => eval MM->parse_version('GDBM_File.pm'), #silence warnings if we are a dev release
+);
+WriteConstants(
+ NAME => 'GDBM_File',
+ DEFAULT_TYPE => 'IV',
+ BREAKOUT_AT => 8,
+ PROXYSUBS => {autoload => 1},
+ NAMES => [qw(GDBM_CACHESIZE GDBM_CENTFREE GDBM_COALESCEBLKS
+ GDBM_FAST GDBM_FASTMODE GDBM_INSERT GDBM_NEWDB GDBM_NOLOCK
+ GDBM_OPENMASK GDBM_READER GDBM_REPLACE GDBM_SYNC GDBM_SYNCMODE
+ GDBM_WRCREAT GDBM_WRITER)],
+);

Return to:

Send suggestions and report system problems to the System administrator.