TOP_INCDIR=@TOP_INCDIR@
TOP_LIBDIR=@TOP_LIBDIR@
TOP_SRCDIR=@TOP_SRCDIR@
+TOP_OBJDIR=@TOP_OBJDIR@
+srcdir=@srcdir@
+VPATH=${srcdir}
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
IP19_KDEFS = -DIP19 -DEVEREST -DMP -DR4000 \
-mips3 -D_PAGESZ=16384 -D_MIPS3_ADDRSPACE -64
IP20_KDEFS = -DIP20 -DR4000 -DJUMP_WAR -DBADVA_WAR -DTRITON -DUSE_PCI_PIO \
- $(KDEFS_32)
+ -D_R5000_CVT_WAR=1 -DCKPT -D_MTEXT_VFS $(KDEFS_32)
IP21_KDEFS = -DIP21 -DEVEREST -DMP -DTFP -TARG:processor=r8000 $(KDEFS_64)
IP25_KDEFS = -DIP25 -DEVEREST -DMP -DR10000 -TARG:processor=r10000 $(KDEFS_64)
IP26_KDEFS = -DIP26 -DTFP -TARG:sync=off -TARG:processor=r8000 $(KDEFS_64)
-TARG:t5_no_spec_stores $(KDEFS_64)
IP30_KDEFS = -DIP30 -DR10000 -DMP -DCELL_PREPARE -DBHV_PREPARE \
-TARG:processor=r10000 $(KDEFS_64)
+IP35_KDEFS = -DIP35 -DR10000 -DMP -DSN -DSN1 -DMAPPED_KERNEL \
+ -DLARGE_CPU_COUNT \
+ -DPTE_64BIT -DULI -DCKPT -DMIPS4_ISA -DNUMA_BASE \
+ -DNUMA_PM -DNUMA_TBORROW -DNUMA_MIGR_CONTROL -DNUMA_REPLICATION \
+ -DNUMA_REPL_CONTROL -DNUMA_SCHED -DCELL_PREPARE -DBHV_PREPARE \
+ -TARG:processor=r10000 $(KDEFS_64)
# Loader flags
LDFLAGS_64 = -64
LDFLAGS_32 = -n32
DEFINES= -DAFSDEBUG -DKERNEL -DAFS -DVICE -DNFS -DUFS -DINET -DQUOTA -DGETMOUNT
OPTF=${OPT}
OPTF2=${OPT2}
-CFLAGS=-I. -I.. -I${TOP_SRCDIR}/config ${FSINCLUDES} $(DEFINES) -G 0 $(KDEFS) $(KOPTS) ${DBUG}
+CFLAGS=-I. -I.. -I${TOP_OBJDIR}/src/config ${FSINCLUDES} $(DEFINES) -G 0 $(KDEFS) $(KOPTS) ${DBUG}
# This tells Makefile.common to use it's single directory build target.
#COMPDIRS = single_compdir
<sgi_64>
PROCESSORS = R10000
<sgi_65>
-PROCESSORS = IP19 IP20 IP21 IP25 IP26 IP27 IP28 IP30
+PROCESSORS = IP19 IP20 IP21 IP25 IP26 IP27 IP28 IP30 IP35
<all>
KOBJ = STATIC MODLOAD
setup:
-$(RM) -f h net netinet rpc ufs nfs machine sys
- -ln -s /usr/include/sys h
- -ln -s /usr/include/net /usr/include/netinet .
- -ln -s /usr/include/rpc /usr/include/sys .
- -ln -s /usr/include/sys/fs .
+ -ln -fs /usr/include/sys h
+ -ln -fs /usr/include/net /usr/include/netinet .
+ -ln -fs /usr/include/rpc /usr/include/sys .
+ -ln -fs /usr/include/sys/fs .
<all -sgi_65>
BUILDPROCS="${PROCESSORS}" ; \
BUILDMPS="${MPS}" ; \
echo Making directory: $$dir; \
mkdir -p $$dir; \
$(RM) -f $$dir/Makefile.common $$dir/Makefile $$dir/config; \
- ln -s ../Makefile.common $$dir/Makefile.common; \
- ln -s ../Makefile $$dir/Makefile; \
- ln -s ../config $$dir/config; \
+ ln -fs ../Makefile.common $$dir/Makefile.common; \
+ ln -fs ../Makefile $$dir/Makefile; \
+ ln -fs ../config $$dir/config; \
done; \
done; \
done
echo Making directory: $$dir; \
mkdir -p $$dir; \
$(RM) -f $$dir/Makefile.common $$dir/Makefile $$dir/config; \
- ln -s ../Makefile.common $$dir/Makefile.common; \
- ln -s ../Makefile $$dir/Makefile; \
- ln -s ../config $$dir/config; \
+ ln -fs ../Makefile.common $$dir/Makefile.common; \
+ ln -fs ../Makefile $$dir/Makefile; \
+ ln -fs ../config $$dir/config; \
done; \
done
<all>
IP27) CPU_KDEFS="${IP27_KDEFS}";; \
IP28) CPU_KDEFS="${IP28_KDEFS}";; \
IP30) CPU_KDEFS="${IP30_KDEFS}";; \
+ IP35) CPU_KDEFS="${IP35_KDEFS}";; \
*) echo Unknown IP number $$p ; exit 1 ;; \
esac ;\
case $$t in \
dest_MODLOAD.libafs: ${LIBAFSNONFSO}
<all -sgi_65>
${CP} ${LIBAFSNONFSO} \
- ${DESTDIR}/root.client/usr/vice/etc/sgiload/libafs.${MPSP}.${CPUARCH}.nonfs.o
+ ${DEST}/root.client/usr/vice/etc/sgiload/libafs.${MPSP}.${CPUARCH}.nonfs.o
<sgi_65>
${CP} ${LIBAFSNONFSO} \
- ${DESTDIR}/root.client/usr/vice/etc/sgiload/libafs.${IPNO}.nonfs.o
+ ${DEST}/root.client/usr/vice/etc/sgiload/libafs.${IPNO}.nonfs.o
<all>
${LIBAFSNONFSO}: $(AFSAOBJS) $(AFSNONFSOBJS)
chmod 644 ${DESTDIR}${afskerneldir}/afs
dest_COPYFILES:
- ${CP} sgi_system ${DEST}/root.client/bin/afs.sm
+ ${INSTALL} -f sgi_system ${DEST}/root.client/bin/afs.sm
chmod 644 ${DEST}/root.client/bin/afs.sm
- ${CP} sgi_master ${DEST}/root.client/bin/afs
+ ${INSTALL} -f sgi_master ${DEST}/root.client/bin/afs
chmod 644 ${DEST}/root.client/bin/afs
# Create symlinks to clients we don't need to build.