Blob


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