blob: 583154074d9caf45bb8387832eec1ca3faf26366 (
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
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
|
# $Header: Makefile,v 1.1 88/01/15 12:13:57 simpson Rel $
# $Log: Makefile,v $
#Revision 1.1 88/01/15 12:13:57 simpson
#initial release
#
#Revision 0.1 87/12/11 16:49:12 simpson
#beta test
#
CFLAGS=-O
LDFLAGS=-s
# Location to put system include files
INCLUDE=/usr/include/local
# Location to put lpr filters
FILTER=/usr/local/lib/lpr
# Location to put libraries
LIB=/usr/local/lib
# Location of TeX fonts (write-write and write-black)
WBTEXFONT=/usr/lib/tex/imagenfonts
WWTEXFONT=/usr/lib/tex/qmsfonts
# Location to put troff font width tables
OTROFFFONT=/usr/lib/font
# Location to put ditroff font width tables
DITROFFFONT=/usr/lib/font/devqms
# Location to put executable programs
BINARIES=/usr/local/bin
# User to switch to if from a remote host
DOCILEUSER=games
all:
for i in standard libtrw libglob libprofile libqmsquery man src \
wbfonts wwfonts; do \
cd $$i; \
make \
'LOADLIBES=$(LOADLIBES)' \
'FFLAGS=$(FFLAGS)' \
'EFLAGS=$(EFLAGS)' \
'FC=$(FC)' \
'RFLAGS=$(RFLAGS)' \
'RC=$(RC)' \
'CFLAGS=$(CFLAGS)' \
'PFLAGS=$(PFLAGS)' \
'PC=$(PC)' \
'AS=$(AS)' \
'CC=$(CC)' \
'LFLAGS=$(LFLAGS)' \
'LEX=$(LEX)' \
'YFLAGS=$(YFLAGS)' \
'YACCE=$(YACCE)' \
'YACCR=$(YACCR)' \
'YACC=$(YACC)' \
'LDFLAGS=$(LDFLAGS)' \
'INCLUDE=$(INCLUDE)' \
'FILTER=$(FILTER)' \
'LIB=$(LIB)' \
'WWTEXFONT=$(WWTEXFONT)' \
'WBTEXFONT=$(WBTEXFONT)' \
'OTROFFFONT=$(OTROFFFONT)' \
'DITROFFFONT=$(DITROFFFONT)' \
'BINARIES=$(BINARIES)' \
'DOCILEUSER=$(DOCILEUSER)' \
all; \
cd ..; \
done
configure:
-mkdir $(INCLUDE) $(FILTER) $(LIB) $(WWTEXFONT) $(WBTEXFONT) \
$(OTROFFFONT) $(DITROFFFONT) $(DITROFFFONT)/wbfonts \
$(DITROFFFONT)/wwfonts $(BINARIES)
for i in standard libtrw libglob libprofile libqmsquery man src \
wbfonts wwfonts; do \
cd $$i; \
make \
'LOADLIBES=$(LOADLIBES)' \
'FFLAGS=$(FFLAGS)' \
'EFLAGS=$(EFLAGS)' \
'FC=$(FC)' \
'RFLAGS=$(RFLAGS)' \
'RC=$(RC)' \
'CFLAGS=$(CFLAGS)' \
'PFLAGS=$(PFLAGS)' \
'PC=$(PC)' \
'AS=$(AS)' \
'CC=$(CC)' \
'LFLAGS=$(LFLAGS)' \
'LEX=$(LEX)' \
'YFLAGS=$(YFLAGS)' \
'YACCE=$(YACCE)' \
'YACCR=$(YACCR)' \
'YACC=$(YACC)' \
'LDFLAGS=$(LDFLAGS)' \
'INCLUDE=$(INCLUDE)' \
'FILTER=$(FILTER)' \
'LIB=$(LIB)' \
'WWTEXFONT=$(WWTEXFONT)' \
'WBTEXFONT=$(WBTEXFONT)' \
'OTROFFFONT=$(OTROFFFONT)' \
'DITROFFFONT=$(DITROFFFONT)' \
'BINARIES=$(BINARIES)' \
'DOCILEUSER=$(DOCILEUSER)' \
configure; \
cd ..; \
done
install: all
for i in standard libtrw libglob libprofile libqmsquery man src \
wbfonts wwfonts; do \
cd $$i; \
make \
'LOADLIBES=$(LOADLIBES)' \
'FFLAGS=$(FFLAGS)' \
'EFLAGS=$(EFLAGS)' \
'FC=$(FC)' \
'RFLAGS=$(RFLAGS)' \
'RC=$(RC)' \
'CFLAGS=$(CFLAGS)' \
'PFLAGS=$(PFLAGS)' \
'PC=$(PC)' \
'AS=$(AS)' \
'CC=$(CC)' \
'LFLAGS=$(LFLAGS)' \
'LEX=$(LEX)' \
'YFLAGS=$(YFLAGS)' \
'YACCE=$(YACCE)' \
'YACCR=$(YACCR)' \
'YACC=$(YACC)' \
'LDFLAGS=$(LDFLAGS)' \
'INCLUDE=$(INCLUDE)' \
'FILTER=$(FILTER)' \
'LIB=$(LIB)' \
'WWTEXFONT=$(WWTEXFONT)' \
'WBTEXFONT=$(WBTEXFONT)' \
'OTROFFFONT=$(OTROFFFONT)' \
'DITROFFFONT=$(DITROFFFONT)' \
'BINARIES=$(BINARIES)' \
'DOCILEUSER=$(DOCILEUSER)' \
install; \
cd ..; \
done
clean:
for i in standard libtrw libglob libprofile libqmsquery man src \
wbfonts wwfonts; do \
cd $$i; \
make \
'LOADLIBES=$(LOADLIBES)' \
'FFLAGS=$(FFLAGS)' \
'EFLAGS=$(EFLAGS)' \
'FC=$(FC)' \
'RFLAGS=$(RFLAGS)' \
'RC=$(RC)' \
'CFLAGS=$(CFLAGS)' \
'PFLAGS=$(PFLAGS)' \
'PC=$(PC)' \
'AS=$(AS)' \
'CC=$(CC)' \
'LFLAGS=$(LFLAGS)' \
'LEX=$(LEX)' \
'YFLAGS=$(YFLAGS)' \
'YACCE=$(YACCE)' \
'YACCR=$(YACCR)' \
'YACC=$(YACC)' \
'LDFLAGS=$(LDFLAGS)' \
'INCLUDE=$(INCLUDE)' \
'FILTER=$(FILTER)' \
'LIB=$(LIB)' \
'WWTEXFONT=$(WWTEXFONT)' \
'WBTEXFONT=$(WBTEXFONT)' \
'OTROFFFONT=$(OTROFFFONT)' \
'DITROFFFONT=$(DITROFFFONT)' \
'BINARIES=$(BINARIES)' \
'DOCILEUSER=$(DOCILEUSER)' \
clean; \
cd ..; \
done
|