shithub: riscv

ref: 6d4261baabfece44dea8033b9d5a9d90978f8477
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