shithub: npe

ref: 3316fe5b0e96afe3d3ec3603681f3456b2703b11
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