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