tfigure out which files to put in the library - plan9port - [fork] Plan 9 from user space (HTM) git clone git://src.adamsgaard.dk/plan9port (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit 8cd00113239c76acd0ce7c1ae90d26705a83cc80 (DIR) parent f1e8706de85f43523a789f4411b5727ed5211ec3 (HTM) Author: rsc <devnull@localhost> Date: Mon, 27 Dec 2004 16:53:01 +0000 figure out which files to put in the library Diffstat: A src/libthread/sysofiles.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+), 0 deletions(-) --- (DIR) diff --git a/src/libthread/sysofiles.sh b/src/libthread/sysofiles.sh t@@ -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 +