Irix: Add a simple osi_ReadRandom implementation
[openafs.git] / src / libafs / MakefileProto.IRIX.in
index 76818c4..310db13 100644 (file)
@@ -7,17 +7,24 @@
 
 srcdir=@srcdir@
 include @TOP_OBJDIR@/src/config/Makefile.config
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
 
 
 # OS specific object files:
 AFS_OS_OBJS = \
        base64.o \
+       osi_crypto.o \
+       osi_gcpags.o \
        osi_groups.o \
        osi_idbg.o \
        osi_file.o \
        osi_inode.o \
        osi_misc.o \
        osi_sleep.o \
+       osi_vcache.o \
        osi_vm.o \
        osi_vnodeops.o
 
@@ -30,6 +37,8 @@ AFS_OS_NONFSOBJS = \
 
 # System specific build commands and flags
 DBUG=-g2
+WSUPPRESS= -woff 1174,1196,1201,1209,1496,3201,3968
+
 
 <sgi_62>
 MPS=MP SP
@@ -44,7 +53,7 @@ KDEFS=-D_K64U64 -D_KERNEL -DSTATIC=static -D_PAGESZ=16384 -D_MIPS3_ADDRSPACE \
        -DTFP -non_shared -elf -xansi -64 -mips4 -TENV:kernel \
        -TENV:misalignment=1 -OPT:space \
        -D${CPUBOARD} -D${MPSP} -D${CPUARCH} -DAFS_SGIMP_ENV ${NODYNOPT} \
-       -jalr -woff 1209,1196,1496
+       -jalr ${WSUPPRESS}
 <sgi_62>
 # Turning off warnings regarding constant conditionals and not prototyped.
 KDEFS_64BIT= -64 -D_K64U64 -D_PAGESZ=16384 -TENV:kernel -OPT:space \
@@ -60,7 +69,7 @@ KDEFS= -I/usr/include -I/usr/include/sys -D_KERNEL -DSTATIC=static \
        -D_MIPS3_ADDRSPACE -non_shared -elf -xansi \
        ${CPU_KDEFS} \
        -D${CPUBOARD} -D${MPSP} -DAFS_SGIMP_ENV ${NODYNOPT} \
-       -jalr -woff 1209,1196,1496
+       -jalr ${WSUPPRESS}
 R10000_KDEFS = -mips4 -DR10000 -DEXPRESS -DIP28 -DI2_64 -DFAST_LOCORE_FAULT \
        -DSCACHE_SET_ASSOC=2 -D_NO_UNCACHED_MEM_WAR -DMIPS4_ISA \
        -DR10000_SPECULATION_WAR  \
@@ -86,7 +95,7 @@ KDEFS= -I/usr/include -I/usr/include/sys -D_KERNEL -DSTATIC=static \
        -non_shared -elf -xansi \
        ${CPU_KDEFS} \
        -D${CPUBOARD} -D${MPSP} -DAFS_SGIMP_ENV ${NODYNOPT} \
-       -jalr -woff 1209,1196,1496
+       -jalr ${WSUPPRESS}
 R5000_LDFLAGS = -mips2 -o32
 R5000_KDEFS =  -DCRIME -DIP32 -DCRM -D_K32U64 -xansi -D_PAGESZ=4096 \
        -D_KERNEL -DSTATIC=static -DPROBE_WAR -D_VCE_AVOIDANCE -DTILE_DATA \
@@ -114,7 +123,7 @@ KDEFS= -I/usr/include -I/usr/include/sys -D_KERNEL -DSTATIC=static \
        -non_shared -elf -xansi \
        ${CPU_KDEFS} \
        -D${CPUBOARD} -D${MPSP} -DAFS_SGIMP_ENV ${NODYNOPT} \
-       -jalr -woff 1209,1196,1496
+       -jalr ${WSUPPRESS}
 R10000_LDFLAGS = -mips4 -64
 R10000_KDEFS = -DKONA -DIP27 -DIP27 -DDISCONTIG_PHYSMEM -DNUMA_BASE -DNUMA_PM \
         -DNUMA_TBORROW -DNUMA_MIGR_CONTROL -DNUMA_REPLICATION \
@@ -157,7 +166,7 @@ KDEFS= -I/usr/include -I/usr/include/sys -DSTATIC=static -DAFS_SGIMP_ENV \
        -TENV:kernel -OPT:space -OPT:Olimit=0 -CG:unique_exit=on \
        -TENV:X=1 -OPT:IEEE_arithmetic=1 -OPT:roundoff=0 \
        -OPT:wrap_around_unsafe_opt=off \
-       -woff 1209,1196,1496
+       ${WSUPPRESS}
 # 32 bit specific flags:
 KDEFS_32 = -n32 -D_PAGESZ=4096 -mips3
 # 64 bit specific flags:
@@ -475,10 +484,9 @@ install_COPYFILES:
        chmod 644 ${DESTDIR}${afskerneldir}/afs
 
 dest_COPYFILES:
-       ${INSTALL} -f sgi_system ${DEST}/root.client/bin/afs.sm
-       chmod 644 ${DEST}/root.client/bin/afs.sm
-       ${INSTALL} -f sgi_master ${DEST}/root.client/bin/afs
-       chmod 644 ${DEST}/root.client/bin/afs
+       ${INSTALL} -d ${DEST}/root.client/bin
+       ${INSTALL} -m 644 sgi_system ${DEST}/root.client/bin/afs.sm
+       ${INSTALL} -m 644 sgi_master ${DEST}/root.client/bin/afs
 
 # Create symlinks to clients we don't need to build.
 # If this changes, also change the kdump symlinks.