Blob


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