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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
|
*** sam/Makefile.orig Mon Jul 31 15:45:40 1995
--- sam/Makefile Mon Jul 31 15:46:24 1995
***************
*** 1,18 ****
# Copyright (c) 1992 AT&T - All rights reserved.
#
! # Prototype Makefile for sam
#
- # define operating system. ONE of:
- # -DIRIX -DSUNOS -DUMIPS -DSYSVR3 -DAIX -DOSF1
- # -DHPUX -DAPOLLO -DCONVEX -DDYNIX
- #
# Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified
# if your compiler supports posix-compatible compilation
! OS=-DIRIX -ansiposix
# add -Iincludedir for any include directories that need to be searched
# for posix header files (for UMIPS, add -I/usr/include/posix)
! INCS=-I../include
# Set the name of the environment variable containing the user's home directory
HOMEDIR=HOME
--- 1,17 ----
# Copyright (c) 1992 AT&T - All rights reserved.
#
! # Prototype BSDi Makefile for sam
! # Courtesy of Boyd Roberts
! #
! # Define operating system type: -DBSDi
#
# Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified
# if your compiler supports posix-compatible compilation
! OS=-DBSDi -O2
# add -Iincludedir for any include directories that need to be searched
# for posix header files (for UMIPS, add -I/usr/include/posix)
! INCS=-I../include -I/usr/include/posix
# Set the name of the environment variable containing the user's home directory
HOMEDIR=HOME
***************
*** 22,33 ****
# where sam is to be installed. SAMSAVEDIR is the name of the directory
# where the samsave file restoration script is stored.
RSAMNAME=sam
! TERMNAME=/v/bin/samterm
! SAMDIR=/usr/bin
! SAMSAVEDIR=/v/bin
# Set TMP to a good place for tmp files (with lots of room)
! TMP=/usr/tmp
# Set SHELLNAME and SHELLPATH to the name of a shell and the pathname
# of its executable
--- 21,32 ----
# where sam is to be installed. SAMSAVEDIR is the name of the directory
# where the samsave file restoration script is stored.
RSAMNAME=sam
! TERMNAME=$(PREFIX)/bin/samterm
! SAMDIR=$(PREFIX)/bin
! SAMSAVEDIR=$(PREFIX)/bin
# Set TMP to a good place for tmp files (with lots of room)
! TMP=/var/tmp
# Set SHELLNAME and SHELLPATH to the name of a shell and the pathname
# of its executable
***************
*** 37,43 ****
# Set RXNAME and RXPATHNAME to the name of the remote execution command
# and the pathname of its executable
RXNAME=rsh
! RXPATHNAME=/usr/bsd/rsh
SAMSAVE=/bin/sh\\n$(SAMSAVEDIR)/samsave
--- 36,42 ----
# Set RXNAME and RXPATHNAME to the name of the remote execution command
# and the pathname of its executable
RXNAME=rsh
! RXPATHNAME=/usr/bin/rsh
SAMSAVE=/bin/sh\\n$(SAMSAVEDIR)/samsave
***************
*** 68,76 ****
rm -f sam
install: sam
! cp sam $(SAMDIR)/$(RSAMNAME)
! cp samsave $(SAMSAVEDIR)/samsave
! chmod +x samsave
$(OBJ): sam.h ../include/u.h ../include/libc.h errors.h mesg.h
--- 67,76 ----
rm -f sam
install: sam
! $(INSTALL) -c sam $(SAMDIR)/$(RSAMNAME)
! $(INSTALL) -c samsave $(SAMSAVEDIR)/samsave
! $(INSTALL) -c B.rc $(SAMDIR)/B
! chmod +x $(SAMSAVEDIR)/samsave
$(OBJ): sam.h ../include/u.h ../include/libc.h errors.h mesg.h
*** sam/B.rc.orig Mon Jul 31 15:45:31 1995
--- sam/B.rc Mon Jul 31 15:47:10 1995
***************
*** 1,4 ****
! #!/bin/rc
files=()
line=''
--- 1,4 ----
! #!/usr/local/bin/rc
files=()
line=''
|