summaryrefslogtreecommitdiff
path: root/dviware/beebe/src/makefile
blob: a04deee093617b8eaad27ee035a026c8e3444b0c (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
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
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
# Makefile for MicroSoft C version 4.0 and 5.0 for DVI driver family
#
# Targets:
#	all		(build dvi*.exe)
#	00arit	dvialw	dvibit	dvican	dvie72	dvieps	dvigd	dviimp
#	dvijep	dvijet	dvil3p	dvil75	dvim72	dvimac	dvimpi	dvio72
#	dvioki	dviPGM	dviprx	dvitos	keytst	lptops	texidx
#	clean		(all but .exe files)
#	clean_all	(including .exe files)
#	clean_exe
#	clean_dvi
#	clean_cer
#	clean_sym
#	clean_obj
#
# [15-Nov-87] -- merged separate makefiles for MicroSoft C into one, now 
#		 that MAKE has been rebuilt with MSC instead of Wizard C
#		 and is finally big enough to handle a large makefile.
# [21-Oct-87] -- added dvie72 and dvieps
# [22-Sep-87] -- added generic target dviPGM (say "make PGM=foo" to build
#		 dvifoo); add XCFLAGS to allow extra compile-time options
#		 without having to respecify the long path variables
# Targets for command-line requests...

CC = cl

XCFLAGS=

PCFLAGS = -DOS_PCDOS -DIBM_PC_MICROSOFT

# MSC Version 3.0
# CFLAGS=/AL/Zd/Od/W2
# MSC Version 4.0 -- add CodeView debugging option /Zi
# CFLAGS=/AL/Zd/Od/W2/Zi/DLINT_ARGS$(XCFLAGS)
# MSC Version 5.0 (needs spaces between options); MSC5 needed in gblprocs.h
#CFLAGS= -AL -Zd -Oailt -W3 -Zi -DANSI_LIBRARY $(XCFLAGS)
CFLAGS= -AL -Zd -Od -W3 -Zi -DANSI_LIBRARY $(XCFLAGS)

# Loading this first will give wildcard expansion
# where the MSC library is found
DRIVE = C:
MSCWILD=$(DRIVE)\SYS\MSC\LIB\LSETARGV.OBJ

# Default stack is too small--increase
STACKSIZE=0xb000

LINKFLAGS=/MAP/LINENUMBERS/ST:$(STACKSIZE)

# Rules...

.c.obj:;	$(CC) -c $(CFLAGS) $*.c >$*.clg
		errshow <$*.clg >$*.cer
		del $*.clg

.map.sym:;	mapsym $*
		del $*.map

RM = del

# Source, object and executable file extensions

C = .c

O = .obj

X = .exe

DVIHEAD = dvihead.h machdefs.h typedefs.h

HFILES =        abortrun.h      actfact.h       alldone.h       bitmap.h \
		chargf.h        charpk.h        charpxl.h \
		clrbmap.h       clrrow.h        commands.h      dbgopen.h \
		dispchar.h      dumpchar.h      dvifile.h       dvihead.h \
		dviinit.h       dviterm.h       f20open.h \
		fatal.h         fillrect.h      findpost.h      fixpos.h \
		fontfile.h      fontsub.h       gblprocs.h      gblvars.h \
		gendefs.h       getbmap.h       getbytes.h      getfntdf.h \
		getpgtab.h      inch.h          initglob.h      keydef.h \
		loadchar.h      machdefs.h      main.h          movedown.h \
		moveover.h      moveto.h        nosignex.h      openfont.h \
		option.h        outrow.h        prtpage.h       prxbmap.h \
		readfont.h      readgf.h        readpk.h        readpost.h \
		readpxl.h       reldfont.h      rulepxl.h       setchar.h \
		setfntnm.h      setrule.h       signex.h        skgfspec.h \
		skipfont.h      skpkspec.h      special.h       strchr.h \
		strcm2.h        strid2.h        strrchr.h       tctos.h \
		typedefs.h      usage.h         warning.h

MAIN = main.h commands.h gendefs.h gblprocs.h gblvars.h

# Targets for command-line requests...

all:	dvialw	dvibit	dvican	dvie72	dvieps	dvigd	dviimp	dvijep\
	dvijet	dvil3p	dvil75	dvim72	dvimac	dvimpi	dvio72	dvioki\
	dviprx	dvitos	keytst	lptops	texidx

clean:	clean_obj clean_sym clean_cer clean_dvi clean_map

clean_all:	clean clean_exe

clean_exe:
	del dvi*.exe
	del texidx.exe

clean_dvi:
	del *.dvi

clean_obj:
	del dvi*.obj
	del texidx.obj

clean_map:
	del dvi*.map
	del texidx.map

clean_sym:
	del dvi*.sym
	del texidx.sym

clean_cer:
	del dvi*.cer
	del texidx.cer

# Shorthands for executable targets

00arit:	00arit$(X) 00arit.sym

dvialw:	dvialw$(X) dvialw.sym

dvibit:	dvibit$(X) dvibit.sym

dvican:	dvican$(X) dvican.sym

dvie72:	dvie72$(X) dvie72.sym

dvieps:	dvieps$(X) dvieps.sym

dvigd:	dvigd$(X) dvigd.sym

dviimp:	dviimp$(X) dviimp.sym

dvijep:	dvijep$(X) dvijep.sym

dvijet:	dvijet$(X) dvijet.sym

dvil3p:	dvil3p$(X) dvil3p.sym

dvil75:	dvil75$(X) dvil75.sym

dvim72:	dvim72$(X) dvim72.sym

dvimac:	dvimac$(X) dvimac.sym

dvimpi:	dvimpi$(X) dvimpi.sym

dvio72:	dvio72$(X) dvio72.sym

dvioki:	dvioki$(X) dvioki.sym

dvi$(PGM):	dvi$(PGM)$(X) dvi$(PGM).sym

dviprx:	dviprx$(X) dviprx.sym

dvitos:	dvitos$(X) dvitos.sym

keytst:	keytst$(X) keytst.sym

lptops:	lptops$(X) lptops.sym

texidx:	texidx$(X) texidx.sym

# Details for executable targets

00arit$(X):
		$(RM) 00arit$(O)
		$(RM) 00arit$(X)
		$(CC) -DSIZE=short $(CFLAGS) 00arit$(C) -o 00arit$(X) $(LFLAGS)
		00arit$(X)
		$(RM) 00arit$(O)
		$(RM) 00arit$(X)
		$(CC) -DSIZE=int   $(CFLAGS) 00arit$(C) -o 00arit$(X) $(LFLAGS)
		00arit$(X)
		$(RM) 00arit$(O)
		$(RM) 00arit$(X)
		$(CC) -DSIZE=long  $(CFLAGS) 00arit$(C) -o 00arit$(X) $(LFLAGS)
		00arit$(X)
		$(RM) 00arit$(O)
		$(RM) 00arit$(X)

dvialw$(X):	dvialw$(O) cuseri$(O)
		link $(MSCWILD) $* cuseri,$*,$(LINKFLAGS);

dvibit$(X):	dvibit$(O) keybrd$(O)
		link $(MSCWILD) $* keybrd,$*,$(LINKFLAGS);

dvican$(X):	dvican$(O)
		link $(MSCWILD) $*,$*,$(LINKFLAGS);

dvie72$(X):	dvie72$(O)
		link $(MSCWILD) $*,$*,$(LINKFLAGS);

dvieps$(X):	dvieps$(O)
		link $(MSCWILD) $*,$*,$(LINKFLAGS);

dvigd$(X):	dvigd$(O)
		link $(MSCWILD) $*,$*,$(LINKFLAGS);

dvijep$(X):	dvijep$(O)
		link $(MSCWILD) $*,$*,$(LINKFLAGS);

dvijet$(X):	dvijet$(O)
		link $(MSCWILD) $*,$*,$(LINKFLAGS);

dviimp$(X):	dviimp$(O)
		link $(MSCWILD) $*,$*,$(LINKFLAGS);

dvil3p$(X):	dvil3p$(O)
		link $(MSCWILD) $*,$*,$(LINKFLAGS);

dvil75$(X):	dvil75$(O)
		link $(MSCWILD) $*,$*,$(LINKFLAGS);

dvim72$(X):	dvim72$(O)
		link $(MSCWILD) $*,$*,$(LINKFLAGS);

dvimac$(X):	dvimac$(O)
		link $(MSCWILD) $*,$*,$(LINKFLAGS);

dvimpi$(X):	dvimpi$(O)
		link $(MSCWILD) $*,$*,$(LINKFLAGS);

dvio72$(X):	dvio72$(O)
		link $(MSCWILD) $*,$*,$(LINKFLAGS);

dvioki$(X):	dvioki$(O)
		link $(MSCWILD) $*,$*,$(LINKFLAGS);

dviprx$(X):	dviprx$(O)
		link $(MSCWILD) $*,$*,$(LINKFLAGS);

# Generic target (useful for debugging test versions)
dvi$(PGM)$(X):	dvi$(PGM)$(O) cuseri$(O) keybrd$(O)
		link $(MSCWILD) $* cuseri keybrd,$*,$(LINKFLAGS);

dvitos$(X):	dvitos$(O)
		link $(MSCWILD) $*,$*,$(LINKFLAGS);

keytst$(X):	keytst$(O) keybrd$(O)
		link $(MSCWILD) $* keybrd,$*,$(LINKFLAGS);

lptops$(X):	lptops$(O) cuseri$(O)
		link $(MSCWILD) $* cuseri,$*,$(LINKFLAGS);

texidx$(X):	texidx$(O) qsort$(O)
		link $(MSCWILD) $* qsort,$*,$(LINKFLAGS);

# File dependencies...  NB: A source file NEVER depends on another
#			source file, but an object file depends on a
#			source file and all the #include'd files in
#			that source file.

dvialw$(O):	dvialw.c\
		$(DVIHEAD) $(MAIN) abortrun.h actfact.h\
		alldone.h chargf.h charpk.h charpxl.h\
		clrrow.h dbgopen.h dvifile.h dviinit.h dviterm.h\
		f20open.h fatal.h findpost.h fixpos.h fontfile.h\
		fontsub.h getbytes.h getfntdf.h getpgtab.h inch.h\
		initglob.h movedown.h moveover.h moveto.h nosignex.h\
		openfont.h option.h prtpage.h readfont.h readgf.h\
		readpk.h readpost.h readpxl.h rulepxl.h setfntnm.h\
		setrule.h signex.h skgfspec.h skipfont.h skpkspec.h\
		strchr.h strcm2.h strid2.h strrchr.h tctos.h\
		usage.h warning.h

dvibit$(O):	dvibit.c\
		$(DVIHEAD) $(MAIN) abortrun.h actfact.h\
		alldone.h chargf.h charpk.h charpxl.h\
		clrrow.h dbgopen.h dvifile.h dviinit.h dviterm.h\
		f20open.h fatal.h findpost.h fixpos.h fontfile.h\
		fontsub.h getbytes.h getfntdf.h getpgtab.h inch.h\
		initglob.h movedown.h moveover.h moveto.h nosignex.h\
		openfont.h option.h prtpage.h readfont.h readgf.h\
		readpk.h readpost.h readpxl.h rulepxl.h setfntnm.h\
		setrule.h signex.h skgfspec.h skipfont.h skpkspec.h\
		special.h strchr.h strcm2.h strid2.h strrchr.h\
		tctos.h usage.h warning.h

dvie72$(O):	dvie72.c\
		$(DVIHEAD) bitmap.h $(MAIN) abortrun.h actfact.h\
		alldone.h chargf.h charpk.h charpxl.h clrbmap.h\
		clrrow.h dispchar.h dbgopen.h dvifile.h dviinit.h dviterm.h\
		f20open.h fatal.h fillrect.h findpost.h fixpos.h\
		fontfile.h fontsub.h getbmap.h getbytes.h getfntdf.h\
		getpgtab.h initglob.h inch.h loadchar.h movedown.h\
		moveover.h moveto.h nosignex.h openfont.h option.h\
		outrow.h prtpage.h readfont.h readgf.h readpk.h\
		readpost.h readpxl.h reldfont.h rulepxl.h setchar.h\
		setfntnm.h setrule.h signex.h skgfspec.h skipfont.h\
		skpkspec.h special.h strchr.h strcm2.h strid2.h\
		strrchr.h tctos.h usage.h warning.h

dvieps$(O):	dvieps.c\
		$(DVIHEAD) bitmap.h $(MAIN) abortrun.h actfact.h\
		alldone.h chargf.h charpk.h charpxl.h clrbmap.h\
		clrrow.h dispchar.h dbgopen.h dvifile.h dviinit.h dviterm.h\
		f20open.h fatal.h fillrect.h findpost.h fixpos.h\
		fontfile.h fontsub.h getbmap.h getbytes.h getfntdf.h\
		getpgtab.h initglob.h inch.h loadchar.h movedown.h\
		moveover.h moveto.h nosignex.h openfont.h option.h\
		outrow.h prtpage.h readfont.h readgf.h readpk.h\
		readpost.h readpxl.h reldfont.h rulepxl.h setchar.h\
		setfntnm.h setrule.h signex.h skgfspec.h skipfont.h\
		skpkspec.h special.h strchr.h strcm2.h strid2.h\
		strrchr.h tctos.h usage.h warning.h

dvigd$(O):	dvigd.c\
		$(DVIHEAD) bitmap.h $(MAIN) abortrun.h actfact.h\
		alldone.h chargf.h charpk.h charpxl.h clrbmap.h\
		clrrow.h dispchar.h dbgopen.h dvifile.h dviinit.h dviterm.h\
		f20open.h fatal.h fillrect.h findpost.h fixpos.h\
		fontfile.h fontsub.h getbmap.h getbytes.h getfntdf.h\
		getpgtab.h initglob.h inch.h loadchar.h movedown.h\
		moveover.h moveto.h nosignex.h openfont.h option.h\
		outrow.h prtpage.h readfont.h readgf.h readpk.h\
		readpost.h readpxl.h rulepxl.h setchar.h setfntnm.h\
		setrule.h signex.h skgfspec.h skipfont.h skpkspec.h\
		special.h strchr.h strcm2.h strid2.h strrchr.h\
		tctos.h usage.h warning.h

dviimp$(O):	dviimp.c\
		$(DVIHEAD) $(MAIN) abortrun.h actfact.h\
		alldone.h chargf.h charpk.h charpxl.h\
		clrrow.h dbgopen.h dvifile.h dviinit.h dviterm.h\
		f20open.h fatal.h findpost.h fixpos.h\
		fontfile.h fontsub.h getbytes.h getfntdf.h\
		getpgtab.h inch.h initglob.h movedown.h\
		moveover.h moveto.h nosignex.h openfont.h option.h\
		prtpage.h readfont.h readgf.h readpk.h\
		readpost.h readpxl.h rulepxl.h setfntnm.h setrule.h\
		signex.h skgfspec.h skipfont.h skpkspec.h special.h\
		strchr.h strcm2.h strid2.h strrchr.h tctos.h\
		usage.h warning.h

dvijep$(O):	dvijep.c\
		$(DVIHEAD) $(MAIN) abortrun.h actfact.h\
		alldone.h chargf.h charpk.h charpxl.h\
		clrrow.h dbgopen.h dvifile.h dviinit.h dviterm.h\
		f20open.h fatal.h findpost.h fixpos.h\
		fontfile.h fontsub.h getbytes.h getfntdf.h\
		getpgtab.h inch.h initglob.h movedown.h\
		moveover.h moveto.h nosignex.h openfont.h option.h\
		prtpage.h readfont.h readgf.h readpk.h readpost.h\
		readpxl.h rulepxl.h setfntnm.h setrule.h signex.h\
		skgfspec.h skipfont.h skpkspec.h special.h strchr.h\
		strcm2.h strid2.h strrchr.h tctos.h usage.h warning.h

dvijet$(O):	dvijet.c\
		$(DVIHEAD) bitmap.h $(MAIN) abortrun.h actfact.h\
		alldone.h chargf.h charpk.h charpxl.h clrbmap.h\
		clrrow.h dbgopen.h dispchar.h dvifile.h dviinit.h dviterm.h\
		f20open.h fatal.h fillrect.h findpost.h fixpos.h\
		fontfile.h fontsub.h getbmap.h getbytes.h getfntdf.h\
		getpgtab.h initglob.h inch.h loadchar.h movedown.h\
		moveover.h moveto.h nosignex.h openfont.h option.h\
		outrow.h prtpage.h readfont.h readgf.h readpk.h\
		readpost.h readpxl.h rulepxl.h setchar.h setfntnm.h\
		setrule.h signex.h skgfspec.h skipfont.h skpkspec.h\
		special.h strchr.h strcm2.h strid2.h strrchr.h\
		tctos.h usage.h warning.h

dvil3p$(O):	dvil3p.c\
		$(DVIHEAD) bitmap.h $(MAIN) abortrun.h actfact.h\
		alldone.h chargf.h charpk.h charpxl.h clrbmap.h\
		clrrow.h dispchar.h dbgopen.h dvifile.h dviinit.h dviterm.h\
		f20open.h fatal.h fillrect.h findpost.h fixpos.h\
		fontfile.h fontsub.h getbmap.h getbytes.h getfntdf.h\
		getpgtab.h inch.h initglob.h loadchar.h movedown.h\
		moveover.h moveto.h nosignex.h openfont.h option.h\
		outrow.h prtpage.h readfont.h readgf.h readpk.h\
		readpost.h readpxl.h reldfont.h rulepxl.h setchar.h\
		setfntnm.h setrule.h signex.h skgfspec.h skipfont.h\
		skpkspec.h special.h strchr.h strcm2.h strid2.h\
		strrchr.h tctos.h usage.h warning.h

dvil75$(O):	dvil75.c\
		$(DVIHEAD) bitmap.h $(MAIN) abortrun.h actfact.h\
		alldone.h chargf.h charpk.h charpxl.h clrbmap.h\
		clrrow.h dispchar.h dbgopen.h dvifile.h dviinit.h dviterm.h\
		f20open.h fatal.h fillrect.h findpost.h fixpos.h\
		fontfile.h fontsub.h getbmap.h getbytes.h getfntdf.h\
		getpgtab.h inch.h initglob.h loadchar.h movedown.h\
		moveover.h moveto.h nosignex.h openfont.h option.h\
		outrow.h prtpage.h readfont.h readgf.h readpk.h\
		readpost.h readpxl.h reldfont.h rulepxl.h setchar.h\
		setfntnm.h setrule.h signex.h skgfspec.h skipfont.h\
		skpkspec.h special.h strchr.h strcm2.h strid2.h\
		strrchr.h tctos.h usage.h warning.h

dvim72$(O):	dvim72.c \
		$(DVIHEAD) bitmap.h $(MAIN) abortrun.h\
		actfact.h alldone.h chargf.h charpk.h charpxl.h\
		clrbmap.h clrrow.h dispchar.h dbgopen.h dvifile.h\
		dviinit.h dviterm.h f20open.h fatal.h fillrect.h\
		findpost.h fixpos.h fontfile.h fontsub.h getbmap.h\
		getbytes.h getfntdf.h getpgtab.h inch.h initglob.h\
		loadchar.h movedown.h moveover.h moveto.h nosignex.h\
		openfont.h option.h outrow.h prtpage.h readfont.h\
		readgf.h readpk.h readpost.h readpxl.h rulepxl.h\
		setchar.h setfntnm.h setrule.h signex.h skgfspec.h\
		skipfont.h skpkspec.h special.h strchr.h strcm2.h\
		strid2.h strrchr.h tctos.h usage.h warning.h

dvimac$(O):	dvimac.c\
		$(DVIHEAD) bitmap.h $(MAIN) abortrun.h actfact.h\
		alldone.h chargf.h charpk.h charpxl.h clrbmap.h\
		clrrow.h dispchar.h dbgopen.h dvifile.h dviinit.h dviterm.h\
		f20open.h fatal.h fillrect.h findpost.h fixpos.h\
		fontfile.h fontsub.h getbmap.h getbytes.h getfntdf.h\
		getpgtab.h inch.h initglob.h loadchar.h movedown.h\
		moveover.h moveto.h nosignex.h openfont.h option.h\
		outrow.h prtpage.h readfont.h readgf.h readpk.h\
		readpost.h readpxl.h reldfont.h rulepxl.h setchar.h\
		setfntnm.h setrule.h signex.h skgfspec.h skipfont.h\
		skpkspec.h special.h strchr.h strcm2.h strid2.h\
		strrchr.h tctos.h usage.h warning.h


dvimpi$(O):	dvimpi.c\
		$(DVIHEAD) bitmap.h $(MAIN) abortrun.h actfact.h\
		alldone.h chargf.h charpk.h charpxl.h clrbmap.h\
		clrrow.h dispchar.h dbgopen.h dvifile.h dviinit.h dviterm.h\
		f20open.h fatal.h fillrect.h findpost.h fixpos.h\
		fontfile.h fontsub.h getbmap.h getbytes.h getfntdf.h\
		getpgtab.h inch.h initglob.h loadchar.h movedown.h\
		moveover.h moveto.h nosignex.h openfont.h option.h\
		outrow.h prtpage.h readfont.h readgf.h readpk.h\
		readpost.h readpxl.h reldfont.h rulepxl.h setchar.h\
		setfntnm.h setrule.h signex.h skgfspec.h skipfont.h\
		skpkspec.h special.h strchr.h strcm2.h strid2.h\
		strrchr.h tctos.h usage.h warning.h


dvio72$(O):	dvio72.c\
		$(DVIHEAD) bitmap.h $(MAIN) abortrun.h actfact.h\
		alldone.h chargf.h charpk.h charpxl.h clrbmap.h\
		clrrow.h dispchar.h dbgopen.h dvifile.h dviinit.h dviterm.h\
		f20open.h fatal.h fillrect.h findpost.h fixpos.h\
		fontfile.h fontsub.h getbmap.h getbytes.h getfntdf.h\
		getpgtab.h inch.h initglob.h loadchar.h movedown.h\
		moveover.h moveto.h nosignex.h openfont.h option.h\
		outrow.h prtpage.h readfont.h readgf.h readpk.h\
		readpost.h readpxl.h reldfont.h rulepxl.h setchar.h\
		setfntnm.h setrule.h signex.h skgfspec.h skipfont.h\
		skpkspec.h special.h strchr.h strcm2.h strid2.h\
		strrchr.h tctos.h usage.h warning.h


dvioki$(O):	dvioki.c\
		$(DVIHEAD) bitmap.h $(MAIN) abortrun.h actfact.h\
		alldone.h chargf.h charpk.h charpxl.h clrbmap.h\
		clrrow.h dispchar.h dbgopen.h dvifile.h dviinit.h dviterm.h\
		f20open.h fatal.h fillrect.h findpost.h fixpos.h\
		fontfile.h fontsub.h getbmap.h getbytes.h getfntdf.h\
		getpgtab.h inch.h initglob.h loadchar.h movedown.h\
		moveover.h moveto.h nosignex.h openfont.h option.h\
		outrow.h prtpage.h readfont.h readgf.h readpk.h\
		readpost.h readpxl.h reldfont.h rulepxl.h setchar.h\
		setfntnm.h setrule.h signex.h skgfspec.h skipfont.h\
		skpkspec.h special.h strchr.h strcm2.h strid2.h\
		strrchr.h tctos.h usage.h warning.h


dviprx$(O):	dviprx.c\
		$(DVIHEAD) bitmap.h $(MAIN) abortrun.h actfact.h\
		alldone.h chargf.h charpk.h charpxl.h clrbmap.h\
		clrrow.h dispchar.h dbgopen.h dvifile.h dviinit.h dviterm.h\
		f20open.h fatal.h fillrect.h findpost.h fixpos.h\
		fontfile.h fontsub.h getbmap.h getbytes.h getfntdf.h\
		getpgtab.h inch.h initglob.h loadchar.h movedown.h\
		moveover.h moveto.h nosignex.h openfont.h option.h\
		outrow.h prtpage.h readfont.h readgf.h readpk.h\
		readpost.h readpxl.h reldfont.h rulepxl.h setchar.h\
		setfntnm.h setrule.h signex.h skgfspec.h skipfont.h\
		skpkspec.h special.h strchr.h strcm2.h strid2.h\
		strrchr.h tctos.h usage.h warning.h

dvi$(PGM)$(O):	dvi$(PGM).c $(HFILES)

dvitos$(O):	dvitos.c $(DVIHEAD) bitmap.h $(MAIN) abortrun.h actfact.h\
		alldone.h chargf.h charpk.h charpxl.h clrbmap.h\
		clrrow.h dispchar.h dbgopen.h dvifile.h dviinit.h dviterm.h\
		f20open.h fatal.h fillrect.h findpost.h fixpos.h\
		fontfile.h fontsub.h getbmap.h getbytes.h getfntdf.h\
		getpgtab.h inch.h initglob.h loadchar.h movedown.h\
		moveover.h moveto.h nosignex.h openfont.h option.h\
		outrow.h prtpage.h readfont.h readgf.h readpk.h\
		readpost.h readpxl.h reldfont.h rulepxl.h setchar.h\
		setfntnm.h setrule.h signex.h skgfspec.h skipfont.h\
		skpkspec.h special.h strchr.h strcm2.h strid2.h\
		strrchr.h tctos.h usage.h warning.h

# These object files need PCFLAGS, since they do not use machdefs.h to
# select the operating system and compiler

keybrd$(O):	keybrd.c keydef.h
		$(CC) $(CFLAGS) $(PCFLAGS) keybrd.c >keybrd.clg
		errshow <keybrd.clg >keybrd.cer
		del keybrd.clg

keytst$(O):	keytst.c keydef.h
		$(CC) $(CFLAGS) $(PCFLAGS) keytst.c >keytst.clg
		errshow <keytst.clg >keytst.cer
		del keytst.clg

lptops$(O):	lptops.c\
		inch.h strcm2.h
		$(CC) $(CFLAGS) $(PCFLAGS) lptops.c >lptops.clg
		errshow <lptops.clg >lptops.cer
		del lptops.clg

texidx$(O):	texidx.c
		$(CC) $(CFLAGS) $(PCFLAGS) texidx.c >texidx.clg
		errshow <texidx.clg >texidx.cer
		del texidx.clg