shithub: riscv

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