shithub: riscv

ref: 13065e16b3c4fba4d9200ed7fec89ee49338f12a
dir: /sys/src/libip/mkfile/

View raw version
</$objtype/mkfile

LIB=/$objtype/lib/libip.a
OFILES=\
	eipfmt.$O\
	equivip.$O\
	parseip.$O\
	parseether.$O\
	myetheraddr.$O\
	myipaddr.$O\
	classmask.$O\
	bo.$O\
	readipifc.$O\
	ipaux.$O\
	ptclbsum.$O\

HFILES=\
	/sys/include/ip.h

UPDATE=\
	mkfile\
	$HFILES\
	${OFILES:%.$O=%.c}\
	${LIB:/$objtype/%=/386/%}\

</sys/src/cmd/mksyslib

ptclbsum.8:	ptclbsum386.s
	$AS -o $target ptclbsum386.s