shithub: riscv

ref: 345714dd56f5da8dcb2193f9cdf041cfc005d82f
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