shithub: riscv

ref: 88181e1c5c8d19e61c76b93620abcbc7c2e57481
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\

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