shithub: npe

ref: bd64760ce92e4da423a9330021e8f09b0de5fc73
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\
	_npe.h\

OFILES=\
	_main.$O\
	_npe.$O\
	closedir.$O\
	exp2.$O\
	fts_children.$O\
	fts_close.$O\
	fts_open.$O\
	fts_read.$O\
	fts_set.$O\
	getenv.$O\
	gettimeofday.$O\
	iconv.$O\
	iconv_close.$O\
	iconv_open.$O\
	isinf.$O\
	isnormal.$O\
	localtime.$O\
	log2.$O\
	lrint.$O\
	lrintf.$O\
	mkdir.$O\
	opendir.$O\
	readdir.$O\
	rename.$O\
	round.$O\
	sigaction.$O\
	stat.$O\
	strerror.$O\
	strftime.$O\
	trunc.$O\
	usleep.$O\

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

</sys/src/cmd/mksyslib