blob: 1978199bd433b4a2971c2a7b2d8ec190e7d99289 (
plain) (
blame)
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
|
--- Makefile.orig Sat Feb 12 02:38:25 1994
+++ Makefile Fri Jan 24 18:01:12 1997
@@ -35,16 +35,19 @@
name = ss
NAME = SS
+# Installation prefix.
+ PREFIX ?=/usr/local
+
# This is where the install step puts the executables.
- EXDIR = /usr/local/bin
+ EXDIR = $(PREFIX)/bin
# This is where the man page goes, also what the extention and permissions are.
- MANDIR = /usr/local/man/man1
+ MANDIR = $(PREFIX)/man/man1
MANEXT = 1
MANMODE = 644
# This is where the library file (tutorial) goes.
- LIBDIR = /usr/local/lib/$(name)
+ LIBDIR = $(PREFIX)/lib/$(name)
# Variables which are NOT commonly changed.
#---------------------------------------------------------------------------
@@ -56,9 +59,9 @@
# some other yacc. Some systems don't allow you to
# increase the number of terminals (mostly AT&T), SCO's does though.
# NOTE: Do not use with bison 1.16! Get a new version...
-# YACC =yacc
+ YACC =yacc
# YACC =bison -y -d
- YACC =bison -y
+# YACC =bison -y
# MS-DOS needs y_tab instead of the normal y.tab
# YTAB =y_tab
@@ -75,8 +78,8 @@
# of the general case is in the next section: "SYSTEM DEFINES"
CC = gcc # Default compiler
- LIB = -lm -lcurses # Default needed libraries
- CFLAGS = -O # Default cc flags
+ LIB = -lm -lcurses -ltermcap -lcompat
+ CFLAGS += -O -DBSD43 # Default cc flags
LDFLAGS = # Default ld flags
# *** SPECIAL NOTES ***
@@ -214,9 +217,9 @@
# CFLAGS = -O -DSYSV3
### Using gcc 2.*
- CFLAGS = -O -DSYSV3 -I/usr/5include
+# CFLAGS = -O -DSYSV3 -I/usr/5include
##CFLAGS = -g -DSYSV3 -I/usr/5include
- LDFLAGS = -L/usr/5lib
+# LDFLAGS = -L/usr/5lib
# Ultrix Systems (preliminary - Ultrix V4.2a, Rev. 47)
#- - - - - - - - - - - - - - - - - - - -
|