summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Crane <arc@cpan.org>2017-10-14 12:42:20 +0200
committerAaron Crane <arc@cpan.org>2017-10-14 12:45:19 +0200
commit8a59e4c377aff55886e983e031e5b7fcd0a281e6 (patch)
tree5daeae3bafc443479c3fe16533b3ef2924532e8b
parentb85413f2f7e3a987c10194a0773619f2538abf73 (diff)
downloadperl-8a59e4c377aff55886e983e031e5b7fcd0a281e6.tar.gz
Delete unused files from ext/SDBM_File
-rw-r--r--MANIFEST2
-rw-r--r--ext/SDBM_File/linux.patches67
-rw-r--r--ext/SDBM_File/makefile.sdbm55
3 files changed, 0 insertions, 124 deletions
diff --git a/MANIFEST b/MANIFEST
index d57a8e5165..2adf53dfa7 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -4218,9 +4218,7 @@ ext/SDBM_File/dbe.c SDBM kit
ext/SDBM_File/dbu.c SDBM kit
ext/SDBM_File/grind SDBM kit
ext/SDBM_File/hash.c SDBM kit
-ext/SDBM_File/linux.patches SDBM kit
ext/SDBM_File/Makefile.PL SDBM extension makefile writer
-ext/SDBM_File/makefile.sdbm SDBM kit
ext/SDBM_File/pair.c SDBM kit
ext/SDBM_File/pair.h SDBM kit
ext/SDBM_File/README SDBM kit
diff --git a/ext/SDBM_File/linux.patches b/ext/SDBM_File/linux.patches
deleted file mode 100644
index cb7b1b7d8e..0000000000
--- a/ext/SDBM_File/linux.patches
+++ /dev/null
@@ -1,67 +0,0 @@
-*** sdbm.dist/./dbu.c Mon Feb 17 21:18:52 1992
---- sdbm/./dbu.c Mon Feb 17 21:11:20 1992
-***************
-*** 12,18 ****
- #endif
-
- extern int getopt();
-! extern char *strchr();
- extern void oops();
-
- char *progname;
---- 12,18 ----
- #endif
-
- extern int getopt();
-! /* extern char *strchr(); */
- extern void oops();
-
- char *progname;
-*** sdbm.dist/./makefile Mon Feb 17 21:18:56 1992
---- sdbm/./makefile Mon Feb 17 21:10:46 1992
-***************
-*** 2,8 ****
- # makefile for public domain ndbm-clone: sdbm
- # DUFF: use duff's device (loop unroll) in parts of the code
- #
-! CFLAGS = -O -DSDBM -DDUFF -DBSD42
- #LDFLAGS = -p
-
- OBJS = sdbm.o pair.o hash.o
---- 2,8 ----
- # makefile for public domain ndbm-clone: sdbm
- # DUFF: use duff's device (loop unroll) in parts of the code
- #
-! CFLAGS = -O -DSDBM -DDUFF
- #LDFLAGS = -p
-
- OBJS = sdbm.o pair.o hash.o
-*** sdbm.dist/./sdbm.c Mon Feb 17 21:19:17 1992
---- sdbm/./sdbm.c Mon Feb 17 21:12:59 1992
-***************
-*** 25,30 ****
---- 25,31 ----
- #endif
- #include <errno.h>
- #include <string.h>
-+ #include <unistd.h>
-
- #ifdef __STDC__
- #include <stddef.h>
-***************
-*** 43,49 ****
-
- extern char *malloc proto((unsigned int));
- extern void free proto((void *));
-! extern long lseek();
-
- /*
- * forward
---- 44,50 ----
-
- extern char *malloc proto((unsigned int));
- extern void free proto((void *));
-! /* extern long lseek(); */
-
- /*
- * forward
diff --git a/ext/SDBM_File/makefile.sdbm b/ext/SDBM_File/makefile.sdbm
deleted file mode 100644
index c959c1fab5..0000000000
--- a/ext/SDBM_File/makefile.sdbm
+++ /dev/null
@@ -1,55 +0,0 @@
-#
-# makefile for public domain ndbm-clone: sdbm
-# DUFF: use duff's device (loop unroll) in parts of the code
-#
-CFLAGS = -O -DSDBM -DDUFF -DBSD42 -pic
-#LDFLAGS = -p
-
-OBJS = sdbm.o pair.o hash.o
-SRCS = sdbm.c pair.c hash.c dbu.c dba.c dbd.c util.c
-HDRS = tune.h sdbm.h pair.h
-MISC = README CHANGES COMPARE sdbm.3 dbe.c dbe.1 dbm.c dbm.h biblio \
- readme.ms readme.ps
-
-all: dbu dba dbd dbe
-
-dbu: dbu.o sdbm util.o
- cc $(LDFLAGS) -o dbu dbu.o util.o libsdbm.a
-
-dba: dba.o util.o
- cc $(LDFLAGS) -o dba dba.o util.o
-dbd: dbd.o util.o
- cc $(LDFLAGS) -o dbd dbd.o util.o
-dbe: dbe.o sdbm
- cc $(LDFLAGS) -o dbe dbe.o libsdbm.a
-
-sdbm: $(OBJS)
- ar cr libsdbm.a $(OBJS)
- ranlib libsdbm.a
-### cp libsdbm.a /usr/lib/libsdbm.a
-
-dba.o: sdbm.h
-dbu.o: sdbm.h
-util.o:sdbm.h
-
-$(OBJS): sdbm.h tune.h pair.h
-
-#
-# dbu using berkelezoid ndbm routines [if you have them] for testing
-#
-#x-dbu: dbu.o util.o
-# cc $(CFLAGS) -o x-dbu dbu.o util.o
-lint:
- lint -abchx $(SRCS)
-
-clean:
- rm -f *.o mon.out core
-
-purge: clean
- rm -f dbu libsdbm.a dbd dba dbe x-dbu *.dir *.pag
-
-shar:
- shar $(MISC) makefile $(SRCS) $(HDRS) >SDBM.SHAR
-
-readme:
- nroff -ms readme.ms | col -b >README