0f732ab3ec445c1e7c9063ac2d8d15a7de1b730c
[openafs.git] / src / libuafs / Makefile.common.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 # Common elements for Makefiles for all system types.
9 #
10
11 SHELL=/bin/sh
12 INCLUDE=  -I. -I/usr/include -I${TOP_OBJDIR}/src/config
13 UOBJ    =../UAFS
14 JUAFS   =../JUAFS
15 WEBOBJ=../AFSWEB
16 AFS     =../afs
17 RX      =../rx
18 AFSINT=../afsint
19 DES     =../des
20 LIB     =../lib
21 NS_INCL =SRC/../afsweb/netscape_includes
22
23 TOP_OBJ_FSINT = ${TOP_OBJDIR}/src/fsint
24 TOP_OBJ_RXSTAT = ${TOP_OBJDIR}/src/rxstat
25 TOP_OBJ_VLSERVER = ${TOP_OBJDIR}/src/vlserver
26
27 TOP_SRC_AFS = ${TOP_SRCDIR}/afs
28 TOP_SRC_RXSTAT = ${TOP_SRCDIR}/rxstat
29 TOP_SRC_FSINT = ${TOP_SRCDIR}/fsint
30 TOP_SRC_RX = ${TOP_SRCDIR}/rx
31 TOP_SRC_VNOPS = ${TOP_SRCDIR}/afs/VNOPS
32 TOP_SRC_RXKAD = ${TOP_SRCDIR}/rxkad
33
34 COMMON_INCLUDE = -I. -I.. -I../nfs \
35         -I${TOP_SRCDIR} \
36         -I${TOP_SRCDIR}/afs \
37         -I${TOP_SRCDIR}/afs/UKERNEL \
38         -I${TOP_SRCDIR}/config \
39         -I${TOP_SRCDIR}/rx \
40         -I${TOP_SRCDIR}/rx/UKERNEL \
41         -I${TOP_SRCDIR}/rxkad \
42         -I${TOP_SRCDIR}/util \
43         -I${TOP_OBJDIR}/src \
44         -I${TOP_OBJDIR}/src/afs/UKERNEL \
45         -I${TOP_OBJDIR}/src/afs \
46         -I${TOP_OBJDIR}/src/util \
47         -I${TOP_OBJDIR}/src/rxkad \
48         -I${TOP_OBJDIR}/src/config \
49         -I${TOP_OBJDIR}/src/fsint \
50         -I${TOP_OBJDIR}/src/vlserver \
51         -I${TOP_OBJDIR}/src/libuafs \
52         -I${TOP_INCDIR} \
53         -I${TOP_INCDIR}/afs @INCLUDE_libintl@
54
55 # Build rules - CC and CFLAGS are defined in system specific MakefileProtos.
56
57 all: ${TOP_LIBDIR}/$(LIBJUAFS) ${TOP_LIBDIR}/$(LIBUAFS) linktest
58
59 ${TOP_LIBDIR}/$(LIBAFSWEB): AFSWEB/$(LIBAFSWEB)
60         ${INSTALL_DATA} $? $@
61
62 ${TOP_LIBDIR}/$(LIBAFSWEBKRB): AFSWEB/$(LIBAFSWEBKRB)
63         ${INSTALL_DATA} $? $@
64
65 ${TOP_LIBDIR}/$(LIBUAFS): UAFS/$(LIBUAFS)
66         ${INSTALL_DATA} $? $@
67
68 ${TOP_LIBDIR}/$(LIBJUAFS): JUAFS/$(LIBJUAFS)
69         ${INSTALL_DATA} $? $@
70
71 webinstall: all \
72         ${TOP_LIBDIR}/$(LIBAFSWEB) \
73         ${TOP_LIBDIR}/$(LIBAFSWEBKRB) 
74
75 linktest: UAFS/$(LIBUAFS) ${TOP_OBJDIR}/lib/libdes.a
76         $(CC) $(TEST_CFLAGS) $(TEST_LDFLAGS) -o linktest ${srcdir}/linktest.c $(COMMON_INCLUDE) -DUKERNEL UAFS/$(LIBUAFS) ${TOP_LIBDIR}/libcmd.a ${TOP_LIBDIR}/libdes.a ${TOP_LIBDIR}/libafsutil.a $(TEST_LIBS) $(XLIBS)
77
78
79 CRULE1= $(CC) $(COMMON_INCLUDE) $(OPTF) -DKERNEL $(LIBJUAFS_FLAGS) $(CFLAGS) -c $?
80 CRULE2= $(CC) $(COMMON_INCLUDE) $(OPTF) $(WEBOPTS) -DKERNEL $(LIBJUAFS_FLAGS) $(CFLAGS) -c $?
81
82 UAFSOBJ = \
83         $(UOBJ)/afs_atomlist.o \
84         $(UOBJ)/afs_lhash.o \
85         $(UOBJ)/afs_analyze.o \
86         $(UOBJ)/afs_error.o \
87         $(UOBJ)/afs_axscache.o  \
88         $(UOBJ)/afs_buffer.o    \
89         $(UOBJ)/afs_bypasscache.o \
90         $(UOBJ)/afs_callback.o  \
91         $(UOBJ)/afs_cbqueue.o    \
92         $(UOBJ)/afs_cell.o \
93         $(UOBJ)/afs_chunk.o             \
94         $(UOBJ)/afs_conn.o \
95         $(UOBJ)/afs_daemons.o   \
96         $(UOBJ)/afs_dcache.o \
97         $(UOBJ)/afs_dir.o               \
98         $(UOBJ)/afs_disconnected.o      \
99         $(UOBJ)/afs_dynroot.o \
100         $(UOBJ)/afs_icl.o \
101         $(UOBJ)/afs_init.o \
102         $(UOBJ)/afs_lock.o      \
103         $(UOBJ)/afs_mariner.o \
104         $(UOBJ)/afs_memcache.o  \
105         $(UOBJ)/afs_md5.o       \
106         $(UOBJ)/afs_fetchstore.o        \
107         $(UOBJ)/afs_osidnlc.o   \
108         $(UOBJ)/afs_osi_pag.o \
109         $(UOBJ)/afs_segments.o \
110         $(UOBJ)/afs_server.o \
111         $(UOBJ)/afs_stat.o \
112         $(UOBJ)/afs_syscall.o \
113         $(UOBJ)/afs_user.o \
114         $(UOBJ)/afs_util.o \
115         $(UOBJ)/afs_vcache.o \
116         $(UOBJ)/afs_warn.o \
117         $(UOBJ)/afs_osi_uio.o \
118         $(UOBJ)/afs_vnop_access.o \
119         $(UOBJ)/afs_vnop_attrs.o \
120         $(UOBJ)/afs_vnop_create.o \
121         $(UOBJ)/afs_vnop_dirops.o \
122         $(UOBJ)/afs_vnop_fid.o \
123         $(UOBJ)/afs_vnop_flock.o \
124         $(UOBJ)/afs_vnop_link.o \
125         $(UOBJ)/afs_vnop_lookup.o \
126         $(UOBJ)/afs_vnop_open.o \
127         $(UOBJ)/afs_vnop_read.o \
128         $(UOBJ)/afs_vnop_readdir.o \
129         $(UOBJ)/afs_vnop_remove.o \
130         $(UOBJ)/afs_vnop_rename.o \
131         $(UOBJ)/afs_vnop_strategy.o \
132         $(UOBJ)/afs_vnop_symlink.o \
133         $(UOBJ)/afs_vnop_write.o \
134         $(UOBJ)/afs_volume.o \
135         $(UOBJ)/afs_call.o \
136         $(UOBJ)/afs_pioctl.o \
137         $(UOBJ)/osi_vfsops.o \
138         $(UOBJ)/afs_usrops.o \
139         $(UOBJ)/afsd.o \
140         $(UOBJ)/afsd_uafs.o \
141         $(UOBJ)/xdr.o \
142         $(UOBJ)/xdr_afsuuid.o \
143         $(UOBJ)/afs_uuid.o \
144         $(UOBJ)/assert.o \
145         $(UOBJ)/osi_vnodeops.o \
146         $(UOBJ)/osi_vm.o \
147         $(UOBJ)/osi_groups.o \
148         $(UOBJ)/osi_gcpags.o \
149         $(UOBJ)/afsaux.o \
150         $(UOBJ)/Kvice.xdr.o \
151         $(UOBJ)/xdr_arrayn.o \
152         $(UOBJ)/Kvice.cs.o \
153         $(UOBJ)/fcrypt.o \
154         $(UOBJ)/rx.o \
155         $(UOBJ)/rx_rdwr.o \
156         $(UOBJ)/rx_clock.o \
157         $(UOBJ)/rx_event.o \
158         $(UOBJ)/rx_globals.o \
159         $(UOBJ)/rx_kmutex.o \
160         $(UOBJ)/rx_knet.o \
161         $(UOBJ)/rx_kcommon.o \
162         $(UOBJ)/rx_misc.o \
163         $(UOBJ)/rx_multi.o \
164         $(UOBJ)/rx_null.o \
165         $(UOBJ)/rx_getaddr.o \
166         $(UOBJ)/rx_packet.o \
167         $(UOBJ)/rx_conncache.o \
168         $(UOBJ)/xdr_rx.o \
169         $(UOBJ)/Kvldbint.cs.o \
170         $(UOBJ)/Kvldbint.xdr.o \
171         $(UOBJ)/Kcallback.ss.o \
172         $(UOBJ)/crypt_conn.o \
173         $(UOBJ)/AFS_component_version_number.o \
174         $(UOBJ)/afs_exporter.o \
175         $(UOBJ)/rxkad_client.o \
176         $(UOBJ)/rxkad_common.o \
177         $(UOBJ)/casestrcpy.o \
178         $(UOBJ)/dirpath.o \
179         $(UOBJ)/fileutil.o \
180         $(UOBJ)/netutils.o \
181         $(UOBJ)/et_name.o \
182         $(UOBJ)/com_err.o \
183         $(UOBJ)/error_msg.o \
184         $(UOBJ)/uerrors.o \
185         $(UOBJ)/kaerrors.o \
186         $(UOBJ)/ktc_errors.o \
187         $(UOBJ)/rxkad_errs.o \
188         $(UOBJ)/authclient.o \
189         $(UOBJ)/authcon.o \
190         $(UOBJ)/cellconfig.o \
191         $(UOBJ)/client.o \
192         $(UOBJ)/acfg_errors.o \
193         $(UOBJ)/kaaux.o \
194         $(UOBJ)/kalocalcell.o \
195         $(UOBJ)/kauth.cs.o \
196         $(UOBJ)/kauth.xdr.o \
197         $(UOBJ)/ktc.o \
198         $(UOBJ)/ptint.cs.o \
199         $(UOBJ)/ptint.xdr.o \
200         $(UOBJ)/ptuser.o \
201         $(UOBJ)/pterror.o \
202         $(UOBJ)/ticket.o \
203         $(UOBJ)/token.o \
204         $(UOBJ)/ubik_int.cs.o \
205         $(UOBJ)/ubik_int.xdr.o \
206         $(UOBJ)/ubikclient.o \
207         $(UOBJ)/user.o \
208         $(UOBJ)/hostparse.o \
209         $(UOBJ)/Krxstat.ss.o \
210         $(UOBJ)/Krxstat.xdr.o \
211         $(UOBJ)/rxstat.o \
212         $(UOBJ)/xdr_int32.o \
213         $(UOBJ)/xdr_int64.o \
214         $(UOBJ)/xdr_mem.o \
215         $(UOBJ)/xdr_len.o
216
217 AFSWEBOBJ = \
218         $(WEBOBJ)/afs_atomlist.o \
219         $(WEBOBJ)/afs_lhash.o \
220         $(WEBOBJ)/afs_analyze.o \
221         $(WEBOBJ)/afs_error.o \
222         $(WEBOBJ)/afs_axscache.o \
223         $(WEBOBJ)/afs_buffer.o \
224         $(WEBOBJ)/afs_bypasscache.o \
225         $(WEBOBJ)/afs_callback.o \
226         $(WEBOBJ)/afs_cbqueue.o \
227         $(WEBOBJ)/afs_cell.o \
228         $(WEBOBJ)/afs_chunk.o \
229         $(WEBOBJ)/afs_conn.o \
230         $(WEBOBJ)/afs_daemons.o \
231         $(WEBOBJ)/afs_dcache.o \
232         $(WEBOBJ)/afs_dir.o \
233         $(WEBOBJ)/afs_disconnected.o \
234         $(WEBOBJ)/afs_dynroot.o \
235         $(WEBOBJ)/afs_icl.o \
236         $(WEBOBJ)/afs_init.o \
237         $(WEBOBJ)/afs_lock.o \
238         $(WEBOBJ)/afs_mariner.o \
239         $(WEBOBJ)/afs_memcache.o \
240         $(WEBOBJ)/afs_md5.o \
241         $(WEBOBJ)/afs_fetchstore.o \
242         $(WEBOBJ)/afs_osidnlc.o \
243         $(WEBOBJ)/afs_osi_pag.o \
244         $(WEBOBJ)/afs_segments.o \
245         $(WEBOBJ)/afs_server.o \
246         $(WEBOBJ)/afs_stat.o \
247         $(WEBOBJ)/afs_syscall.o \
248         $(WEBOBJ)/afs_user.o \
249         $(WEBOBJ)/afs_util.o \
250         $(WEBOBJ)/afs_vcache.o \
251         $(WEBOBJ)/afs_warn.o \
252         $(WEBOBJ)/afs_osi_uio.o \
253         $(WEBOBJ)/afs_vnop_access.o \
254         $(WEBOBJ)/afs_vnop_attrs.o \
255         $(WEBOBJ)/afs_vnop_create.o \
256         $(WEBOBJ)/afs_vnop_dirops.o \
257         $(WEBOBJ)/afs_vnop_fid.o \
258         $(WEBOBJ)/afs_vnop_flock.o \
259         $(WEBOBJ)/afs_vnop_link.o \
260         $(WEBOBJ)/afs_vnop_lookup.o \
261         $(WEBOBJ)/afs_vnop_open.o \
262         $(WEBOBJ)/afs_vnop_read.o \
263         $(WEBOBJ)/afs_vnop_readdir.o \
264         $(WEBOBJ)/afs_vnop_remove.o \
265         $(WEBOBJ)/afs_vnop_rename.o \
266         $(WEBOBJ)/afs_vnop_strategy.o \
267         $(WEBOBJ)/afs_vnop_symlink.o \
268         $(WEBOBJ)/afs_vnop_write.o \
269         $(WEBOBJ)/afs_volume.o \
270         $(WEBOBJ)/afs_call.o \
271         $(WEBOBJ)/afs_pioctl.o \
272         $(WEBOBJ)/osi_vfsops.o \
273         $(WEBOBJ)/afs_usrops.o \
274         $(WEBOBJ)/afsd.o \
275         $(WEBOBJ)/afsd_uafs.o \
276         $(WEBOBJ)/xdr.o \
277         $(WEBOBJ)/xdr_afsuuid.o \
278         $(WEBOBJ)/afs_uuid.o \
279         $(WEBOBJ)/assert.o \
280         $(WEBOBJ)/osi_vnodeops.o \
281         $(WEBOBJ)/osi_vm.o \
282         $(WEBOBJ)/osi_groups.o \
283         $(WEBOBJ)/osi_gcpags.o \
284         $(WEBOBJ)/afsaux.o \
285         $(WEBOBJ)/Kvice.xdr.o \
286         $(WEBOBJ)/xdr_arrayn.o \
287         $(WEBOBJ)/Kvice.cs.o \
288         $(WEBOBJ)/fcrypt.o \
289         $(WEBOBJ)/rx.o \
290         $(WEBOBJ)/rx_rdwr.o \
291         $(WEBOBJ)/rx_clock.o \
292         $(WEBOBJ)/rx_event.o \
293         $(WEBOBJ)/rx_globals.o \
294         $(WEBOBJ)/rx_kmutex.o \
295         $(WEBOBJ)/rx_knet.o \
296         $(WEBOBJ)/rx_kcommon.o \
297         $(WEBOBJ)/rx_misc.o \
298         $(WEBOBJ)/rx_multi.o \
299         $(WEBOBJ)/rx_null.o \
300         $(WEBOBJ)/rx_getaddr.o \
301         $(WEBOBJ)/rx_packet.o \
302         $(WEBOBJ)/rx_conncache.o \
303         $(WEBOBJ)/xdr_rx.o \
304         $(WEBOBJ)/Kvldbint.cs.o \
305         $(WEBOBJ)/Kvldbint.xdr.o \
306         $(WEBOBJ)/Kcallback.ss.o \
307         $(WEBOBJ)/crypt_conn.o \
308         $(WEBOBJ)/AFS_component_version_number.o \
309         $(WEBOBJ)/afs_exporter.o \
310         $(WEBOBJ)/rxkad_client.o \
311         $(WEBOBJ)/rxkad_common.o \
312         $(WEBOBJ)/casestrcpy.o \
313         $(WEBOBJ)/dirpath.o \
314         $(WEBOBJ)/fileutil.o \
315         $(WEBOBJ)/netutils.o \
316         $(WEBOBJ)/et_name.o \
317         $(WEBOBJ)/com_err.o \
318         $(WEBOBJ)/error_msg.o \
319         $(WEBOBJ)/uerrors.o \
320         $(WEBOBJ)/kaerrors.o \
321         $(WEBOBJ)/ktc_errors.o \
322         $(WEBOBJ)/rxkad_errs.o \
323         $(WEBOBJ)/authclient.o \
324         $(WEBOBJ)/authcon.o \
325         $(WEBOBJ)/cellconfig.o \
326         $(WEBOBJ)/client.o \
327         $(WEBOBJ)/acfg_errors.o \
328         $(WEBOBJ)/kaaux.o \
329         $(WEBOBJ)/kalocalcell.o \
330         $(WEBOBJ)/kauth.cs.o \
331         $(WEBOBJ)/kauth.xdr.o \
332         $(WEBOBJ)/ktc.o \
333         $(WEBOBJ)/ptint.cs.o \
334         $(WEBOBJ)/ptint.xdr.o \
335         $(WEBOBJ)/ptuser.o \
336         $(WEBOBJ)/pterror.o \
337         $(WEBOBJ)/securehash.o \
338         $(WEBOBJ)/ticket.o \
339         $(WEBOBJ)/token.o \
340         $(WEBOBJ)/ubik_int.cs.o \
341         $(WEBOBJ)/ubik_int.xdr.o \
342         $(WEBOBJ)/ubikclient.o \
343         $(WEBOBJ)/user.o \
344         $(WEBOBJ)/hostparse.o \
345         $(WEBOBJ)/nsafs.o \
346         $(WEBOBJ)/Krxstat.ss.o \
347         $(WEBOBJ)/Krxstat.xdr.o \
348         $(WEBOBJ)/rxstat.o \
349         $(WEBOBJ)/xdr_mem.o \
350         $(WEBOBJ)/xdr_len.o
351
352 AFSWEBOBJKRB = \
353         $(WEBOBJ)/afs_atomlist.o \
354         $(WEBOBJ)/afs_lhash.o \
355         $(WEBOBJ)/afs_analyze.o \
356         $(WEBOBJ)/afs_error.o \
357         $(WEBOBJ)/afs_axscache.o \
358         $(WEBOBJ)/afs_buffer.o \
359         $(WEBOBJ)/afs_bypasscache.o \
360         $(WEBOBJ)/afs_callback.o \
361         $(WEBOBJ)/afs_cbqueue.o \
362         $(WEBOBJ)/afs_cell.o \
363         $(WEBOBJ)/afs_chunk.o \
364         $(WEBOBJ)/afs_conn.o \
365         $(WEBOBJ)/afs_daemons.o \
366         $(WEBOBJ)/afs_dcache.o \
367         $(WEBOBJ)/afs_dir.o \
368         $(WEBOBJ)/afs_dynroot.o \
369         $(WEBOBJ)/afs_disconnected.o \
370         $(WEBOBJ)/afs_icl.o \
371         $(WEBOBJ)/afs_init.o \
372         $(WEBOBJ)/afs_lock.o \
373         $(WEBOBJ)/afs_mariner.o \
374         $(WEBOBJ)/afs_memcache.o \
375         $(WEBOBJ)/afs_md5.o \
376         $(WEBOBJ)/afs_fetchstore.o \
377         $(WEBOBJ)/afs_osidnlc.o \
378         $(WEBOBJ)/afs_osi_pag.o \
379         $(WEBOBJ)/afs_segments.o \
380         $(WEBOBJ)/afs_server.o \
381         $(WEBOBJ)/afs_stat.o \
382         $(WEBOBJ)/afs_syscall.o \
383         $(WEBOBJ)/afs_user.o \
384         $(WEBOBJ)/afs_util.o \
385         $(WEBOBJ)/afs_vcache.o \
386         $(WEBOBJ)/afs_warn.o \
387         $(WEBOBJ)/afs_osi_uio.o \
388         $(WEBOBJ)/afs_vnop_access.o \
389         $(WEBOBJ)/afs_vnop_attrs.o \
390         $(WEBOBJ)/afs_vnop_create.o \
391         $(WEBOBJ)/afs_vnop_dirops.o \
392         $(WEBOBJ)/afs_vnop_fid.o \
393         $(WEBOBJ)/afs_vnop_flock.o \
394         $(WEBOBJ)/afs_vnop_link.o \
395         $(WEBOBJ)/afs_vnop_lookup.o \
396         $(WEBOBJ)/afs_vnop_open.o \
397         $(WEBOBJ)/afs_vnop_read.o \
398         $(WEBOBJ)/afs_vnop_readdir.o \
399         $(WEBOBJ)/afs_vnop_remove.o \
400         $(WEBOBJ)/afs_vnop_rename.o \
401         $(WEBOBJ)/afs_vnop_strategy.o \
402         $(WEBOBJ)/afs_vnop_symlink.o \
403         $(WEBOBJ)/afs_vnop_write.o \
404         $(WEBOBJ)/afs_volume.o \
405         $(WEBOBJ)/afs_call.o \
406         $(WEBOBJ)/afs_pioctl.o \
407         $(WEBOBJ)/osi_vfsops.o \
408         $(WEBOBJ)/afs_usrops.o \
409         $(WEBOBJ)/afsd.o \
410         $(WEBOBJ)/afsd_uafs.o \
411         $(WEBOBJ)/osi_vnodeops.o \
412         $(WEBOBJ)/osi_vm.o \
413         $(WEBOBJ)/osi_groups.o \
414         $(WEBOBJ)/osi_gcpags.o \
415         $(WEBOBJ)/afsaux.o \
416         $(WEBOBJ)/Kvice.xdr.o \
417         $(WEBOBJ)/xdr_arrayn.o \
418         $(WEBOBJ)/Kvice.cs.o \
419         $(WEBOBJ)/fcrypt.o \
420         $(WEBOBJ)/rx.o \
421         $(WEBOBJ)/rx_rdwr.o \
422         $(WEBOBJ)/rx_clock.o \
423         $(WEBOBJ)/rx_event.o \
424         $(WEBOBJ)/rx_globals.o \
425         $(WEBOBJ)/rx_kmutex.o \
426         $(WEBOBJ)/rx_knet.o \
427         $(WEBOBJ)/rx_kcommon.o \
428         $(WEBOBJ)/rx_misc.o \
429         $(WEBOBJ)/rx_multi.o \
430         $(WEBOBJ)/rx_null.o \
431         $(WEBOBJ)/rx_getaddr.o \
432         $(WEBOBJ)/rx_packet.o \
433         $(WEBOBJ)/rx_conncache.o \
434         $(WEBOBJ)/xdr_rx.o \
435         $(WEBOBJ)/Kvldbint.cs.o \
436         $(WEBOBJ)/Kvldbint.xdr.o \
437         $(WEBOBJ)/Kcallback.ss.o \
438         $(WEBOBJ)/crypt_conn.o \
439         $(WEBOBJ)/AFS_component_version_number.o \
440         $(WEBOBJ)/afs_exporter.o \
441         $(WEBOBJ)/rxkad_client.o \
442         $(WEBOBJ)/rxkad_common.o \
443         $(WEBOBJ)/casestrcpy.o \
444         $(WEBOBJ)/dirpath.o \
445         $(WEBOBJ)/fileutil.o \
446         $(WEBOBJ)/netutils.o \
447         $(WEBOBJ)/et_name.o \
448         $(WEBOBJ)/com_err.o \
449         $(WEBOBJ)/error_msg.o \
450         $(WEBOBJ)/uerrors.o \
451         $(WEBOBJ)/kaerrors.o \
452         $(WEBOBJ)/ktc_errors.o \
453         $(WEBOBJ)/rxkad_errs.o \
454         $(WEBOBJ)/authclient.o \
455         $(WEBOBJ)/authcon.o \
456         $(WEBOBJ)/cellconfig.o \
457         $(WEBOBJ)/client.o \
458         $(WEBOBJ)/acfg_errors.o \
459         $(WEBOBJ)/kaaux.o \
460         $(WEBOBJ)/kalocalcell.o \
461         $(WEBOBJ)/kauth.cs.o \
462         $(WEBOBJ)/kauth.xdr.o \
463         $(WEBOBJ)/ktc.krb.o \
464         $(WEBOBJ)/ptint.cs.o \
465         $(WEBOBJ)/ptint.xdr.o \
466         $(WEBOBJ)/ptuser.o \
467         $(WEBOBJ)/pterror.o \
468         $(WEBOBJ)/securehash.o \
469         $(WEBOBJ)/ticket.o \
470         $(WEBOBJ)/token.o \
471         $(WEBOBJ)/ubik_int.cs.o \
472         $(WEBOBJ)/ubik_int.xdr.o \
473         $(WEBOBJ)/ubikclient.o \
474         $(WEBOBJ)/user.o \
475         $(WEBOBJ)/nsafs.o \
476         $(WEBOBJ)/Krxstat.ss.o \
477         $(WEBOBJ)/Krxstat.xdr.o \
478         $(WEBOBJ)/rxstat.o \
479         $(WEBOBJ)/xdr_mem.o \
480         $(WEBOBJ)/xdr_len.o
481
482 JUAFSOBJ = \
483         $(JUAFS)/afs_atomlist.o \
484         $(JUAFS)/afs_lhash.o \
485         $(JUAFS)/afs_analyze.o \
486         $(JUAFS)/afs_error.o \
487         $(JUAFS)/afs_axscache.o  \
488         $(JUAFS)/afs_buffer.o   \
489         $(JUAFS)/afs_bypasscache.o \
490         $(JUAFS)/afs_callback.o \
491         $(JUAFS)/afs_cbqueue.o    \
492         $(JUAFS)/afs_cell.o \
493         $(JUAFS)/afs_chunk.o \
494         $(JUAFS)/afs_conn.o \
495         $(JUAFS)/afs_daemons.o  \
496         $(JUAFS)/afs_dcache.o \
497         $(JUAFS)/afs_dir.o \
498         $(JUAFS)/afs_dynroot.o \
499         $(JUAFS)/afs_disconnected.o \
500         $(JUAFS)/afs_icl.o \
501         $(JUAFS)/afs_init.o \
502         $(JUAFS)/afs_lock.o     \
503         $(JUAFS)/afs_mariner.o \
504         $(JUAFS)/afs_memcache.o \
505         $(JUAFS)/afs_md5.o \
506         $(JUAFS)/afs_fetchstore.o       \
507         $(JUAFS)/afs_osidnlc.o  \
508         $(JUAFS)/afs_osi_pag.o \
509         $(JUAFS)/afs_segments.o \
510         $(JUAFS)/afs_server.o \
511         $(JUAFS)/afs_stat.o \
512         $(JUAFS)/afs_syscall.o \
513         $(JUAFS)/afs_user.o \
514         $(JUAFS)/afs_util.o \
515         $(JUAFS)/afs_vcache.o \
516         $(JUAFS)/afs_warn.o \
517         $(JUAFS)/afs_osi_uio.o \
518         $(JUAFS)/afs_vnop_access.o \
519         $(JUAFS)/afs_vnop_attrs.o \
520         $(JUAFS)/afs_vnop_create.o \
521         $(JUAFS)/afs_vnop_dirops.o \
522         $(JUAFS)/afs_vnop_fid.o \
523         $(JUAFS)/afs_vnop_flock.o \
524         $(JUAFS)/afs_vnop_link.o \
525         $(JUAFS)/afs_vnop_lookup.o \
526         $(JUAFS)/afs_vnop_open.o \
527         $(JUAFS)/afs_vnop_read.o \
528         $(JUAFS)/afs_vnop_readdir.o \
529         $(JUAFS)/afs_vnop_remove.o \
530         $(JUAFS)/afs_vnop_rename.o \
531         $(JUAFS)/afs_vnop_strategy.o \
532         $(JUAFS)/afs_vnop_symlink.o \
533         $(JUAFS)/afs_vnop_write.o \
534         $(JUAFS)/afs_volume.o \
535         $(JUAFS)/afs_call.o \
536         $(JUAFS)/afs_pioctl.o \
537         $(JUAFS)/osi_vfsops.o \
538         $(JUAFS)/afs_usrops.o \
539         $(JUAFS)/afsd.o \
540         $(JUAFS)/afsd_uafs.o \
541         $(JUAFS)/xdr.o \
542         $(JUAFS)/xdr_afsuuid.o \
543         $(JUAFS)/afs_uuid.o \
544         $(JUAFS)/assert.o \
545         $(JUAFS)/osi_vnodeops.o \
546         $(JUAFS)/osi_vm.o \
547         $(JUAFS)/osi_groups.o \
548         $(JUAFS)/osi_gcpags.o \
549         $(JUAFS)/afsaux.o \
550         $(JUAFS)/Kvice.xdr.o \
551         $(JUAFS)/xdr_arrayn.o \
552         $(JUAFS)/Kvice.cs.o \
553         $(JUAFS)/fcrypt.o \
554         $(JUAFS)/rx.o \
555         $(JUAFS)/rx_rdwr.o \
556         $(JUAFS)/rx_clock.o \
557         $(JUAFS)/rx_event.o \
558         $(JUAFS)/rx_globals.o \
559         $(JUAFS)/rx_knet.o \
560         $(JUAFS)/rx_kcommon.o \
561         $(JUAFS)/rx_misc.o \
562         $(JUAFS)/rx_multi.o \
563         $(JUAFS)/rx_null.o \
564         $(JUAFS)/rx_getaddr.o \
565         $(JUAFS)/rx_packet.o \
566         $(JUAFS)/rx_conncache.o \
567         $(JUAFS)/xdr_rx.o \
568         $(JUAFS)/Kvldbint.cs.o \
569         $(JUAFS)/Kvldbint.xdr.o \
570         $(JUAFS)/Kcallback.ss.o \
571         $(JUAFS)/crypt_conn.o \
572         $(JUAFS)/AFS_component_version_number.o \
573         $(JUAFS)/afs_exporter.o \
574         $(JUAFS)/rxkad_client.o \
575         $(JUAFS)/rxkad_common.o \
576         $(JUAFS)/casestrcpy.o \
577         $(JUAFS)/dirpath.o \
578         $(JUAFS)/fileutil.o \
579         $(JUAFS)/netutils.o \
580         $(JUAFS)/et_name.o \
581         $(JUAFS)/com_err.o \
582         $(JUAFS)/error_msg.o \
583         $(JUAFS)/uerrors.o \
584         $(JUAFS)/kaerrors.o \
585         $(JUAFS)/ktc_errors.o \
586         $(JUAFS)/rxkad_errs.o \
587         $(JUAFS)/authclient.o \
588         $(JUAFS)/authcon.o \
589         $(JUAFS)/cellconfig.o \
590         $(JUAFS)/client.o \
591         $(JUAFS)/acfg_errors.o \
592         $(JUAFS)/kaaux.o \
593         $(JUAFS)/kalocalcell.o \
594         $(JUAFS)/kauth.cs.o \
595         $(JUAFS)/kauth.xdr.o \
596         $(JUAFS)/ktc.o \
597         $(JUAFS)/ptint.cs.o \
598         $(JUAFS)/ptint.xdr.o \
599         $(JUAFS)/ptuser.o \
600         $(JUAFS)/pterror.o \
601         $(JUAFS)/ticket.o \
602         $(JUAFS)/token.o \
603         $(JUAFS)/ubik_int.cs.o \
604         $(JUAFS)/ubik_int.xdr.o \
605         $(JUAFS)/ubikclient.o \
606         $(JUAFS)/user.o \
607         $(JUAFS)/hostparse.o \
608         $(JUAFS)/Krxstat.ss.o \
609         $(JUAFS)/Krxstat.xdr.o \
610         $(JUAFS)/rxstat.o \
611         $(JUAFS)/xdr_int64.o \
612         $(JUAFS)/xdr_mem.o \
613         $(JUAFS)/xdr_len.o
614
615 # Compilation rules
616
617 # These files are for the user space library
618
619 $(UOBJ)/afs_atomlist.o: $(TOP_SRCDIR)/util/afs_atomlist.c
620         $(CRULE1)
621 $(UOBJ)/afs_lhash.o: $(TOP_SRCDIR)/util/afs_lhash.c
622         $(CRULE1)
623 $(UOBJ)/afs_analyze.o: $(TOP_SRC_AFS)/afs_analyze.c
624         $(CRULE1)
625 $(UOBJ)/afs_axscache.o: $(TOP_SRC_AFS)/afs_axscache.c
626         $(CRULE1)
627 $(UOBJ)/afs_buffer.o: $(TOP_SRC_AFS)/afs_buffer.c
628         $(CRULE1)
629 $(UOBJ)/afs_bypasscache.o: $(TOP_SRC_AFS)/afs_bypasscache.c
630         $(CRULE1)
631 $(UOBJ)/afs_cell.o: $(TOP_SRC_AFS)/afs_cell.c
632         $(CRULE1)
633 $(UOBJ)/afs_conn.o: $(TOP_SRC_AFS)/afs_conn.c
634         $(CRULE1)
635 $(UOBJ)/afs_dcache.o: $(TOP_SRC_AFS)/afs_dcache.c
636         $(CRULE1)
637 $(UOBJ)/afs_dynroot.o: $(TOP_SRC_AFS)/afs_dynroot.c
638         $(CRULE1)
639 $(UOBJ)/afs_disconnected.o: $(TOP_SRC_AFS)/afs_disconnected.c
640         $(CRULE1)
641 $(UOBJ)/afs_error.o: $(TOP_SRC_AFS)/afs_error.c
642         $(CRULE1)
643 $(UOBJ)/afs_init.o: $(TOP_SRC_AFS)/afs_init.c
644         $(CRULE1)
645 $(UOBJ)/afs_mariner.o: $(TOP_SRC_AFS)/afs_mariner.c
646         $(CRULE1)
647 $(UOBJ)/afs_osidnlc.o: $(TOP_SRC_AFS)/afs_osidnlc.c
648         $(CRULE1)
649 $(UOBJ)/afs_osi.o: $(TOP_SRC_AFS)/afs_osi.c
650         $(CRULE1)
651 $(UOBJ)/afs_osi_pag.o: $(TOP_SRC_AFS)/afs_osi_pag.c
652         $(CRULE1)
653 $(UOBJ)/afs_segments.o: $(TOP_SRC_AFS)/afs_segments.c
654         $(CRULE1)
655 $(UOBJ)/afs_server.o: $(TOP_SRC_AFS)/afs_server.c
656         $(CRULE1)
657 $(UOBJ)/afs_user.o: $(TOP_SRC_AFS)/afs_user.c
658         $(CRULE1)
659 $(UOBJ)/afs_util.o: $(TOP_SRC_AFS)/afs_util.c
660         $(CRULE1)
661 $(UOBJ)/afs_vcache.o: $(TOP_SRC_AFS)/afs_vcache.c
662         $(CRULE1)
663 $(UOBJ)/afs_warn.o: $(TOP_SRC_AFS)/afs_warn.c
664         $(CRULE1)
665 $(UOBJ)/afs_osi_uio.o: $(TOP_SRC_AFS)/afs_osi_uio.c
666         $(CRULE1)
667 $(UOBJ)/afs_vnop_access.o: $(TOP_SRC_VNOPS)/afs_vnop_access.c
668         $(CRULE1)
669 $(UOBJ)/afs_vnop_attrs.o: $(TOP_SRC_VNOPS)/afs_vnop_attrs.c
670         $(CRULE1)
671 $(UOBJ)/afs_vnop_create.o: $(TOP_SRC_VNOPS)/afs_vnop_create.c
672         $(CRULE1)
673 $(UOBJ)/afs_vnop_dirops.o: $(TOP_SRC_VNOPS)/afs_vnop_dirops.c
674         $(CRULE1)
675 $(UOBJ)/afs_vnop_fid.o: $(TOP_SRC_VNOPS)/afs_vnop_fid.c
676         $(CRULE1)
677 $(UOBJ)/afs_vnop_flock.o: $(TOP_SRC_VNOPS)/afs_vnop_flock.c
678         $(CRULE1)
679 $(UOBJ)/afs_vnop_link.o: $(TOP_SRC_VNOPS)/afs_vnop_link.c
680         $(CRULE1)
681 $(UOBJ)/afs_vnop_lookup.o: $(TOP_SRC_VNOPS)/afs_vnop_lookup.c
682         $(CRULE1)
683 $(UOBJ)/afs_vnop_open.o: $(TOP_SRC_VNOPS)/afs_vnop_open.c
684         $(CRULE1)
685 $(UOBJ)/afs_vnop_read.o: $(TOP_SRC_VNOPS)/afs_vnop_read.c
686         $(CRULE1)
687 $(UOBJ)/afs_vnop_readdir.o: $(TOP_SRC_VNOPS)/afs_vnop_readdir.c
688         $(CRULE1)
689 $(UOBJ)/afs_vnop_remove.o: $(TOP_SRC_VNOPS)/afs_vnop_remove.c
690         $(CRULE1)
691 $(UOBJ)/afs_vnop_rename.o: $(TOP_SRC_VNOPS)/afs_vnop_rename.c
692         $(CRULE1)
693 $(UOBJ)/afs_vnop_strategy.o: $(TOP_SRC_VNOPS)/afs_vnop_strategy.c
694         $(CRULE1)
695 $(UOBJ)/afs_vnop_symlink.o: $(TOP_SRC_VNOPS)/afs_vnop_symlink.c
696         $(CRULE1)
697 $(UOBJ)/afs_vnop_write.o: $(TOP_SRC_VNOPS)/afs_vnop_write.c
698         $(CRULE1)
699 $(UOBJ)/afs_volume.o: $(TOP_SRC_AFS)/afs_volume.c
700         $(CRULE1)
701 $(UOBJ)/rx_rdwr.o: $(TOP_SRC_RX)/rx_rdwr.c
702         $(CRULE1)
703 $(UOBJ)/afs_cbqueue.o: $(TOP_SRC_AFS)/afs_cbqueue.c
704         $(CRULE1)
705 $(UOBJ)/afs_callback.o: $(TOP_SRC_AFS)/afs_callback.c
706         $(CRULE1)
707 $(UOBJ)/afs_chunk.o: $(TOP_SRC_AFS)/afs_chunk.c
708         $(CRULE1)
709 $(UOBJ)/afs_daemons.o: $(TOP_SRC_AFS)/afs_daemons.c
710         $(CRULE1)
711 $(UOBJ)/afs_dir.o:      $(TOP_SRCDIR)/dir/dir.c
712         $(CRULE1) -o afs_dir.o
713 $(UOBJ)/AFS_component_version_number.o: AFS_component_version_number.c
714         $(CRULE1)
715 $(UOBJ)/afs_lock.o: $(TOP_SRC_AFS)/afs_lock.c
716         $(CRULE1)
717 $(UOBJ)/afs_memcache.o: $(TOP_SRC_AFS)/afs_memcache.c
718         $(CRULE1)
719 $(UOBJ)/afs_md5.o: $(TOP_SRC_AFS)/afs_md5.c
720         $(CRULE1)
721 $(UOBJ)/afs_fetchstore.o: $(TOP_SRC_AFS)/afs_fetchstore.c
722         $(CRULE1)
723 $(UOBJ)/afs_stat.o: $(TOP_SRC_AFS)/afs_stat.c
724         $(CRULE1)
725 $(UOBJ)/fcrypt.o:       $(TOP_SRC_RXKAD)/fcrypt.c
726         $(CRULE1)
727 $(UOBJ)/crypt_conn.o: $(TOP_SRC_RXKAD)/crypt_conn.c
728         $(CRULE1)
729 $(UOBJ)/rxkad_client.o: $(TOP_SRC_RXKAD)/rxkad_client.c
730         $(CRULE1)
731 $(UOBJ)/rxkad_common.o: $(TOP_SRC_RXKAD)/rxkad_common.c
732         $(CRULE1)
733 $(UOBJ)/afs_exporter.o: $(TOP_SRCDIR)/afs/afs_exporter.c
734         $(CRULE1)
735 $(UOBJ)/afs_nfsclnt.o: $(TOP_SRC_AFS)/afs_nfsclnt.c
736         $(CRULE1)
737 $(UOBJ)/afs_nfsdisp.o: $(TOP_SRC_AFS)/afs_nfsdisp.c
738         $(CRULE1)
739 $(UOBJ)/rx.o: $(TOP_SRC_RX)/rx.c
740         $(CRULE1)
741 $(UOBJ)/rx_clock.o: $(TOP_SRC_RX)/rx_clock.c
742         $(CRULE1)
743 $(UOBJ)/rx_event.o: $(TOP_SRC_RX)/rx_event.c
744         $(CRULE1)
745 $(UOBJ)/rx_globals.o: $(TOP_SRC_RX)/rx_globals.c
746         $(CRULE1)
747 $(UOBJ)/rx_misc.o: $(TOP_SRC_RX)/rx_misc.c
748         $(CRULE1)
749 $(UOBJ)/rx_multi.o: $(TOP_SRC_RX)/rx_multi.c
750         $(CRULE1)
751 $(UOBJ)/rx_null.o: $(TOP_SRC_RX)/rx_null.c
752         $(CRULE1)
753 $(UOBJ)/rx_getaddr.o: $(TOP_SRC_RX)/rx_getaddr.c
754         $(CRULE1)
755 $(UOBJ)/rx_packet.o: $(TOP_SRC_RX)/rx_packet.c
756         $(CRULE1)
757 $(UOBJ)/rx_conncache.o: $(TOP_SRCDIR)/rx/rx_conncache.c
758         $(CRULE1)
759 $(UOBJ)/xdr_rx.o: $(TOP_SRC_RX)/xdr_rx.c
760         $(CRULE1)
761 $(UOBJ)/xdr_int32.o: $(TOP_SRC_RX)/xdr_int32.c
762         $(CRULE1)
763 $(UOBJ)/xdr_int64.o: $(TOP_SRC_RX)/xdr_int64.c
764         $(CRULE1)
765 $(UOBJ)/afs_usrops.o: $(TOP_SRC_AFS)/UKERNEL/afs_usrops.c
766         $(CRULE1)
767 $(UOBJ)/afsd.o: $(TOP_SRCDIR)/afsd/afsd.c
768         $(CRULE1) @CFLAGS_NOERROR@
769 $(UOBJ)/afsd_uafs.o: $(TOP_SRC_AFS)/UKERNEL/afsd_uafs.c
770         $(CRULE1)
771 $(UOBJ)/afs_uuid.o: $(TOP_SRCDIR)/util/uuid.c
772         $(CRULE1) -o afs_uuid.o
773 $(UOBJ)/assert.o: $(TOP_SRCDIR)/util/assert.c
774         $(CRULE1)
775 $(UOBJ)/xdr_afsuuid.o: $(TOP_SRCDIR)/rx/xdr_afsuuid.c
776         $(CRULE1)
777 $(UOBJ)/xdr.o: $(TOP_SRCDIR)/rx/xdr.c
778         $(CRULE1)
779 $(UOBJ)/osi_vnodeops.o: $(TOP_SRC_AFS)/UKERNEL/osi_vnodeops.c
780         $(CRULE1)
781 $(UOBJ)/osi_vm.o: $(TOP_SRC_AFS)/UKERNEL/osi_vm.c
782         $(CRULE1)
783 $(UOBJ)/osi_groups.o: $(TOP_SRC_AFS)/UKERNEL/osi_groups.c
784         $(CRULE1)
785 $(UOBJ)/osi_gcpags.o: $(TOP_SRC_AFS)/UKERNEL/osi_gcpags.c
786         $(CRULE1)
787 $(UOBJ)/Kcallback.ss.o: $(TOP_OBJ_FSINT)/Kcallback.ss.c
788         $(CRULE1)
789 $(UOBJ)/Kvice.xdr.o: $(TOP_OBJ_FSINT)/Kvice.xdr.c
790         $(CRULE1)
791 $(UOBJ)/Kvice.cs.o: $(TOP_OBJ_FSINT)/Kvice.cs.c
792         $(CRULE1)
793 $(UOBJ)/afsaux.o: $(TOP_SRC_FSINT)/afsaux.c
794         $(CRULE1)
795 $(UOBJ)/xdr_arrayn.o: $(TOP_SRC_RX)/xdr_arrayn.c
796         $(CRULE1)
797 $(UOBJ)/Kvldbint.cs.o: $(TOP_OBJ_VLSERVER)/Kvldbint.cs.c
798         $(CRULE1)
799 $(UOBJ)/Kvldbint.xdr.o: $(TOP_OBJ_VLSERVER)/Kvldbint.xdr.c
800         $(CRULE1)
801 $(UOBJ)/rx_kmutex.o: $(TOP_SRC_RX)/UKERNEL/rx_kmutex.c
802         $(CRULE1)
803 $(UOBJ)/rx_knet.o: $(TOP_SRC_RX)/UKERNEL/rx_knet.c
804         $(CRULE1)
805 $(UOBJ)/rx_kcommon.o: $(TOP_SRCDIR)/rx/rx_kcommon.c
806         $(CRULE1)
807 $(UOBJ)/afs_call.o: $(TOP_SRC_AFS)/afs_call.c
808         $(CRULE1) -DAFS_NONFSTRANS
809 $(UOBJ)/afs_icl.o: $(TOP_SRC_AFS)/afs_icl.c
810         $(CRULE1) -DAFS_NONFSTRANS
811 $(UOBJ)/afs_pioctl.o: $(TOP_SRC_AFS)/afs_pioctl.c
812         $(CRULE1) -DAFS_NONFSTRANS
813 $(UOBJ)/afs_syscall.o: $(TOP_SRC_AFS)/afs_syscall.c
814         $(CRULE1) @CFLAGS_NOERROR@ -DAFS_NONFSTRANS
815 $(UOBJ)/osi_vfsops.o: $(TOP_SRC_AFS)/UKERNEL/osi_vfsops.c
816         $(CRULE1) -DAFS_NONFSTRANS
817 $(UOBJ)/ktc.o:  $(TOP_SRCDIR)/auth/ktc.c
818         $(CRULE1) @CFLAGS_NOERROR@
819 $(UOBJ)/ticket.o: $(TOP_SRCDIR)/rxkad/ticket.c
820         $(CRULE1)
821 $(UOBJ)/rxkad_server.o: $(TOP_SRCDIR)/rxkad/rxkad_server.c
822         $(CRULE1)
823 $(UOBJ)/ptint.cs.o: $(TOP_OBJDIR)/src/ptserver/ptint.cs.c
824         $(CRULE1)
825 $(UOBJ)/ptint.xdr.o: $(TOP_OBJDIR)/src/ptserver/ptint.xdr.c
826         $(CRULE1)
827 $(UOBJ)/ptuser.o: $(TOP_SRCDIR)/ptserver/ptuser.c
828         $(CRULE1)
829 $(UOBJ)/pterror.o: $(TOP_OBJDIR)/src/ptserver/pterror.c
830         $(CRULE1)
831 $(UOBJ)/ubikclient.o: $(TOP_SRCDIR)/ubik/ubikclient.c
832         $(CRULE1)
833 $(UOBJ)/ubik_int.cs.o: $(TOP_OBJDIR)/src/ubik/ubik_int.cs.c
834         $(CRULE1)
835 $(UOBJ)/ubik_int.xdr.o: $(TOP_OBJDIR)/src/ubik/ubik_int.xdr.c
836         $(CRULE1)
837 $(UOBJ)/authclient.o: $(TOP_SRCDIR)/kauth/authclient.c
838         $(CRULE1)
839 $(UOBJ)/kalocalcell.o: $(TOP_SRCDIR)/kauth/kalocalcell.c
840         $(CRULE1)
841 $(UOBJ)/client.o: $(TOP_SRCDIR)/kauth/client.c
842         $(CRULE1)
843 $(UOBJ)/user.o: $(TOP_SRCDIR)/kauth/user.c
844         $(CRULE1)
845 $(UOBJ)/hostparse.o: $(TOP_SRCDIR)/util/hostparse.c
846         $(CRULE1)
847 $(UOBJ)/token.o: $(TOP_SRCDIR)/kauth/token.c
848         $(CRULE1)
849 $(UOBJ)/acfg_errors.o: $(TOP_OBJDIR)/src/auth/acfg_errors.c
850         $(CRULE1)
851 $(UOBJ)/kaaux.o: $(TOP_SRCDIR)/kauth/kaaux.c
852         $(CRULE1)
853 $(UOBJ)/authcon.o: $(TOP_SRCDIR)/auth/authcon.c
854         $(CRULE1)
855 $(UOBJ)/cellconfig.o: $(TOP_SRCDIR)/auth/cellconfig.c
856         $(CRULE1)
857 $(UOBJ)/casestrcpy.o: $(TOP_SRCDIR)/util/casestrcpy.c
858         $(CRULE1)
859 $(UOBJ)/dirpath.o: $(TOP_SRCDIR)/util/dirpath.c
860         $(CRULE1)
861 $(UOBJ)/fileutil.o: $(TOP_SRCDIR)/util/fileutil.c
862         $(CRULE1)
863 $(UOBJ)/netutils.o: $(TOP_SRCDIR)/util/netutils.c
864         $(CRULE1)
865 $(UOBJ)/et_name.o: $(TOP_SRCDIR)/comerr/et_name.c
866         $(CRULE1)
867 $(UOBJ)/com_err.o: $(TOP_SRCDIR)/comerr/com_err.c
868         $(CRULE1)
869 $(UOBJ)/error_msg.o: $(TOP_SRCDIR)/comerr/error_msg.c
870         $(CRULE1)
871 $(UOBJ)/uerrors.o: $(TOP_OBJDIR)/src/ubik/uerrors.c
872         $(CRULE1)
873 $(UOBJ)/kaerrors.o: $(TOP_OBJDIR)/src/kauth/kaerrors.c
874         $(CRULE1)
875 $(UOBJ)/ktc_errors.o: $(TOP_OBJDIR)/src/auth/ktc_errors.c
876         $(CRULE1)
877 $(UOBJ)/rxkad_errs.o: $(TOP_OBJDIR)/src/rxkad/rxkad_errs.c
878         $(CRULE1)
879 $(UOBJ)/kauth.cs.o: $(TOP_OBJDIR)/src/kauth/kauth.cs.c
880         $(CRULE1)
881 $(UOBJ)/kauth.xdr.o: $(TOP_OBJDIR)/src/kauth/kauth.xdr.c
882         $(CRULE1)
883 $(UOBJ)/rxstat.o: $(TOP_SRC_RXSTAT)/rxstat.c
884         $(CRULE1)
885 $(UOBJ)/Krxstat.ss.o: $(TOP_OBJ_RXSTAT)/Krxstat.ss.c
886         $(CRULE1)
887 $(UOBJ)/Krxstat.xdr.o: $(TOP_OBJ_RXSTAT)/Krxstat.xdr.c
888         $(CRULE1)
889 $(UOBJ)/xdr_mem.o: $(TOP_SRC_RX)/xdr_mem.c
890         $(CRULE1)
891 $(UOBJ)/xdr_len.o: $(TOP_SRC_RX)/xdr_len.c
892         $(CRULE1)
893
894 # These files are for the netscape plugin
895
896 $(WEBOBJ)/afs_atomlist.o: $(TOP_SRCDIR)/util/afs_atomlist.c
897         $(CRULE2)
898 $(WEBOBJ)/afs_lhash.o: $(TOP_SRCDIR)/util/afs_lhash.c
899         $(CRULE2)
900 $(WEBOBJ)/afs_analyze.o: $(TOP_SRC_AFS)/afs_analyze.c
901         $(CRULE2)
902 $(WEBOBJ)/afs_axscache.o: $(TOP_SRC_AFS)/afs_axscache.c
903         $(CRULE2)
904 $(WEBOBJ)/afs_buffer.o: $(TOP_SRC_AFS)/afs_buffer.c
905         $(CRULE2)
906 $(WEBOBJ)/afs_bypasscache.o: $(TOP_SRC_AFS)/afs_bypasscache.c
907         $(CRULE2)
908 $(WEBOBJ)/afs_cell.o: $(TOP_SRC_AFS)/afs_cell.c
909         $(CRULE2)
910 $(WEBOBJ)/afs_conn.o: $(TOP_SRC_AFS)/afs_conn.c
911         $(CRULE2)
912 $(WEBOBJ)/afs_dcache.o: $(TOP_SRC_AFS)/afs_dcache.c
913         $(CRULE2)
914 $(WEBOBJ)/afs_disconnected.o: $(TOP_SRC_AFS)/afs_disconnected.c
915         $(CRULE2)
916 $(WEBOBJ)/afs_dynroot.o: $(TOP_SRC_AFS)/afs_dynroot.c
917         $(CRULE2)
918 $(WEBOBJ)/afs_error.o: $(TOP_SRC_AFS)/afs_error.c
919         $(CRULE2)
920 $(WEBOBJ)/afs_init.o: $(TOP_SRC_AFS)/afs_init.c
921         $(CRULE2)
922 $(WEBOBJ)/afs_mariner.o: $(TOP_SRC_AFS)/afs_mariner.c
923         $(CRULE2)
924 $(WEBOBJ)/afs_osidnlc.o: $(TOP_SRC_AFS)/afs_osidnlc.c
925         $(CRULE2)
926 $(WEBOBJ)/afs_osi.o: $(TOP_SRC_AFS)/afs_osi.c
927         $(CRULE2)
928 $(WEBOBJ)/afs_osi_pag.o: $(TOP_SRC_AFS)/afs_osi_pag.c
929         $(CRULE2)
930 $(WEBOBJ)/afs_segments.o: $(TOP_SRC_AFS)/afs_segments.c
931         $(CRULE2)
932 $(WEBOBJ)/afs_server.o: $(TOP_SRC_AFS)/afs_server.c
933         $(CRULE2)
934 $(WEBOBJ)/afs_user.o: $(TOP_SRC_AFS)/afs_user.c
935         $(CRULE2)
936 $(WEBOBJ)/afs_util.o: $(TOP_SRC_AFS)/afs_util.c
937         $(CRULE2)
938 $(WEBOBJ)/afs_vcache.o: $(TOP_SRC_AFS)/afs_vcache.c
939         $(CRULE2)
940 $(WEBOBJ)/afs_warn.o: $(TOP_SRC_AFS)/afs_warn.c
941         $(CRULE2)
942 $(WEBOBJ)/afs_osi_uio.o: $(TOP_SRC_AFS)/afs_osi_uio.c
943         $(CRULE2)
944 $(WEBOBJ)/afs_vnop_access.o: $(TOP_SRC_VNOPS)/afs_vnop_access.c
945         $(CRULE2)
946 $(WEBOBJ)/afs_vnop_attrs.o: $(TOP_SRC_VNOPS)/afs_vnop_attrs.c
947         $(CRULE2)
948 $(WEBOBJ)/afs_vnop_create.o: $(TOP_SRC_VNOPS)/afs_vnop_create.c
949         $(CRULE2)
950 $(WEBOBJ)/afs_vnop_dirops.o: $(TOP_SRC_VNOPS)/afs_vnop_dirops.c
951         $(CRULE2)
952 $(WEBOBJ)/afs_vnop_fid.o: $(TOP_SRC_VNOPS)/afs_vnop_fid.c
953         $(CRULE2)
954 $(WEBOBJ)/afs_vnop_flock.o: $(TOP_SRC_VNOPS)/afs_vnop_flock.c
955         $(CRULE2)
956 $(WEBOBJ)/afs_vnop_link.o: $(TOP_SRC_VNOPS)/afs_vnop_link.c
957         $(CRULE2)
958 $(WEBOBJ)/afs_vnop_lookup.o: $(TOP_SRC_VNOPS)/afs_vnop_lookup.c
959         $(CRULE2)
960 $(WEBOBJ)/afs_vnop_open.o: $(TOP_SRC_VNOPS)/afs_vnop_open.c
961         $(CRULE2)
962 $(WEBOBJ)/afs_vnop_read.o: $(TOP_SRC_VNOPS)/afs_vnop_read.c
963         $(CRULE2)
964 $(WEBOBJ)/afs_vnop_readdir.o: $(TOP_SRC_VNOPS)/afs_vnop_readdir.c
965         $(CRULE2)
966 $(WEBOBJ)/afs_vnop_remove.o: $(TOP_SRC_VNOPS)/afs_vnop_remove.c
967         $(CRULE2)
968 $(WEBOBJ)/afs_vnop_rename.o: $(TOP_SRC_VNOPS)/afs_vnop_rename.c
969         $(CRULE2)
970 $(WEBOBJ)/afs_vnop_strategy.o: $(TOP_SRC_VNOPS)/afs_vnop_strategy.c
971         $(CRULE2)
972 $(WEBOBJ)/afs_vnop_symlink.o: $(TOP_SRC_VNOPS)/afs_vnop_symlink.c
973         $(CRULE2)
974 $(WEBOBJ)/afs_vnop_write.o: $(TOP_SRC_VNOPS)/afs_vnop_write.c
975         $(CRULE2)
976 $(WEBOBJ)/afs_volume.o: $(TOP_SRC_AFS)/afs_volume.c
977         $(CRULE2)
978 $(WEBOBJ)/rx_rdwr.o: $(TOP_SRC_RX)/rx_rdwr.c
979         $(CRULE2)
980 $(WEBOBJ)/afs_cbqueue.o: $(TOP_SRC_AFS)/afs_cbqueue.c
981         $(CRULE2)
982 $(WEBOBJ)/afs_callback.o: $(TOP_SRC_AFS)/afs_callback.c
983         $(CRULE2)
984 $(WEBOBJ)/afs_chunk.o: $(TOP_SRC_AFS)/afs_chunk.c
985         $(CRULE2)
986 $(WEBOBJ)/afs_daemons.o: $(TOP_SRC_AFS)/afs_daemons.c
987         $(CRULE2)
988 $(WEBOBJ)/afs_dir.o:    $(TOP_SRCDIR)/dir/dir.c
989         $(CRULE2) -o afs_dir.o
990 $(WEBOBJ)/AFS_component_version_number.o: AFS_component_version_number.c
991         $(CRULE2)
992 $(WEBOBJ)/afs_lock.o: $(TOP_SRC_AFS)/afs_lock.c
993         $(CRULE2)
994 $(WEBOBJ)/afs_memcache.o: $(TOP_SRC_AFS)/afs_memcache.c
995         $(CRULE2)
996 $(WEBOBJ)/afs_md5.o: $(TOP_SRC_AFS)/afs_md5.c
997         $(CRULE2)
998 $(WEBOBJ)/afs_fetchstore.o: $(TOP_SRC_AFS)/afs_fetchstore.c
999         $(CRULE2)
1000 $(WEBOBJ)/afs_stat.o: $(TOP_SRC_AFS)/afs_stat.c
1001         $(CRULE2)
1002 $(WEBOBJ)/fcrypt.o:     $(TOP_SRC_RXKAD)/fcrypt.c
1003         $(CRULE2)
1004 $(WEBOBJ)/crypt_conn.o: $(TOP_SRC_RXKAD)/crypt_conn.c
1005         $(CRULE2)
1006 $(WEBOBJ)/rxkad_client.o: $(TOP_SRC_RXKAD)/rxkad_client.c
1007         $(CRULE2)
1008 $(WEBOBJ)/rxkad_common.o: $(TOP_SRC_RXKAD)/rxkad_common.c
1009         $(CRULE2)
1010 $(WEBOBJ)/afs_exporter.o: $(TOP_SRCDIR)/afs/afs_exporter.c
1011         $(CRULE2)
1012 $(WEBOBJ)/afs_nfsclnt.o: $(TOP_SRC_AFS)/afs_nfsclnt.c
1013         $(CRULE2)
1014 $(WEBOBJ)/afs_nfsdisp.o: $(TOP_SRC_AFS)/afs_nfsdisp.c
1015         $(CRULE2)
1016 $(WEBOBJ)/rx.o: $(TOP_SRC_RX)/rx.c
1017         $(CRULE2)
1018 $(WEBOBJ)/rx_clock.o: $(TOP_SRC_RX)/rx_clock.c
1019         $(CRULE2)
1020 $(WEBOBJ)/rx_event.o: $(TOP_SRC_RX)/rx_event.c
1021         $(CRULE2)
1022 $(WEBOBJ)/rx_globals.o: $(TOP_SRC_RX)/rx_globals.c
1023         $(CRULE2)
1024 $(WEBOBJ)/rx_misc.o: $(TOP_SRC_RX)/rx_misc.c
1025         $(CRULE2)
1026 $(WEBOBJ)/rx_multi.o: $(TOP_SRC_RX)/rx_multi.c
1027         $(CRULE2)
1028 $(WEBOBJ)/rx_null.o: $(TOP_SRC_RX)/rx_null.c
1029         $(CRULE2)
1030 $(WEBOBJ)/rx_getaddr.o: $(TOP_SRC_RX)/rx_getaddr.c
1031         $(CRULE2)
1032 $(WEBOBJ)/rx_packet.o: $(TOP_SRC_RX)/rx_packet.c
1033         $(CRULE2)
1034 $(WEBOBJ)/rx_conncache.o: $(TOP_SRCDIR)/rx/rx_conncache.c
1035         $(CRULE2)
1036 $(WEBOBJ)/xdr_rx.o: $(TOP_SRC_RX)/xdr_rx.c
1037         $(CRULE2)
1038 $(WEBOBJ)/afs_usrops.o: $(TOP_SRC_AFS)/UKERNEL/afs_usrops.c
1039         $(CRULE2)
1040 $(WEBOBJ)/afsd.o: $(TOP_SRCDIR)/afsd/afsd.c
1041         $(CRULE2) @CFLAGS_NOERROR@
1042 $(WEBOBJ)/afsd_uafs.o: $(TOP_SRC_AFS)/UKERNEL/afsd_uafs.c
1043         $(CRULE2)
1044 $(WEBOBJ)/afs_uuid.o: $(TOP_SRCDIR)/util/uuid.c
1045         $(CRULE2) -o afs_uuid.o
1046 $(WEBOBJ)/assert.o: $(TOP_SRCDIR)/util/assert.c
1047         $(CRULE1)
1048 $(WEBOBJ)/xdr_afsuuid.o: $(TOP_SRCDIR)/rx/xdr_afsuuid.c
1049         $(CRULE2)
1050 $(WEBOBJ)/xdr.o: $(TOP_SRCDIR)/rx/xdr.c
1051         $(CRULE2)
1052 $(WEBOBJ)/osi_vnodeops.o: $(TOP_SRC_AFS)/UKERNEL/osi_vnodeops.c
1053         $(CRULE2)
1054 $(WEBOBJ)/osi_vm.o: $(TOP_SRC_AFS)/UKERNEL/osi_vm.c
1055         $(CRULE2)
1056 $(WEBOBJ)/osi_groups.o: $(TOP_SRC_AFS)/UKERNEL/osi_groups.c
1057         $(CRULE2)
1058 $(WEBOBJ)/osi_gcpags.o: $(TOP_SRC_AFS)/UKERNEL/osi_gcpags.c
1059         $(CRULE2)
1060 $(WEBOBJ)/Kcallback.ss.o: $(TOP_OBJ_FSINT)/Kcallback.ss.c
1061         $(CRULE2)
1062 $(WEBOBJ)/Kvice.xdr.o: $(TOP_OBJ_FSINT)/Kvice.xdr.c
1063         $(CRULE2)
1064 $(WEBOBJ)/Kvice.cs.o: $(TOP_OBJ_FSINT)/Kvice.cs.c
1065         $(CRULE2)
1066 $(WEBOBJ)/afsaux.o: $(TOP_SRC_FSINT)/afsaux.c
1067         $(CRULE2)
1068 $(WEBOBJ)/xdr_arrayn.o: $(TOP_SRC_RX)/xdr_arrayn.c
1069         $(CRULE2)
1070 $(WEBOBJ)/Kvldbint.cs.o: $(TOP_OBJ_VLSERVER)/Kvldbint.cs.c
1071         $(CRULE2)
1072 $(WEBOBJ)/Kvldbint.xdr.o: $(TOP_OBJ_VLSERVER)/Kvldbint.xdr.c
1073         $(CRULE2)
1074 $(WEBOBJ)/rx_kmutex.o: $(TOP_SRC_RX)/UKERNEL/rx_kmutex.c
1075         $(CRULE2)
1076 $(WEBOBJ)/rx_knet.o: $(TOP_SRC_RX)/UKERNEL/rx_knet.c
1077         $(CRULE2)
1078 $(WEBOBJ)/rx_kcommon.o: $(TOP_SRCDIR)/rx/rx_kcommon.c
1079         $(CRULE2)
1080 $(WEBOBJ)/afs_call.o: $(TOP_SRC_AFS)/afs_call.c
1081         $(CRULE2) -DAFS_NONFSTRANS
1082 $(WEBOBJ)/afs_icl.o: $(TOP_SRC_AFS)/afs_icl.c
1083         $(CRULE2) -DAFS_NONFSTRANS
1084 $(WEBOBJ)/afs_pioctl.o: $(TOP_SRC_AFS)/afs_pioctl.c
1085         $(CRULE2) -DAFS_NONFSTRANS
1086 $(WEBOBJ)/afs_syscall.o: $(TOP_SRC_AFS)/afs_syscall.c
1087         $(CRULE2) @CFLAGS_NOERROR@ -DAFS_NONFSTRANS
1088 $(WEBOBJ)/osi_vfsops.o: $(TOP_SRC_AFS)/UKERNEL/osi_vfsops.c
1089         $(CRULE2) -DAFS_NONFSTRANS
1090 $(WEBOBJ)/ktc.o:        $(TOP_SRCDIR)/auth/ktc.c
1091         $(CRULE2) @CFLAGS_NOERROR@
1092 $(WEBOBJ)/ktc.krb.o:    $(TOP_SRCDIR)/auth/ktc.c
1093         $(CRULE2) -DAFS_KERBEROS_ENV -DMAYBE_NO_KTC @CFLAGS_NOERROR@
1094         mv ktc.o ktc.krb.o
1095 $(WEBOBJ)/securehash.o: $(TOP_SRCDIR)/afsweb/securehash.c
1096         $(CRULE2)
1097 $(WEBOBJ)/nsafs.o: $(TOP_SRCDIR)/afsweb/nsafs.c
1098         $(CRULE2)
1099 $(WEBOBJ)/ticket.o: $(TOP_SRCDIR)/rxkad/ticket.c
1100         $(CRULE2)
1101 $(WEBOBJ)/rxkad_server.o: $(TOP_SRCDIR)/rxkad/rxkad_server.c
1102         $(CRULE2)
1103 $(WEBOBJ)/ptint.cs.o: $(TOP_OBJDIR)/src/ptserver/ptint.cs.c
1104         $(CRULE2)
1105 $(WEBOBJ)/ptint.xdr.o: $(TOP_OBJDIR)/src/ptserver/ptint.xdr.c
1106         $(CRULE2)
1107 $(WEBOBJ)/ptuser.o: $(TOP_SRCDIR)/ptserver/ptuser.c
1108         $(CRULE2)
1109 $(WEBOBJ)/pterror.o: $(TOP_OBJDIR)/src/ptserver/pterror.c
1110         $(CRULE2)
1111 $(WEBOBJ)/ubikclient.o: $(TOP_SRCDIR)/ubik/ubikclient.c
1112         $(CRULE2)
1113 $(WEBOBJ)/ubik_int.cs.o: $(TOP_OBJDIR)/src/ubik/ubik_int.cs.c
1114         $(CRULE2)
1115 $(WEBOBJ)/ubik_int.xdr.o: $(TOP_OBJDIR)/src/ubik/ubik_int.xdr.c
1116         $(CRULE2)
1117 $(WEBOBJ)/authclient.o: $(TOP_SRCDIR)/kauth/authclient.c
1118         $(CRULE2)
1119 $(WEBOBJ)/kalocalcell.o: $(TOP_SRCDIR)/kauth/kalocalcell.c
1120         $(CRULE2)
1121 $(WEBOBJ)/client.o: $(TOP_SRCDIR)/kauth/client.c
1122         $(CRULE2)
1123 $(WEBOBJ)/user.o: $(TOP_SRCDIR)/kauth/user.c
1124         $(CRULE2)
1125 $(WEBOBJ)/hostparse.o: $(TOP_SRCDIR)/util/hostparse.c
1126         $(CRULE2)
1127 $(WEBOBJ)/token.o: $(TOP_SRCDIR)/kauth/token.c
1128         $(CRULE2)
1129 $(WEBOBJ)/acfg_errors.o: $(TOP_OBJDIR)/src/auth/acfg_errors.c
1130         $(CRULE2)
1131 $(WEBOBJ)/kaaux.o: $(TOP_SRCDIR)/kauth/kaaux.c
1132         $(CRULE2)
1133 $(WEBOBJ)/kauth.cs.o: $(TOP_OBJDIR)/src/kauth/kauth.cs.c
1134         $(CRULE2)
1135 $(WEBOBJ)/kauth.xdr.o: $(TOP_OBJDIR)/src/kauth/kauth.xdr.c
1136         $(CRULE2)
1137 $(WEBOBJ)/authcon.o: $(TOP_SRCDIR)/auth/authcon.c
1138         $(CRULE2)
1139 $(WEBOBJ)/cellconfig.o: $(TOP_SRCDIR)/auth/cellconfig.c
1140         $(CRULE2)
1141 $(WEBOBJ)/casestrcpy.o: $(TOP_SRCDIR)/util/casestrcpy.c
1142         $(CRULE1)
1143 $(WEBOBJ)/dirpath.o: $(TOP_SRCDIR)/util/dirpath.c
1144         $(CRULE1)
1145 $(WEBOBJ)/fileutil.o: $(TOP_SRCDIR)/util/fileutil.c
1146         $(CRULE1)
1147 $(WEBOBJ)/netutils.o: $(TOP_SRCDIR)/util/netutils.c
1148         $(CRULE1)
1149 $(WEBOBJ)/et_name.o: $(TOP_SRCDIR)/comerr/et_name.c
1150         $(CRULE2)
1151 $(WEBOBJ)/com_err.o: $(TOP_SRCDIR)/comerr/com_err.c
1152         $(CRULE2)
1153 $(WEBOBJ)/error_msg.o: $(TOP_SRCDIR)/comerr/error_msg.c
1154         $(CRULE2)
1155 $(WEBOBJ)/uerrors.o: $(TOP_OBJDIR)/src/ubik/uerrors.c
1156         $(CRULE2)
1157 $(WEBOBJ)/kaerrors.o: $(TOP_OBJDIR)/src/kauth/kaerrors.c
1158         $(CRULE2)
1159 $(WEBOBJ)/ktc_errors.o: $(TOP_OBJDIR)/src/auth/ktc_errors.c
1160         $(CRULE2)
1161 $(WEBOBJ)/rxkad_errs.o: $(TOP_OBJDIR)/src/rxkad/rxkad_errs.c
1162         $(CRULE2)
1163 $(WEBOBJ)/rxstat.o: $(TOP_SRC_RXSTAT)/rxstat.c
1164         $(CRULE2)
1165 $(WEBOBJ)/Krxstat.ss.o: $(TOP_OBJ_RXSTAT)/Krxstat.ss.c
1166         $(CRULE2)
1167 $(WEBOBJ)/Krxstat.xdr.o: $(TOP_OBJ_RXSTAT)/Krxstat.xdr.c
1168         $(CRULE2)
1169 $(WEBOBJ)/xdr_mem.o: $(TOP_SRC_RX)/xdr_mem.c
1170         $(CRULE2)
1171 $(WEBOBJ)/xdr_len.o: $(TOP_SRC_RX)/xdr_len.c
1172         $(CRULE2)
1173
1174 # These are for libjuafs.a 
1175 # Used for linking with libafsauthent and libafsrpc
1176
1177 $(JUAFS)/afs_atomlist.o: $(TOP_SRCDIR)/util/afs_atomlist.c
1178         $(CRULE1)
1179 $(JUAFS)/afs_lhash.o: $(TOP_SRCDIR)/util/afs_lhash.c
1180         $(CRULE1)
1181 $(JUAFS)/afs_analyze.o: $(TOP_SRC_AFS)/afs_analyze.c
1182         $(CRULE1)
1183 $(JUAFS)/afs_axscache.o: $(TOP_SRC_AFS)/afs_axscache.c
1184         $(CRULE1)
1185 $(JUAFS)/afs_buffer.o: $(TOP_SRC_AFS)/afs_buffer.c
1186         $(CRULE1)
1187 $(JUAFS)/afs_bypasscache.o: $(TOP_SRC_AFS)/afs_bypasscache.c
1188         $(CRULE1)
1189 $(JUAFS)/afs_cell.o: $(TOP_SRC_AFS)/afs_cell.c
1190         $(CRULE1)
1191 $(JUAFS)/afs_conn.o: $(TOP_SRC_AFS)/afs_conn.c
1192         $(CRULE1)
1193 $(JUAFS)/afs_dcache.o: $(TOP_SRC_AFS)/afs_dcache.c
1194         $(CRULE1)
1195 $(JUAFS)/afs_disconnected.o: $(TOP_SRC_AFS)/afs_disconnected.c
1196         $(CRULE1)
1197 $(JUAFS)/afs_dynroot.o: $(TOP_SRC_AFS)/afs_dynroot.c
1198         $(CRULE1)
1199 $(JUAFS)/afs_error.o: $(TOP_SRC_AFS)/afs_error.c
1200         $(CRULE1)
1201 $(JUAFS)/afs_init.o: $(TOP_SRC_AFS)/afs_init.c
1202         $(CRULE1)
1203 $(JUAFS)/afs_mariner.o: $(TOP_SRC_AFS)/afs_mariner.c
1204         $(CRULE1)
1205 $(JUAFS)/afs_osidnlc.o: $(TOP_SRC_AFS)/afs_osidnlc.c
1206         $(CRULE1)
1207 $(JUAFS)/afs_osi.o: $(TOP_SRC_AFS)/afs_osi.c
1208         $(CRULE1)
1209 $(JUAFS)/afs_osi_pag.o: $(TOP_SRC_AFS)/afs_osi_pag.c
1210         $(CRULE1)
1211 $(JUAFS)/afs_segments.o: $(TOP_SRC_AFS)/afs_segments.c
1212         $(CRULE1)
1213 $(JUAFS)/afs_server.o: $(TOP_SRC_AFS)/afs_server.c
1214         $(CRULE1)
1215 $(JUAFS)/afs_user.o: $(TOP_SRC_AFS)/afs_user.c
1216         $(CRULE1)
1217 $(JUAFS)/afs_util.o: $(TOP_SRC_AFS)/afs_util.c
1218         $(CRULE1)
1219 $(JUAFS)/afs_vcache.o: $(TOP_SRC_AFS)/afs_vcache.c
1220         $(CRULE1)
1221 $(JUAFS)/afs_warn.o: $(TOP_SRC_AFS)/afs_warn.c
1222         $(CRULE1)
1223 $(JUAFS)/afs_osi_uio.o: $(TOP_SRC_AFS)/afs_osi_uio.c
1224         $(CRULE1)
1225 $(JUAFS)/afs_vnop_access.o: $(TOP_SRC_VNOPS)/afs_vnop_access.c
1226         $(CRULE1)
1227 $(JUAFS)/afs_vnop_attrs.o: $(TOP_SRC_VNOPS)/afs_vnop_attrs.c
1228         $(CRULE1)
1229 $(JUAFS)/afs_vnop_create.o: $(TOP_SRC_VNOPS)/afs_vnop_create.c
1230         $(CRULE1)
1231 $(JUAFS)/afs_vnop_dirops.o: $(TOP_SRC_VNOPS)/afs_vnop_dirops.c
1232         $(CRULE1)
1233 $(JUAFS)/afs_vnop_fid.o: $(TOP_SRC_VNOPS)/afs_vnop_fid.c
1234         $(CRULE1)
1235 $(JUAFS)/afs_vnop_flock.o: $(TOP_SRC_VNOPS)/afs_vnop_flock.c
1236         $(CRULE1)
1237 $(JUAFS)/afs_vnop_link.o: $(TOP_SRC_VNOPS)/afs_vnop_link.c
1238         $(CRULE1)
1239 $(JUAFS)/afs_vnop_lookup.o: $(TOP_SRC_VNOPS)/afs_vnop_lookup.c
1240         $(CRULE1)
1241 $(JUAFS)/afs_vnop_open.o: $(TOP_SRC_VNOPS)/afs_vnop_open.c
1242         $(CRULE1)
1243 $(JUAFS)/afs_vnop_read.o: $(TOP_SRC_VNOPS)/afs_vnop_read.c
1244         $(CRULE1)
1245 $(JUAFS)/afs_vnop_readdir.o: $(TOP_SRC_VNOPS)/afs_vnop_readdir.c
1246         $(CRULE1)
1247 $(JUAFS)/afs_vnop_remove.o: $(TOP_SRC_VNOPS)/afs_vnop_remove.c
1248         $(CRULE1)
1249 $(JUAFS)/afs_vnop_rename.o: $(TOP_SRC_VNOPS)/afs_vnop_rename.c
1250         $(CRULE1)
1251 $(JUAFS)/afs_vnop_strategy.o: $(TOP_SRC_VNOPS)/afs_vnop_strategy.c
1252         $(CRULE1)
1253 $(JUAFS)/afs_vnop_symlink.o: $(TOP_SRC_VNOPS)/afs_vnop_symlink.c
1254         $(CRULE1)
1255 $(JUAFS)/afs_vnop_write.o: $(TOP_SRC_VNOPS)/afs_vnop_write.c
1256         $(CRULE1)
1257 $(JUAFS)/afs_volume.o: $(TOP_SRC_AFS)/afs_volume.c
1258         $(CRULE1)
1259 $(JUAFS)/rx_rdwr.o: $(TOP_SRC_RX)/rx_rdwr.c
1260         $(CRULE1)
1261 $(JUAFS)/afs_cbqueue.o: $(TOP_SRC_AFS)/afs_cbqueue.c
1262         $(CRULE1)
1263 $(JUAFS)/afs_callback.o: $(TOP_SRC_AFS)/afs_callback.c
1264         $(CRULE1)
1265 $(JUAFS)/afs_chunk.o: $(TOP_SRC_AFS)/afs_chunk.c
1266         $(CRULE1)
1267 $(JUAFS)/afs_daemons.o: $(TOP_SRC_AFS)/afs_daemons.c
1268         $(CRULE1)
1269 $(JUAFS)/afs_dir.o:     $(TOP_SRCDIR)/dir/dir.c
1270         $(CRULE1) -o afs_dir.o
1271 $(JUAFS)/AFS_component_version_number.o: AFS_component_version_number.c
1272         $(CRULE1)
1273 $(JUAFS)/afs_lock.o: $(TOP_SRC_AFS)/afs_lock.c
1274         $(CRULE1)
1275 $(JUAFS)/afs_memcache.o: $(TOP_SRC_AFS)/afs_memcache.c
1276         $(CRULE1)
1277 $(JUAFS)/afs_md5.o: $(TOP_SRC_AFS)/afs_md5.c
1278         $(CRULE1)
1279 $(JUAFS)/afs_fetchstore.o: $(TOP_SRC_AFS)/afs_fetchstore.c
1280         $(CRULE1)
1281 $(JUAFS)/afs_stat.o: $(TOP_SRC_AFS)/afs_stat.c
1282         $(CRULE1)
1283 $(JUAFS)/fcrypt.o:      $(TOP_SRC_RXKAD)/fcrypt.c
1284         $(CRULE1)
1285 $(JUAFS)/crypt_conn.o: $(TOP_SRC_RXKAD)/crypt_conn.c
1286         $(CRULE1)
1287 $(JUAFS)/rxkad_client.o: $(TOP_SRC_RXKAD)/rxkad_client.c
1288         $(CRULE1)
1289 $(JUAFS)/rxkad_common.o: $(TOP_SRC_RXKAD)/rxkad_common.c
1290         $(CRULE1)
1291 $(JUAFS)/afs_exporter.o: $(TOP_SRCDIR)/afs/afs_exporter.c
1292         $(CRULE1)
1293 $(JUAFS)/afs_nfsclnt.o: $(TOP_SRC_AFS)/afs_nfsclnt.c
1294         $(CRULE1)
1295 $(JUAFS)/afs_nfsdisp.o: $(TOP_SRC_AFS)/afs_nfsdisp.c
1296         $(CRULE1)
1297 $(JUAFS)/rx.o: $(TOP_SRC_RX)/rx.c
1298         $(CRULE1)
1299 $(JUAFS)/rx_clock.o: $(TOP_SRC_RX)/rx_clock.c
1300         $(CRULE1)
1301 $(JUAFS)/rx_event.o: $(TOP_SRC_RX)/rx_event.c
1302         $(CRULE1)
1303 $(JUAFS)/rx_globals.o: $(TOP_SRC_RX)/rx_globals.c
1304         $(CRULE1)
1305 $(JUAFS)/rx_misc.o: $(TOP_SRC_RX)/rx_misc.c
1306         $(CRULE1)
1307 $(JUAFS)/rx_multi.o: $(TOP_SRC_RX)/rx_multi.c
1308         $(CRULE1)
1309 $(JUAFS)/rx_null.o: $(TOP_SRC_RX)/rx_null.c
1310         $(CRULE1)
1311 $(JUAFS)/rx_getaddr.o: $(TOP_SRC_RX)/rx_getaddr.c
1312         $(CRULE1)
1313 $(JUAFS)/rx_packet.o: $(TOP_SRC_RX)/rx_packet.c
1314         $(CRULE1)
1315 $(JUAFS)/rx_conncache.o: $(TOP_SRCDIR)/rx/rx_conncache.c
1316         $(CRULE1)
1317 $(JUAFS)/xdr_rx.o: $(TOP_SRC_RX)/xdr_rx.c
1318         $(CRULE1)
1319 $(JUAFS)/xdr_int64.o: $(TOP_SRC_RX)/xdr_int64.c
1320         $(CRULE1)
1321 $(JUAFS)/afs_usrops.o: $(TOP_SRC_AFS)/UKERNEL/afs_usrops.c
1322         $(CRULE1)
1323 $(JUAFS)/afsd.o: $(TOP_SRCDIR)/afsd/afsd.c
1324         $(CRULE1) @CFLAGS_NOERROR@
1325 $(JUAFS)/afsd_uafs.o: $(TOP_SRC_AFS)/UKERNEL/afsd_uafs.c
1326         $(CRULE1)
1327 $(JUAFS)/afs_uuid.o: $(TOP_SRCDIR)/util/uuid.c
1328         $(CRULE1) -o afs_uuid.o
1329 $(JUAFS)/assert.o: $(TOP_SRCDIR)/util/assert.c
1330         $(CRULE1)
1331 $(JUAFS)/xdr_afsuuid.o: $(TOP_SRCDIR)/rx/xdr_afsuuid.c
1332         $(CRULE1)
1333 $(JUAFS)/xdr.o: $(TOP_SRCDIR)/rx/xdr.c
1334         $(CRULE1)
1335 $(JUAFS)/osi_vnodeops.o: $(TOP_SRC_AFS)/UKERNEL/osi_vnodeops.c
1336         $(CRULE1)
1337 $(JUAFS)/osi_vm.o: $(TOP_SRC_AFS)/UKERNEL/osi_vm.c
1338         $(CRULE1)
1339 $(JUAFS)/osi_groups.o: $(TOP_SRC_AFS)/UKERNEL/osi_groups.c
1340         $(CRULE1)
1341 $(JUAFS)/osi_gcpags.o: $(TOP_SRC_AFS)/UKERNEL/osi_gcpags.c
1342         $(CRULE1)
1343 $(JUAFS)/Kcallback.ss.o: $(TOP_OBJ_FSINT)/Kcallback.ss.c
1344         $(CRULE1)
1345 $(JUAFS)/Kvice.xdr.o: $(TOP_OBJ_FSINT)/Kvice.xdr.c
1346         $(CRULE1)
1347 $(JUAFS)/Kvice.cs.o: $(TOP_OBJ_FSINT)/Kvice.cs.c
1348         $(CRULE1)
1349 $(JUAFS)/afsaux.o: $(TOP_SRC_FSINT)/afsaux.c
1350         $(CRULE1)
1351 $(JUAFS)/xdr_arrayn.o: $(TOP_SRC_RX)/xdr_arrayn.c
1352         $(CRULE1)
1353 $(JUAFS)/Kvldbint.cs.o: $(TOP_OBJ_VLSERVER)/Kvldbint.cs.c
1354         $(CRULE1)
1355 $(JUAFS)/Kvldbint.xdr.o: $(TOP_OBJ_VLSERVER)/Kvldbint.xdr.c
1356         $(CRULE1)
1357 $(JUAFS)/rx_knet.o: $(TOP_SRC_RX)/UKERNEL/rx_knet.c
1358         $(CRULE1)
1359 $(JUAFS)/rx_kcommon.o: $(TOP_SRCDIR)/rx/rx_kcommon.c
1360         $(CRULE1)
1361 $(JUAFS)/afs_call.o: $(TOP_SRC_AFS)/afs_call.c
1362         $(CRULE1) -DAFS_NONFSTRANS
1363 $(JUAFS)/afs_icl.o: $(TOP_SRC_AFS)/afs_icl.c
1364         $(CRULE1) -DAFS_NONFSTRANS
1365 $(JUAFS)/afs_pioctl.o: $(TOP_SRC_AFS)/afs_pioctl.c
1366         $(CRULE1) -DAFS_NONFSTRANS
1367 $(JUAFS)/afs_syscall.o: $(TOP_SRC_AFS)/afs_syscall.c
1368         $(CRULE1) @CFLAGS_NOERROR@ -DAFS_NONFSTRANS
1369 $(JUAFS)/osi_vfsops.o: $(TOP_SRC_AFS)/UKERNEL/osi_vfsops.c
1370         $(CRULE1) -DAFS_NONFSTRANS
1371 $(JUAFS)/ktc.o:         $(TOP_SRCDIR)/auth/ktc.c
1372         $(CRULE1) @CFLAGS_NOERROR@
1373 $(JUAFS)/ticket.o: $(TOP_SRCDIR)/rxkad/ticket.c
1374         $(CRULE1)
1375 $(JUAFS)/rxkad_server.o: $(TOP_SRCDIR)/rxkad/rxkad_server.c
1376         $(CRULE1)
1377 $(JUAFS)/ptint.cs.o: $(TOP_OBJDIR)/src/ptserver/ptint.cs.c
1378         $(CRULE1)
1379 $(JUAFS)/ptint.xdr.o: $(TOP_OBJDIR)/src/ptserver/ptint.xdr.c
1380         $(CRULE1)
1381 $(JUAFS)/ptuser.o: $(TOP_SRCDIR)/ptserver/ptuser.c
1382         $(CRULE1)
1383 $(JUAFS)/pterror.o: $(TOP_OBJDIR)/src/ptserver/pterror.c
1384         $(CRULE1)
1385 $(JUAFS)/ubikclient.o: $(TOP_SRCDIR)/ubik/ubikclient.c
1386         $(CRULE1)
1387 $(JUAFS)/ubik_int.cs.o: $(TOP_OBJDIR)/src/ubik/ubik_int.cs.c
1388         $(CRULE1)
1389 $(JUAFS)/ubik_int.xdr.o: $(TOP_OBJDIR)/src/ubik/ubik_int.xdr.c
1390         $(CRULE1)
1391 $(JUAFS)/authclient.o: $(TOP_SRCDIR)/kauth/authclient.c
1392         $(CRULE1)
1393 $(JUAFS)/kalocalcell.o: $(TOP_SRCDIR)/kauth/kalocalcell.c
1394         $(CRULE1)
1395 $(JUAFS)/client.o: $(TOP_SRCDIR)/kauth/client.c
1396         $(CRULE1)
1397 $(JUAFS)/user.o: $(TOP_SRCDIR)/kauth/user.c
1398         $(CRULE1)
1399 $(JUAFS)/hostparse.o: $(TOP_SRCDIR)/util/hostparse.c
1400         $(CRULE1)
1401 $(JUAFS)/token.o: $(TOP_SRCDIR)/kauth/token.c
1402         $(CRULE1)
1403 $(JUAFS)/acfg_errors.o: $(TOP_OBJDIR)/src/auth/acfg_errors.c
1404         $(CRULE1)
1405 $(JUAFS)/kaaux.o: $(TOP_SRCDIR)/kauth/kaaux.c
1406         $(CRULE1)
1407 $(JUAFS)/authcon.o: $(TOP_SRCDIR)/auth/authcon.c
1408         $(CRULE1)
1409 $(JUAFS)/cellconfig.o: $(TOP_SRCDIR)/auth/cellconfig.c
1410         $(CRULE1)
1411 $(JUAFS)/casestrcpy.o: $(TOP_SRCDIR)/util/casestrcpy.c
1412         $(CRULE1)
1413 $(JUAFS)/dirpath.o: $(TOP_SRCDIR)/util/dirpath.c
1414         $(CRULE1)
1415 $(JUAFS)/fileutil.o: $(TOP_SRCDIR)/util/fileutil.c
1416         $(CRULE1)
1417 $(JUAFS)/netutils.o: $(TOP_SRCDIR)/util/netutils.c
1418         $(CRULE1)
1419 $(JUAFS)/et_name.o: $(TOP_SRCDIR)/comerr/et_name.c
1420         $(CRULE1)
1421 $(JUAFS)/com_err.o: $(TOP_SRCDIR)/comerr/com_err.c
1422         $(CRULE1)
1423 $(JUAFS)/error_msg.o: $(TOP_SRCDIR)/comerr/error_msg.c
1424         $(CRULE1)
1425 $(JUAFS)/uerrors.o: $(TOP_OBJDIR)/src/ubik/uerrors.c
1426         $(CRULE1)
1427 $(JUAFS)/kaerrors.o: $(TOP_OBJDIR)/src/kauth/kaerrors.c
1428         $(CRULE1)
1429 $(JUAFS)/ktc_errors.o: $(TOP_OBJDIR)/src/auth/ktc_errors.c
1430         $(CRULE1)
1431 $(JUAFS)/rxkad_errs.o: $(TOP_OBJDIR)/src/rxkad/rxkad_errs.c
1432         $(CRULE1)
1433 $(JUAFS)/kauth.cs.o: $(TOP_OBJDIR)/src/kauth/kauth.cs.c
1434         $(CRULE1)
1435 $(JUAFS)/kauth.xdr.o: $(TOP_OBJDIR)/src/kauth/kauth.xdr.c
1436         $(CRULE1)
1437 $(JUAFS)/rxstat.o: $(TOP_SRC_RXSTAT)/rxstat.c
1438         $(CRULE1)
1439 $(JUAFS)/Krxstat.ss.o: $(TOP_OBJ_RXSTAT)/Krxstat.ss.c
1440         $(CRULE1)
1441 $(JUAFS)/Krxstat.xdr.o: $(TOP_OBJ_RXSTAT)/Krxstat.xdr.c
1442         $(CRULE1)
1443 $(JUAFS)/xdr_mem.o: $(TOP_SRC_RX)/xdr_mem.c
1444         $(CRULE1)
1445 $(JUAFS)/xdr_len.o: $(TOP_SRC_RX)/xdr_len.c
1446         $(CRULE1)
1447
1448 clean:
1449         -$(RM) -rf UAFS* JUAFS* AFSWEB* nsapi des afs afsint config rx
1450         -$(RM) -f  h net netinet rpc ufs machine inet nfs sys des linktest $(AFS_OS_CLEAN)
1451
1452
1453 install: UAFS/$(LIBUAFS) JUAFS/$(LIBJUAFS)
1454         ${INSTALL} -d ${DESTDIR}${libdir}
1455         ${INSTALL_DATA} UAFS/$(LIBUAFS) ${DESTDIR}${libdir}/$(LIBUAFS)
1456         ${INSTALL_DATA} JUAFS/$(LIBJUAFS) ${DESTDIR}${libdir}/$(LIBJUAFS)
1457
1458 dest: $(TOP_INCDIR)/afs/param.h $(TOP_INCDIR)/afs/stds.h \
1459                 $(TOP_INCDIR)/afs/afs_sysnames.h \
1460                 $(TOP_INCDIR)/afs/afs_stats.h \
1461                 $(TOP_SRCDIR)/afs/sysincludes.h \
1462                 $(TOP_SRCDIR)/afs/UKERNEL/afs_usrops.h \
1463                 ${TOP_OBJDIR}/lib/libdes.a UAFS/$(LIBUAFS) JUAFS/$(LIBJUAFS)
1464         ${INSTALL} -d ${DEST}/root.perf/include/afs
1465         ${INSTALL} -d ${DEST}/root.perf/lib
1466         ${INSTALL_DATA} $(TOP_INCDIR)/afs/param.h \
1467                 ${DEST}/root.perf/include/afs/param.h
1468         ${INSTALL_DATA} $(TOP_INCDIR)/afs/stds.h \
1469                 ${DEST}/root.perf/include/afs/stds.h
1470         ${INSTALL_DATA} $(TOP_INCDIR)/afs/afs_sysnames.h \
1471                 ${DEST}/root.perf/include/afs/afs_sysnames.h
1472         ${INSTALL_DATA} $(TOP_INCDIR)/afs/afs_stats.h \
1473                 ${DEST}/root.perf/include/afs/afs_stats.h
1474         ${INSTALL_DATA} $(TOP_SRCDIR)/afs/sysincludes.h \
1475                 ${DEST}/root.perf/include/afs/sysincludes.h
1476         ${INSTALL_DATA} $(TOP_SRCDIR)/afs/UKERNEL/afs_usrops.h \
1477                 ${DEST}/root.perf/include/afs/afs_usrops.h
1478         ${INSTALL_DATA} ${TOP_OBJDIR}/lib/libdes.a \
1479                 ${DEST}/root.perf/lib/libdes.a
1480         ${INSTALL_DATA} UAFS/$(LIBUAFS) ${DEST}/root.perf/lib/$(LIBUAFS)
1481         ${INSTALL_DATA} JUAFS/$(LIBJUAFS) ${DEST}/root.perf/lib/$(LIBJUAFS)
1482
1483 #
1484 # Common directory and other build targets
1485 #
1486 UAFS:
1487         mkdir -p $@
1488
1489 JUAFS:
1490         mkdir -p $@
1491
1492 AFSWEB:
1493         mkdir -p $@
1494
1495 setup_common:
1496         -$(RM) -f h net netinet rpc ufs nfs machine sys inet nsapi
1497         -ln -s /usr/include/sys h
1498         -ln -s /usr/include/net net 
1499         -ln -s /usr/include/netinet netinet
1500         -ln -s /usr/include/rpc rpc
1501         -ln -s /usr/include/sys sys
1502         -ln -s /usr/include/nfs nfs
1503         -ln -s /usr/include/inet inet
1504         -ln -s /usr/include/ufs ufs
1505         -ln -s $(TOP_SRCDIR)/afsd afsd
1506         -ln -s $(NS_INCL) nsapi
1507
1508 setup_uafs: UAFS setup_common
1509         -$(RM) -f UAFS/Makefile UAFS/Makefile.common
1510         ln -s ../Makefile UAFS/Makefile
1511         ln -s ../Makefile.common UAFS/Makefile.common
1512
1513 setup_juafs: JUAFS setup_common
1514         -$(RM) -f JUAFS/Makefile JUAFS/Makefile.common
1515         ln -s ../Makefile JUAFS/Makefile
1516         ln -s ../Makefile.common JUAFS/Makefile.common
1517
1518 setup_nsafs: AFSWEB setup_common
1519         -$(RM) -f AFSWEB/Makefile AFSWEB/Makefile.common
1520         ln -s ../Makefile AFSWEB/Makefile
1521         ln -s ../Makefile.common AFSWEB/Makefile.common
1522
1523 UAFS/$(LIBUAFS): setup_uafs
1524         cd UAFS && \
1525         $(MAKE) $(LIBUAFS) DESTDIR=${DESTDIR} LIBJUAFS_FLAGS=&& \
1526         $(RANLIB) $(LIBUAFS)
1527
1528 JUAFS/$(LIBJUAFS): setup_juafs
1529         cd JUAFS && \
1530         $(MAKE) $(LIBJUAFS) DESTDIR=${DESTDIR} LIBJUAFS_FLAGS=-DAFS_WEB_ENHANCEMENTS && \
1531         $(RANLIB) $(LIBJUAFS)
1532
1533 AFSWEB/$(LIBAFSWEB): setup_nsafs
1534         cd AFSWEB && \
1535         $(MAKE) $(LIBAFSWEB) DESTDIR=${DESTDIR} && \
1536         $(RANLIB) $(LIBAFSWEB)
1537
1538 AFSWEB/$(LIBAFSWEBKRB): setup_nsafs
1539         cd AFSWEB && \
1540         $(MAKE) $(LIBAFSWEBKRB) DESTDIR=${DESTDIR} && \
1541         $(RANLIB) $(LIBAFSWEBKRB)
1542
1543 include ${TOP_OBJDIR}/src/config/Makefile.version