e1cdcfdb17
split the acme win command into a winfs fileserver which handles /dev/cons emulation and a rc script responsible for launching the command. with these changes, the fd fiddling is not neccesary anymore and we can get rid of the leavefdsopen hack.
25 lines
311 B
Makefile
25 lines
311 B
Makefile
</$objtype/mkfile
|
|
|
|
TARG=winfs
|
|
OFILES=\
|
|
fs.$O\
|
|
main.$O\
|
|
pipe.$O\
|
|
util.$O\
|
|
win.$O
|
|
|
|
HFILES=dat.h
|
|
LIB=/$objtype/lib/lib9p.a
|
|
|
|
BIN=/acme/bin/$objtype
|
|
</sys/src/cmd/mkone
|
|
|
|
UPDATE=\
|
|
mkfile\
|
|
$HFILES\
|
|
${OFILES:%.$O=%.c}\
|
|
${TARG:%=/acme/bin/$objtype/%}\
|
|
|
|
syms:V:
|
|
8c -a main.c >syms
|
|
8c -aa util.c win.c >>syms
|