shithub: riscv

ref: 4d1d8c342fc391cc8cf4b966a3c4f1d0c756d128
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