1 # Copyright 2000, International Business Machines Corporation and others.
4 # This software has been released under the terms of the IBM Public
5 # License. For details, see the LICENSE file in the top-level source
6 # directory or online at http://www.openafs.org/dl/license10.html
8 # An InstallGuide for installing static AFS kernel libraries
9 # For SUN systems running SunOS 4.x
15 $arch = `/bin/uname -m`;
17 &ErrorMsg("Couldn't get sun kernel architecture type with","/bin/uname -m")
18 unless ($arch =~ /sun/);
21 if ($Configuration{"NFSEXTENSIONS"}) {
22 &Copy("root.client/bin/libafs.a", "/usr/sys/$arch/OBJ/libafs.o"); }
24 &Copy("root.client/bin/libafs.nonfs.a", "/usr/sys/$arch/OBJ/libafs.o"); }
25 &VPrint("Running ranlib on library");
26 system("ranlib /usr/sys/$arch/OBJ/libafs.o");
28 &Copy("root.client/usr/vice/etc/afsd", "/usr/vice/etc");
29 &Chmod(0744, "/usr/vice/etc/afsd");
30 &Copy("bin/fs", "/usr/vice/etc/fs");