sgi_65-compilation-patches-20010131
[openafs.git] / src / libafs / MakefileProto.IRIX
1 # Copyright 2000, International Business Machines Corporation and others.
2 # All Rights Reserved.
3
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
7
8 # MakefileProto for IRIX systems
9 #
10
11 DESTDIR=DEST/
12 include $(DESTDIR)../obj/config/Makefile.${SYS_NAME}
13
14
15 # OS specific object files:
16 AFS_OS_OBJS = \
17         afs_base64.o \
18         osi_groups.o \
19         osi_idbg.o \
20         osi_file.o \
21         osi_inode.o \
22         osi_misc.o \
23         osi_sleep.o \
24         osi_vm.o \
25         osi_vnodeops.o
26
27 AFS_OS_NFSOBJS = \
28         osi_vfsops_nfs.o
29
30 AFS_OS_NONFSOBJS = \
31         osi_vfsops.o
32
33
34 # System specific build commands and flags
35 DBUG=-g
36
37 <sgi_62>
38 MPS=MP SP
39 <sgi_63>
40 MPS=SP
41 <sgi_64>
42 MPS=MP
43
44 <sgi_61>
45 # Turning off warnings regarding constant conditionals and not prototyped.
46 KDEFS=-D_K64U64 -D_KERNEL -DSTATIC=static -D_PAGESZ=16384 -D_MIPS3_ADDRSPACE \
47         -DTFP -non_shared -elf -xansi -64 -mips4 -TENV:kernel \
48         -TENV:misalignment=1 -OPT:space \
49         -D${CPUBOARD} -D${MPSP}  -D${CPUARCH} -DAFS_SGIMP_ENV ${NODYNOPT} \
50         -jalr -woff 1209,1196,1496
51 <sgi_62>
52 # Turning off warnings regarding constant conditionals and not prototyped.
53 KDEFS_64BIT= -64 -D_K64U64 -D_PAGESZ=16384 -TENV:kernel -OPT:space \
54         -TENV:misalignment=1
55 R4000_LDFLAGS = -mips3 -64
56 R4000_KDEFS = -mips3  -DR4000_DADDIU_WAR -DFAST_LOCORE_TFAULT -DUSE_LGPAGES \
57         -DR4000 -DEVEREST -DBADVA_WAR -DMP_R4000_BADVA_WAR \
58         -DECC_RECOVER -DCLOCK_CTIME_IS_ABSOLUTE -D_SHAREII -D_HIBERNATORII \
59          -DPIOMEMOPS -DULI ${KDEFS_64BIT}
60 R8000_KDEFS = -mips4 -DTFP -DR8000 ${KDEFS_64BIT}
61 R8000_LDFLAGS = -mips4 -64
62 KDEFS= -I/usr/include -I/usr/include/sys -D_KERNEL -DSTATIC=static \
63         -D_MIPS3_ADDRSPACE -non_shared -elf -xansi \
64         ${CPU_KDEFS} \
65         -D${CPUBOARD} -D${MPSP} -DAFS_SGIMP_ENV ${NODYNOPT} \
66         -jalr -woff 1209,1196,1496
67 R10000_KDEFS = -mips4 -DR10000 -DEXPRESS -DIP28 -DI2_64 -DFAST_LOCORE_FAULT \
68         -DSCACHE_SET_ASSOC=2 -D_NO_UNCACHED_MEM_WAR -DMIPS4_ISA \
69         -DR10000_SPECULATION_WAR  \
70         -OPT:quad_align_branch_targets=FALSE \
71         -OPT:quad_align_with_memops=FALSE -OPT:unroll_times=0 \
72         -DDEFAULTSEMAMETER=1 ${KDEFS_64BIT}
73 R10000_LDFLAGS = -mips4 -64
74 R4000_32_LDFLAGS = -mips2 -o32
75 R4000_32_KDEFS = -mips2 -o32 -elf -DEXPRESS -D_K32U64 -xansi\
76         -D_PAGESZ=4096 -D_KERNEL \
77         -DSTATIC=static -DBADVA_WAR -DJUMP_WAR -DPROBE_WAR -D_MEM_PARITY_WAR \
78         -D_TLB_LOOP_LIMIT -DTLBMOD_BADVADDR_WAR -D_VCE_AVOIDANCE \
79         -D_R4600_CACHEOP_WAR -D_R4600_2_0_CACHEOP_WAR -D_IRIX5_MIPS3 \
80         -D_IRIX5_MIPS4 -D_R5000_BADVADDR_WAR -D_R5000_JUMP_WAR -DMIPS4_ISA \
81         -DR4000 -DR4000PC -DR4600 -DR4600SC -DTRITON -DTRITON_INDYSC \
82         -Wc,-pic0 -fullwarn -non_shared -nostdinc  -Wf,-XNp12000 \
83         -woff 1685,515,608,658,799,803,835,852,1048,1233,1499,1501 \
84         -DDEFAULTSEMAMETER=1
85 <sgi_63>
86 # Turning off warnings regarding constant conditionals and not prototyped.
87 # NOTE: Only for R5000 at the moment.
88 KDEFS= -I/usr/include -I/usr/include/sys -D_KERNEL -DSTATIC=static \
89         -non_shared -elf -xansi \
90         ${CPU_KDEFS} \
91         -D${CPUBOARD} -D${MPSP} -DAFS_SGIMP_ENV ${NODYNOPT} \
92         -jalr -woff 1209,1196,1496
93 R5000_LDFLAGS = -mips2 -o32
94 R5000_KDEFS =  -DCRIME -DIP32 -DCRM -D_K32U64 -xansi -D_PAGESZ=4096 \
95         -D_KERNEL -DSTATIC=static -DPROBE_WAR -D_VCE_AVOIDANCE -DTILE_DATA \
96         -D_VCE_AVOIDANCE_DEBUG -D_R4600_CACHEOP_WAR -D_TLB_LOOP_LIMIT \
97         -D_R4600_2_0_CACHEOP_WAR -DP0_WAR -D_IRIX5_MIPS4 -D_IRIX5_MIPS3 \
98         -D_R5000_BADVADDR_WAR -DMIPS4_ISA -DSW_FAST_CACHE_SYNCH -DSWASH \
99         -D_R5000_CVT_WAR=1 -D_MTEXT_VFS -DR4000 -DR4000PC -DR4600 \
100         -DR4600SC -DTRITON -g -elf -mips2 -fullwarn -non_shared -nostdinc \
101         -mips2 -o32 -woff 1685,515,608,658,799,803,852,1048,1233,1499,1501 \
102         -Wf,-XNp12000 -DDEFAULTSEMAMETER=1
103 R10000_LDFLAGS = -mips2 -o32
104 R10000_KDEFS = -DCRIME -DIP32 -DCRM -D_K32U64 -xansi -D_K32U64 -D_PAGESZ=4096 \
105         -D_KERNEL -DSTATIC=static -D_VCE_AVOIDANCE -DTILE_DATA \
106         -DTLBMOD_BADVADDR_WAR -D_VCE_AVOIDANCE_DEBUG -D_TLB_LOOP_LIMIT \
107         -DP0_WAR -D_IRIX5_MIPS4 -D_IRIX5_MIPS3 -D_R5000_BADVADDR_WAR \
108         -DMIPS4_ISA -DSW_FAST_CACHE_SYNCH -DSWASH -DSCACHE_SET_ASSOC=2 \
109         -D_R5000_CVT_WAR=1 -D_MTEXT_VFS -DR10000_SPECULATION_WAR \
110         -DMH_R10000_SPECULATION_WAR -DSP -DIP32 -DR4000 -DR4000PC -DR4600 \
111         -DR4600SC -DTRITON -DR10000 -D_NO_R4000 -g -elf -mips2 -fullwarn \
112         -non_shared -nostdinc -mips2 -o32 \
113         -woff 1685,515,608,658,799,803,852,1048,1233,1499,1501 \
114         -Wf,-XNp12000 -DDEFAULTSEMAMETER=1 
115 <sgi_64>
116 KDEFS= -I/usr/include -I/usr/include/sys -D_KERNEL -DSTATIC=static \
117         -non_shared -elf -xansi \
118         ${CPU_KDEFS} \
119         -D${CPUBOARD} -D${MPSP} -DAFS_SGIMP_ENV ${NODYNOPT} \
120         -jalr -woff 1209,1196,1496
121 R10000_LDFLAGS = -mips4 -64
122 R10000_KDEFS = -DKONA -DIP27 -DIP27 -DDISCONTIG_PHYSMEM -DNUMA_BASE -DNUMA_PM \
123          -DNUMA_TBORROW -DNUMA_MIGR_CONTROL -DNUMA_REPLICATION \
124         -DNUMA_REPL_CONTROL -DNUMA_SCHED -DLARGE_CPU_COUNT -DHUB2_NACK_WAR \
125         -DBRIDGE_ERROR_INTR_WAR -DMAPPED_KERNEL -DBHV_SYNCH -DHUB_ERR_STS_WAR \
126          -DHUB_MIGR_WAR -DNCR16C550 -DTL16PIR552 -DSN0_INTR_BROKEN -DFRU \
127         -DFORCE_ERRORS -DSN0_USE_BTE -DBTE_BZERO_WAR -DREV1_BRIDGE_SUPPORTED \
128         -DHUB_II_IFDR_WAR -xansi -DDISCONTIG_PHYSMEM -DNUMA_BASE -DNUMA_PM \
129         -DNUMA_TBORROW -DNUMA_MIGR_CONTROL -DNUMA_REPLICATION \
130         -DNUMA_REPL_CONTROL -DNUMA_SCHED -DLARGE_CPU_COUNT -DHUB2_NACK_WAR \
131         -DBRIDGE_ERROR_INTR_WAR -DMAPPED_KERNEL -DBHV_SYNCH \
132         -DHUB_ERR_STS_WAR -DHUB_MIGR_WAR -DNCR16C550 -DTL16PIR552 \
133         -DSN0_INTR_BROKEN -DFRU -DFORCE_ERRORS -DSN0_USE_BTE -DBTE_BZERO_WAR \
134         -DREV1_BRIDGE_SUPPORTED -DHUB_II_IFDR_WAR -D_PAGESZ=16384 -D_KERNEL \
135         -DSTATIC=static -D_MIPS3_ADDRSPACE -DSN0 -DMIPS4_ISA \
136         -DCLOCK_CTIME_IS_ABSOLUTE -DFAST_LOCORE_TFAULT -DULI -DCKPT \
137         -DIDLESTACK_FASTINT -DR10K_LLSC_WAR -DPTE_64BIT -DRMAPS \
138         -DPAGE_MIGRATION -DSW_FAST_CACHE_SYNCH -DINTR_KTHREADS \
139         -DMRSP_AS_MR -D_MP_NETLOCKS -DMP_STREAMS=1 -DIP27 -DR10000 \
140         -g -TENV:kernel -TENV:misalignment=1 -OPT:space \
141         -OPT:quad_align_branch_targets=FALSE \
142         -OPT:quad_align_with_memops=FALSE \
143         -OPT:unroll_times=0 -OPT:Olimit=5000 -TARG:processor=r10000 \
144         -FE:pointer_readonly -use_readonly_const -fullwarn \
145         -non_shared -mips4 -64 \
146         -woff 1685,515,608,658,799,803,852,1048,1233,1499,1501 \
147         -DDEFAULTSEMAMETER=1
148 <sgi_65>
149 # For Irix 6.5 we are building based on cpu board number rather than CPU number
150 # While -G 8 is recommended for space, we know that the table overflows when
151 # both AFS and DFS are compiled into the kernel. For Irix 6.5, define MP
152 # so we pick up locks.
153 KDEFS= -I/usr/include -I/usr/include/sys -DSTATIC=static -DAFS_SGIMP_ENV \
154         -DMP -D_KERNEL -DMP_STREAMS -D_MP_NETLOCKS -DMRSP_AS_MR \
155         -fullwarn -non_shared -G 0 \
156         -TENV:kernel -OPT:space -OPT:Olimit=0 -CG:unique_exit=on \
157         -TENV:X=1 -OPT:IEEE_arithmetic=1 -OPT:roundoff=0 \
158         -OPT:wrap_around_unsafe_opt=off \
159         ${CPU_KDEFS} -woff 1209,1196,1496
160 # 32 bit specific flags:
161 KDEFS_32 = -n32 -D_PAGESZ=4096 -mips3
162 # 64 bit specific flags:
163 KDEFS_64 = -64 -D_PAGESZ=16384 -D_MIPS3_ADDRSPACE -mips4
164
165 # CPU board specific flags:
166 IP19_KDEFS = -DIP19 -DEVEREST -DMP -DR4000 \
167         -mips3  -D_PAGESZ=16384 -D_MIPS3_ADDRSPACE -64
168 IP20_KDEFS = -DIP20 -DR4000 -DJUMP_WAR -DBADVA_WAR -DTRITON -DUSE_PCI_PIO \
169                 $(KDEFS_32)
170 IP21_KDEFS = -DIP21 -DEVEREST -DMP -DTFP -TARG:processor=r8000 $(KDEFS_64)
171 IP25_KDEFS = -DIP25 -DEVEREST -DMP -DR10000 -TARG:processor=r10000 $(KDEFS_64)
172 IP26_KDEFS = -DIP26 -DTFP -TARG:sync=off -TARG:processor=r8000 $(KDEFS_64)
173 IP27_KDEFS =  -DIP27 -DR10000 -DMP -DSN -DSN0 -DMAPPED_KERNEL \
174         -DLARGE_CPU_COUNT \
175         -DPTE_64BIT -DULI -DCKPT -DMIPS4_ISA -DR10K_LLSC_WAR -DNUMA_BASE \
176         -DNUMA_PM  -DNUMA_TBORROW -DNUMA_MIGR_CONTROL -DNUMA_REPLICATION \
177         -DNUMA_REPL_CONTROL -DNUMA_SCHED -DCELL_PREPARE -DBHV_PREPARE \
178         -TARG:processor=r10000 $(KDEFS_64)
179 IP28_KDEFS = -DIP28 -DR10000 -DSCACHE_SET_ASSOC=2 -D_NO_UNCACHED_MEM_WAR \
180         -DR10000_SPECULATION_WAR -TARG:processor=r10000 \
181         -TARG:t5_no_spec_stores $(KDEFS_64)
182 IP30_KDEFS = -DIP30 -DR10000 -DMP -DCELL_PREPARE -DBHV_PREPARE \
183         -TARG:processor=r10000 $(KDEFS_64)
184 # Loader flags
185 LDFLAGS_64 = -64
186 LDFLAGS_32 = -n32
187
188
189 <all>
190 DEFINES= -DAFSDEBUG -DKERNEL -DAFS -DVICE -DNFS -DUFS -DINET -DQUOTA -DGETMOUNT
191 OPTF=${OPT} 
192 OPTF2=${OPT2} 
193 CFLAGS=-I. -I.. ${FSINCLUDES} $(DEFINES) -G 0 $(KDEFS) $(KOPTS) ${DBUG}
194
195 # This tells Makefile.common to use it's single directory build target.
196 #COMPDIRS = single_compdir
197 # This is the irix multiple directory target.
198 COMPDIRS = irix_compdirs
199
200 include Makefile.common
201
202 # Make all the directories, even if only building one.
203 <sgi_62>
204 PROCESSORS=R4000 R4000_32 R8000 R10000
205 <sgi_63>
206 PROCESSORS = R5000 R1000
207 <sgi_64>
208 PROCESSORS = R10000
209 <sgi_65>
210 PROCESSORS = IP19 IP20 IP21 IP25 IP26 IP27 IP28 IP30
211 <all>
212
213 KOBJ = STATIC MODLOAD
214
215
216 setup:
217         -rm -f  h net netinet rpc ufs nfs  machine sys sgiefs
218         -ln -s /usr/include/sys h
219         -ln -s /usr/include/net /usr/include/netinet .
220         -ln -s /usr/include/rpc /usr/include/sys .
221         -ln -s /usr/include/sys/fs .
222         -mkdir ${DESTDIR}root.client/bin
223         -mkdir ${DESTDIR}root.client/usr/vice/etc/sgiload
224 <all -sgi_65>
225         BUILDPROCS="${PROCESSORS}" ; \
226         BUILDMPS="${MPS}" ; \
227         if [ "${CPUARCH}" != "" ] ; then \
228                 BUILDPROCS=${CPUARCH}; \
229                 BUILDMPS=${MPSP}; \
230         fi ; \
231         for p in $${BUILDPROCS} ; do \
232           for n in $${BUILDMPS} ; do \
233             for t in ${KOBJ} ; do \
234                 dir=$$t.$$n.$$p ; \
235                 echo Making directory: $$dir; \
236                 mkdir -p $$dir; \
237                 rm -f $$dir/Makefile.common $$dir/Makefile; \
238                 ln -s ../Makefile.common $$dir/Makefile.common; \
239                 ln -s ../Makefile $$dir/Makefile; \
240             done; \
241           done; \
242         done
243 <sgi_65>
244         BUILDPROCS="${PROCESSORS}" ; \
245         if [ "${IPNO}" != "" ] ; then \
246                 BUILDPROCS="${IPNO}"; \
247         fi ; \
248         for p in $${BUILDPROCS} ; do \
249             for t in ${KOBJ} ; do \
250                 dir=$$t.$$p ; \
251                 echo Making directory: $$dir; \
252                 mkdir -p $$dir; \
253                 rm -f $$dir/Makefile.common $$dir/Makefile; \
254                 ln -s ../Makefile.common $$dir/Makefile.common; \
255                 ln -s ../Makefile $$dir/Makefile; \
256             done; \
257         done
258 <all>
259         echo Setup compelete.
260
261
262 # Compile static and modload versions of the clients.
263 <all -sgi_65>
264 ${COMPDIRS}:
265         BUILDPROCS="${PROCESSORS}" ; \
266         if [ "${CPUARCH}" != "" ] ; then \
267                 BUILDPROCS=${CPUARCH}; \
268                 BUILDMPS=${MPSP}; \
269         fi ; \
270         for p in $${BUILDPROCS} ; do \
271           for n in $${BUILDMPS} ; do \
272             for t in ${KOBJ} ; do \
273               dir=$$t.$$n.$$p ; \
274                 echo Building directory: $$dir; \
275                 case $$p in \
276                         R4000) \
277                          CPUBOARD=IP19; \
278                          CPU_KDEFS="${R4000_KDEFS}"; \
279                          LDFLAGS="${R4000_LDFLAGS}";; \
280                         R4000_32) \
281                          CPUBOARD=IP22; \
282                          CPU_KDEFS="${R4000_32_KDEFS}"; \
283                          LDFLAGS="${R4000_32_LDFLAGS}";; \
284                         R5000) \
285                          CPUBOARD=IP32; \
286                          CPU_KDEFS="${R5000_KDEFS}"; \
287                          LDFLAGS="${R5000_LDFLAGS}";; \
288                         R8000) \
289                          CPUBOARD=IP26; \
290                          CPU_KDEFS="${R8000_KDEFS}"; \
291                          LDFLAGS="${R8000_LDFLAGS}";; \
292                         R10000) \
293 <sgi_62>
294                          CPUBOARD=IP28; \
295 <sgi_63>
296                          CPUBOARD=IP32; \
297 <sgi_64>
298                          CPUBOARD=IP27; \
299 <sgi_62 sgi_63 sgi_64>
300                          CPU_KDEFS="${R10000_KDEFS}"; \
301                          LDFLAGS="${R10000_LDFLAGS}";; \
302                         *) echo "Unknown CPUARCH <$$p>" ; exit 1 ;; \
303                         esac ;\
304                         export CPUBOARD ;\
305                         export CPU_KDEFS ;\
306                         export LDFLAGS; \
307                 cd $$dir ; \
308                 $(MAKE) CPUARCH=$$p MPSP=$$n DESTDIR=../${DESTDIR} $$t.libafs || exit $$?;\
309                 cd ../ ; \
310             done; \
311           done; \
312         done
313 <sgi_65>
314 ${COMPDIRS}:
315         BUILDPROCS="${PROCESSORS}" ; \
316         if [ "${IPNO}" != "" ] ; then \
317                 BUILDPROCS="${IPNO}"; \
318         fi ; \
319         for p in $${BUILDPROCS} ; do \
320             for t in ${KOBJ} ; do \
321               dir=$$t.$$p ; \
322                 echo Building directory: $$dir; \
323                 LDFLAGS="${LDFLAGS_64}"; \
324                 case $$p in \
325                 IP19)   CPU_KDEFS="${IP19_KDEFS}";; \
326                 IP20)   CPU_KDEFS="${IP20_KDEFS}"; \
327                         LDFLAGS="${LDFLAGS_32}";; \
328                 IP21)   CPU_KDEFS="${IP21_KDEFS}";; \
329                 IP25)   CPU_KDEFS="${IP25_KDEFS}";; \
330                 IP26)   CPU_KDEFS="${IP26_KDEFS}";; \
331                 IP27)   CPU_KDEFS="${IP27_KDEFS}";; \
332                 IP28)   CPU_KDEFS="${IP28_KDEFS}";; \
333                 IP30)   CPU_KDEFS="${IP30_KDEFS}";; \
334                 *) echo Unknown IP number $$p ; exit 1 ;; \
335                 esac ;\
336                 case $$t in \
337                 MODLOAD) CPU_KDEFS="$${CPU_KDEFS} -TARG:force_jalr";; \
338                 esac ;\
339                 case $$t in \
340                 STATIC) echo X $${CPU_KDEFS} | sed 's/^X//' > $$dir/CPU_KDEFS;; \
341                 esac ;\
342                 export CPU_KDEFS ;\
343                 export LDFLAGS ;\
344                 cd $$dir ; \
345                 $(MAKE) IPNO=$$p DESTDIR=${DESTDIR} $$t.libafs || exit $$?; \
346                 cd ../ ; \
347           done; \
348         done
349 <all>
350
351
352 LIBAFSNONFSA = libafs.nonfs.a
353 COPYFILES = copyfiles
354 LINKFILES = linkfiles
355
356 STATICCLIENTDIR = ${DESTDIR}root.client/bin
357 MODLOADCLIENTDIR = ${DESTDIR}root.client/usr/vice/etc/sgiload
358
359 # Make the NFS and no-NFS clients for this directory.
360 # STATIC.libafs: ${LIBAFSNONFSA} ${COPYFILES} ${LINKFILES}
361 STATIC.libafs: ${LIBAFSNONFSA} ${COPYFILES} ${LINKFILES}
362 <all -sgi_65>
363         ${CP} ${LIBAFSNONFSA} \
364                 ${STATICCLIENTDIR}/libafs.${MPSP}.${CPUARCH}.nonfs.a
365 <sgi_65>
366         ${CP} ${LIBAFSNONFSA} \
367                 ${STATICCLIENTDIR}/libafs.${IPNO}.nonfs.a
368 <all>
369
370 ${LIBAFSNONFSA}: $(AFSAOBJS) $(AFSNONFSOBJS)
371         $(AR) cru  $@ $?
372
373 LIBAFSNONFSO = libaf.nonfs.o
374
375 # MODLOAD.libafs: ${LIBAFSNONFSO} ${COPYFILES} ${LINKFILES}
376 MODLOAD.libafs: ${LIBAFSNONFSO} ${COPYFILES} ${LINKFILES}
377 <all -sgi_65>
378         ${CP} ${LIBAFSNONFSO} \
379                 ${MODLOADCLIENTDIR}/libafs.${MPSP}.${CPUARCH}.nonfs.o
380 <sgi_65>
381         ${CP} ${LIBAFSNONFSO} \
382                 ${MODLOADCLIENTDIR}/libafs.${IPNO}.nonfs.o
383 <all>
384
385 ${LIBAFSNONFSO}: $(AFSAOBJS) $(AFSNONFSOBJS)
386         $(LD) ${LDFLAGS} -elf -r -d -G 0 -o ${LIBAFSNONFSO} \
387                 $(AFSAOBJS) $(AFSNONFSOBJS)
388
389 ${COPYFILES}:
390         ${CP} ../sgi_system ${STATICCLIENTDIR}/afs.sm
391         chmod 644 ${STATICCLIENTDIR}/afs.sm
392         ${CP} ../sgi_master ${STATICCLIENTDIR}/afs
393         chmod 644 ${STATICCLIENTDIR}/afs
394
395 # Create symlinks to clients we don't need to build.
396 # If this changes, also change the kdump symlinks.
397 ${LINKFILES}:
398 <sgi_65>
399         ln -fs  libafs.IP20.a       ${DESTDIR}root.client/bin/libafs.IP22.a
400         ln -fs  libafs.IP20.a       ${DESTDIR}root.client/bin/libafs.IP32.a
401         ln -fs  libafs.IP20.nonfs.a ${DESTDIR}root.client/bin/libafs.IP22.nonfs.a
402         ln -fs  libafs.IP20.nonfs.a ${DESTDIR}root.client/bin/libafs.IP32.nonfs.a
403         ln -fs  libafs.IP20.o       ${DESTDIR}root.client/usr/vice/etc/sgiload/libafs.IP22.o
404         ln -fs  libafs.IP20.o       ${DESTDIR}root.client/usr/vice/etc/sgiload/libafs.IP32.o
405         ln -fs  libafs.IP20.nonfs.o ${DESTDIR}root.client/usr/vice/etc/sgiload/libafs.IP22.nonfs.o
406         ln -fs  libafs.IP20.nonfs.o ${DESTDIR}root.client/usr/vice/etc/sgiload/libafs.IP32.nonfs.o
407
408         
409
410
411 # Object build rules:
412 # Common objects
413 afs_base64.o: $(AFS)/afs_base64.c
414         $(CRULE1);
415 osi_groups.o: $(AFS)/osi_groups.c
416         $(CRULE1);
417 osi_idbg.o: $(AFS)/osi_idbg.c
418         $(CRULE1);
419 osi_inode.o: $(AFS)/osi_inode.c
420         $(CRULE1);
421 osi_file.o: $(AFS)/osi_file.c
422         $(CRULE1);
423 osi_misc.o: $(AFS)/osi_misc.c
424         $(CRULE1);
425 osi_sleep.o: $(AFS)/osi_sleep.c
426         $(CRULE1);
427 osi_vfsops_nfs.o: $(AFS)/osi_vfsops.c
428         $(CRULE1) -o osi_vfsops_nfs.o;
429 osi_vfsops.o: $(AFS)/osi_vfsops.c
430         $(CRULE1) -DAFS_NONFSTRANS;
431 osi_vm.o: $(AFS)/osi_vm.c
432         $(CRULE1);
433 osi_vnodeops.o: $(AFS)/osi_vnodeops.c
434         $(CRULE1);
435
436