shithub: riscv

ref: 9ced712a2ad70557a8ceb89ff3b969b92c85f68c
dir: /sys/src/cmd/auth/secstore/mkfile/

View raw version
</$objtype/mkfile
BIN=/$objtype/bin/auth
HFILES =\
	SConn.h\
	secstore.h\

OFILES =\
	pak.$O\
	password.$O\
	SConn.$O\
	util.$O\


TARG = secstore secstored secuser aescbc	# descbc
DEBUG = secchk

UPDATE=\
	$HFILES\
	dirls.c\
	${OFILES:%.$O=%.c}\
	${TARG:%=%.c}\
	${DEBUG:%=%.c}\
	mkfile\
	/sys/man/1/secstore\

default:V: all

$O.aescbc: aescbc.$O
	$LD -o $target $prereq
$O.descbc: descbc.$O util.$O
	$LD -o $target $prereq

$O.secstore: secstore.$O  $OFILES
	$LD -o $target $prereq

$O.secstored: secstored.$O dirls.$O secureidcheck.$O $OFILES
	$LD -o $target $prereq

$O.secuser: secuser.$O $OFILES
	$LD -o $target $prereq

secstore.$O secstored.$O $OFILES: $HFILES

secureidcheck.$O: ../secureidcheck.c
	$CC $CFLAGS ../secureidcheck.c

# debugging
$O.secchk: secchk.$O secureidcheck.$O
	$LD -o $target $prereq

</sys/src/cmd/mkmany