Lines 1-78
Link Here
|
1 |
--- Makefile.orig Sat Dec 13 09:34:59 1997 |
|
|
2 |
+++ Makefile Mon Aug 10 10:45:21 1998 |
3 |
@@ -1,6 +1,6 @@ |
4 |
# This is the makefile for BSD UNIX |
5 |
#CFLAGS= -g -DUNIX |
6 |
-CFLAGS= -O2 -DUNIX |
7 |
+CFLAGS+= -DUNIX -DBSD |
8 |
CC=gcc |
9 |
|
10 |
OFILES= basic.o ebcdic.o fileio.o region.o text.o wangpc.o \ |
11 |
@@ -16,10 +16,16 @@ |
12 |
|
13 |
HFILES= def.h prototyp.h |
14 |
|
15 |
-beav: $(OFILES) |
16 |
- $(CC) $(CFLAGS) $(OFILES) -lncurses -o beav |
17 |
+all beav: $(OFILES) |
18 |
+ $(CC) $(CFLAGS) $(OFILES) -ltermcap -o beav |
19 |
+ |
20 |
+install: beav |
21 |
+ $(BSD_INSTALL_PROGRAM) beav $(PREFIX)/bin |
22 |
+ mkdir -p $(PREFIX)/share/doc/beav |
23 |
+ $(BSD_INSTALL_DATA) beav140.txt $(PREFIX)/share/doc/beav/beav.txt |
24 |
+ $(BSD_INSTALL_MAN) beav.1 $(PREFIX)/man/man1 |
25 |
|
26 |
clean: |
27 |
rm -f *.o beav |
28 |
|
29 |
-(OFILES): $(HFILES) |
30 |
+$(OFILES): $(HFILES) |
31 |
*** beav-140.orig/termio.c Wed Nov 30 18:43:35 1994 |
32 |
--- termio.c Sat Jul 1 17:56:09 1995 |
33 |
*************** |
34 |
*** 12,17 **** |
35 |
--- 12,20 ---- |
36 |
#include <signal.h> |
37 |
#ifdef BSD |
38 |
#include <sys/ioctl.h> |
39 |
+ #if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) |
40 |
+ #include <sys/ioctl_compat.h> |
41 |
+ #endif |
42 |
#else |
43 |
#ifdef OS2 |
44 |
#ifndef __EMX__ |
45 |
*** beav-140.orig/tcap.c Sat Jul 1 18:32:02 1995 |
46 |
--- tcap.c Sat Jul 1 18:24:29 1995 |
47 |
*************** |
48 |
*** 38,44 **** |
49 |
|
50 |
#ifdef BSD |
51 |
#include <sys/ioctl.h> |
52 |
! struct winsize ttysize; |
53 |
#endif /* BSD */ |
54 |
#ifdef ULTRIX |
55 |
struct winsize ttysize; |
56 |
--- 38,44 ---- |
57 |
|
58 |
#ifdef BSD |
59 |
#include <sys/ioctl.h> |
60 |
! struct ttysize ttysize; |
61 |
#endif /* BSD */ |
62 |
#ifdef ULTRIX |
63 |
struct winsize ttysize; |
64 |
*** beav-140.orig/beav.1 Sun Mar 3 03:13:16 1996 |
65 |
--- beav.1 Sun Mar 3 03:14:31 1996 |
66 |
*************** |
67 |
*** 59,63 **** |
68 |
If there is any data that has not been saved you will be warned. |
69 |
.PP |
70 |
.SH FILES |
71 |
! /usr/doc/beav/beav.txt |
72 |
|
73 |
--- 59,63 ---- |
74 |
If there is any data that has not been saved you will be warned. |
75 |
.PP |
76 |
.SH FILES |
77 |
! /usr/local/share/doc/beav/beav.txt |
78 |
|