plan9fox/acme/bin/source/win/mkfile
cinap_lenrek e1cdcfdb17 acme: split win into winfs and rc script, get rid of lib9p leavefdsopen hack
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.
2020-03-07 20:06:55 +01:00

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