cf37a1010f
drawterm, factotum, secstore and the auth commands all had ther own implementation of readcons. we want to have one common function for this to avoid the duplication, so putting that in libauthsrv. introduce PASSWDLEN which makes the use more explicit than ANAMELEN.
53 lines
683 B
Makefile
53 lines
683 B
Makefile
</$objtype/mkfile
|
|
|
|
LIB=/$objtype/lib/libauthsrv.a
|
|
OFILES=\
|
|
_asgetpakkey.$O\
|
|
_asgetticket.$O\
|
|
_asgetresp.$O\
|
|
_asrequest.$O\
|
|
_asrdresp.$O\
|
|
authpak.$O\
|
|
authdial.$O\
|
|
convA2M.$O\
|
|
convM2A.$O\
|
|
convM2PR.$O\
|
|
convM2T.$O\
|
|
convM2TR.$O\
|
|
convPR2M.$O\
|
|
convT2M.$O\
|
|
convTR2M.$O\
|
|
form1.$O\
|
|
nvcsum.$O\
|
|
passtokey.$O\
|
|
readnvram.$O\
|
|
readcons.$O\
|
|
|
|
HFILES=\
|
|
/sys/include/authsrv.h
|
|
|
|
MPCFILES=\
|
|
msqrt.mpc\
|
|
decaf.mpc\
|
|
edwards.mpc\
|
|
elligator2.mpc\
|
|
spake2ee.mpc\
|
|
ed448.mpc\
|
|
|
|
UPDATE=\
|
|
mkfile\
|
|
$HFILES\
|
|
${OFILES:%.$O=%.c}\
|
|
${MPCFILES:.mpc=%.mp}\
|
|
${LIB:/$objtype/%=/386/%}\
|
|
|
|
|
|
CLEANFILES=$MPCFILES
|
|
|
|
</sys/src/cmd/mksyslib
|
|
|
|
authpak.$O: $MPCFILES
|
|
|
|
%.mpc:D: %.mp
|
|
mpc $stem.mp > $target
|