2003-09-30 19:05:50 +00:00
|
|
|
9SRC=..
|
|
|
|
include $(9SRC)/Makehdr
|
2003-09-30 17:47:42 +00:00
|
|
|
|
|
|
|
LIB=libdraw.a
|
|
|
|
|
|
|
|
OFILES=\
|
|
|
|
alloc.$O\
|
|
|
|
allocimagemix.$O\
|
|
|
|
arith.$O\
|
|
|
|
bezier.$O\
|
|
|
|
border.$O\
|
|
|
|
buildfont.$O\
|
|
|
|
bytesperline.$O\
|
|
|
|
chan.$O\
|
|
|
|
cloadimage.$O\
|
|
|
|
computil.$O\
|
|
|
|
creadimage.$O\
|
|
|
|
debug.$O\
|
|
|
|
defont.$O\
|
|
|
|
draw.$O\
|
|
|
|
drawrepl.$O\
|
|
|
|
egetrect.$O\
|
|
|
|
ellipse.$O\
|
|
|
|
emenuhit.$O\
|
|
|
|
font.$O\
|
|
|
|
freesubfont.$O\
|
|
|
|
getdefont.$O\
|
|
|
|
getrect.$O\
|
|
|
|
getsubfont.$O\
|
|
|
|
icossin.$O\
|
|
|
|
icossin2.$O\
|
|
|
|
init.$O\
|
|
|
|
line.$O\
|
|
|
|
loadimage.$O\
|
|
|
|
menuhit.$O\
|
|
|
|
mkfont.$O\
|
|
|
|
openfont.$O\
|
|
|
|
poly.$O\
|
|
|
|
readcolmap.$O\
|
|
|
|
readimage.$O\
|
|
|
|
readsubfont.$O\
|
|
|
|
rectclip.$O\
|
|
|
|
replclipr.$O\
|
|
|
|
rgb.$O\
|
|
|
|
string.$O\
|
|
|
|
stringbg.$O\
|
|
|
|
stringsubfont.$O\
|
|
|
|
stringwidth.$O\
|
|
|
|
subfont.$O\
|
|
|
|
subfontcache.$O\
|
|
|
|
subfontname.$O\
|
|
|
|
unloadimage.$O\
|
|
|
|
window.$O\
|
|
|
|
writecolmap.$O\
|
|
|
|
writeimage.$O\
|
|
|
|
writesubfont.$O\
|
|
|
|
md-alloc.$O\
|
|
|
|
md-arc.$O\
|
|
|
|
md-cload.$O\
|
|
|
|
md-cmap.$O\
|
|
|
|
md-cread.$O\
|
|
|
|
md-defont.$O\
|
|
|
|
md-draw.$O\
|
|
|
|
md-ellipse.$O\
|
|
|
|
md-fillpoly.$O\
|
|
|
|
md-hwdraw.$O\
|
|
|
|
md-iprint.$O\
|
|
|
|
md-line.$O\
|
|
|
|
md-load.$O\
|
|
|
|
md-openmemsubfont.$O\
|
|
|
|
md-poly.$O\
|
|
|
|
md-read.$O\
|
|
|
|
md-string.$O\
|
|
|
|
md-subfont.$O\
|
|
|
|
md-unload.$O\
|
|
|
|
md-write.$O\
|
|
|
|
ml-draw.$O\
|
|
|
|
ml-lalloc.$O\
|
|
|
|
ml-layerop.$O\
|
|
|
|
ml-ldelete.$O\
|
|
|
|
ml-lhide.$O\
|
|
|
|
ml-line.$O\
|
|
|
|
ml-load.$O\
|
|
|
|
ml-lorigin.$O\
|
|
|
|
ml-lsetrefresh.$O\
|
|
|
|
ml-ltofront.$O\
|
|
|
|
ml-ltorear.$O\
|
|
|
|
ml-unload.$O\
|
|
|
|
x11-alloc.$O\
|
|
|
|
x11-cload.$O\
|
|
|
|
x11-draw.$O\
|
|
|
|
x11-event.$O\
|
|
|
|
x11-fill.$O\
|
|
|
|
x11-get.$O\
|
|
|
|
x11-init.$O\
|
|
|
|
x11-itrans.$O\
|
|
|
|
x11-keyboard.$O\
|
|
|
|
x11-load.$O\
|
|
|
|
x11-mouse.$O\
|
|
|
|
x11-pixelbits.$O\
|
|
|
|
x11-unload.$O\
|
2003-10-11 02:47:43 +00:00
|
|
|
x11-wsys.$O\
|
2003-09-30 17:47:42 +00:00
|
|
|
devdraw.$O\
|
|
|
|
unix.$O\
|
|
|
|
|
|
|
|
HFILES=\
|
2003-09-30 19:05:50 +00:00
|
|
|
$(9SRC)/include/draw.h\
|
|
|
|
$(9SRC)/include/memdraw.h\
|
|
|
|
$(9SRC)/include/memlayer.h\
|
|
|
|
$(9SRC)/include/event.h\
|
|
|
|
$(9SRC)/include/cursor.h\
|
|
|
|
$(9SRC)/include/mouse.h\
|
|
|
|
$(9SRC)/include/keyboard.h\
|
|
|
|
x11-inc.h\
|
|
|
|
x11-memdraw.h\
|
2003-09-30 17:47:42 +00:00
|
|
|
|
2003-09-30 19:05:50 +00:00
|
|
|
CFLAGS+=-I$(X11)/include
|
2003-09-30 17:47:42 +00:00
|
|
|
|
2003-09-30 19:05:50 +00:00
|
|
|
include $(9SRC)/Makesyslib
|
2003-09-30 17:47:42 +00:00
|
|
|
|
|
|
|
test: test.o $(LIB)
|
2003-09-30 19:05:50 +00:00
|
|
|
gcc -o test test.o -L$(9SRC) -ldraw -l9 -lfmt -lutf -L$(X11)/lib -lX11 -lm
|
2003-09-30 17:47:42 +00:00
|
|
|
|