NetBSD support. Thanks to Christoph Lohmann.

This commit is contained in:
rsc 2005-03-28 15:58:14 +00:00
parent be9e0e9857
commit 5ba33c04da
5 changed files with 27 additions and 2 deletions

View file

@ -24,7 +24,9 @@ tspawnloop: tspawnloop.$O
9l -o $target $target.$O $PLAN9/lib/$LIB -l9 -lpthread
%.$O: %.c
9c -I. $stem.c
$CC -I. $stem.c
NetBSD.$O: Linux.c
test:V: tprimes tspawn
primes 1 10007 >p1.txt

View file

@ -17,6 +17,9 @@ case "$tag" in
*-FreeBSD-*)
echo $SYSNAME.o ${SYSNAME}asm.o
;;
*-NetBSD-*)
echo $SYSNAME.o ${SYSNAME}asm.o
;;
*-Darwin-*)
echo ${SYSNAME}-${OBJTYPE}-asm.o ${SYSNAME}-${OBJTYPE}.o pthread.o
;;