1 # Copyright 2000, International Business Machines Corporation and others.
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
8 # Portions Copyright (c) 2003 Apple Computer, Inc.
11 include @TOP_OBJDIR@
/src
/config
/Makefile.config
13 ENABLE_KERNEL_MODULE
=@ENABLE_KERNEL_MODULE@
16 # To compile AFS from scratch in the src tree run "make".
17 # This recursively calls "make install ..." and does not depend on the
18 # existence of any non-standard programs.
19 # To compile for the kernel type "make blibafs". This assumes install,
20 # rxgen, compile_et and others already exist and runs it with
21 # "-argument kinstall".
23 COMPILE_PART1
= cd src
&& cd
24 COMPILE_PART2A
= && $(MAKE
)
26 COMPILE_PART2
= ${COMPILE_PART2A} ${COMPILE_PART2B}
27 COMPILE_CLEAN
= ${COMPILE_PART2A} clean
28 COMPILE_DEPINSTALL
= ${COMPILE_PART2A} depinstall
29 COMPILE_GENERATED
= ${COMPILE_PART2A} generated
35 $(MAKE
) build TARGET
=finale_nolibafs
38 $(MAKE
) build TARGET
=libafs
40 only_libafs_tree
: force
41 $(MAKE
) build TARGET
=libafs_tree
44 $(MAKE
) build TARGET
=build_tools COMPILE_PART2B
=buildtools
47 ( cd src
; cscope
-b
-R
)
49 generated
: force buildtools
50 +${COMPILE_PART1} afs
${COMPILE_GENERATED}
51 +${COMPILE_PART1} auth
${COMPILE_GENERATED}
52 +${COMPILE_PART1} bozo
${COMPILE_GENERATED}
53 +${COMPILE_PART1} bubasics
${COMPILE_GENERATED}
54 +${COMPILE_PART1} bucoord
${COMPILE_GENERATED}
55 +${COMPILE_PART1} budb
${COMPILE_GENERATED}
56 +${COMPILE_PART1} cmd
${COMPILE_GENERATED}
57 +${COMPILE_PART1} fsint
${COMPILE_GENERATED}
58 +${COMPILE_PART1} kauth
${COMPILE_GENERATED}
59 +${COMPILE_PART1} ptserver
${COMPILE_GENERATED}
60 +${COMPILE_PART1} rxkad
${COMPILE_GENERATED}
61 +${COMPILE_PART1} rxstat
${COMPILE_GENERATED}
62 +${COMPILE_PART1} sys
${COMPILE_GENERATED}
63 +${COMPILE_PART1} ubik
${COMPILE_GENERATED}
64 +${COMPILE_PART1} update
${COMPILE_GENERATED}
65 +${COMPILE_PART1} vlserver
${COMPILE_GENERATED}
66 +${COMPILE_PART1} volser
${COMPILE_GENERATED}
67 +${COMPILE_PART1} config
${COMPILE_PART2A} generated_clean
68 +${COMPILE_PART1} roken
${COMPILE_PART2A} clean
69 +${COMPILE_PART1} crypto
/hcrypto
${COMPILE_PART2A} clean
70 +${COMPILE_PART1} opr
${COMPILE_PART2A} clean
72 install: all install_dirs
73 $(MAKE
) build COMPILE_PART2B
=install
75 install_nolibafs
: all_nolibafs install_dirs
76 $(MAKE
) build TARGET
=finale_nolibafs COMPILE_PART2B
=install
78 install_only_libafs
: only_libafs install_dirs
79 $(MAKE
) build TARGET
=libafs COMPILE_PART2B
=install
82 $(MAKE
) build COMPILE_PART2B
=dest
83 -${INSTALL_DATA} ${srcdir}/LICENSE
${DEST}/LICENSE
85 dest_nolibafs
: all_nolibafs dest_dirs
86 $(MAKE
) build TARGET
=finale_nolibafs COMPILE_PART2B
=dest
87 -${INSTALL_DATA} ${srcdir}/LICENSE
${DEST}/LICENSE
89 dest_only_libafs
: only_libafs dest_dirs
90 $(MAKE
) build TARGET
=libafs COMPILE_PART2B
=dest
91 -${INSTALL_DATA} ${srcdir}/LICENSE
${DEST}/LICENSE
94 @case
${SYS_NAME} in \
95 *_darwin_1
[2-4] |
*_darwin_
[6-9]0 |
*_darwin_1
[0-3]0 ) \
96 ${COMPILE_PART1} packaging
/MacOS
&& bash .
/buildpkg.sh
${DEST} ;; \
98 ${COMPILE_PART1} packaging
/MacOS
&& bash .
/pkgbuild.sh
${DEST} ;; \
100 ${COMPILE_PART1} packaging
/HP-UX
&& swpackage
-s psf-1.2
.10-transarc-paths-11.00
;; \
102 ${COMPILE_PART1} packaging
/HP-UX
&& swpackage
-s psf-1.2
.10-transarc-paths-11.11
;; \
104 ${COMPILE_PART1} packaging
/HP-UX
&& swpackage
-s psf-1.2
.10-transarc-paths-11.22
;; \
105 ia64_hpux1123 | hp_ux1123
) \
106 ${COMPILE_PART1} packaging
/HP-UX
&& swpackage
-s psf-1.2
.10-transarc-paths-11.23
;; \
108 echo Not building packages for
${SYS_NAME} ;; \
111 ${TOP_INCDIR}/afs
${TOP_INCDIR}/rx
${TOP_INCDIR}/hcrypto
${TOP_INCDIR}/opr
${TOP_LIBDIR} ${TOP_JLIBDIR}:
115 mkdir
-p
${DESTDIR}${bindir}
116 mkdir
-p
${DESTDIR}${sbindir}
117 mkdir
-p
${DESTDIR}${libexecdir}/openafs
118 mkdir
-p
${DESTDIR}${libdir}/afs
119 mkdir
-p
${DESTDIR}${includedir}/afs
120 mkdir
-p
${DESTDIR}${includedir}/rx
121 mkdir
-p
${DESTDIR}${afskerneldir}
122 mkdir
-p
${DESTDIR}${afssrvbindir}
123 mkdir
-p
${DESTDIR}${afssrvsbindir}
124 mkdir
-p
${DESTDIR}${afssrvlibexecdir}
125 mkdir
-p
${DESTDIR}${afsdatadir}/C
130 mkdir
-p
${DEST}/lib
/afs
131 mkdir
-p
${DEST}/include/afs
132 mkdir
-p
${DEST}/include/rx
133 mkdir
-p
${DEST}/root.client
/usr
/vice
/etc
/C
134 mkdir
-p
${DEST}/root.server
/etc
135 mkdir
-p
${DEST}/root.server
/usr
/afs
/bin
137 prelude
: ${TOP_INCDIR}/afs
${TOP_INCDIR}/rx
${TOP_INCDIR}/hcrypto \
138 ${TOP_INCDIR}/opr
${TOP_LIBDIR}
143 +${COMPILE_PART1} tests
${COMPILE_PART2}
146 +${COMPILE_PART1} config
${COMPILE_PART2}
148 procmgmt
: $(DIR_roken
) config
149 +${COMPILE_PART1} procmgmt
${COMPILE_PART2}
151 opr
: config hcrypto
$(DIR_roken
)
152 +${COMPILE_PART1} opr
${COMPILE_PART2}
154 util
: opr
$(DIR_roken
) procmgmt hcrypto lwp
155 +${COMPILE_PART1} util
${COMPILE_PART2}
157 libafscp
: util afs volser vlserver rx auth fsint
158 +${COMPILE_PART1} libafscp
${COMPILE_PART2}
160 audit
: util rx rxkad fsint
161 +${COMPILE_PART1} audit
${COMPILE_PART2} #TODO
163 comerr
: util
$(DIR_roken
)
164 +${COMPILE_PART1} comerr
${COMPILE_PART2}
167 +@case
${SYS_NAME} in \
168 sgi_6
* | sun
*_5
[789] | sun
*_51
[01] | hp_ux11
* | ia64_hpux
* | sparc64_linux
* | alpha_linux
* ) \
169 ${COMPILE_PART1} cmd
${COMPILE_PART2}64 ;; \
171 ${COMPILE_PART1} cmd
${COMPILE_PART2} ;; \
174 hcrypto
: config
$(DIR_roken
)
175 +${COMPILE_PART1} crypto
/hcrypto
${COMPILE_PART2}
177 rfc3961
: config hcrypto
178 +${COMPILE_PART1} crypto
/rfc3961
${COMPILE_PART2}
180 lwp
: opr
$(DIR_roken
) lwp_depinstall
181 +${COMPILE_PART1} lwp
${COMPILE_PART2}
184 +${COMPILE_PART1} roken
${COMPILE_PART2}
186 rxgen
: $(DIR_roken
) config
187 +${COMPILE_PART1} rxgen
${COMPILE_PART2}
189 rx
: config lwp rxgen rx_depinstall util
190 +${COMPILE_PART1} rx
${COMPILE_PART2}
192 rxstat
: rx rxstat_depinstall
193 +${COMPILE_PART1} rxstat
${COMPILE_PART2}
197 +${COMPILE_PART1} rxdebug
${COMPILE_PART2}
199 fsint
: cmd comerr rxgen rx lwp fsint_depinstall
200 +${COMPILE_PART1} fsint
${COMPILE_PART2}
205 @case
${SYS_NAME} in \
207 ${MAKE} export_build
; \
211 +${COMPILE_PART1} export ${COMPILE_PART2}
213 afs
: config
export comerr afs_depinstall
214 +${COMPILE_PART1} afs
${COMPILE_PART2}
216 sys
: cmd comerr afs hcrypto rx rxstat fsint sys_depinstall
217 +${COMPILE_PART1} sys
${COMPILE_PART2}
219 rxkad
: cmd comerr hcrypto rfc3961 rx rxkad_depinstall
220 +${COMPILE_PART1} rxkad
${COMPILE_PART2}
222 auth
: cmd comerr hcrypto lwp rx rxkad audit sys auth_depinstall
223 +${COMPILE_PART1} auth
${COMPILE_PART2}
225 ubik
: cmd comerr auth ubik_depinstall sys
226 +${COMPILE_PART1} ubik
${COMPILE_PART2}
228 tubik
: ubik libafsrpc libafsauthent
229 +case
${SYS_NAME} in \
230 alpha_dux
*|sgi_
*|sun
*_5
*|rs_aix
*|
*linux
*|hp_ux11
*|ia64_hpux
*|
*[nof
]bsd
*|
*_darwin_
*) \
231 ${COMPILE_PART1} tubik
${COMPILE_PART2} ;; \
233 echo Not building MT ubik for
${SYS_NAME} ;; \
238 ptserver
: cmd comerr ubik cmd comerr auth audit ptserver_depinstall
239 +${COMPILE_PART1} ptserver
${COMPILE_PART2}
241 tptserver
: cmd comerr ptserver tubik libafsrpc libafsauthent
242 +case
${SYS_NAME} in \
243 alpha_dux
*|sgi_
*|sun
*_5
*|rs_aix
*|
*linux
*|hp_ux11
*|ia64_hpux
*|
*[nof
]bsd
*|
*_darwin_
*) \
244 ${COMPILE_PART1} tptserver
${COMPILE_PART2} ;; \
246 echo Not building MT ptserver for
${SYS_NAME} ;; \
249 kauth
: cmd comerr ubik cmd auth comerr ptserver audit libacl kauth_depinstall \
251 +${COMPILE_PART1} kauth
${COMPILE_PART2}
253 libacl
: cmd comerr ptserver libacl_depinstall
254 +${COMPILE_PART1} libacl
${COMPILE_PART2}
256 dir: cmd comerr libacl dir_depinstall
257 +${COMPILE_PART1} dir ${COMPILE_PART2}
259 vol
: cmd comerr
dir afs
$(DIR_roken
)
260 +${COMPILE_PART1} vol
${COMPILE_PART2}
262 tsalvaged
: vol libafsrpc libafsauthent cmd util
263 +case
${SYS_NAME} in \
264 alpha_dux
*|sgi_
*|sun
*_5
*|rs_aix
*|
*linux
*|hp_ux11
*|ia64_hpux
*|
*[fn
]bsd
*|
*_darwin_
*) \
265 ${COMPILE_PART1} tsalvaged
${COMPILE_PART2} ;; \
267 ${COMPILE_PART1} tsalvaged
${COMPILE_PART2} ;; \
269 echo Not building MT tsalvaged for
${SYS_NAME} ;; \
273 vlserver
: cmd comerr vol audit vlserver_depinstall
274 +${COMPILE_PART1} vlserver
${COMPILE_PART2}
276 tvlserver
: cmd comerr vol audit tubik libafsrpc libafsauthent \
278 +case
${SYS_NAME} in \
279 alpha_dux
*|sgi_
*|sun
*_5
*|rs_aix
*|
*linux
*|hp_ux11
*|ia64_hpux
*|
*[nof
]bsd
*|
*_darwin_
*) \
280 ${COMPILE_PART1} tvlserver
${COMPILE_PART2} ;; \
282 echo Not building MT tvlserver for
${SYS_NAME} ;; \
286 viced
: cmd comerr vlserver tvlserver libafsrpc libafsauthent audit
287 +${COMPILE_PART1} viced
${COMPILE_PART2}
289 dviced
: cmd comerr viced vlserver tvlserver libafsrpc libafsauthent
290 +case
${SYS_NAME} in \
291 alpha_dux
*|sgi_
*|sun
*_5
*|rs_aix
*|
*linux
*|hp_ux11
*|ia64_hpux
*|
*[nof
]bsd
*|
*_darwin_
*) \
292 ${COMPILE_PART1} dviced
${COMPILE_PART2} ;; \
294 echo Not building DAFS viced for
${SYS_NAME} ;; \
297 volser
: cmd comerr usd kauth vlserver audit
298 +${COMPILE_PART1} volser
${COMPILE_PART2}
300 tvolser
: project viced usd libafsrpc libafsauthent volser
301 +@case
${SYS_NAME} in \
302 *_darwin_
*|alpha_dux
*|sgi_
*|sun
*_5
*|rs_aix
*|
*linux
*|hp_ux11
*|ia64_hpux
*|
*[nof
]bsd
*) \
303 ${COMPILE_PART1} tvolser
${COMPILE_PART2} ;; \
305 echo Not building MT volser for
${SYS_NAME} ;; \
308 dvolser
: project viced usd libafsrpc libafsauthent volser
309 +@case
${SYS_NAME} in \
310 *_darwin_
*|alpha_dux
*|sgi_
*|sun
*_5
*|rs_aix
*|
*linux
*|hp_ux11
*|ia64_hpux
*|
*[nof
]bsd
*) \
311 ${COMPILE_PART1} dvolser
${COMPILE_PART2} ;; \
313 echo Not building DAFS volser for
${SYS_NAME} ;; \
317 +${COMPILE_PART1} rxosd
${COMPILE_PART2A} source
319 venus
: cmd comerr volser ptserver libafscp libafsauthent
320 +${COMPILE_PART1} venus
${COMPILE_PART2}
322 +${COMPILE_PART1} venus
/test ${COMPILE_PART2}
324 afsd
: cmd comerr sys kauth libafsauthent @CLIENT_UAFS_DEP@
325 +${COMPILE_PART1} afsd
${COMPILE_PART2}
327 gtx
: cmd comerr auth kauth
329 if
test "@LIB_curses@"; then \
330 ${COMPILE_PART1} gtx
${COMPILE_PART2} ; \
332 echo Not building gtx
, because no curses-headers found.
; \
335 fsprobe
: cmd comerr util fsint volser
336 +${COMPILE_PART1} fsprobe
${COMPILE_PART2}
338 scout
: cmd comerr gtx fsprobe
339 +if
test "@LIB_curses@"; then \
340 ${COMPILE_PART1} scout
${COMPILE_PART2} ; \
342 echo Not building scout
, because no curses-headers found.
; \
345 uss
: hcrypto kauth cmd comerr rx vlserver vol volser
346 +${COMPILE_PART1} uss
${COMPILE_PART2}
348 bozo
: cmd comerr audit auth kauth volser
349 +${COMPILE_PART1} bozo
${COMPILE_PART2}
353 case
${SYS_NAME} in \
354 sgi_
* |
*linux
* | rs_aix
* |
*_darwin
* | ia64_hpux
* |
*fbsd
* |
*_obsd
* |
*_nbsd
* ) \
355 echo skip vfsck for
${SYS_NAME} ;; \
357 ${COMPILE_PART1} vfsck
${COMPILE_PART2} ;; \
360 pam
: auth libafsauthent
362 if
test "@HAVE_PAM@" = "yes"; then \
363 ${COMPILE_PART1} pam
${COMPILE_PART2} ; \
365 echo Skipping pam for
${SYS_NAME} ; \
368 tsm41
: cmd comerr kauth rxkad
370 case
${SYS_NAME} in \
372 ${COMPILE_PART1} tsm41
${COMPILE_PART2} ;; \
374 echo Skipping tsm41 for
${SYS_NAME} ;; \
377 aklog
: auth comerr ptserver libafsauthent
379 if
test "@BUILD_KRB5@" = "yes"; then \
380 ${COMPILE_PART1} aklog
${COMPILE_PART2} ; \
382 echo Skipping aklog for
${SYS_NAME} ; \
385 authtools
: pam tsm41 platform aklog
387 platform
: config cmd vol
388 +${COMPILE_PART1} platform
${COMPILE_PART2}
390 tools
: config audit volser vlserver
391 +${COMPILE_PART1} tools
${COMPILE_PART2}
394 +if
test -d
"doc/man-pages" ; then \
395 cd doc
/man-pages
${COMPILE_PART2} ; \
399 # _depinstall targets - only build and install headers/sources that are
400 # needed by libafs/libuafs
402 # encode dependencies within the _depinstall targets as required
404 lwp_depinstall
: config
405 +${COMPILE_PART1} lwp
${COMPILE_DEPINSTALL}
407 rx_depinstall
: config
408 +${COMPILE_PART1} rx
${COMPILE_DEPINSTALL}
410 rxkad_depinstall
: config comerr
411 +${COMPILE_PART1} rxkad
${COMPILE_DEPINSTALL}
413 ubik_depinstall
: config comerr rxgen
414 +${COMPILE_PART1} ubik
${COMPILE_DEPINSTALL}
416 vlserver_depinstall
: config rxgen ubik_depinstall auth_depinstall
417 +${COMPILE_PART1} vlserver
${COMPILE_DEPINSTALL}
419 tvlserver_depinstall
: config rxgen ubik_depinstall auth_depinstall
420 +${COMPILE_PART1} tvlserver
${COMPILE_DEPINSTALL}
422 auth_depinstall
: config rxgen comerr
423 +${COMPILE_PART1} auth
${COMPILE_DEPINSTALL}
425 fsint_depinstall
: config rxgen
426 +${COMPILE_PART1} fsint
${COMPILE_DEPINSTALL}
428 rxstat_depinstall
: config rxgen
429 +${COMPILE_PART1} rxstat
${COMPILE_DEPINSTALL}
431 libacl_depinstall
: config
432 +${COMPILE_PART1} libacl
${COMPILE_DEPINSTALL}
434 afs_depinstall
: config comerr
435 +${COMPILE_PART1} afs
${COMPILE_DEPINSTALL}
437 dir_depinstall
: config
438 +${COMPILE_PART1} dir ${COMPILE_DEPINSTALL}
440 sys_depinstall
: config rxgen
441 +${COMPILE_PART1} sys
${COMPILE_DEPINSTALL}
443 kauth_depinstall
: config rxgen comerr
444 +${COMPILE_PART1} kauth
${COMPILE_DEPINSTALL}
446 ptserver_depinstall
: config rxgen comerr
447 +${COMPILE_PART1} ptserver
${COMPILE_DEPINSTALL}
449 ${DEST}/bin
/dedebug
: dedebug
454 # libafs build targets
456 libafs
: config
export rfc3961 hcrypto lwp_depinstall \
457 rx_depinstall vlserver_depinstall tvlserver_depinstall \
458 rxkad_depinstall fsint_depinstall \
459 libacl_depinstall afs_depinstall dir_depinstall \
460 rxstat_depinstall sys_depinstall auth_depinstall \
462 ${CONFIGTOOL} src
/libafs
/MakefileProto.
${MKAFS_OSTYPE} src
/libafs
/Makefile
${SYS_NAME}
463 +${COMPILE_PART1} libafs
${COMPILE_PART2}
465 libafs_tree
: export lwp_depinstall rx_depinstall vlserver_depinstall \
466 tvlserver_depinstall rxkad_depinstall fsint_depinstall \
467 libacl_depinstall afs_depinstall dir_depinstall \
468 rxstat_depinstall sys_depinstall auth_depinstall
469 ${TOP_SRCDIR}/config
/make_libafs_tree.pl \
471 -os
$(MKAFS_OSTYPE
) \
472 -t @TOP_OBJDIR@
/libafs_tree \
477 # libuafs build targets
480 libuafs_setup
: config
export
481 ${CONFIGTOOL} src
/libuafs
/MakefileProto.
${MKAFS_OSTYPE} src
/libuafs
/Makefile
${SYS_NAME}
483 libuafs
: libuafs_setup vlserver_depinstall tvlserver_depinstall rx_depinstall \
484 fsint_depinstall auth_depinstall dir_depinstall \
485 libacl_depinstall rxkad_depinstall ubik_depinstall \
486 afs_depinstall kauth_depinstall ptserver_depinstall \
487 rxstat_depinstall lwp_depinstall sys_depinstall cmd hcrypto
489 case
${SYS_NAME} in \
490 hp_ux102
* |
*_obsd
* |
*_nbsd
*| hp_ux11i | hp_ux112
* | ia64_hpux112
*) \
491 echo Skipping libuafs for
${SYS_NAME} ;; \
493 ${COMPILE_PART1} libuafs
${COMPILE_PART2} ;; \
497 +${COMPILE_PART1} afsweb
${COMPILE_PART2}
499 update
: cmd comerr auth sys
500 +${COMPILE_PART1} update
${COMPILE_PART2}
502 log
: cmd comerr auth sys
503 +${COMPILE_PART1} log
${COMPILE_PART2}
505 bu_utils
: cmd comerr usd
506 +${COMPILE_PART1} bu_utils
${COMPILE_PART2}
509 +${COMPILE_PART1} usd
${COMPILE_PART2}
511 bubasics
: cmd comerr comerr rx
512 +${COMPILE_PART1} bubasics
${COMPILE_PART2}
514 butm
: cmd comerr bubasics usd uss
515 +${COMPILE_PART1} butm
${COMPILE_PART2}
517 butc
: cmd comerr bubasics butm budb bucoord cmd rxgen rx
518 +${COMPILE_PART1} butc
${COMPILE_PART2}
520 tbutc
: cmd comerr bubasics butm budb bucoord cmd butc libadmin
521 +case
${SYS_NAME} in \
522 alpha_dux
*|sgi_
*|sun4x_
*|sunx86_
*|rs_aix
*|
*linux
*|hp_ux11
*|ia64_hpux
*|
*_darwin_
*) \
523 ${COMPILE_PART1} tbutc
${COMPILE_PART2} ;; \
525 echo Not building MT butc for
${SYS_NAME} ;; \
528 budb
: cmd comerr bubasics uss
529 +${COMPILE_PART1} budb
${COMPILE_PART2}
532 +case
${SYS_NAME} in \
533 alpha_dux
*|sgi_
*|sun
*_5
*|rs_aix
*|
*linux
*|hp_ux11
*|ia64_hpux
*|
*[nof
]bsd
*|
*_darwin_
*) \
534 ${COMPILE_PART1} tbudb
${COMPILE_PART2} ;; \
536 echo Not building MT budb for
${SYS_NAME} ;; \
539 bucoord
: cmd comerr bubasics budb volser butm
540 +${COMPILE_PART1} bucoord
${COMPILE_PART2}
542 xstat
: cmd comerr fsint viced
543 +${COMPILE_PART1} xstat
${COMPILE_PART2}
545 afsmonitor
: cmd comerr gtx xstat
547 if
test "@LIB_curses@"; then \
548 ${COMPILE_PART1} afsmonitor
${COMPILE_PART2} ; \
550 echo Not building afsmonitor
, because no curses-headers found.
; \
553 tests
: rxtests ubiktests rpctestlib viced
555 # pthread based user space RX library
556 libafsrpc
: comerr fsint hcrypto lwp rx rxkad rxstat sys util
557 +case
${SYS_NAME} in \
558 alpha_dux
*|sgi_
*|sun4x_
*|sunx86_
*|rs_aix
*|
*linux
*|hp_ux11
*|ia64_hpux
*|
*[nof
]bsd
*) \
559 ${COMPILE_PART1} libafsrpc
${COMPILE_PART2} ;; \
560 *_darwin_
[1-6][0-9]) \
561 echo Not building MT libafsrpc for
${SYS_NAME} ;; \
563 ${COMPILE_PART1} libafsrpc
${COMPILE_PART2} ;; \
565 echo Not building MT libafsrpc for
${SYS_NAME} ;; \
568 libafsauthent
: audit auth kauth ubik util sys ptserver volser vlserver libafsrpc
569 +case
${SYS_NAME} in \
570 alpha_dux
*|sgi_
*|sun4x_
*|sunx86_
*|rs_aix
*|
*linux
*|hp_ux11
*|ia64_hpux
*|
*[nof
]bsd
*) \
571 ${COMPILE_PART1} libafsauthent
${COMPILE_PART2} ;; \
572 *_darwin_
[1-6][0-9]) \
573 echo Not building MT libafsauthent for
${SYS_NAME} ;; \
575 ${COMPILE_PART1} libafsauthent
${COMPILE_PART2} ;; \
577 echo Not building MT libafsauthent for
${SYS_NAME} ;; \
581 +${COMPILE_PART1} kopenafs
${COMPILE_PART2}
584 +${COMPILE_PART1} libadmin
${COMPILE_PART2}
585 +${COMPILE_PART1} libadmin
/adminutil
${COMPILE_PART2}
586 +${COMPILE_PART1} libadmin
/vos
${COMPILE_PART2}
587 +${COMPILE_PART1} libadmin
/client
${COMPILE_PART2}
588 +${COMPILE_PART1} libadmin
/kas
${COMPILE_PART2}
589 +${COMPILE_PART1} libadmin
/pts
${COMPILE_PART2}
590 +${COMPILE_PART1} libadmin
/bos
${COMPILE_PART2}
591 +${COMPILE_PART1} libadmin
/cfg
${COMPILE_PART2}
592 +${COMPILE_PART1} libadmin
/test ${COMPILE_PART2}
593 +${COMPILE_PART1} libadmin
/samples
${COMPILE_PART2}
595 libadmin
: libafsauthent bozo bubasics
596 +case
${SYS_NAME} in \
597 alpha_dux
*|sgi_
*|sun4x_
*|sunx86_
*|rs_aix
*|
*linux
*|hp_ux11
*|ia64_hpux
*) \
598 $(MAKE
) libadmin_real
;; \
599 *_darwin_
[1-6][0-9]) \
600 echo Not building MT libadmin for
${SYS_NAME} ;; \
602 $(MAKE
) libadmin_real
;; \
604 echo Not building MT libadmin for
${SYS_NAME} ;; \
608 +case
${SYS_NAME} in \
609 alpha_dux
*|sgi_
*|sun4x_
*|rs_aix
*|
*linux
*|hp_ux110
) \
610 ${COMPILE_PART1} JAVA
/libjafs
${COMPILE_PART2} ;; \
612 echo Not building MT libjafs for
${SYS_NAME} ;; \
621 build_tools
: config comerr rxgen
622 +${COMPILE_PART1} util
${COMPILE_PART2A} buildtools_clean
624 finale
: project cmd comerr afsd butc tbutc tbudb @ENABLE_KERNEL_MODULE@ \
625 libuafs audit kauth log ptserver tptserver scout bu_utils ubik uss \
626 bozo @VFSCK@ volser tvolser tsalvaged dviced dvolser libafscp \
627 venus venustests update xstat afsmonitor rxdebug libafsrpc rfc3961 \
628 hcrypto libafsauthent libadmin man-pages tools platform kopenafs \
629 authtools
$(DIR_roken
)
630 +${COMPILE_PART1} finale
${COMPILE_PART2}
632 finale_nolibafs
: project cmd comerr afsd butc tbutc tbudb libuafs audit kauth \
633 log ptserver tptserver scout bu_utils ubik tubik uss bozo @VFSCK@ \
634 volser tvolser tsalvaged dviced dvolser libafscp venus venustests \
635 update xstat afsmonitor rxdebug libafsrpc rfc3961 hcrypto \
636 libafsauthent libadmin man-pages tools platform kopenafs \
637 authtools
$(DIR_roken
)
638 +${COMPILE_PART1} finale
${COMPILE_PART2}
640 rpctestlib
: util fsint rx opr libafsrpc libafsauthent
641 +${TEST_PART1} rpctestlib
${COMPILE_PART2}
644 cd tests
&& $(MAKE
) check
650 $(MAKE
) $(TARGET
) DEST
=$(DEST
) COMPILE_PART2B
=$(COMPILE_PART2B
) DESTDIR
=$(DESTDIR
)
652 kupdate
: updatekdir libafs_setup libuafs_setup
667 -${COMPILE_PART1} config
${COMPILE_CLEAN}
668 -${COMPILE_PART1} procmgmt
${COMPILE_CLEAN}
669 -${COMPILE_PART1} util
${COMPILE_CLEAN}
670 -${COMPILE_PART1} opr
${COMPILE_CLEAN}
671 -${COMPILE_PART1} libafscp
${COMPILE_CLEAN}
672 -${COMPILE_PART1} audit
${COMPILE_CLEAN}
673 -${COMPILE_PART1} comerr
${COMPILE_CLEAN}
674 -${COMPILE_PART1} cmd
${COMPILE_CLEAN}
675 -${COMPILE_PART1} lwp
${COMPILE_CLEAN}
676 -${COMPILE_PART1} rxgen
${COMPILE_CLEAN}
677 -${COMPILE_PART1} rx
${COMPILE_CLEAN}
678 -${COMPILE_PART1} rxstat
${COMPILE_CLEAN}
679 -${COMPILE_PART1} fsint
${COMPILE_CLEAN}
680 -${COMPILE_PART1} export ${COMPILE_CLEAN}
681 -${COMPILE_PART1} afs
${COMPILE_CLEAN}
682 -${COMPILE_PART1} sys
${COMPILE_CLEAN}
683 -${COMPILE_PART1} rxkad
${COMPILE_CLEAN}
684 -${COMPILE_PART1} auth
${COMPILE_CLEAN}
685 -${COMPILE_PART1} ubik
${COMPILE_CLEAN}
686 -${COMPILE_PART1} tubik
${COMPILE_CLEAN}
687 -${COMPILE_PART1} ptserver
${COMPILE_CLEAN}
688 -${COMPILE_PART1} tptserver
${COMPILE_CLEAN}
689 -${COMPILE_PART1} kauth
${COMPILE_CLEAN}
690 -${COMPILE_PART1} libacl
${COMPILE_CLEAN}
691 -${COMPILE_PART1} dir ${COMPILE_CLEAN}
692 -${COMPILE_PART1} vol
${COMPILE_CLEAN}
693 -${COMPILE_PART1} vlserver
${COMPILE_CLEAN}
694 -${COMPILE_PART1} tvlserver
${COMPILE_CLEAN}
695 -${COMPILE_PART1} viced
${COMPILE_CLEAN}
696 -${COMPILE_PART1} dviced
${COMPILE_CLEAN}
697 -${COMPILE_PART1} volser
${COMPILE_CLEAN}
698 -${COMPILE_PART1} tvolser
${COMPILE_CLEAN}
699 -${COMPILE_PART1} dvolser
${COMPILE_CLEAN}
700 -${COMPILE_PART1} tsalvaged
${COMPILE_CLEAN}
701 -${COMPILE_PART1} venus
${COMPILE_CLEAN}
702 -${COMPILE_PART1} venus
/test ${COMPILE_CLEAN}
703 -${COMPILE_PART1} afsd
${COMPILE_CLEAN}
704 -${COMPILE_PART1} gtx
${COMPILE_CLEAN}
705 -${COMPILE_PART1} fsprobe
${COMPILE_CLEAN}
706 -${COMPILE_PART1} scout
${COMPILE_CLEAN}
707 -${COMPILE_PART1} uss
${COMPILE_CLEAN}
708 -${COMPILE_PART1} bozo
${COMPILE_CLEAN}
709 -${COMPILE_PART1} vfsck
${COMPILE_CLEAN}
710 -${COMPILE_PART1} tsm41
${COMPILE_CLEAN}
711 -${COMPILE_PART1} sia
${COMPILE_CLEAN}
712 -${COMPILE_PART1} aklog
${COMPILE_CLEAN}
713 -${COMPILE_PART1} pam
${COMPILE_CLEAN}
714 -${COMPILE_PART1} afsweb
${COMPILE_CLEAN}
715 -${COMPILE_PART1} update
${COMPILE_CLEAN}
716 -${COMPILE_PART1} log
${COMPILE_CLEAN}
717 -${COMPILE_PART1} bu_utils
${COMPILE_CLEAN}
718 -${COMPILE_PART1} usd
${COMPILE_CLEAN}
719 -${COMPILE_PART1} bubasics
${COMPILE_CLEAN}
720 -${COMPILE_PART1} butm
${COMPILE_CLEAN}
721 -${COMPILE_PART1} butc
${COMPILE_CLEAN}
722 -${COMPILE_PART1} tbutc
${COMPILE_CLEAN}
723 -${COMPILE_PART1} budb
${COMPILE_CLEAN}
724 -${COMPILE_PART1} tbudb
${COMPILE_CLEAN}
725 -${COMPILE_PART1} bucoord
${COMPILE_CLEAN}
726 -${COMPILE_PART1} xstat
${COMPILE_CLEAN}
727 -${COMPILE_PART1} afsmonitor
${COMPILE_CLEAN}
728 -${COMPILE_PART1} rxdebug
${COMPILE_CLEAN}
729 -${COMPILE_PART1} libafsrpc
${COMPILE_CLEAN}
730 -${COMPILE_PART1} libafsauthent
${COMPILE_CLEAN}
731 -${COMPILE_PART1} kopenafs
${COMPILE_CLEAN}
732 -${COMPILE_PART1} tools
${COMPILE_CLEAN}
733 -${COMPILE_PART1} platform
${COMPILE_CLEAN}
734 -${COMPILE_PART1} libadmin
${COMPILE_CLEAN}
735 -${COMPILE_PART1} libadmin
/adminutil
${COMPILE_CLEAN}
736 -${COMPILE_PART1} libadmin
/client
${COMPILE_CLEAN}
737 -${COMPILE_PART1} libadmin
/vos
${COMPILE_CLEAN}
738 -${COMPILE_PART1} libadmin
/kas
${COMPILE_CLEAN}
739 -${COMPILE_PART1} libadmin
/pts
${COMPILE_CLEAN}
740 -${COMPILE_PART1} libadmin
/bos
${COMPILE_CLEAN}
741 -${COMPILE_PART1} libadmin
/cfg
${COMPILE_CLEAN}
742 -${COMPILE_PART1} libadmin
/test ${COMPILE_CLEAN}
743 -${COMPILE_PART1} libadmin
/samples
${COMPILE_CLEAN}
744 -${COMPILE_PART1} JAVA
/libjafs
${COMPILE_CLEAN}
745 -${COMPILE_PART1} finale
${COMPILE_CLEAN}
746 -${COMPILE_PART1} libafs
${COMPILE_CLEAN}
747 -${COMPILE_PART1} libuafs
${COMPILE_CLEAN}
748 -${COMPILE_PART1} rxosd
${COMPILE_CLEAN}
749 -${COMPILE_PART1} tests
${COMPILE_CLEAN}
750 -${COMPILE_PART1} crypto
/hcrypto
${COMPILE_CLEAN}
751 -${COMPILE_PART1} roken
${COMPILE_CLEAN}
752 -${COMPILE_PART1} crypto
/rfc3961
${COMPILE_CLEAN}
753 -(cd src
; /bin
/rm cscope.out
)
754 -(cd src
/libafs
; /bin
/rm -rf afs afsint config rx
)
755 -(cd src
/libuafs
; /bin
/rm -rf afs afsint config rx
)
756 -(cd tests
${COMPILE_CLEAN})
757 -/bin
/rm -rf
${TOP_INCDIR} ${TOP_LIBDIR} ${TOP_JLIBDIR}
758 -/bin
/rm -rf libafs_tree
${SYS_NAME}
762 .
/build-tools
/make-release
--dir=packages HEAD
765 (cd packages
&& ..
/src
/packaging
/RedHat
/makesrpm.pl
*-src.
tar.bz2
*-doc.
tar.bz2
)
768 if
test "x$(DOXYGEN)" != "x"; then \
769 mkdir
-p doc
/doxygen
/output
&& $(DOXYGEN
) doc
/doxygen
/Doxyfile
; \
773 /bin
/rm -rf lib
include packages
774 /bin
/rm -f config.log config.cache config.status \
775 src
/config
/afsconfig.h src
/config
/stamp-h1 \
776 src
/libafs
/Makefile \
777 src
/libuafs
/Makefile \
781 src
/afsmonitor
/Makefile \
782 src
/afsweb
/Makefile \
786 src
/auth
/test/Makefile \
788 src
/bozo
/test/Makefile \
789 src
/bu_utils
/Makefile \
790 src
/bubasics
/Makefile \
791 src
/bucoord
/Makefile \
797 src
/cmd
/test/Makefile \
798 src
/comerr
/Makefile \
799 src
/comerr
/test/Makefile \
800 src
/config
/Makefile \
801 src
/config
/Makefile.config \
802 src
/config
/Makefile.libtool \
803 src
/config
/Makefile.lwp \
804 src
/config
/Makefile.lwptool \
805 src
/config
/Makefile.pthread \
806 src
/config
/Makefile.version \
807 src
/config
/Makefile.version-CML \
808 src
/config
/Makefile.version-NOCML \
809 src
/config
/shlib-build \
810 src
/config
/shlib-install \
811 src
/crypto
/hcrypto
/Makefile \
812 src
/crypto
/rfc3961
/Makefile \
814 src
/dir/test/Makefile \
815 src
/dviced
/Makefile \
816 src
/dvolser
/Makefile \
817 src
/export/Makefile \
818 src
/finale
/Makefile \
820 src
/fsprobe
/Makefile \
822 src
/JAVA
/libjafs
/Makefile \
824 src
/kauth
/test/Makefile \
825 src
/kopenafs
/Makefile \
826 src
/libacl
/Makefile \
827 src
/libacl
/test/Makefile \
828 src
/libadmin
/Makefile \
829 src
/libadmin
/adminutil
/Makefile \
830 src
/libadmin
/bos
/Makefile \
831 src
/libadmin
/cfg
/Makefile \
832 src
/libadmin
/cfg
/test/Makefile \
833 src
/libadmin
/client
/Makefile \
834 src
/libadmin
/kas
/Makefile \
835 src
/libadmin
/pts
/Makefile \
836 src
/libadmin
/samples
/Makefile \
837 src
/libadmin
/test/Makefile \
838 src
/libadmin
/vos
/Makefile \
839 src
/libafs
/Makefile.common \
840 src
/libafs
/MakefileProto.
${MKAFS_OSTYPE} \
842 src
/libafsauthent
/Makefile \
843 src
/libafsrpc
/Makefile \
844 src
/libuafs
/Makefile.common \
845 src
/libuafs
/MakefileProto.
${MKAFS_OSTYPE} \
847 src
/log
/test/Makefile \
849 src
/lwp
/test/Makefile \
851 src
/packaging
/MacOS
/OpenAFS-debug.Description.plist \
852 src
/packaging
/MacOS
/OpenAFS-debug.Info.plist \
853 src
/packaging
/MacOS
/OpenAFS.Description.plist \
854 src
/packaging
/MacOS
/OpenAFS.Info.plist \
855 src
/packaging
/MacOS
/OpenAFS.
info \
856 src
/packaging
/MacOS
/buildpkg.sh \
857 src
/packaging
/RedHat
/openafs.spec \
859 src
/platform
/Makefile \
860 src
/platform
/${MKAFS_OSTYPE}/Makefile \
861 src
/platform
/DARWIN
/growlagent
/Makefile \
862 src
/procmgmt
/Makefile \
863 src
/procmgmt
/test/Makefile \
864 src
/ptserver
/Makefile \
865 src
/tptserver
/Makefile \
868 src
/rx
/bulk.example
/Makefile \
869 src
/rx
/bulktest
/Makefile \
870 src
/rx
/multi.example
/Makefile \
871 src
/rx
/simple.example
/Makefile \
872 src
/rx
/test/Makefile \
873 src
/rxdebug
/Makefile \
876 src
/rxkad
/test/Makefile \
878 src
/rxstat
/Makefile \
883 src
/tests
/run-tests \
884 src
/tests
/auth
/Makefile \
886 src
/tools
/dumpscan
/Makefile \
887 src
/tools
/rxperf
/Makefile \
888 src
/tsalvaged
/Makefile \
890 src
/tvolser
/Makefile \
893 src
/update
/Makefile \
895 src
/usd
/test/Makefile \
898 src
/util
/test/Makefile \
899 src
/libafscp
/Makefile \
901 src
/venus
/test/Makefile \
904 src
/vlserver
/Makefile \
905 src
/tvlserver
/Makefile \
907 src
/vol
/test/Makefile \
908 src
/volser
/Makefile \
911 tests
/rpctestlib
/Makefile \
913 tests
/auth
/Makefile \
915 tests
/common
/Makefile \
918 tests
/util
/Makefile \
919 tests
/volser
/Makefile \
920 src
/helper-splint.sh \
921 doc
/xml
/AdminGuide
/Makefile \
922 doc
/xml
/QuickStartUnix
/Makefile \
923 doc
/xml
/UserGuide
/Makefile \
924 doc
/xml
/AdminRef
/Makefile
925 if
test -d doc
/man-pages
; then \
926 /bin
/rm -f doc
/man-pages
/Makefile doc
/man-pages
/install-man
; \
928 if
test -d doc
/doxygen
; then \
929 /bin
/rm -f doc
/doxygen
/Doxyfile
; \
933 /bin
/rm -f src
/config
/afsconfig.h.in configure configure-libafs \
936 build-tools
/ltmain.sh \
938 src
/cf
/ltoptions.m4 \
940 src
/cf
/ltversion.m4 \
941 src
/cf
/lt~obsolete.m4
942 if
test -d doc
/xml
; then \
943 /bin
/rm -f doc
/xml
/mobi-fixup.xsl
; \
945 if
test -d doc
/man-pages
; then \
946 /bin
/rm -rf doc
/man-pages
/man1 \
949 doc
/man-pages
/man8
; \
951 for i in doc
/man-pages
/pod
*/*.pod.in
; do \
952 /bin
/rm -f
$${i
%.in
}; \
955 maintainer-clean
: pristine