shithub: npe

ref: 16bd4782f88ee554cba6c749a632c1c2296369d3
dir: /libnpe/mkfile/

View raw version
</$objtype/mkfile

LIB=/$objtype/lib/libnpe.a
CFLAGS=$CFLAGS -p -I../include/npe -D__plan9__ -D__${objtype}__

HFILES=\
	_iconv.h\
	_dirent.h\

OFILES=\
	_main.$O\
	_plan9.$O\
	closedir.$O\
	exp2.$O\
	getenv.$O\
	iconv.$O\
	iconv_close.$O\
	iconv_open.$O\
	log2.$O\
	lrint.$O\
	lrintf.$O\
	mkdir.$O\
	opendir.$O\
	readdir.$O\
	rename.$O\
	round.$O\
	sigaction.$O\
	stat.$O\
	trunc.$O\
	usleep.$O\

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

</sys/src/cmd/mksyslib