aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/postscript/tr2post/mkfile
blob: 2c716c1b3bef46b96064c882d5f5194b8e47ee9d (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
<$PLAN9/src/mkhdr

<../config

COMMONDIR=../common

SHORTLIB=bio 9
TARG=tr2post

OFILES=tr2post.$O\
	chartab.$O\
	Bgetfield.$O\
	conv.$O\
	utils.$O\
	devcntl.$O\
	draw.$O\
	readDESC.$O\
	ps_include.$O\
	pictures.$O\
	common.$O\

HFILES=tr2post.h\
	ps_include.h\
	$COMMONDIR/common.h\
	$COMMONDIR/comments.h\
	$COMMONDIR/path.h\
	$COMMONDIR/ext.h\

BIN=$POSTBIN

LIB=../common/libcom.a

<$PLAN9/src/mkone

CFLAGS=$CFLAGS -c -D'PROGRAMVERSION="0.1"' -D'DOROUND=1' -I$COMMONDIR

%.$O:	$COMMONDIR/%.c
	$CC $CFLAGS $COMMONDIR/$stem.c

test.ps:V: $O.tr2post
	9 troff -ms test.tr | $O.tr2post | psfonts >test.ps