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\
|
|
|
|
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
|
|
|
|
|
2004-09-17 03:34:32 +00:00
|
|
|
tfork: tfork.$O $PLAN9/lib/$LIB
|
|
|
|
$LD -o tfork tfork.$O $LDFLAGS -lthread -l9
|
|
|
|
|
2003-11-23 18:18:00 +00:00
|
|
|
tprimes: tprimes.$O $PLAN9/lib/$LIB
|
2004-09-17 00:38:29 +00:00
|
|
|
$LD -o tprimes tprimes.$O $LDFLAGS -lthread -l9
|
2003-11-23 18:18:00 +00:00
|
|
|
|
|
|
|
texec: texec.$O $PLAN9/lib/$LIB
|
2004-09-17 00:38:29 +00:00
|
|
|
$LD -o texec texec.$O $LDFLAGS -lthread -l9
|
2003-11-23 18:18:00 +00:00
|
|
|
|
|
|
|
trend: trend.$O $PLAN9/lib/$LIB
|
2004-09-17 00:38:29 +00:00
|
|
|
$LD -o trend trend.$O $LDFLAGS -lthread -l9
|
2003-11-23 18:18:00 +00:00
|
|
|
|
|
|
|
CLEANFILES=$CLEANFILES tprimes texec
|
|
|
|
|
2004-08-22 15:39:56 +00:00
|
|
|
asm-Linux-ppc.$O: asm-Linux-386.s
|
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
|
2004-04-21 23:43:46 +00:00
|
|
|
|
|
|
|
# sorry
|
|
|
|
VG=`test -d /home/rsc/pub/valgrind-debian && echo -DUSEVALGRIND`
|
2004-05-11 17:51:27 +00:00
|
|
|
# VG=
|
2004-04-21 23:43:46 +00:00
|
|
|
|
|
|
|
CFLAGS=$CFLAGS $VG
|
|
|
|
|