shithub: npe

ref: 9c1c52a8cf07ab0c308c494e58ddf38988c98d13
dir: /libnpe_pthread/mkfile/

View raw version
</$objtype/mkfile

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

HFILES=\
	_pthread.h\

OFILES=\
	pthread_attr_destroy.$O\
	pthread_attr_init.$O\
	pthread_attr_setstacksize.$O\
	pthread_cond_broadcast.$O\
	pthread_cond_destroy.$O\
	pthread_cond_init.$O\
	pthread_cond_signal.$O\
	pthread_cond_wait.$O\
	pthread_create.$O\
	pthread_join.$O\
	pthread_mutex_destroy.$O\
	pthread_mutex_init.$O\
	pthread_mutex_lock.$O\
	pthread_mutex_unlock.$O\
	pthread_once.$O\

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

</sys/src/cmd/mksyslib