-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdescrip.mms
325 lines (305 loc) · 12.9 KB
/
descrip.mms
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
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
! Descrip.MMS to build all of Mosaic on VMS
!
! Copyright (C) - The VMS Mosaic Project
!
! Björn S. Nilsson, Aleph, CERN, 22-Nov-1993
! Support for Motif 1.2 added on 3-Jun-1994
! Mosaic 2.4 on 21-Aug-1994
! Mosaic 2.6 on 1-Nov-1995, George Cook
! Libvms added on 12-May-1996, George Cook
! Libliteclue added on 22-Feb-2006, George Cook
! Libtiff added on 5-Jul-2006, George Cook
!
! Usage:
! $ @MAKE_MOSAIC
!
! This DESCRIP.MMS is not intended to be invoked directly. It should
! only be invoked by running MAKE_MOSAIC.COM.
!
!
! MULTINET=1 Use MULTINET (default is UCX)
! DEBUG=1 Make a debug executable
! DECC=1 DEC C compilation.
! GNUC=1 GNU C compilation.
! VAXC=1 VAX C compilation.
! PATHWAY=1 Use PathWay for TCP. (PathWay is Wollongong)
! MOTIF1_2 Use Motif 1.2 libraries.
! NOTIFF=1 Compile without tiff image support
! NOWAIS=1 Compile without direct WAIS support
! USE_MMK=1 Build using MMK instead of MMS
! SOCKETSHR=1 Use SOCKETSHR and NETLIB for TCP interface - BGT
!
WDIR = [.$(WORK)]
.IFDEF NOTIFF
.IFDEF NOWAIS
LIBS = libwww2 libXmx libhtmlw libjpeg libopenjpeg libnut libpng zlib \
libliteclue libvms src
.ELSE
LIBS = libWAIS libwww2 libXmx libhtmlw libjpeg libopenjpeg libnut libpng zlib \
libliteclue libvms src
.ENDIF
.ELSE
.IFDEF NOWAIS
LIBS = libwww2 libXmx libhtmlw libjpeg libopenjpeg libnut libpng zlib \
libtiff libliteclue libvms src
.ELSE
LIBS = libWAIS libwww2 libXmx libhtmlw libjpeg libopenjpeg libnut libpng zlib \
libtiff libliteclue libvms src
.ENDIF
.ENDIF
default : $(LIBS)
.IFDEF NOLINK
@ Write SYS$Output "Skipping link"
.ELSE
@ Write SYS$Output "The executable is in [.src]Mosaic.exe_$(WORK)"
@ Write SYS$Output "Please complete the Comment Card on the Help menu"
.ENDIF
libWAIS :
@ Write SYS$Output "--- Building libWAIS"
@ Set Default [.freeWAIS-0_5.ir]
@ If F$Search("$(WORK).dir") .EQS. "" Then Create/Dir $(WDIR)
@ If (F$Search("$(WDIR)work.mark") .NES. "") .AND. (F$Search("$(WDIR)*.olb") .NES. "") Then Delete $(WDIR)*.olb;*
@ If (F$Search("$(WDIR)work.mark") .EQS. "") .AND. (F$Search("$(WDIR)work.done") .EQS. "") Then Copy Descrip.mms $(WDIR)work.mark
.IFDEF USE_MMK
@ MMK$(MMSQUALIFIERS)
.ELSE
@ $(MMS)$(MMSQUALIFIERS)
.ENDIF
@ If F$Search("$(WDIR)work.mark") .NES. "" Then Delete $(WDIR)work.mark;*
@ If F$Search("$(WDIR)work.done") .EQS. "" Then Copy Descrip.mms $(WDIR)work.done
@ If F$Search("$(WDIR)*.obj") .NES. "" Then Delete $(WDIR)*.obj;*
@ Set Default [-.-]
libXmx :
@ Write SYS$Output "--- Building libXmx"
@ Set Default [.libxmx]
@ If F$Search("$(WORK).dir") .EQS. "" Then Create/Dir $(WDIR)
@ If (F$Search("$(WDIR)work.mark") .NES. "") .AND. (F$Search("$(WDIR)*.olb") .NES. "") Then Delete $(WDIR)*.olb;*
@ If (F$Search("$(WDIR)work.mark") .EQS. "") .AND. (F$Search("$(WDIR)work.done") .EQS. "") Then Copy Descrip.mms $(WDIR)work.mark
.IFDEF USE_MMK
@ MMK$(MMSQUALIFIERS)
.ELSE
@ $(MMS)$(MMSQUALIFIERS)
.ENDIF
@ If F$Search("$(WDIR)work.mark") .NES. "" Then Delete $(WDIR)work.mark;*
@ If F$Search("$(WDIR)work.done") .EQS. "" Then Copy Descrip.mms $(WDIR)work.done
@ If F$Search("$(WDIR)*.obj") .NES. "" Then Delete $(WDIR)*.obj;*
@ Set Default [-]
libhtmlw :
@ Write SYS$Output "--- Building libhtmlw"
@ Set Default [.libhtmlw]
@ If F$Search("$(WORK).dir") .EQS. "" Then Create/Dir $(WDIR)
@ If (F$Search("$(WDIR)work.mark") .NES. "") .AND. (F$Search("$(WDIR)*.olb") .NES. "") Then Delete $(WDIR)*.olb;*
@ If (F$Search("$(WDIR)work.mark") .EQS. "") .AND. (F$Search("$(WDIR)work.done") .EQS. "") Then Copy Descrip.mms $(WDIR)work.mark
.IFDEF USE_MMK
@ MMK$(MMSQUALIFIERS)
.ELSE
@ $(MMS)$(MMSQUALIFIERS)
.ENDIF
@ If F$Search("$(WDIR)work.mark") .NES. "" Then Delete $(WDIR)work.mark;*
@ If F$Search("$(WDIR)work.done") .EQS. "" Then Copy Descrip.mms $(WDIR)work.done
@ If F$Search("$(WDIR)*.obj") .NES. "" Then Delete $(WDIR)*.obj;*
@ Set Default [-]
libwww2 :
@ Write SYS$Output "--- Building libwww2"
@ Set Default [.libwww2]
@ If F$Search("$(WORK).dir") .EQS. "" Then Create/Dir $(WDIR)
@ If (F$Search("$(WDIR)work.mark") .NES. "") .AND. (F$Search("$(WDIR)*.olb") .NES. "") Then Delete $(WDIR)*.olb;*
@ If (F$Search("$(WDIR)work.mark") .EQS. "") .AND. (F$Search("$(WDIR)work.done") .EQS. "") Then Copy Descrip.mms $(WDIR)work.mark
.IFDEF USE_MMK
@ MMK$(MMSQUALIFIERS)
.ELSE
@ $(MMS)$(MMSQUALIFIERS)
.ENDIF
@ If F$Search("$(WDIR)work.mark") .NES. "" Then Delete $(WDIR)work.mark;*
@ If F$Search("$(WDIR)work.done") .EQS. "" Then Copy Descrip.mms $(WDIR)work.done
@ If F$Search("$(WDIR)*.obj") .NES. "" Then Delete $(WDIR)*.obj;*
@ Set Default [-]
libjpeg :
@ Write SYS$Output "--- Building libjpeg"
@ Set Default [.libjpeg]
@ If F$Search("$(WORK).dir") .EQS. "" Then Create/Dir $(WDIR)
@ If (F$Search("$(WDIR)work.mark") .NES. "") .AND. (F$Search("$(WDIR)*.olb") .NES. "") Then Delete $(WDIR)*.olb;*
@ If (F$Search("$(WDIR)work.mark") .EQS. "") .AND. (F$Search("$(WDIR)work.done") .EQS. "") Then Copy Descrip.mms $(WDIR)work.mark
.IFDEF USE_MMK
@ MMK$(MMSQUALIFIERS)
.ELSE
@ $(MMS)$(MMSQUALIFIERS)
.ENDIF
@ If F$Search("$(WDIR)work.mark") .NES. "" Then Delete $(WDIR)work.mark;*
@ If F$Search("$(WDIR)work.done") .EQS. "" Then Copy Descrip.mms $(WDIR)work.done
@ If F$Search("$(WDIR)*.obj") .NES. "" Then Delete $(WDIR)*.obj;*
@ Set Default [-]
libopenjpeg :
@ Write SYS$Output "--- Building libopenjpeg"
@ Set Default [.libopenjpeg]
@ If F$Search("$(WORK).dir") .EQS. "" Then Create/Dir $(WDIR)
@ If (F$Search("$(WDIR)work.mark") .NES. "") .AND. (F$Search("$(WDIR)*.olb") .NES. "") Then Delete $(WDIR)*.olb;*
@ If (F$Search("$(WDIR)work.mark") .EQS. "") .AND. (F$Search("$(WDIR)work.done") .EQS. "") Then Copy Descrip.mms $(WDIR)work.mark
.IFDEF USE_MMK
@ MMK$(MMSQUALIFIERS)
.ELSE
@ $(MMS)$(MMSQUALIFIERS)
.ENDIF
@ If F$Search("$(WDIR)work.mark") .NES. "" Then Delete $(WDIR)work.mark;*
@ If F$Search("$(WDIR)work.done") .EQS. "" Then Copy Descrip.mms $(WDIR)work.done
@ If F$Search("$(WDIR)*.obj") .NES. "" Then Delete $(WDIR)*.obj;*
@ Set Default [-]
libnut :
@ Write SYS$Output "--- Building libnut"
@ Set Default [.libnut]
@ If F$Search("$(WORK).dir") .EQS. "" Then Create/Dir $(WDIR)
@ If (F$Search("$(WDIR)work.mark") .NES. "") .AND. (F$Search("$(WDIR)*.olb") .NES. "") Then Delete $(WDIR)*.olb;*
@ If (F$Search("$(WDIR)work.mark") .EQS. "") .AND. (F$Search("$(WDIR)work.done") .EQS. "") Then Copy Descrip.mms $(WDIR)work.mark
.IFDEF USE_MMK
@ MMK$(MMSQUALIFIERS)
.ELSE
@ $(MMS)$(MMSQUALIFIERS)
.ENDIF
@ If F$Search("$(WDIR)work.mark") .NES. "" Then Delete $(WDIR)work.mark;*
@ If F$Search("$(WDIR)work.done") .EQS. "" Then Copy Descrip.mms $(WDIR)work.done
@ If F$Search("$(WDIR)*.obj") .NES. "" Then Delete $(WDIR)*.obj;*
@ Set Default [-]
libpng :
@ Write SYS$Output "--- Building libpng"
@ Set Default [.libpng]
@ If F$Search("$(WORK).dir") .EQS. "" Then Create/Dir $(WDIR)
@ If (F$Search("$(WDIR)work.mark") .NES. "") .AND. (F$Search("$(WDIR)*.olb") .NES. "") Then Delete $(WDIR)*.olb;*
@ If (F$Search("$(WDIR)work.mark") .EQS. "") .AND. (F$Search("$(WDIR)work.done") .EQS. "") Then Copy Descrip.mms $(WDIR)work.mark
.IFDEF USE_MMK
@ MMK$(MMSQUALIFIERS)
.ELSE
@ $(MMS)$(MMSQUALIFIERS)
.ENDIF
@ If F$Search("$(WDIR)work.mark") .NES. "" Then Delete $(WDIR)work.mark;*
@ If F$Search("$(WDIR)work.done") .EQS. "" Then Copy Descrip.mms $(WDIR)work.done
@ If F$Search("$(WDIR)*.obj") .NES. "" Then Delete $(WDIR)*.obj;*
@ Set Default [-]
zlib :
@ Write SYS$Output "--- Building zlib"
@ Set Default [.zlib]
@ If F$Search("$(WORK).dir") .EQS. "" Then Create/Dir $(WDIR)
@ If (F$Search("$(WDIR)work.mark") .NES. "") .AND. (F$Search("$(WDIR)*.olb") .NES. "") Then Delete $(WDIR)*.olb;*
@ If (F$Search("$(WDIR)work.mark") .EQS. "") .AND. (F$Search("$(WDIR)work.done") .EQS. "") Then Copy Descrip.mms $(WDIR)work.mark
.IFDEF USE_MMK
@ MMK$(MMSQUALIFIERS)
.ELSE
@ $(MMS)$(MMSQUALIFIERS)
.ENDIF
@ If F$Search("$(WDIR)work.mark") .NES. "" Then Delete $(WDIR)work.mark;*
@ If F$Search("$(WDIR)work.done") .EQS. "" Then Copy Descrip.mms $(WDIR)work.done
@ If F$Search("$(WDIR)*.obj") .NES. "" Then Delete $(WDIR)*.obj;*
@ Set Default [-]
libtiff :
@ Write SYS$Output "--- Building libtiff"
@ Set Default [.libtiff]
@ If F$Search("$(WORK).dir") .EQS. "" Then Create/Dir $(WDIR)
@ If (F$Search("$(WDIR)work.mark") .NES. "") .AND. (F$Search("$(WDIR)*.olb") .NES. "") Then Delete $(WDIR)*.olb;*
@ If (F$Search("$(WDIR)work.mark") .EQS. "") .AND. (F$Search("$(WDIR)work.done") .EQS. "") Then Copy Descrip.mms $(WDIR)work.mark
.IFDEF USE_MMK
@ MMK$(MMSQUALIFIERS)
.ELSE
@ $(MMS)$(MMSQUALIFIERS)
.ENDIF
@ If F$Search("$(WDIR)work.mark") .NES. "" Then Delete $(WDIR)work.mark;*
@ If F$Search("$(WDIR)work.done") .EQS. "" Then Copy Descrip.mms $(WDIR)work.done
@ If F$Search("$(WDIR)*.obj") .NES. "" Then Delete $(WDIR)*.obj;*
@ Set Default [-]
libliteclue :
@ Write SYS$Output "--- Building libliteclue"
@ Set Default [.libliteclue]
@ If F$Search("$(WORK).dir") .EQS. "" Then Create/Dir $(WDIR)
@ If (F$Search("$(WDIR)work.mark") .NES. "") .AND. (F$Search("$(WDIR)*.olb") .NES. "") Then Delete $(WDIR)*.olb;*
@ If (F$Search("$(WDIR)work.mark") .EQS. "") .AND. (F$Search("$(WDIR)work.done") .EQS. "") Then Copy Descrip.mms $(WDIR)work.mark
.IFDEF USE_MMK
@ MMK$(MMSQUALIFIERS)
.ELSE
@ $(MMS)$(MMSQUALIFIERS)
.ENDIF
@ If F$Search("$(WDIR)work.mark") .NES. "" Then Delete $(WDIR)work.mark;*
@ If F$Search("$(WDIR)work.done") .EQS. "" Then Copy Descrip.mms $(WDIR)work.done
@ If F$Search("$(WDIR)*.obj") .NES. "" Then Delete $(WDIR)*.obj;*
@ Set Default [-]
libvms :
@ Write SYS$Output "--- Building libvms"
@ Set Default [.libvms]
@ If F$Search("$(WORK).dir") .EQS. "" Then Create/Dir $(WDIR)
@ If (F$Search("$(WDIR)work.mark") .NES. "") .AND. (F$Search("$(WDIR)*.olb") .NES. "") Then Delete $(WDIR)*.olb;*
@ If (F$Search("$(WDIR)work.mark") .NES. "") .AND. (F$Search("ucx$ipc.olb") .NES. "") Then Delete ucx$ipc.olb;*
@ If (F$Search("$(WDIR)work.mark") .EQS. "") .AND. (F$Search("$(WDIR)work.done") .EQS. "") Then Copy Descrip.mms $(WDIR)work.mark
.IFDEF USE_MMK
@ MMK$(MMSQUALIFIERS)
.ELSE
@ $(MMS)$(MMSQUALIFIERS)
.ENDIF
@ If F$Search("$(WDIR)work.mark") .NES. "" Then Delete $(WDIR)work.mark;*
@ If F$Search("$(WDIR)work.done") .EQS. "" Then Copy Descrip.mms $(WDIR)work.done
@ If F$Search("$(WDIR)*.obj") .NES. "" Then Delete $(WDIR)*.obj;*
@ If F$Search("ucx$crtlibxfr.obj") .NES. "" Then Delete ucx$crtlibxfr.obj;*
@ If F$Search("mosaic.rnh") .NES. "" Then Delete mosaic.rnh;*
@ Set Default [-]
src :
@ Write SYS$Output "--- Building src"
@ Set Default [.src]
@ If F$Search("$(WORK).dir") .EQS. "" Then Create/Dir $(WDIR)
@ If (F$Search("$(WDIR)work.mark") .NES. "") .AND. (F$Search("$(WDIR)*.olb") .NES. "") Then Delete $(WDIR)*.olb;*
@ If (F$Search("$(WDIR)work.mark") .EQS. "") .AND. (F$Search("$(WDIR)work.done") .EQS. "") Then Copy Descrip.mms $(WDIR)work.mark
.IFDEF USE_MMK
@ MMK$(MMSQUALIFIERS)
.ELSE
@ $(MMS)$(MMSQUALIFIERS)
.ENDIF
@ If F$Search("$(WDIR)work.mark") .NES. "" Then Delete $(WDIR)work.mark;*
@ If F$Search("$(WDIR)work.done") .EQS. "" Then Copy Descrip.mms $(WDIR)work.done
@ If F$Search("$(WDIR)*.obj") .NES. "" Then Delete $(WDIR)*.obj;*
@ If F$Search("$(WDIR)*.opt") .NES. "" Then Delete $(WDIR)*.opt;*
@ Set Default [-]
@ Purge *.h
clean :
@ Write SYS$Output "--- Cleaning tree"
@ Set Default [.freeWAIS-0_5.ir.$(WORK)]
@- Delete *.obj.*, *.olb.*, work.*.*
@ Set Default [---]
!
@ Set Default [.libxmx.$(WORK)]
@- Delete *.obj.*, *.olb.*, work.*.*
@ Set Default [--]
!
@ Set Default [.libhtmlw.$(WORK)]
@- Delete *.obj.*, *.olb.*, work.*.*
@ Set Default [--]
!
@ Set Default [.libwww2.$(WORK)]
@- Delete *.obj.*, *.olb.*, work.*.*
@ Set Default [--]
!
@ Set Default [.libjpeg.$(WORK)]
@- Delete *.obj.*, *.olb.*, work.*.*
@ Set Default [--]
!
@ Set Default [.libnut.$(WORK)]
@- Delete *.obj.*, *.olb.*, work.*.*
@ Set Default [--]
!
@ Set Default [.libpng.$(WORK)]
@- Delete *.obj.*, *.olb.*, work.*.*
@ Set Default [--]
!
@ Set Default [.zlib.$(WORK)]
@- Delete *.obj.*, *.olb.*, work.*.*
@ Set Default [--]
!
@ Set Default [.libtiff.$(WORK)]
@- Delete *.obj.*, *.olb.*, work.*.*
@ Set Default [--]
!
@ Set Default [.libliteclue.$(WORK)]
@- Delete *.obj.*, *.olb.*, work.*.*
@ Set Default [--]
!
@ Set Default [.libvms.$(WORK)]
@- Delete *.obj.*, *.olb.*, work.*.*
@ Set Default [--]
!
@ Set Default [.src.$(WORK)]
@- Delete *.obj.*, *.olb.*, work.*.*
@ Set Default [--]