aboutsummaryrefslogtreecommitdiff
path: root/src/libthread
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-12-27 16:53:01 +0000
committerrsc <devnull@localhost>2004-12-27 16:53:01 +0000
commit8cd00113239c76acd0ce7c1ae90d26705a83cc80 (patch)
tree0f5a39da536e4483b2b9d7340a1e8a8784ec07d7 /src/libthread
parentf1e8706de85f43523a789f4411b5727ed5211ec3 (diff)
downloadplan9port-8cd00113239c76acd0ce7c1ae90d26705a83cc80.tar.gz
plan9port-8cd00113239c76acd0ce7c1ae90d26705a83cc80.tar.bz2
plan9port-8cd00113239c76acd0ce7c1ae90d26705a83cc80.zip
figure out which files to put in the library
Diffstat (limited to 'src/libthread')
-rw-r--r--src/libthread/sysofiles.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/libthread/sysofiles.sh b/src/libthread/sysofiles.sh
new file mode 100644
index 00000000..235cd76a
--- /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
+