2004-12-27 16:53:01 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2005-01-07 21:47:30 +00:00
|
|
|
OBJTYPE=${OBJTYPE:-`uname -m | sed 's/Power Macintosh/power/;s/i.86/386/'`}
|
|
|
|
SYSNAME=${SYSNAME:-`uname`}
|
|
|
|
tag="$OBJTYPE-$SYSNAME-`uname -r`-${CC9:-cc}"
|
2004-12-27 16:53:01 +00:00
|
|
|
case "$tag" in
|
|
|
|
*-Linux-2.6.*)
|
|
|
|
echo pthread.o
|
|
|
|
;;
|
|
|
|
*-FreeBSD-5.*)
|
|
|
|
echo pthread.o
|
|
|
|
;;
|
2005-01-07 07:47:37 +00:00
|
|
|
*-Linux-*)
|
2005-01-07 21:47:30 +00:00
|
|
|
# will have to fix this for linux power pc
|
|
|
|
echo $SYSNAME.o ${SYSNAME}asm.o
|
2005-01-07 07:47:37 +00:00
|
|
|
;;
|
|
|
|
*-FreeBSD-*)
|
2005-01-07 21:47:30 +00:00
|
|
|
echo $SYSNAME.o ${SYSNAME}asm.o
|
2005-01-07 07:47:37 +00:00
|
|
|
;;
|
2005-01-07 21:47:30 +00:00
|
|
|
*-Darwin-*)
|
|
|
|
echo ${SYSNAME}-${OBJTYPE}-asm.o ${SYSNAME}-${OBJTYPE}.o pthread.o
|
2005-01-07 07:47:37 +00:00
|
|
|
*)
|
|
|
|
echo pthread.o
|
2004-12-27 16:53:01 +00:00
|
|
|
esac
|
|
|
|
|