shithub: riscv

ref: abdb62608209861e52798c1225d8779c5cd96196
dir: /sys/src/lib9p/mkfile/

View raw version
</$objtype/mkfile

LIB=/$objtype/lib/lib9p.a
OFILES=\
	auth.$O\
	dirread.$O\
	fid.$O\
	file.$O\
	intmap.$O\
	mem.$O\
	req.$O\
	parse.$O\
	queue.$O\
	uid.$O\
	util.$O\
	srv.$O\
	post.$O\
	mount.$O\
	share.$O\
	listen.$O\
	rfork.$O\
	thread.$O\
	threadsrv.$O\
	threadpostsrv.$O\
	threadpostmountsrv.$O\
	threadpostsharesrv.$O\
	threadlistensrv.$O\

HFILES=/sys/include/9p.h

UPDATE=\
	mkfile\
	$HFILES\
	${OFILES:%.$O=%.c}\
	${LIB:/$objtype/%=/386/%}\

</sys/src/cmd/mksyslib

$O.ramfs: ramfs.$O $LIB
	$LD -o $target $prereq