shithub: riscv

ref: 3bd5ff9583c4b33aa27754fb4c3b6792261feb8a
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