figure out which files to put in the library

This commit is contained in:
rsc 2004-12-27 16:53:01 +00:00
parent f1e8706de8
commit 8cd0011323

View file

@ -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