figure out which files to put in the library
diff --git a/src/libthread/sysofiles.sh b/src/libthread/sysofiles.sh
new file mode 100644
index 0000000..235cd76
--- /dev/null
+++ b/src/libthread/sysofiles.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+tag="${SYSNAME:-`uname -m`}-${OBJTYPE:-`uname`}-`uname -r`-${CC9:-cc}"
+case "$tag" in
+*-Linux-2.6.*)
+	echo pthread.o
+	;;
+*-FreeBSD-5.*)
+	echo pthread.o
+	;;
+*)
+	echo `uname`.o `uname`asm.o
+esac
+