shithub: riscv

ref: 70f700699ac06fb33267395c60f62b4fae3f4f15
dir: /sys/src/libndb/mkfile/

View raw version
</$objtype/mkfile

LIB=/$objtype/lib/libndb.a
OFILES=\
	csgetval.$O\
	csipinfo.$O\
	dnsquery.$O\
	ipattr.$O\
	ndbaux.$O\
	ndbcache.$O\
	ndbcat.$O\
	ndbconcatenate.$O\
	ndbdiscard.$O\
	ndbfree.$O\
	ndbgetipaddr.$O\
	ndbgetval.$O\
	ndbhash.$O\
	ndbipinfo.$O\
	ndblookval.$O\
	ndbopen.$O\
	ndbparse.$O\
	ndbreorder.$O\
	ndbsubstitute.$O\
	ndbdedup.$O\

HFILES=\
	/sys/include/ndb.h\
	ndbhf.h

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

</sys/src/cmd/mksyslib

$O.out: testipinfo.$O
	$LD $prereq