61 lines
679 B
Makefile
61 lines
679 B
Makefile
</$objtype/mkfile
|
|
|
|
TARG=vncs vncv
|
|
BIN=/$objtype/bin
|
|
|
|
OFILES=\
|
|
proto.$O\
|
|
auth.$O\
|
|
|
|
SOFILES=\
|
|
devdraw.$O\
|
|
devmouse.$O\
|
|
devcons.$O\
|
|
screen.$O\
|
|
exporter.$O\
|
|
dev.$O\
|
|
chan.$O\
|
|
compat.$O\
|
|
exportfs.$O\
|
|
kbds.$O\
|
|
rre.$O\
|
|
rlist.$O\
|
|
|
|
COFILES=\
|
|
draw.$O\
|
|
kbdv.$O\
|
|
color.$O\
|
|
wsys.$O\
|
|
|
|
HFILES=\
|
|
vnc.h\
|
|
screen.h\
|
|
compat.h\
|
|
errstr.h\
|
|
kbd.h\
|
|
vncv.h\
|
|
vncs.h\
|
|
|
|
UPDATE=\
|
|
mkfile\
|
|
$HFILES\
|
|
${OFILES:%.$O=%.c}\
|
|
${SOFILES:%.$O=%.c}\
|
|
${COFILES:%.$O=%.c}\
|
|
${TARG:%=%.c}\
|
|
|
|
|
|
default:V: all
|
|
|
|
</sys/src/cmd/mkmany
|
|
|
|
$O.vncs: $SOFILES
|
|
|
|
$O.vncv: $COFILES
|
|
|
|
errstr.h: error.h
|
|
sed 's/extern //;s,;.*/\* (.*) \*/, = "\1";,' < error.h > errstr.h
|
|
|
|
kbds.$O: ksym2utf.h
|
|
kbdv.$O: utf2ksym.h
|