Blob


1 PLAN9=../..
2 <$PLAN9/src/mkhdr
4 LIB=libdraw.a
6 OFILES=\
7 alloc.$O\
8 allocimagemix.$O\
9 arith.$O\
10 bezier.$O\
11 border.$O\
12 buildfont.$O\
13 bytesperline.$O\
14 chan.$O\
15 cloadimage.$O\
16 computil.$O\
17 creadimage.$O\
18 debug.$O\
19 defont.$O\
20 draw.$O\
21 drawrepl.$O\
22 egetrect.$O\
23 ellipse.$O\
24 emenuhit.$O\
25 font.$O\
26 freesubfont.$O\
27 getdefont.$O\
28 getrect.$O\
29 getsubfont.$O\
30 icossin.$O\
31 icossin2.$O\
32 init.$O\
33 line.$O\
34 latin1.$O\
35 loadimage.$O\
36 menuhit.$O\
37 mkfont.$O\
38 openfont.$O\
39 poly.$O\
40 readcolmap.$O\
41 readimage.$O\
42 readsubfont.$O\
43 rectclip.$O\
44 replclipr.$O\
45 rgb.$O\
46 string.$O\
47 stringbg.$O\
48 stringsubfont.$O\
49 stringwidth.$O\
50 subfont.$O\
51 subfontcache.$O\
52 subfontname.$O\
53 unloadimage.$O\
54 window.$O\
55 writecolmap.$O\
56 writeimage.$O\
57 writesubfont.$O\
58 md-alloc.$O\
59 md-arc.$O\
60 md-cload.$O\
61 md-cmap.$O\
62 md-cread.$O\
63 md-defont.$O\
64 md-draw.$O\
65 md-ellipse.$O\
66 md-fillpoly.$O\
67 md-hwdraw.$O\
68 md-iprint.$O\
69 md-line.$O\
70 md-load.$O\
71 md-openmemsubfont.$O\
72 md-poly.$O\
73 md-read.$O\
74 md-string.$O\
75 md-subfont.$O\
76 md-unload.$O\
77 md-write.$O\
78 ml-draw.$O\
79 ml-lalloc.$O\
80 ml-layerop.$O\
81 ml-ldelete.$O\
82 ml-lhide.$O\
83 ml-line.$O\
84 ml-load.$O\
85 ml-lorigin.$O\
86 ml-lsetrefresh.$O\
87 ml-ltofront.$O\
88 ml-ltorear.$O\
89 ml-unload.$O\
90 x11-alloc.$O\
91 x11-cload.$O\
92 x11-draw.$O\
93 x11-event.$O\
94 x11-fill.$O\
95 x11-get.$O\
96 x11-init.$O\
97 x11-itrans.$O\
98 x11-keyboard.$O\
99 x11-load.$O\
100 x11-mouse.$O\
101 x11-pixelbits.$O\
102 x11-unload.$O\
103 x11-wsys.$O\
104 devdraw.$O\
105 unix.$O\
107 HFILES=\
108 $PLAN9/include/draw.h\
109 $PLAN9/include/memdraw.h\
110 $PLAN9/include/memlayer.h\
111 $PLAN9/include/event.h\
112 $PLAN9/include/cursor.h\
113 $PLAN9/include/mouse.h\
114 $PLAN9/include/keyboard.h\
115 x11-inc.h\
116 x11-memdraw.h\
118 CFLAGS=$CFLAGS -I$X11/include
120 <$PLAN9/src/mksyslib
122 test: test.o $PLAN9/lib/$LIB
123 gcc -o test test.o -L$PLAN9/lib -ldraw -l9 -lfmt -lutf -L$X11/lib -lX11 -lm