2003-11-23 18:18:00 +00:00
|
|
|
<$PLAN9/src/mkhdr
|
|
|
|
|
|
|
|
LIB=libthread.a
|
|
|
|
|
|
|
|
OFILES=\
|
|
|
|
$OBJTYPE.$O\
|
|
|
|
asm-$SYSNAME-$OBJTYPE.$O\
|
|
|
|
channel.$O\
|
|
|
|
chanprint.$O\
|
|
|
|
create.$O\
|
|
|
|
debug.$O\
|
|
|
|
exec-unix.$O\
|
|
|
|
exit.$O\
|
2004-02-29 22:10:26 +00:00
|
|
|
fdwait.$O\
|
2003-11-23 18:18:00 +00:00
|
|
|
getpid.$O\
|
|
|
|
id.$O\
|
|
|
|
iocall.$O\
|
|
|
|
ioclose.$O\
|
2004-02-09 19:33:05 +00:00
|
|
|
iodial.$O\
|
2003-11-23 18:18:00 +00:00
|
|
|
ioopen.$O\
|
|
|
|
ioproc.$O\
|
|
|
|
ioread.$O\
|
|
|
|
ioreadn.$O\
|
2004-02-09 19:33:05 +00:00
|
|
|
iosleep.$O\
|
2003-11-23 18:18:00 +00:00
|
|
|
iowrite.$O\
|
|
|
|
kill.$O\
|
|
|
|
lib.$O\
|
|
|
|
main.$O\
|
|
|
|
memset.$O\
|
|
|
|
memsetd.$O\
|
|
|
|
note.$O\
|
|
|
|
proctab.$O\
|
2004-02-29 22:10:26 +00:00
|
|
|
read9pmsg.$O\
|
2003-11-23 18:18:00 +00:00
|
|
|
ref.$O\
|
|
|
|
rendez.$O\
|
|
|
|
sched.$O\
|
|
|
|
|
|
|
|
HFILES=\
|
|
|
|
$PLAN9/include/thread.h\
|
|
|
|
label.h\
|
|
|
|
threadimpl.h\
|
|
|
|
|
|
|
|
<$PLAN9/src/mksyslib
|
|
|
|
|
|
|
|
tprimes: tprimes.$O $PLAN9/lib/$LIB
|
|
|
|
$LD -o tprimes tprimes.$O $LDFLAGS -lthread -l9 -lfmt -lutf
|
|
|
|
|
|
|
|
texec: texec.$O $PLAN9/lib/$LIB
|
|
|
|
$LD -o texec texec.$O $LDFLAGS -lthread -l9 -lfmt -lutf
|
|
|
|
|
|
|
|
trend: trend.$O $PLAN9/lib/$LIB
|
|
|
|
$LD -o trend trend.$O $LDFLAGS -lthread -l9 -lfmt -lutf
|
|
|
|
|
|
|
|
CLEANFILES=$CLEANFILES tprimes texec
|
|
|
|
|
2004-04-21 19:29:04 +00:00
|
|
|
asm-Linux-386.$O: asm-FreeBSD-386.s
|
|
|
|
asm-NetBSD-386.$O: asm-FreeBSD-386.s
|
|
|
|
asm-OpenBSD-386.$O: asm-FreeBSD-386.s
|