mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-15 11:20:03 +00:00
26 lines
450 B
Bash
26 lines
450 B
Bash
#!/bin/sh
|
|
|
|
test -f $PLAN9/config && . $PLAN9/config
|
|
|
|
tag="$OBJTYPE-$SYSNAME-${SYSVERSION:-`uname -r`}-${CC9:-cc}"
|
|
case "$tag" in
|
|
*-Linux-2.6.*)
|
|
echo pthread.o
|
|
;;
|
|
*-FreeBSD-5.*)
|
|
echo pthread.o
|
|
;;
|
|
*-Linux-*)
|
|
# will have to fix this for linux power pc
|
|
echo $SYSNAME.o ${SYSNAME}asm.o
|
|
;;
|
|
*-FreeBSD-*)
|
|
echo $SYSNAME.o ${SYSNAME}asm.o
|
|
;;
|
|
*-Darwin-*)
|
|
echo ${SYSNAME}-${OBJTYPE}-asm.o ${SYSNAME}-${OBJTYPE}.o pthread.o
|
|
;;
|
|
*)
|
|
echo pthread.o
|
|
esac
|
|
|