shithub: riscv

ref: 810aed76a5cffd3dbbcb190d53e71eb84335a587
dir: /sys/src/ape/lib/sec/amd64/mkfile/

View raw version
APE=/sys/src/ape
<$APE/config

LIB=/$objtype/lib/ape/libsec.a
FILES=\
	chachablock\
	md5block\
	sha1block\
	aesni\

HFILES=/sys/include/ape/libsec.h

SFILES=${FILES:%=%.s}

OFILES=${FILES:%=%.$O}

UPDATE=mkfile\
	$HFILES\
	$SFILES\

</sys/src/cmd/mksyslib

%.$O:	/sys/src/libsec/$objtype/%.s
	$AS $AFLAGS /sys/src/libsec/$objtype/$stem.s