shithub: riscv

ref: f88a55e79b5bf656e7f9578d1318a955b9a4963a
dir: /sys/src/libndb/mkfile/

View raw version
</$objtype/mkfile

LIB=/$objtype/lib/libndb.a
OFILES=\
	csgetval.$O\
	csipinfo.$O\
	dnsquery.$O\
	ipattr.$O\
	mkptrname.$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\
	ndbvalfmt.$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