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
# System specific build commands and flags
DBUG=-g2
+WSUPPRESS= -woff 1174,1196,1201,1209,1496,3201,3968
+
<sgi_62>
MPS=MP SP
-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 \
-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 \
-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 \
-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 \
-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:
echo Building directory: $$dir; \
case $$p in \
IP19) CPU_KDEFS="${IP19_KDEFS}"; \
- LDFLAGS="${LDFLAGS_32}";; \
+ CPU_LDFLAGS="${LDFLAGS_32}";; \
IP20) CPU_KDEFS="${IP20_KDEFS}"; \
- LDFLAGS="${LDFLAGS_32}";; \
+ CPU_LDFLAGS="${LDFLAGS_32}";; \
IP21) CPU_KDEFS="${IP21_KDEFS}"; \
- LDFLAGS="${LDFLAGS_64}";; \
+ CPU_LDFLAGS="${LDFLAGS_64}";; \
IP22_4K) CPU_KDEFS="${IP22_4K_KDEFS}"; \
- LDFLAGS="${LDFLAGS_32}";; \
+ CPU_LDFLAGS="${LDFLAGS_32}";; \
IP22_5K) CPU_KDEFS="${IP22_5K_KDEFS}"; \
- LDFLAGS="${LDFLAGS_32}";; \
+ CPU_LDFLAGS="${LDFLAGS_32}";; \
IP25) CPU_KDEFS="${IP25_KDEFS}"; \
- LDFLAGS="${LDFLAGS_64}";; \
+ CPU_LDFLAGS="${LDFLAGS_64}";; \
IP26) CPU_KDEFS="${IP26_KDEFS}"; \
- LDFLAGS="${LDFLAGS_64}";; \
+ CPU_LDFLAGS="${LDFLAGS_64}";; \
IP27) CPU_KDEFS="${IP27_KDEFS}"; \
- LDFLAGS="${LDFLAGS_64}";; \
+ CPU_LDFLAGS="${LDFLAGS_64}";; \
IP28) CPU_KDEFS="${IP28_KDEFS}"; \
- LDFLAGS="${LDFLAGS_64}";; \
+ CPU_LDFLAGS="${LDFLAGS_64}";; \
IP30) CPU_KDEFS="${IP30_KDEFS}"; \
- LDFLAGS="${LDFLAGS_64}";; \
+ CPU_LDFLAGS="${LDFLAGS_64}";; \
IP32_5K) CPU_KDEFS="${IP32_5K_KDEFS}"; \
- LDFLAGS="${LDFLAGS_32}";; \
+ CPU_LDFLAGS="${LDFLAGS_64}";; \
IP32_10K) CPU_KDEFS="${IP32_10K_KDEFS}"; \
- LDFLAGS="${LDFLAGS_64}";; \
+ CPU_LDFLAGS="${LDFLAGS_64}";; \
IP35) CPU_KDEFS="${IP35_KDEFS}"; \
- LDFLAGS="${LDFLAGS_64}";; \
+ CPU_LDFLAGS="${LDFLAGS_64}";; \
*) echo Unknown IP number $$p ; exit 1 ;; \
esac ;\
case $$t in \
STATIC) echo X $${CPU_KDEFS} | sed 's/^X//' > $$dir/CPU_KDEFS;; \
esac ;\
export CPU_KDEFS ;\
- export LDFLAGS ;\
+ export CPU_LDFLAGS ;\
cd $$dir ; \
- $(MAKE) IPNO=$$p $@_$$t.libafs || exit $$?; \
+ $(MAKE) LDFLAGS="$${CPU_LDFLAGS}" IPNO=$$p $@_$$t.libafs || exit $$?; \
cd ../ ; \
done; \
done
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.