aboutsummaryrefslogtreecommitdiff
path: root/src/libthread/sysofiles.sh
blob: 802faf7686870866b1f80fd9386a45d984befc55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh

tag="$OBJTYPE-$SYSNAME-`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