summaryrefslogtreecommitdiffstats
path: root/databases/typhoon/files/patch-af
blob: 7c251ee8f4852bebd05360e8d4b85f5f54e4e254 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
--- src/Makefile.in.orig	Mon May 22 01:47:27 1995
+++ src/Makefile.in	Sat Nov 18 03:21:22 2000
@@ -6,15 +6,15 @@
 CC		= @cc@
 CFLAGS		= @cflags@
 RANLIB		= @ranlib@
-PREFIX		= /usr/local
-DESTLIB		= $(PREFIX)/lib
-DESTHDR		= $(PREFIX)/include
-DESTOWN		= root
-DESTGRP		= local
+SHLIB_MAJOR	= 1
+SHLIB_MINOR	= 10
+LIBDIR		= $(PREFIX)/lib
+LIBOWN		= bin
+LIBGRP		= bin
 SHELL		= /bin/sh
-LIBRARY		= libtyphoon.a
+LIB		= typhoon
 LIBHDRS		= ../include/environ.h ../include/typhoon.h
-LIBID		= TYPHOON 1.0 $(DESTLIB)/$(LIBRARY)
+
 SRCS		= bt_del.c bt_funcs.c bt_io.c bt_open.c cmpfuncs.c os.c \
 		  readdbd.c record.c ty_auxfn.c ty_find.c ty_ins.c \
 		  ty_io.c ty_log.c ty_open.c ty_refin.c ty_repl.c \
@@ -27,67 +27,4 @@
 		  ty_repl.o ty_util.o unix.o vlr.o ansi.o sequence.o
 UNUSED		= dos.c os2.c ty_lock.c
 
-.DEFAULT:
-		co $@
-
-.PHONY:		all lint tags install uninstall clean
-
-.c.o:
-		$(CC) -c $(CFLAGS) $<
-#		-mcs -d -a '@(#)$(LIBID)' $@
-
-all:		$(LIBRARY)
-
-$(LIBRARY):	$(OBJS)
-		ar cru $(LIBRARY) $(OBJS)
-		$(RANLIB) $(LIBRARY)
-
-#catalog.dbd:	catalog.ddl
-#		ddlp -f -hcatalog.h -a4 catalog
-
-lint:
-		lint -u $(DEFINES) $(SRCS)
-
-tags:		$(HDRS) $(SRCS)
-		ctags -w $(HDRS) $(SRCS)
-
-install:	$(LIBRARY)
-		cp $(LIBRARY) $(DESTLIB)
-		-ranlib $(DESTLIB)/$(LIBRARY)
-		chmod 644 $(DESTLIB)/$(LIBRARY)
-		chown $(DESTOWN) $(DESTLIB)/$(LIBRARY)
-		chgrp $(DESTGRP) $(DESTLIB)/$(LIBRARY)
-		cp $(LIBHDRS) $(DESTHDR)
-		cd $(DESTHDR) && chmod 644 $(LIBHDRS)
-		cd $(DESTHDR) && chown $(DESTOWN) $(LIBHDRS)
-		cd $(DESTHDR) && chgrp $(DESTGRP) $(LIBHDRS)
-
-uninstall:
-		rm -f $(DESTLIB)/$(LIBRARY)
-		cd $(DESTHDR) && rm -f $(LIBHDRS)
-
-clean:
-		-rcsclean -u
-		-rm -f $(LIBRARY) $(OBJS)
-		-rm -f Makefile lib.a tags made *.o
-
-### Do NOT edit this or the following lines.
-bt_del.o:	ty_dbd.h ty_type.h ty_prot.h ty_glob.h btree.h
-bt_funcs.o:	ty_dbd.h ty_type.h ty_prot.h ty_glob.h btree.h
-bt_io.o:	ty_dbd.h ty_type.h btree.h
-bt_open.o:	ty_dbd.h ty_type.h ty_prot.h ty_glob.h btree.h
-cmpfuncs.o:	ty_dbd.h ty_type.h ty_glob.h ty_prot.h
-readdbd.o:	ty_dbd.h ty_type.h ty_glob.h
-record.o:	ty_dbd.h ty_type.h ty_prot.h ty_glob.h
-ty_auxfn.o:	ty_dbd.h ty_type.h ty_glob.h ty_prot.h
-ty_find.o:	ty_dbd.h ty_type.h ty_glob.h ty_prot.h
-ty_ins.o:	ty_dbd.h ty_type.h ty_glob.h ty_prot.h
-ty_io.o:	ty_dbd.h ty_type.h ty_glob.h ty_prot.h
-ty_log.o:	ty_dbd.h ty_type.h ty_glob.h ty_prot.h ty_log.h
-ty_open.o:	ty_dbd.h ty_type.h ty_glob.h ty_prot.h
-ty_refin.o:	ty_dbd.h ty_type.h ty_glob.h ty_prot.h
-ty_repl.o:	ty_dbd.h ty_type.h ty_glob.h ty_prot.h ty_repif.h catalog.h
-ty_util.o:	ty_dbd.h ty_type.h ty_glob.h ty_prot.h
-unix.o:		ty_dbd.h ty_type.h
-vlr.o:		ty_dbd.h ty_type.h ty_prot.h ty_glob.h
-sequence.o:	ty_dbd.h ty_type.h ty_prot.h ty_glob.h
+.include <bsd.lib.mk>
OpenPOWER on IntegriCloud