Blob
1 <$PLAN9/src/mkhdr3 LIB=libdraw.a5 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 readcolmap.$O\40 readimage.$O\41 readsubfont.$O\42 rectclip.$O\43 replclipr.$O\44 rgb.$O\45 scroll.$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-keysym2ucs.$O\100 x11-load.$O\101 x11-mouse.$O\102 x11-pixelbits.$O\103 x11-unload.$O\104 x11-wsys.$O\105 devdraw.$O\106 unix.$O\108 HFILES=\109 $PLAN9/include/draw.h\110 $PLAN9/include/memdraw.h\111 $PLAN9/include/memlayer.h\112 $PLAN9/include/event.h\113 $PLAN9/include/cursor.h\114 $PLAN9/include/mouse.h\115 $PLAN9/include/keyboard.h\116 x11-inc.h\117 x11-memdraw.h\119 CFLAGS=$CFLAGS -I$X11/include121 <$PLAN9/src/mksyslib123 test: test.o $PLAN9/lib/$LIB124 gcc -o test test.o -L$PLAN9/lib -ldraw -l9 -lfmt -lutf -L$X11/lib -lX11 -lm