shithub: riscv

ref: ec8d7cdf024949d73c5f887f23f060cd33c1df28
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