[OpenAFS-devel] possible change for irix libafs makefile
Nathan Neulinger
nneul@umr.edu
Tue, 17 Apr 2001 08:53:18 -0500
--1yeeQ81UyVL57Vl7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On every irix box I've seen /bin is a link to /usr/bin. This just changes
the makefile to use usr/bin instead of bin. The reason is - this makes it
alot easier to use the afs dest directory directly for stuff like rdist
or rsync. Otherwise, tools like that have a tendency to replace the link
with a directory only containing the afs stuff.
-- Nathan
------------------------------------------------------------
Nathan Neulinger EMail: nneul@umr.edu
University of Missouri - Rolla Phone: (573) 341-4841
Computing Services Fax: (573) 341-4216
--1yeeQ81UyVL57Vl7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="irix.diff"
Index: libafs/MakefileProto.IRIX
===================================================================
RCS file: /cvs/openafs/src/libafs/MakefileProto.IRIX,v
retrieving revision 1.3
diff -u -r1.3 MakefileProto.IRIX
--- libafs/MakefileProto.IRIX 2001/01/31 21:27:55 1.3
+++ libafs/MakefileProto.IRIX 2001/04/17 13:51:09
@@ -219,7 +219,8 @@
-ln -s /usr/include/net /usr/include/netinet .
-ln -s /usr/include/rpc /usr/include/sys .
-ln -s /usr/include/sys/fs .
- -mkdir ${DESTDIR}root.client/bin
+ -mkdir ${DESTDIR}root.client/usr
+ -mkdir ${DESTDIR}root.client/usr/bin
-mkdir ${DESTDIR}root.client/usr/vice/etc/sgiload
<all -sgi_65>
BUILDPROCS="${PROCESSORS}" ; \
@@ -353,7 +354,7 @@
COPYFILES = copyfiles
LINKFILES = linkfiles
-STATICCLIENTDIR = ${DESTDIR}root.client/bin
+STATICCLIENTDIR = ${DESTDIR}root.client/usr/bin
MODLOADCLIENTDIR = ${DESTDIR}root.client/usr/vice/etc/sgiload
# Make the NFS and no-NFS clients for this directory.
@@ -396,10 +397,10 @@
# If this changes, also change the kdump symlinks.
${LINKFILES}:
<sgi_65>
- ln -fs libafs.IP20.a ${DESTDIR}root.client/bin/libafs.IP22.a
- ln -fs libafs.IP20.a ${DESTDIR}root.client/bin/libafs.IP32.a
- ln -fs libafs.IP20.nonfs.a ${DESTDIR}root.client/bin/libafs.IP22.nonfs.a
- ln -fs libafs.IP20.nonfs.a ${DESTDIR}root.client/bin/libafs.IP32.nonfs.a
+ ln -fs libafs.IP20.a ${DESTDIR}root.client/usr/bin/libafs.IP22.a
+ ln -fs libafs.IP20.a ${DESTDIR}root.client/usr/bin/libafs.IP32.a
+ ln -fs libafs.IP20.nonfs.a ${DESTDIR}root.client/usr/bin/libafs.IP22.nonfs.a
+ ln -fs libafs.IP20.nonfs.a ${DESTDIR}root.client/usr/bin/libafs.IP32.nonfs.a
ln -fs libafs.IP20.o ${DESTDIR}root.client/usr/vice/etc/sgiload/libafs.IP22.o
ln -fs libafs.IP20.o ${DESTDIR}root.client/usr/vice/etc/sgiload/libafs.IP32.o
ln -fs libafs.IP20.nonfs.o ${DESTDIR}root.client/usr/vice/etc/sgiload/libafs.IP22.nonfs.o
--1yeeQ81UyVL57Vl7--