blob: 2a91143922ffc61d63ea5fe9614ab9ac7ab74468 (
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
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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
|
# Make the IRAF Virtual Operating System (VOS). (07-May-83 Dct).
# Revised to use the new MKPKG facilities (12Dec85 Dct).
$ifeq (hostid, unix) !(clear;date) $endif
$call sysgen
$echo "-------------- (done) ----------------"
$ifeq (hostid, unix) !(date) $endif
$exit
# UPDATE -- Update the system executables in lib$
update:
$echo "-------------- GIO ----------------"
@gio
$echo "-------------- KI ----------------"
@ki
$echo "-------------- TTY ----------------"
@tty
;
# SUMMARY -- [UNIX] mkpkg summary: output a summary of the spooled mkpkg
# output, omitting most of the mundane chatter. Used to scan large spool
# files for errors.
summary:
$ifeq (HOSTID, unix)
! grep -v ':$$' spool | grep -v '^xc' | grep -v '^ar'\
| grep -v '^check file'
$else
$echo "mkpkg summary only available on a UNIX system"
$endif
;
# SYSGEN -- Update the system libraries (VOS). Note that the system library
# for the iraf kernel (libos.a) is maintained in host$.
sysgen:
$call sys
$call ex
$call vops
$call cur
$call stg
$ifeq (USE_LIBMAIN, yes) $call libmain $endif
$call libc
$call imfort
$call gks
$call ncar
$call sgi
$call imd
# Not all systems want the NCAR/NSPP and CALCOMP graphics kernels.
$ifeq (USE_NSPP, yes)
$call nspp
$call gkt
$endif
$ifeq (USE_CALCOMP, yes)
$call ccp
$endif
# DS is required for cursor readback by the CL.
$call ds
# MEMIO debug library.
$call memdbg
$purge lib$
;
sys:
$echo "-------------- LIBSYS ----------------"
$checkout libsys.a lib$
$update libsys.a
$checkin libsys.a lib$
;
ex:
$echo "-------------- LIBEX -----------------"
$checkout libex.a lib$
$update libex.a
$checkin libex.a lib$
;
vops:
$echo "-------------- LIBVOPS ---------------"
$checkout libvops.a lib$
$update libvops.a
$checkin libvops.a lib$
;
cur:
$echo "-------------- LIBCUR ----------------"
$checkout libcur.a lib$
$update libcur.a
$checkin libcur.a lib$
;
stg:
$echo "-------------- LIBSTG ----------------"
$checkout libstg.a lib$
$update libstg.a
$checkin libstg.a lib$
;
libmain:
$echo "-------------- LIBMAIN.O -------------"
$ifolder (bin$libmain.o, host$os/zmain.c)
$call libmain.o
$else
$echo "Libmain.o is up to date"
$endif
;
libc:
$echo "-------------- LIBC ------------------"
$checkout libc.a lib$
$update libc.a
$checkin libc.a lib$
;
imfort:
$echo "-------------- IMFORT ----------------"
$checkout libimfort.a lib$
$update libimfort.a
$checkin libimfort.a lib$
;
gks:
$echo "-------------- LIBGKS ----------------"
$checkout libgks.a lib$
$update libgks.a
$checkin libgks.a lib$
;
sgi:
$echo "-------------- LIBSGI ----------------"
$checkout libsgi.a lib$
$update libsgi.a
$checkin libsgi.a lib$
;
imd:
$echo "-------------- LIBIMD ----------------"
$checkout libimd.a lib$
$update libimd.a
$checkin libimd.a lib$
;
ds:
$echo "-------------- LIBDS ----------------"
$checkout libds.a lib$
$update libds.a
$checkin libds.a lib$
;
ncar:
$echo "-------------- LIBNCAR ---------------"
$checkout libncar.a lib$
$update libncar.a
$checkin libncar.a lib$
;
nspp:
$echo "-------------- LIBNSPP ---------------"
$checkout libnspp.a lib$
$update libnspp.a
$checkin libnspp.a lib$
;
gkt:
$echo "-------------- LIBGKT ----------------"
$checkout libgkt.a lib$
$update libgkt.a
$checkin libgkt.a lib$
;
ccp:
$echo "-------------- LIBCCP ----------------"
$checkout libccp.a lib$
$update libccp.a
$checkin libccp.a lib$
;
ds:
$echo "-------------- LIBDS ----------------"
$checkout libds.a lib$
$update libds.a
$checkin libds.a lib$
;
memdbg:
$echo "-------------- LIBMEMDBG ------------"
$checkout libmemdbg.a lib$
$update libmemdbg.a
$checkin libmemdbg.a lib$
;
libsys.a: # Core system
@fio
@fmio
@fmtio
@clio
@etc
@gty
#@memio
@nmemio
@mtio
@symtab
@tty
@ki
@psio
@host$gdev/ # HSI graphics device drivers
;
libex.a: # High level system stuff
@gio
@imio
@plio
@pmio
@qpoe
@mwcs
;
libvops.a:
@vops # Vector operators
@osb # Bit and byte primitives
;
libcur.a:
@gio # Cursor mode
;
libmain.o: # The root object module
$set XFLAGS = "-c $(HSI_XF)"
$checkout zmain.c host$os/
$omake zmain.c
$iffile (bin$libsys.a) # store all binaries in BIN?
$move zmain.o bin$libmain.o
$else
$move zmain.o lib$libmain.o
$endif
$delete zmain.c
;
libc.a:
@libc
;
libimfort.a:
@imfort
;
libgks.a: # GKS emulator
@gio
;
libncar.a: # NCAR graphics utilities
@gio
;
libnspp.a: # Old NCAR System Plot Package (NSPP)
@gio
;
libstg.a: # The STDGRAPH graphics kernel
@gio
;
libsgi.a: # The SGI (simple graphics) kernel
@gio
;
libimd.a: # The IMD (image device) kernel
@gio
;
libgkt.a: # The NSPP graphics kernel
@gio
;
libccp.a: # The CALCOMP graphics kernel
@gio
;
libds.a: # The DS display interface library
@pkg$images/tv/display/mkpkg
;
libmemdbg.a: # The MEMIO debug library
@memdbg
;
|