shithub: riscv

ref: 986886f2b8ab4a7e1b3d66e99934d8fdab537be9
dir: /sys/src/cmd/auth/factotum/mkfile/

View raw version
</$objtype/mkfile

TARG=factotum\
	fgui\

PROTO=\
	apop.$O\
	chap.$O\
	httpdigest.$O\
	p9any.$O\
	p9cr.$O\
	p9sk1.$O\
	pass.$O\
	rsa.$O\
	wep.$O\
	ecdsa.$O\
	wpapsk.$O\

FOFILES=\
	$PROTO\
	confirm.$O\
	fs.$O\
	log.$O\
	rpc.$O\
	util.$O\

HFILES=\
	dat.h\

LIB=/$objtype/lib/libauth.a /$objtype/lib/libauthsrv.a
BIN=/$objtype/bin/auth

UPDATE=\
	mkfile\
	$HFILES\
	${FOFILES:%.$O=%.c}\
	fgui.c\

</sys/src/cmd/mkmany

$O.factotum: $FOFILES
	$LD -o $target $prereq

$O.fgui: fgui.$O
	$LD -o $target $prereq