summaryrefslogtreecommitdiff
path: root/dviware/beebe/src/unix/makefile.unx
blob: b6bf2ea73b193111e10cf3b9a0de508bf5ef17ea (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
525
526
527
528
529
# Makefile for files in /tex/dvi using generic Unix cc
#
# Current target list:
#	all	clean	countlines	lint
#	00arit	dvialw	dvibit	dvican	dvie72	dvieps	dvigd	dviimp
#	dvijep	dvijet	dvil3p	dvil75	dvim72	dvimac	dvimpi	dvio72
#	dvioki	dviPGM	dviprx	dvitos	keytst	lptops	lw78	texidx
#	tosprx	uuencode	xxu
#
# [28-Oct-87] -- added uuencode target
# [21-Oct-87] -- added dvie72 and dvieps
# [22-Sep-87] -- added generic target dviPGM (say "make PGM=foo dvifoo" to
#		 build dvifoo); add XCFLAGS to allow extra compile-time
#		 options without having to respecify the long path variables
# [15-Apr-87] -- rebuilt dependency lists using "awk -f include.awk *.c"
# [08-Jul-87] -- added dvil3p
# [20-Jul-87] -- added xxu and dvi.xrf

# Default C compiler
CC = cc

# Extra compiler options
XCFLAGS =

# Set paths according to your local conventions
CFLAGS = -DFONTPATH="\"/usr/local/lib/tex/fonts/\"" \
	 -DSUBPATH="\"/usr/local/lib/tex/macros/\"" \
	 $(XCFLAGS)

LINTFLAGS = -bchx

# Need math library to load
LFLAGS = -lm

MV = mv

RM = /bin/rm

# Source file extension
C = .c

# Object file extension
O = .o

# dvixxx.c files

DVIXXX =	dvialw.c dvibit.c dvican.c dvie72.c dvieps.c dvigd.c \
		dviimp.c dvijep.c dvijet.c dvil3p.c dvil75.c dvim72.c \
		dvimac.c dvimpi.c dvio72.c dvioki.c dviprx.c dvitos.c

OTHERS = 	00arit.c keytst.c lptops.c lw78.c texidx.c tosprx.c xxu.c

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

# Include files that include others

DVIHEAD = dvihead.h machdefs.h typedefs.h

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

# Targets (lw78 is excluded--most Unix sites have Transcript or devps
# which offer similar features)

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

clean:
	$(RM) -f *.o
	$(RM) -f 00arit \
		dvialw dvibit dvican dvie72 dvieps dvigd \
		dviimp dvijep dvijet dvil75 dvil3p dvim72\
		dvimac dvimpi dvio72 dvioki dviprx dvitos\
		keytst lptops texidx tosprx
	$(RM) -f .~* .#*

# Prestrip counts are for code with comments retained, and #include files
# inserted.  Poststrip counts have blank lines, # lines, and comments
# deleted.
countlines:
	for f in $(DVIXXX) $(OTHERS) ;\
	do \
		echo -n $$f [prestrip] `$(CC) $(CFLAGS) -C -E $$f | tee foo1.$$f | wc`;\
		echo " [poststrip]" `$(CC) $(CFLAGS) -E $$f |\
			egrep -v '^[ 	]*$$|^\#' | tee foo2.$$f | wc`;\
	done

lint:
	lint $(LINTFLAGS) dvialw.c
	lint $(LINTFLAGS) dvibit.c
	lint $(LINTFLAGS) dvican.c
	lint $(LINTFLAGS) dvie72.c
	lint $(LINTFLAGS) dvieps.c
	lint $(LINTFLAGS) dvigd.c
	lint $(LINTFLAGS) dviimp.c
	lint $(LINTFLAGS) dvijep.c
	lint $(LINTFLAGS) dvijet.c
	lint $(LINTFLAGS) dvil3p.c
	lint $(LINTFLAGS) dvil75.c
	lint $(LINTFLAGS) dvim72.c
	lint $(LINTFLAGS) dvimac.c
	lint $(LINTFLAGS) dvimpi.c
	lint $(LINTFLAGS) dvio72.c
	lint $(LINTFLAGS) dvioki.c
	lint $(LINTFLAGS) dviprx.c
	lint $(LINTFLAGS) dvitos.c
	lint $(LINTFLAGS) lptops.c
	lint $(LINTFLAGS) texidx.c
	lint $(LINTFLAGS) tosprx.c

# ======================================================================
# Dependency lists and rules

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


dvialw:	dvialw$(O) fndfil$(O)
	$(CC) $(CFLAGS) dvialw$(O) fndfil$(O) -o dvialw $(LFLAGS)

dvibit:	dvibit$(O) keybrd$(O) fndfil$(O)
	$(CC) $(CFLAGS) dvibit$(O) keybrd$(O) fndfil$(O) -o dvibit $(LFLAGS)

dvican:	dvican$(O) fndfil$(O)
	$(CC) $(CFLAGS) dvican$(O) fndfil$(O) -o dvican $(LFLAGS)

dvie72:	dvie72$(O) fndfil$(O)
	$(CC) $(CFLAGS) dvie72$(O) fndfil$(O) -o dvie72 $(LFLAGS)

dvieps:	dvieps$(O) fndfil$(O)
	$(CC) $(CFLAGS) dvieps$(O) fndfil$(O) -o dvieps $(LFLAGS)

dvigd:	dvigd$(O) fndfil$(O)
	$(CC) $(CFLAGS) dvigd$(O) fndfil$(O) -o dvigd $(LFLAGS)

dviimp:	dviimp$(O) fndfil$(O)
	$(CC) $(CFLAGS) dviimp$(O) fndfil$(O) -o dviimp $(LFLAGS)

dvijep:	dvijep$(O) fndfil$(O)
	$(CC) $(CFLAGS) dvijep$(O) fndfil$(O) -o dvijep $(LFLAGS)

dvijet:	dvijet$(O) fndfil$(O)
	$(CC) $(CFLAGS) dvijet$(O) fndfil$(O) -o dvijet $(LFLAGS)

dvil3p:	dvil3p$(O) fndfil$(O)
	$(CC) $(CFLAGS) dvil3p$(O) fndfil$(O) -o dvil3p $(LFLAGS)

dvil75:	dvil75$(O) fndfil$(O)
	$(CC) $(CFLAGS) dvil75$(O) fndfil$(O) -o dvil75 $(LFLAGS)

dvim72:	dvim72$(O) fndfil$(O)
	$(CC) $(CFLAGS) dvim72$(O) fndfil$(O) -o dvim72 $(LFLAGS)

dvimac:	dvimac$(O) fndfil$(O)
	$(CC) $(CFLAGS) dvimac$(O) fndfil$(O) -o dvimac $(LFLAGS)

dvimpi:	dvimpi$(O) fndfil$(O)
	$(CC) $(CFLAGS) dvimpi$(O) fndfil$(O) -o dvimpi $(LFLAGS)

dvio72:	dvio72$(O) fndfil$(O)
	$(CC) $(CFLAGS) dvio72$(O) fndfil$(O) -o dvio72 $(LFLAGS)

dvioki:	dvioki$(O) fndfil$(O)
	$(CC) $(CFLAGS) dvioki$(O) fndfil$(O) -o dvioki $(LFLAGS)

dvi$(PGM):	dvi$(PGM)$(O) keybrd$(O) fndfil$(O)
	$(CC) $(CFLAGS) dvi$(PGM)$(O) keybrd$(O) fndfil$(O) \
		-o dvi$(PGM) $(LFLAGS)

dviprx:	dviprx$(O) fndfil$(O)
	$(CC) $(CFLAGS) dviprx$(O) fndfil$(O) -o dviprx $(LFLAGS)

dvitos:	dvitos$(O) fndfil$(O)
	$(CC) $(CFLAGS) dvitos$(O) fndfil$(O) -o dvitos $(LFLAGS)

keytst:	keytst$(O) keybrd$(O)
		$(CC) $(CFLAGS) keytst$(O) keybrd$(O) -o keytst $(LFLAGS)

lptops:	lptops$(O)
		$(CC) $(CFLAGS) lptops$(O) -o lptops $(LFLAGS)

lw78:	lw78$(O)
		$(CC) $(CFLAGS) lw78$(O) -o lw78 $(LFLAGS)

texidx:	texidx$(O)
		$(CC) $(CFLAGS) texidx$(O) -o texidx $(LFLAGS)

tosprx:	tosprx$(O)
		$(CC) $(CFLAGS) tosprx$(O) -o tosprx $(LFLAGS)

uuencode:
	if [ ! -s story.dvi ] ;\
	then \
		tex story;\
	fi
	for f in alw can e72 eps gd imp jep jet l3p l75 m72 mac mpi o72 \
		oki prx tos ;\
	do \
		echo dvi$$f;\
		./dvi$$f -q <story.dvi >story.$$f 2>story.err-$$f;\
		if [ -s story.dvi-err ];\
		then \
			cat story.dvi-err >>story.err-$$f; \
		fi;\
		rm -f story.dvi-err;\
		if [ ! -s story.err-$$f ];\
		then \
			rm -f story.err-$$f;\
		fi;\
		uuencode story.$$f story.dvi-$$f >story.uue-$$f;\
		rm -f story.$$f;\
	done

xxu:	xxu$(O)
		$(CC) $(CFLAGS) xxu$(O) -o xxu $(LFLAGS)

dvi.xrf:	$(DVIXXX) $(HFILES)
	xref $(DVIXXX) >dvi.xrf

# Object file dependencies

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\
		reldfont.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) keydef.h $(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 reldfont.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


dvican$(O):	dvican.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\
		reldfont.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 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


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\
		reldfont.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\
		reldfont.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 dvifile.h dviinit.h dviterm.h dispchar.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


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 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


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


# Generic target (useful for debugging test versions)
dvi$(PGM)$(O):	dvi$(PGM).c $(HFILES)


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


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


keybrd$(O):	keybrd.c\
		keydef.h


keytst$(O):	keytst.c\
		keydef.h


lptops$(O):	lptops.c\
		inch.h strcm2.h


tosprx$(O):	tosprx.c\
		machdefs.h typedefs.h gendefs.h gblprocs.h clrbmap.h