2000-11-04 10:01:08 +00:00
|
|
|
# Copyright 2000, International Business Machines Corporation and others.
|
|
|
|
# All Rights Reserved.
|
|
|
|
#
|
|
|
|
# This software has been released under the terms of the IBM Public
|
|
|
|
# License. For details, see the LICENSE file in the top-level source
|
|
|
|
# directory or online at http://www.openafs.org/dl/license10.html
|
2003-10-24 08:25:58 +01:00
|
|
|
#
|
|
|
|
# Portions Copyright (c) 2003 Apple Computer, Inc.
|
2000-11-04 02:13:13 +00:00
|
|
|
|
2001-10-18 01:06:58 +01:00
|
|
|
srcdir=@srcdir@
|
2001-11-01 04:59:26 +00:00
|
|
|
include @TOP_OBJDIR@/src/config/Makefile.config
|
2006-08-03 04:37:12 +01:00
|
|
|
INSTALL = @INSTALL@
|
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
2000-11-04 02:13:13 +00:00
|
|
|
|
2001-07-05 18:38:19 +01:00
|
|
|
ENABLE_KERNEL_MODULE=@ENABLE_KERNEL_MODULE@
|
2008-04-02 21:47:27 +01:00
|
|
|
ENABLE_PTHREADED_UBIK=@ENABLE_PTHREADED_UBIK@
|
2001-07-05 18:38:19 +01:00
|
|
|
|
2001-08-02 17:45:35 +01:00
|
|
|
# To compile AFS from scratch in the src tree run "make".
|
2000-11-04 02:13:13 +00:00
|
|
|
# This recursively calls "make install ..." and does not depend on the
|
|
|
|
# existence of any non-standard programs.
|
2001-08-02 17:45:35 +01:00
|
|
|
# To compile for the kernel type "make blibafs". This assumes install,
|
|
|
|
# rxgen, compile_et and others already exist and runs it with
|
2000-11-04 02:13:13 +00:00
|
|
|
# "-argument kinstall".
|
|
|
|
|
2002-10-16 05:58:13 +01:00
|
|
|
COMPILE_PART1 = cd src && cd
|
|
|
|
COMPILE_PART2A = && $(MAKE)
|
2001-09-10 21:15:57 +01:00
|
|
|
COMPILE_PART2B = all
|
|
|
|
COMPILE_PART2 = ${COMPILE_PART2A} ${COMPILE_PART2B}
|
|
|
|
COMPILE_CLEAN = ${COMPILE_PART2A} clean
|
2002-10-16 05:58:13 +01:00
|
|
|
COMPILE_DEPINSTALL = ${COMPILE_PART2A} depinstall
|
2001-09-10 21:15:57 +01:00
|
|
|
|
2006-08-01 22:03:54 +01:00
|
|
|
all: force ${TOP_INCDIR}/afs ${TOP_INCDIR}/rx ${TOP_LIBDIR}
|
2001-09-10 21:15:57 +01:00
|
|
|
$(MAKE) build
|
|
|
|
|
2006-08-01 22:03:54 +01:00
|
|
|
all_nolibafs: force ${TOP_INCDIR}/afs ${TOP_INCDIR}/rx ${TOP_LIBDIR}
|
2001-09-10 21:15:57 +01:00
|
|
|
$(MAKE) build TARGET=finale_nolibafs
|
|
|
|
|
2006-08-01 22:03:54 +01:00
|
|
|
only_libafs: force ${TOP_INCDIR}/afs ${TOP_INCDIR}/rx ${TOP_LIBDIR}
|
2001-09-10 21:15:57 +01:00
|
|
|
$(MAKE) build TARGET=libafs
|
|
|
|
|
2006-08-01 22:03:54 +01:00
|
|
|
only_libafs_tree: force ${TOP_INCDIR}/afs ${TOP_INCDIR}/rx ${TOP_LIBDIR}
|
2001-09-10 21:15:57 +01:00
|
|
|
$(MAKE) build TARGET=libafs_tree
|
2001-08-02 17:45:35 +01:00
|
|
|
|
2001-09-10 21:15:57 +01:00
|
|
|
install: all install_dirs
|
|
|
|
$(MAKE) build COMPILE_PART2B=install
|
2000-11-04 02:13:13 +00:00
|
|
|
|
2001-10-17 23:03:45 +01:00
|
|
|
install_nolibafs: all_nolibafs install_dirs
|
2001-09-10 21:15:57 +01:00
|
|
|
$(MAKE) build TARGET=finale_nolibafs COMPILE_PART2B=install
|
2001-07-12 19:18:53 +01:00
|
|
|
|
2001-10-17 23:03:45 +01:00
|
|
|
install_only_libafs: only_libafs install_dirs
|
2001-09-10 21:15:57 +01:00
|
|
|
$(MAKE) build TARGET=libafs COMPILE_PART2B=install
|
2001-07-12 19:18:53 +01:00
|
|
|
|
2001-09-10 21:15:57 +01:00
|
|
|
dest: all dest_dirs
|
|
|
|
$(MAKE) build COMPILE_PART2B=dest
|
2006-08-01 22:03:54 +01:00
|
|
|
-${INSTALL_DATA} ${srcdir}/src/LICENSE ${DEST}/LICENSE
|
2001-08-29 21:17:19 +01:00
|
|
|
|
2001-10-17 23:03:45 +01:00
|
|
|
dest_nolibafs: all_nolibafs dest_dirs
|
2001-09-10 21:15:57 +01:00
|
|
|
$(MAKE) build TARGET=finale_nolibafs COMPILE_PART2B=dest
|
2006-08-01 22:03:54 +01:00
|
|
|
-${INSTALL_DATA} ${srcdir}/src/LICENSE ${DEST}/LICENSE
|
2001-09-10 21:15:57 +01:00
|
|
|
|
2001-10-17 23:03:45 +01:00
|
|
|
dest_only_libafs: only_libafs dest_dirs
|
2001-09-10 21:15:57 +01:00
|
|
|
$(MAKE) build TARGET=libafs COMPILE_PART2B=dest
|
2006-08-01 22:03:54 +01:00
|
|
|
-${INSTALL_DATA} ${srcdir}/src/LICENSE ${DEST}/LICENSE
|
2001-09-10 21:15:57 +01:00
|
|
|
|
2008-02-20 21:31:02 +00:00
|
|
|
dpkg: dest
|
|
|
|
ln -fs ${srcdir}/src/packaging/Debian debian
|
|
|
|
dpkg-buildpackage -rfakeroot -us -uc
|
|
|
|
|
2003-07-09 21:44:46 +01:00
|
|
|
packages: dest
|
|
|
|
@case ${SYS_NAME} in \
|
2003-10-24 08:25:58 +01:00
|
|
|
*_darwin_* ) \
|
2003-07-25 20:15:15 +01:00
|
|
|
${COMPILE_PART1} packaging/MacOS && sh ./buildpkg.sh ${DEST} ;; \
|
2003-07-15 07:30:04 +01:00
|
|
|
hp_ux110 ) \
|
|
|
|
${COMPILE_PART1} packaging/HP-UX && swpackage -s psf-1.2.10-transarc-paths-11.00 ;; \
|
|
|
|
hp_ux11i ) \
|
|
|
|
${COMPILE_PART1} packaging/HP-UX && swpackage -s psf-1.2.10-transarc-paths-11.11 ;; \
|
|
|
|
ia64_hpux1122 ) \
|
|
|
|
${COMPILE_PART1} packaging/HP-UX && swpackage -s psf-1.2.10-transarc-paths-11.22 ;; \
|
2005-04-14 03:38:37 +01:00
|
|
|
ia64_hpux1123 | hp_ux1123) \
|
2003-11-27 01:17:34 +00:00
|
|
|
${COMPILE_PART1} packaging/HP-UX && swpackage -s psf-1.2.10-transarc-paths-11.23 ;; \
|
2003-07-09 21:44:46 +01:00
|
|
|
*) \
|
|
|
|
echo Not building packages for ${SYS_NAME} ;; \
|
|
|
|
esac
|
|
|
|
|
2006-08-01 22:03:54 +01:00
|
|
|
${TOP_INCDIR}/afs ${TOP_INCDIR}/rx ${TOP_LIBDIR} ${TOP_JLIBDIR}:
|
2001-09-10 21:15:57 +01:00
|
|
|
mkdir -p $@
|
|
|
|
|
|
|
|
install_dirs: force
|
|
|
|
mkdir -p ${DESTDIR}${bindir}
|
|
|
|
mkdir -p ${DESTDIR}${sbindir}
|
|
|
|
mkdir -p ${DESTDIR}${libexecdir}/openafs
|
|
|
|
mkdir -p ${DESTDIR}${libdir}/afs
|
|
|
|
mkdir -p ${DESTDIR}${includedir}/afs
|
|
|
|
mkdir -p ${DESTDIR}${includedir}/rx
|
|
|
|
mkdir -p ${DESTDIR}${afskerneldir}
|
|
|
|
mkdir -p ${DESTDIR}${afssrvbindir}
|
|
|
|
mkdir -p ${DESTDIR}${afssrvsbindir}
|
|
|
|
mkdir -p ${DESTDIR}${afssrvlibexecdir}
|
|
|
|
|
|
|
|
dest_dirs: force
|
|
|
|
mkdir -p ${DEST}/bin
|
|
|
|
mkdir -p ${DEST}/etc
|
|
|
|
mkdir -p ${DEST}/lib/afs
|
|
|
|
mkdir -p ${DEST}/include/afs
|
|
|
|
mkdir -p ${DEST}/include/rx
|
|
|
|
mkdir -p ${DEST}/root.client/usr/vice/etc/C
|
|
|
|
mkdir -p ${DEST}/root.server/etc
|
|
|
|
mkdir -p ${DEST}/root.server/usr/afs/bin
|
2001-08-29 21:17:19 +01:00
|
|
|
|
2006-08-03 04:18:43 +01:00
|
|
|
prelude: ${TOP_INCDIR}/afs ${TOP_INCDIR}/rx ${TOP_LIBDIR}
|
|
|
|
|
2001-06-28 07:44:19 +01:00
|
|
|
project: cmd comerr
|
2000-11-04 02:13:13 +00:00
|
|
|
|
2002-01-14 07:49:15 +00:00
|
|
|
tests: all
|
|
|
|
${COMPILE_PART1} tests ${COMPILE_PART2}
|
|
|
|
|
2006-08-03 04:18:43 +01:00
|
|
|
config: prelude
|
2000-11-04 02:13:13 +00:00
|
|
|
${COMPILE_PART1} config ${COMPILE_PART2}
|
|
|
|
|
2006-08-01 22:03:54 +01:00
|
|
|
procmgmt: config
|
2000-11-04 02:13:13 +00:00
|
|
|
${COMPILE_PART1} procmgmt ${COMPILE_PART2}
|
|
|
|
|
2008-03-11 17:46:58 +00:00
|
|
|
util: procmgmt des lwp_depinstall
|
2000-11-04 02:13:13 +00:00
|
|
|
${COMPILE_PART1} util ${COMPILE_PART2}
|
|
|
|
|
2002-10-16 05:58:13 +01:00
|
|
|
audit: util rx rxkad
|
|
|
|
${COMPILE_PART1} audit ${COMPILE_PART2} #TODO
|
2000-11-04 02:13:13 +00:00
|
|
|
|
2001-06-28 07:44:19 +01:00
|
|
|
comerr: util
|
2000-11-04 02:13:13 +00:00
|
|
|
${COMPILE_PART1} comerr ${COMPILE_PART2}
|
|
|
|
|
2001-06-28 07:44:19 +01:00
|
|
|
cmd: comerr
|
2000-11-04 02:13:13 +00:00
|
|
|
@case ${SYS_NAME} in \
|
2006-12-28 21:57:24 +00:00
|
|
|
sgi_6* | sun*_5[789] | sun*_51[01] | hp_ux11* | ia64_hpux* | sparc64_linux* | alpha_linux* ) \
|
2001-09-10 21:15:57 +01:00
|
|
|
${COMPILE_PART1} cmd ${COMPILE_PART2}64 ;; \
|
|
|
|
*) \
|
|
|
|
${COMPILE_PART1} cmd ${COMPILE_PART2} ;; \
|
2000-11-04 02:13:13 +00:00
|
|
|
esac
|
|
|
|
|
2003-01-12 02:00:26 +00:00
|
|
|
lwp: util lwp_depinstall
|
2000-11-04 02:13:13 +00:00
|
|
|
${COMPILE_PART1} lwp ${COMPILE_PART2}
|
|
|
|
|
2006-08-01 22:03:54 +01:00
|
|
|
rxgen: config
|
2000-11-04 02:13:13 +00:00
|
|
|
${COMPILE_PART1} rxgen ${COMPILE_PART2}
|
|
|
|
|
2006-08-01 22:03:54 +01:00
|
|
|
rx: config lwp rxgen rx_depinstall
|
2000-11-04 02:13:13 +00:00
|
|
|
${COMPILE_PART1} rx ${COMPILE_PART2}
|
|
|
|
|
2003-01-12 02:00:26 +00:00
|
|
|
rxstat: rx rxstat_depinstall
|
2000-11-04 02:13:13 +00:00
|
|
|
${COMPILE_PART1} rxstat ${COMPILE_PART2}
|
|
|
|
|
2001-09-10 21:15:57 +01:00
|
|
|
rxtests: rxdebug
|
2001-10-23 22:57:19 +01:00
|
|
|
rxdebug: rx sys
|
2001-09-10 21:15:57 +01:00
|
|
|
${COMPILE_PART1} rxdebug ${COMPILE_PART2}
|
2000-11-04 02:13:13 +00:00
|
|
|
|
2003-01-12 02:00:26 +00:00
|
|
|
fsint: cmd comerr rxgen rx lwp fsint_depinstall
|
2001-06-28 07:44:19 +01:00
|
|
|
${COMPILE_PART1} fsint ${COMPILE_PART2}
|
2001-05-30 21:45:01 +01:00
|
|
|
|
2002-10-16 05:58:13 +01:00
|
|
|
export2: project
|
2000-11-04 02:13:13 +00:00
|
|
|
|
2002-10-16 05:58:13 +01:00
|
|
|
export:
|
2000-11-04 02:13:13 +00:00
|
|
|
@case ${SYS_NAME} in \
|
2001-10-18 01:06:58 +01:00
|
|
|
rs_aix*) \
|
2002-10-16 05:58:13 +01:00
|
|
|
${MAKE} export_build ; \
|
2000-11-04 02:13:13 +00:00
|
|
|
esac
|
|
|
|
|
2002-10-16 05:58:13 +01:00
|
|
|
export_build: fsint
|
|
|
|
${COMPILE_PART1} export ${COMPILE_PART2}
|
|
|
|
|
2006-08-01 22:03:54 +01:00
|
|
|
afs: config export comerr afs_depinstall
|
2000-11-04 02:13:13 +00:00
|
|
|
${COMPILE_PART1} afs ${COMPILE_PART2}
|
|
|
|
|
2006-08-01 22:03:54 +01:00
|
|
|
des: config
|
2001-06-28 07:44:19 +01:00
|
|
|
${COMPILE_PART1} des ${COMPILE_PART2}
|
2000-11-04 02:13:13 +00:00
|
|
|
|
2004-12-08 22:55:28 +00:00
|
|
|
sys: cmd comerr afs des rx rxstat fsint sys_depinstall
|
2000-11-04 02:13:13 +00:00
|
|
|
${COMPILE_PART1} sys ${COMPILE_PART2}
|
|
|
|
|
2003-01-12 02:00:26 +00:00
|
|
|
rxkad: cmd comerr sys des rx rxkad_depinstall
|
2000-11-04 02:13:13 +00:00
|
|
|
${COMPILE_PART1} rxkad ${COMPILE_PART2}
|
|
|
|
|
2003-01-12 02:00:26 +00:00
|
|
|
auth: cmd comerr comerr des lwp rx sys rxkad audit auth_depinstall
|
2000-11-04 02:13:13 +00:00
|
|
|
${COMPILE_PART1} auth ${COMPILE_PART2}
|
|
|
|
|
2003-01-12 02:00:26 +00:00
|
|
|
ubik: cmd comerr auth ubik_depinstall
|
2000-11-04 02:13:13 +00:00
|
|
|
${COMPILE_PART1} ubik ${COMPILE_PART2}
|
|
|
|
|
2008-04-02 21:47:27 +01:00
|
|
|
tubik: ubik libafsrpc
|
2008-07-19 05:27:33 +01:00
|
|
|
[ yes != "$(ENABLE_PTHREADED_UBIK)" ] || case ${SYS_NAME} in \
|
2008-04-02 21:47:27 +01:00
|
|
|
alpha_dux*|sgi_*|sun*_5*|rs_aix*|*linux*|hp_ux11*|ia64_hpux*|*[of]bsd*|*nbsd[234]*) \
|
|
|
|
${COMPILE_PART1} tubik ${COMPILE_PART2} ;; \
|
|
|
|
*_darwin_[1-6][0-9]) \
|
|
|
|
echo Not building MT ubik for ${SYS_NAME} ;; \
|
|
|
|
*_darwin_*) \
|
|
|
|
${COMPILE_PART1} tubik ${COMPILE_PART2} ;; \
|
|
|
|
*) \
|
|
|
|
echo Not building MT ubik for ${SYS_NAME} ;; \
|
|
|
|
esac
|
|
|
|
|
2001-09-10 21:15:57 +01:00
|
|
|
ubiktests: ubik
|
2000-11-04 02:13:13 +00:00
|
|
|
|
2003-01-12 02:00:26 +00:00
|
|
|
ptserver: cmd comerr ubik cmd comerr auth audit ptserver_depinstall
|
2000-11-04 02:13:13 +00:00
|
|
|
${COMPILE_PART1} ptserver ${COMPILE_PART2}
|
|
|
|
|
2008-04-02 21:47:27 +01:00
|
|
|
tptserver: cmd comerr ptserver tubik libafsrpc libafsauthent
|
2008-07-19 05:27:33 +01:00
|
|
|
[ yes != "$(ENABLE_PTHREADED_UBIK)" ] || case ${SYS_NAME} in \
|
2008-04-02 21:47:27 +01:00
|
|
|
alpha_dux*|sgi_*|sun*_5*|rs_aix*|*linux*|hp_ux11*|ia64_hpux*|*[of]bsd*|*nbsd[234]*) \
|
|
|
|
${COMPILE_PART1} tptserver ${COMPILE_PART2} ;; \
|
|
|
|
*_darwin_[1-6][0-9]) \
|
|
|
|
echo Not building MT ptserver for ${SYS_NAME} ;; \
|
|
|
|
*_darwin_*) \
|
|
|
|
${COMPILE_PART1} tptserver ${COMPILE_PART2} ;; \
|
|
|
|
*) \
|
|
|
|
echo Not building MT ptserver for ${SYS_NAME} ;; \
|
|
|
|
esac
|
|
|
|
|
2003-01-12 02:00:26 +00:00
|
|
|
kauth: cmd comerr ubik cmd auth comerr ptserver audit libacl kauth_depinstall
|
2000-11-04 02:13:13 +00:00
|
|
|
${COMPILE_PART1} kauth ${COMPILE_PART2}
|
|
|
|
|
2003-01-12 02:00:26 +00:00
|
|
|
libacl: cmd comerr ptserver libacl_depinstall
|
2000-11-04 02:13:13 +00:00
|
|
|
${COMPILE_PART1} libacl ${COMPILE_PART2}
|
|
|
|
|
2003-01-12 02:00:26 +00:00
|
|
|
dir: cmd comerr libacl dir_depinstall
|
2000-11-04 02:13:13 +00:00
|
|
|
${COMPILE_PART1} dir ${COMPILE_PART2}
|
|
|
|
|
2001-06-28 07:44:19 +01:00
|
|
|
# Removed from sgi_* case below:
|
|
|
|
# ${COMPILE_PART1} sgiefs ${COMPILE_PART2};;
|
|
|
|
sgiefs:
|
|
|
|
case ${SYS_NAME} in \
|
|
|
|
sgi_*) \
|
|
|
|
echo "SGI efs not supported" ;; \
|
|
|
|
*) \
|
|
|
|
echo No efs stuff for ${SYS_NAME};; \
|
|
|
|
esac
|
|
|
|
|
2002-10-16 05:58:13 +01:00
|
|
|
vol: cmd comerr dir afs sgiefs
|
2000-11-04 02:13:13 +00:00
|
|
|
${COMPILE_PART1} vol ${COMPILE_PART2}
|
|
|
|
|
2006-03-17 19:54:26 +00:00
|
|
|
tsalvaged: vol libafsrpc libafsauthent cmd util
|
|
|
|
set -x; \
|
|
|
|
if test "@DEMAND_ATTACH@" = "yes" ; then \
|
|
|
|
case ${SYS_NAME} in \
|
|
|
|
alpha_dux*|sgi_*|sun*_5*|rs_aix*|*linux*|hp_ux11*|ia64_hpux*|*fbsd*|*nbsd2*) \
|
|
|
|
${COMPILE_PART1} tsalvaged ${COMPILE_PART2} ;; \
|
|
|
|
*_darwin_[1-6][0-9]) \
|
|
|
|
echo Not building MT tsalvaged for ${SYS_NAME} ;; \
|
|
|
|
*_darwin_*) \
|
|
|
|
${COMPILE_PART1} tsalvaged ${COMPILE_PART2} ;; \
|
|
|
|
*) \
|
|
|
|
echo Not building MT tsalvaged for ${SYS_NAME} ;; \
|
|
|
|
esac \
|
|
|
|
else \
|
|
|
|
echo skipping tsalvaged ; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
2003-01-12 02:00:26 +00:00
|
|
|
vlserver: cmd comerr vol audit vlserver_depinstall
|
2000-11-04 02:13:13 +00:00
|
|
|
${COMPILE_PART1} vlserver ${COMPILE_PART2}
|
|
|
|
|
2008-04-02 21:47:27 +01:00
|
|
|
tvlserver: cmd comerr vol audit tubik libafsrpc libafsauthent tvlserver_depinstall
|
2008-07-19 05:27:33 +01:00
|
|
|
[ yes != "$(ENABLE_PTHREADED_UBIK)" ] || case ${SYS_NAME} in \
|
2008-04-02 21:47:27 +01:00
|
|
|
alpha_dux*|sgi_*|sun*_5*|rs_aix*|*linux*|hp_ux11*|ia64_hpux*|*[of]bsd*|*nbsd[234]*) \
|
|
|
|
${COMPILE_PART1} tvlserver ${COMPILE_PART2} ;; \
|
|
|
|
*_darwin_[1-6][0-9]) \
|
|
|
|
echo Not building MT tvlserver for ${SYS_NAME} ;; \
|
|
|
|
*_darwin_*) \
|
|
|
|
${COMPILE_PART1} tvlserver ${COMPILE_PART2} ;; \
|
|
|
|
*) \
|
|
|
|
echo Not building MT tvlserver for ${SYS_NAME} ;; \
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
|
|
viced: cmd comerr vlserver tvlserver audit
|
2001-10-18 01:06:58 +01:00
|
|
|
${COMPILE_PART1} viced ${COMPILE_PART2}
|
2000-11-04 02:13:13 +00:00
|
|
|
|
2008-04-02 21:47:27 +01:00
|
|
|
tviced: cmd comerr viced vlserver tvlserver libafsrpc libafsauthent
|
2000-11-04 02:13:13 +00:00
|
|
|
case ${SYS_NAME} in \
|
2006-03-15 18:22:30 +00:00
|
|
|
alpha_dux*|sgi_*|sun*_5*|rs_aix*|*linux*|hp_ux11*|ia64_hpux*|*[of]bsd*|*nbsd[234]*) \
|
2001-10-18 01:06:58 +01:00
|
|
|
${COMPILE_PART1} tviced ${COMPILE_PART2} ;; \
|
2003-10-24 08:25:58 +01:00
|
|
|
*_darwin_[1-6][0-9]) \
|
|
|
|
echo Not building MT viced for ${SYS_NAME} ;; \
|
|
|
|
*_darwin_*) \
|
|
|
|
${COMPILE_PART1} tviced ${COMPILE_PART2} ;; \
|
2000-11-04 02:13:13 +00:00
|
|
|
*) \
|
|
|
|
echo Not building MT viced for ${SYS_NAME} ;; \
|
|
|
|
esac
|
|
|
|
|
2002-10-16 05:58:13 +01:00
|
|
|
volser: cmd comerr tviced usd kauth audit
|
2000-11-04 02:13:13 +00:00
|
|
|
${COMPILE_PART1} volser ${COMPILE_PART2}
|
|
|
|
|
2005-09-29 06:42:31 +01:00
|
|
|
tvolser: project tviced usd libafsrpc libafsauthent volser
|
2008-07-19 07:42:23 +01:00
|
|
|
[ yes != "$(ENABLE_PTHREADED_UBIK)" ] || case ${SYS_NAME} in \
|
2005-08-16 00:30:47 +01:00
|
|
|
alpha_dux*|sgi_*|sun*_5*|rs_aix*|*linux*|hp_ux11*|ia64_hpux*|*obsd*) \
|
2003-11-15 04:59:08 +00:00
|
|
|
${COMPILE_PART1} tvolser ${COMPILE_PART2} ;; \
|
|
|
|
*_darwin_[1-6][0-9]) \
|
|
|
|
echo Not building MT volser for ${SYS_NAME} ;; \
|
|
|
|
*_darwin_*) \
|
|
|
|
${COMPILE_PART1} tvolser ${COMPILE_PART2} ;; \
|
|
|
|
*) \
|
|
|
|
echo Not building MT volser for ${SYS_NAME} ;; \
|
|
|
|
esac
|
|
|
|
|
2002-10-16 05:58:13 +01:00
|
|
|
venus: cmd comerr volser ptserver
|
2000-11-04 02:13:13 +00:00
|
|
|
${COMPILE_PART1} venus ${COMPILE_PART2}
|
|
|
|
${COMPILE_PART1} venus/test ${COMPILE_PART2}
|
|
|
|
|
2002-10-16 05:58:13 +01:00
|
|
|
afsd: cmd comerr sys kauth
|
2000-11-04 02:13:13 +00:00
|
|
|
${COMPILE_PART1} afsd ${COMPILE_PART2}
|
|
|
|
|
2006-08-02 00:55:11 +01:00
|
|
|
gtx: cmd comerr auth kauth
|
2001-10-18 01:06:58 +01:00
|
|
|
${COMPILE_PART1} gtx ${COMPILE_PART2}
|
|
|
|
|
2002-10-16 05:58:13 +01:00
|
|
|
fsprobe: cmd comerr util fsint volser
|
2000-11-04 02:13:13 +00:00
|
|
|
${COMPILE_PART1} fsprobe ${COMPILE_PART2}
|
|
|
|
|
2002-10-16 05:58:13 +01:00
|
|
|
scout: cmd comerr gtx fsprobe
|
2000-11-04 02:13:13 +00:00
|
|
|
${COMPILE_PART1} scout ${COMPILE_PART2}
|
|
|
|
|
2002-10-16 05:58:13 +01:00
|
|
|
uss: des kauth cmd comerr rx vlserver vol volser
|
2000-11-04 02:13:13 +00:00
|
|
|
${COMPILE_PART1} uss ${COMPILE_PART2}
|
|
|
|
|
2005-09-29 06:42:31 +01:00
|
|
|
bozo: cmd comerr audit auth kauth volser
|
2000-11-04 02:13:13 +00:00
|
|
|
${COMPILE_PART1} bozo ${COMPILE_PART2}
|
|
|
|
|
2001-06-28 07:44:19 +01:00
|
|
|
vfsck: vol
|
2000-11-04 02:13:13 +00:00
|
|
|
set -x; \
|
|
|
|
case ${SYS_NAME} in \
|
2005-06-22 15:47:19 +01:00
|
|
|
sgi_* | *linux* | rs_aix42 | *_darwin* | ia64_hpux* | *fbsd* | *_obsd* | *_nbsd* | sun*_4* | rs_aix5* ) \
|
2000-11-04 02:13:13 +00:00
|
|
|
echo skip vfsck for ${SYS_NAME} ;; \
|
|
|
|
* ) \
|
|
|
|
${COMPILE_PART1} vfsck ${COMPILE_PART2} ;; \
|
|
|
|
esac
|
|
|
|
|
2004-03-25 23:25:50 +00:00
|
|
|
pam: cmd comerr kauth rxkad
|
|
|
|
set -x; \
|
|
|
|
if test "@HAVE_PAM@" = "yes"; then \
|
|
|
|
${COMPILE_PART1} pam ${COMPILE_PART2} ; \
|
|
|
|
else \
|
|
|
|
echo Skipping pam for ${SYS_NAME} ; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
tsm41: cmd comerr kauth rxkad
|
2000-11-04 02:13:13 +00:00
|
|
|
set -x; \
|
|
|
|
case ${SYS_NAME} in \
|
2004-03-25 23:25:50 +00:00
|
|
|
rs_aix* ) \
|
2000-11-04 02:13:13 +00:00
|
|
|
${COMPILE_PART1} tsm41 ${COMPILE_PART2} ;; \
|
2004-03-25 23:25:50 +00:00
|
|
|
* ) \
|
|
|
|
echo Skipping tsm41 for ${SYS_NAME} ;; \
|
|
|
|
esac
|
|
|
|
|
|
|
|
sgistuff: cmd comerr kauth rxkad
|
|
|
|
set -x; \
|
|
|
|
case ${SYS_NAME} in \
|
|
|
|
sgi_* ) \
|
|
|
|
${COMPILE_PART1} sgistuff ${COMPILE_PART2} ;; \
|
|
|
|
* ) \
|
|
|
|
echo Skipping sgistuff for ${SYS_NAME} ;; \
|
|
|
|
esac
|
|
|
|
|
2005-06-19 03:06:21 +01:00
|
|
|
aklog: comerr ptserver
|
|
|
|
set -x; \
|
|
|
|
if test "@BUILD_KRB5@" = "yes"; then \
|
|
|
|
${COMPILE_PART1} aklog ${COMPILE_PART2} ; \
|
|
|
|
else \
|
|
|
|
echo Skipping aklog for ${SYS_NAME} ; \
|
|
|
|
fi
|
|
|
|
|
2006-08-01 22:43:34 +01:00
|
|
|
platform:
|
|
|
|
${COMPILE_PART1} platform ${COMPILE_PART2}
|
|
|
|
|
2005-10-15 17:00:57 +01:00
|
|
|
man-pages:
|
|
|
|
if test -d "doc/man-pages" ; then \
|
|
|
|
cd doc/man-pages ${COMPILE_PART2} ; \
|
|
|
|
fi
|
|
|
|
|
2002-10-16 05:58:13 +01:00
|
|
|
#
|
|
|
|
# _depinstall targets - only build and install headers/sources that are needed by libafs/libuafs
|
|
|
|
#
|
|
|
|
# encode dependencies within the _depinstall targets as required
|
|
|
|
#
|
2006-08-01 22:03:54 +01:00
|
|
|
lwp_depinstall: config
|
2002-10-16 05:58:13 +01:00
|
|
|
${COMPILE_PART1} lwp ${COMPILE_DEPINSTALL}
|
2000-11-04 02:13:13 +00:00
|
|
|
|
2006-08-01 22:03:54 +01:00
|
|
|
rx_depinstall: config
|
2002-10-16 05:58:13 +01:00
|
|
|
${COMPILE_PART1} rx ${COMPILE_DEPINSTALL}
|
|
|
|
|
2006-08-01 22:03:54 +01:00
|
|
|
rxkad_depinstall: config comerr
|
2002-10-16 05:58:13 +01:00
|
|
|
${COMPILE_PART1} rxkad ${COMPILE_DEPINSTALL}
|
|
|
|
|
2006-08-01 22:03:54 +01:00
|
|
|
ubik_depinstall: config comerr rxgen
|
2002-10-16 05:58:13 +01:00
|
|
|
${COMPILE_PART1} ubik ${COMPILE_DEPINSTALL}
|
|
|
|
|
2006-08-01 22:03:54 +01:00
|
|
|
vlserver_depinstall: config rxgen ubik_depinstall auth_depinstall
|
2002-10-16 05:58:13 +01:00
|
|
|
${COMPILE_PART1} vlserver ${COMPILE_DEPINSTALL}
|
|
|
|
|
2008-06-12 21:58:23 +01:00
|
|
|
tvlserver_depinstall: config rxgen ubik_depinstall auth_depinstall
|
2008-04-02 21:47:27 +01:00
|
|
|
${COMPILE_PART1} tvlserver ${COMPILE_DEPINSTALL}
|
|
|
|
|
2006-08-01 22:03:54 +01:00
|
|
|
auth_depinstall: config comerr
|
2002-10-16 05:58:13 +01:00
|
|
|
${COMPILE_PART1} auth ${COMPILE_DEPINSTALL}
|
|
|
|
|
2006-08-01 22:03:54 +01:00
|
|
|
fsint_depinstall: config rxgen
|
2002-10-16 05:58:13 +01:00
|
|
|
${COMPILE_PART1} fsint ${COMPILE_DEPINSTALL}
|
|
|
|
|
2006-08-01 22:03:54 +01:00
|
|
|
rxstat_depinstall: config rxgen
|
2002-10-16 05:58:13 +01:00
|
|
|
${COMPILE_PART1} rxstat ${COMPILE_DEPINSTALL}
|
|
|
|
|
2006-08-01 22:03:54 +01:00
|
|
|
libacl_depinstall: config
|
2002-10-16 05:58:13 +01:00
|
|
|
${COMPILE_PART1} libacl ${COMPILE_DEPINSTALL}
|
|
|
|
|
2006-08-01 22:03:54 +01:00
|
|
|
afs_depinstall: config comerr
|
2002-10-16 05:58:13 +01:00
|
|
|
${COMPILE_PART1} afs ${COMPILE_DEPINSTALL}
|
|
|
|
|
2006-08-01 22:03:54 +01:00
|
|
|
dir_depinstall: config
|
2002-10-16 05:58:13 +01:00
|
|
|
${COMPILE_PART1} dir ${COMPILE_DEPINSTALL}
|
|
|
|
|
2006-08-01 22:03:54 +01:00
|
|
|
sys_depinstall: config
|
2004-12-08 22:55:28 +00:00
|
|
|
${COMPILE_PART1} sys ${COMPILE_DEPINSTALL}
|
|
|
|
|
2006-08-01 22:03:54 +01:00
|
|
|
kauth_depinstall: config rxgen comerr
|
2002-10-16 05:58:13 +01:00
|
|
|
${COMPILE_PART1} kauth ${COMPILE_DEPINSTALL}
|
|
|
|
|
2006-08-01 22:03:54 +01:00
|
|
|
ptserver_depinstall: config rxgen comerr
|
2002-10-16 05:58:13 +01:00
|
|
|
${COMPILE_PART1} ptserver ${COMPILE_DEPINSTALL}
|
2000-11-04 02:13:13 +00:00
|
|
|
|
2005-07-11 05:22:16 +01:00
|
|
|
${DEST}/bin/dedebug: dedebug
|
2006-08-01 22:03:54 +01:00
|
|
|
${INSTALL} $? $@
|
2005-07-11 05:22:16 +01:00
|
|
|
|
2000-11-04 02:13:13 +00:00
|
|
|
|
2002-10-16 05:58:13 +01:00
|
|
|
#
|
|
|
|
# libafs build targets
|
|
|
|
#
|
|
|
|
libafs_setup: config export
|
|
|
|
src/config/config src/libafs/MakefileProto.${MKAFS_OSTYPE} src/libafs/Makefile ${SYS_NAME}
|
|
|
|
|
2008-04-02 21:47:27 +01:00
|
|
|
libafs: libafs_setup lwp_depinstall rx_depinstall vlserver_depinstall tvlserver_depinstall rxkad_depinstall fsint_depinstall \
|
2004-12-08 22:55:28 +00:00
|
|
|
libacl_depinstall afs_depinstall dir_depinstall rxstat_depinstall sys_depinstall
|
2000-11-04 02:13:13 +00:00
|
|
|
${COMPILE_PART1} libafs ${COMPILE_PART2}
|
|
|
|
|
2008-04-02 21:47:27 +01:00
|
|
|
libafs_tree: libafs_setup lwp_depinstall rx_depinstall vlserver_depinstall tvlserver_depinstall rxkad_depinstall fsint_depinstall \
|
2004-12-08 22:55:28 +00:00
|
|
|
libacl_depinstall afs_depinstall dir_depinstall rxstat_depinstall sys_depinstall
|
2002-10-16 05:58:13 +01:00
|
|
|
${TOP_SRCDIR}/config/make_libafs_tree.pl \
|
|
|
|
-sn $(SYS_NAME) \
|
|
|
|
-os $(MKAFS_OSTYPE) \
|
|
|
|
-t @TOP_OBJDIR@/libafs_tree \
|
|
|
|
-o @TOP_OBJDIR@ \
|
|
|
|
-p @srcdir@
|
|
|
|
|
|
|
|
#
|
|
|
|
# libuafs build targets
|
|
|
|
#
|
|
|
|
|
|
|
|
UKERNELDIR= \
|
|
|
|
des \
|
|
|
|
afsweb
|
2001-08-29 21:17:19 +01:00
|
|
|
|
2002-10-16 05:58:13 +01:00
|
|
|
libuafs_setup: config export
|
|
|
|
src/config/config src/libuafs/MakefileProto.${MKAFS_OSTYPE} src/libuafs/Makefile ${SYS_NAME}
|
|
|
|
|
2008-04-02 21:47:27 +01:00
|
|
|
libuafs: libuafs_setup vlserver_depinstall tvlserver_depinstall rx_depinstall fsint_depinstall \
|
2002-10-16 05:58:13 +01:00
|
|
|
auth_depinstall dir_depinstall libacl_depinstall rxkad_depinstall \
|
|
|
|
ubik_depinstall afs_depinstall kauth_depinstall ptserver_depinstall \
|
2004-12-08 22:55:28 +00:00
|
|
|
rxstat_depinstall lwp_depinstall sys_depinstall des
|
2001-04-04 19:08:51 +01:00
|
|
|
set -x; \
|
|
|
|
case ${SYS_NAME} in \
|
2005-04-14 03:38:37 +01:00
|
|
|
hp_ux102* | *_obsd* | sun*_4* | *_nbsd*| hp_ux11i | hp_ux112* | ia64_hpux112*) \
|
2001-04-04 19:08:51 +01:00
|
|
|
echo Skipping libuafs for ${SYS_NAME} ;; \
|
|
|
|
* ) \
|
|
|
|
${COMPILE_PART1} libuafs ${COMPILE_PART2} ;; \
|
|
|
|
esac
|
2000-11-04 02:13:13 +00:00
|
|
|
|
2006-08-01 22:57:14 +01:00
|
|
|
afsweb: kauth
|
2000-11-04 02:13:13 +00:00
|
|
|
${COMPILE_PART1} afsweb ${COMPILE_PART2}
|
|
|
|
|
2002-10-16 05:58:13 +01:00
|
|
|
update: cmd comerr auth
|
2000-11-04 02:13:13 +00:00
|
|
|
${COMPILE_PART1} update ${COMPILE_PART2}
|
|
|
|
|
2002-10-16 05:58:13 +01:00
|
|
|
log: cmd comerr auth
|
2000-11-04 02:13:13 +00:00
|
|
|
${COMPILE_PART1} log ${COMPILE_PART2}
|
|
|
|
|
2002-10-16 05:58:13 +01:00
|
|
|
bu_utils: cmd comerr usd
|
2000-11-04 02:13:13 +00:00
|
|
|
${COMPILE_PART1} bu_utils ${COMPILE_PART2}
|
|
|
|
|
2002-10-16 05:58:13 +01:00
|
|
|
usd: cmd comerr
|
2000-11-04 02:13:13 +00:00
|
|
|
${COMPILE_PART1} usd ${COMPILE_PART2}
|
|
|
|
|
2002-10-16 05:58:13 +01:00
|
|
|
bubasics: cmd comerr comerr rx
|
2000-11-04 02:13:13 +00:00
|
|
|
${COMPILE_PART1} bubasics ${COMPILE_PART2}
|
|
|
|
|
2002-10-16 05:58:13 +01:00
|
|
|
butm: cmd comerr bubasics usd uss
|
2000-11-04 02:13:13 +00:00
|
|
|
${COMPILE_PART1} butm ${COMPILE_PART2}
|
|
|
|
|
2002-10-16 05:58:13 +01:00
|
|
|
butc: cmd comerr bubasics butm budb bucoord cmd rxgen rx
|
2000-11-04 02:13:13 +00:00
|
|
|
${COMPILE_PART1} butc ${COMPILE_PART2}
|
|
|
|
|
2005-04-14 04:13:50 +01:00
|
|
|
tbutc: cmd comerr bubasics butm budb bucoord cmd butc libadmin
|
2000-11-04 02:13:13 +00:00
|
|
|
case ${SYS_NAME} in \
|
2004-07-13 07:52:44 +01:00
|
|
|
alpha_dux*|sgi_*|sun4x_*|sunx86_*|rs_aix*|*linux*|hp_ux11*|ia64_hpux*) \
|
2000-11-04 02:13:13 +00:00
|
|
|
${COMPILE_PART1} tbutc ${COMPILE_PART2} ;; \
|
|
|
|
*) \
|
|
|
|
echo Not building MT butc for ${SYS_NAME} ;; \
|
|
|
|
esac
|
|
|
|
|
2002-10-16 05:58:13 +01:00
|
|
|
budb: cmd comerr bubasics uss
|
2000-11-04 02:13:13 +00:00
|
|
|
${COMPILE_PART1} budb ${COMPILE_PART2}
|
|
|
|
|
2008-04-02 21:47:27 +01:00
|
|
|
tbudb: budb
|
2008-07-19 07:42:23 +01:00
|
|
|
[ yes != "$(ENABLE_PTHREADED_UBIK)" ] || case ${SYS_NAME} in \
|
2008-04-02 21:47:27 +01:00
|
|
|
alpha_dux*|sgi_*|sun*_5*|rs_aix*|*linux*|hp_ux11*|ia64_hpux*|*[of]bsd*|*nbsd[234]*) \
|
|
|
|
${COMPILE_PART1} tbudb ${COMPILE_PART2} ;; \
|
|
|
|
*_darwin_[1-6][0-9]) \
|
|
|
|
echo Not building MT budb for ${SYS_NAME} ;; \
|
|
|
|
*_darwin_*) \
|
|
|
|
${COMPILE_PART1} tbudb ${COMPILE_PART2} ;; \
|
|
|
|
*) \
|
|
|
|
echo Not building MT budb for ${SYS_NAME} ;; \
|
|
|
|
esac
|
|
|
|
|
2002-10-16 05:58:13 +01:00
|
|
|
bucoord: cmd comerr bubasics budb volser
|
2000-11-04 02:13:13 +00:00
|
|
|
${COMPILE_PART1} bucoord ${COMPILE_PART2}
|
|
|
|
|
2002-10-16 05:58:13 +01:00
|
|
|
xstat: cmd comerr fsint viced
|
2000-11-04 02:13:13 +00:00
|
|
|
${COMPILE_PART1} xstat ${COMPILE_PART2}
|
|
|
|
|
2002-10-16 05:58:13 +01:00
|
|
|
afsmonitor: cmd comerr gtx xstat
|
2000-11-04 02:13:13 +00:00
|
|
|
${COMPILE_PART1} afsmonitor ${COMPILE_PART2}
|
|
|
|
|
|
|
|
tests: rxtests ubiktests
|
|
|
|
|
|
|
|
# pthread based user space RX library
|
|
|
|
libafsrpc: rx rxkad des
|
2001-03-27 09:43:13 +01:00
|
|
|
case ${SYS_NAME} in \
|
2006-03-15 18:22:30 +00:00
|
|
|
alpha_dux*|sgi_*|sun4x_*|sunx86_*|rs_aix*|*linux*|hp_ux11*|ia64_hpux*|*[of]bsd*|*nbsd[234]*) \
|
2001-10-18 01:06:58 +01:00
|
|
|
${COMPILE_PART1} libafsrpc ${COMPILE_PART2} ;; \
|
2003-10-24 08:25:58 +01:00
|
|
|
*_darwin_[1-6][0-9]) \
|
|
|
|
echo Not building MT libafsrpc for ${SYS_NAME} ;; \
|
|
|
|
*_darwin_*) \
|
|
|
|
${COMPILE_PART1} libafsrpc ${COMPILE_PART2} ;; \
|
2001-03-27 09:43:13 +01:00
|
|
|
*) \
|
|
|
|
echo Not building MT libafsrpc for ${SYS_NAME} ;; \
|
|
|
|
esac
|
2000-11-04 02:13:13 +00:00
|
|
|
|
|
|
|
libafsauthent: ubik auth kauth libafsrpc
|
2001-03-27 09:43:13 +01:00
|
|
|
case ${SYS_NAME} in \
|
2006-03-15 18:22:30 +00:00
|
|
|
alpha_dux*|sgi_*|sun4x_*|sunx86_*|rs_aix*|*linux*|hp_ux11*|ia64_hpux*|*[of]bsd*|*nbsd[234]*) \
|
2001-10-18 01:06:58 +01:00
|
|
|
${COMPILE_PART1} libafsauthent ${COMPILE_PART2} ;; \
|
2003-10-24 08:25:58 +01:00
|
|
|
*_darwin_[1-6][0-9]) \
|
|
|
|
echo Not building MT libafsauthent for ${SYS_NAME} ;; \
|
|
|
|
*_darwin_*) \
|
|
|
|
${COMPILE_PART1} libafsauthent ${COMPILE_PART2} ;; \
|
2001-03-27 09:43:13 +01:00
|
|
|
*) \
|
2003-10-24 08:25:58 +01:00
|
|
|
echo Not building MT libafsauthent for ${SYS_NAME} ;; \
|
2001-03-27 09:43:13 +01:00
|
|
|
esac
|
2000-11-04 02:13:13 +00:00
|
|
|
|
2002-08-28 08:05:43 +01:00
|
|
|
# pthread based user space RX library
|
|
|
|
shlibafsrpc: rx rxkad des
|
|
|
|
case ${SYS_NAME} in \
|
2003-02-27 17:27:25 +00:00
|
|
|
alpha_dux*|sgi_*|sun4x_*|sunx86_*|rs_aix*|*linux*|hp_ux11*|ia64_hpux*) \
|
2002-08-28 08:05:43 +01:00
|
|
|
${COMPILE_PART1} shlibafsrpc ${COMPILE_PART2} ;; \
|
|
|
|
*) \
|
|
|
|
echo Not building shared libafsrpc for ${SYS_NAME} ;; \
|
|
|
|
esac
|
|
|
|
|
|
|
|
shlibafsauthent: ubik auth kauth shlibafsrpc
|
|
|
|
case ${SYS_NAME} in \
|
2003-02-27 17:27:25 +00:00
|
|
|
alpha_dux*|sgi_*|sun4x_*|sunx86_*|rs_aix*|*linux*|hp_ux11*|ia64_hpux*) \
|
2002-08-28 08:05:43 +01:00
|
|
|
${COMPILE_PART1} shlibafsauthent ${COMPILE_PART2} ;; \
|
|
|
|
*) \
|
2003-10-24 08:25:58 +01:00
|
|
|
echo Not building shared libafsauthent for ${SYS_NAME} ;; \
|
2002-08-28 08:05:43 +01:00
|
|
|
esac
|
|
|
|
|
2006-08-02 18:47:29 +01:00
|
|
|
kopenafs: config sys
|
|
|
|
${COMPILE_PART1} kopenafs ${COMPILE_PART2}
|
|
|
|
|
2001-03-28 00:10:13 +01:00
|
|
|
libadmin_real:
|
2000-11-04 02:13:13 +00:00
|
|
|
${COMPILE_PART1} libadmin ${COMPILE_PART2}
|
|
|
|
${COMPILE_PART1} libadmin/adminutil ${COMPILE_PART2}
|
|
|
|
${COMPILE_PART1} libadmin/vos ${COMPILE_PART2}
|
|
|
|
${COMPILE_PART1} libadmin/client ${COMPILE_PART2}
|
|
|
|
${COMPILE_PART1} libadmin/kas ${COMPILE_PART2}
|
|
|
|
${COMPILE_PART1} libadmin/pts ${COMPILE_PART2}
|
|
|
|
${COMPILE_PART1} libadmin/bos ${COMPILE_PART2}
|
|
|
|
${COMPILE_PART1} libadmin/cfg ${COMPILE_PART2}
|
|
|
|
${COMPILE_PART1} libadmin/test ${COMPILE_PART2}
|
|
|
|
${COMPILE_PART1} libadmin/samples ${COMPILE_PART2}
|
|
|
|
|
2001-03-27 09:43:13 +01:00
|
|
|
libadmin: libafsauthent bozo
|
|
|
|
case ${SYS_NAME} in \
|
2003-02-27 17:27:25 +00:00
|
|
|
alpha_dux*|sgi_*|sun4x_*|sunx86_*|rs_aix*|*linux*|hp_ux11*|ia64_hpux*) \
|
2001-08-02 17:45:35 +01:00
|
|
|
$(MAKE) libadmin_real ;; \
|
2003-10-24 08:25:58 +01:00
|
|
|
*_darwin_[1-6][0-9]) \
|
|
|
|
echo Not building MT libadmin for ${SYS_NAME} ;; \
|
|
|
|
*_darwin_*) \
|
|
|
|
$(MAKE) libadmin_real ;; \
|
2001-03-27 09:43:13 +01:00
|
|
|
*) \
|
|
|
|
echo Not building MT libadmin for ${SYS_NAME} ;; \
|
|
|
|
esac
|
|
|
|
|
2002-07-26 07:33:59 +01:00
|
|
|
libjafs: libadmin
|
|
|
|
case ${SYS_NAME} in \
|
2003-03-10 20:02:35 +00:00
|
|
|
alpha_dux*|sgi_*|sun4x_*|rs_aix*|*linux*|hp_ux110) \
|
2002-07-26 07:33:59 +01:00
|
|
|
${COMPILE_PART1} JAVA/libjafs ${COMPILE_PART2} ;; \
|
|
|
|
*) \
|
|
|
|
echo Not building MT libjafs for ${SYS_NAME} ;; \
|
|
|
|
esac
|
|
|
|
|
|
|
|
libjafsadm: libjafs
|
|
|
|
|
|
|
|
jafs: libjafs
|
|
|
|
|
|
|
|
jafsadm: libjafsadm
|
|
|
|
|
2008-04-02 21:47:27 +01:00
|
|
|
finale: project cmd comerr afsd butc tbutc tbudb @ENABLE_KERNEL_MODULE@ libuafs audit kauth log \
|
|
|
|
ptserver tptserver scout bu_utils ubik uss bozo vfsck volser tvolser tsalvaged \
|
2006-08-01 22:57:14 +01:00
|
|
|
venus update xstat afsmonitor rxdebug libafsrpc \
|
2006-08-01 23:39:56 +01:00
|
|
|
libafsauthent shlibafsrpc shlibafsauthent libadmin man-pages \
|
2006-08-02 18:47:29 +01:00
|
|
|
platform kopenafs
|
2000-11-04 02:13:13 +00:00
|
|
|
${COMPILE_PART1} finale ${COMPILE_PART2}
|
|
|
|
|
2008-04-02 21:47:27 +01:00
|
|
|
finale_nolibafs: project cmd comerr afsd butc tbutc tbudb libuafs audit kauth log \
|
|
|
|
ptserver tptserver scout bu_utils ubik tubik uss bozo vfsck volser tvolser tsalvaged \
|
2006-08-01 22:57:14 +01:00
|
|
|
venus update xstat afsmonitor rxdebug libafsrpc \
|
2006-08-01 23:39:56 +01:00
|
|
|
libafsauthent shlibafsrpc shlibafsauthent libadmin man-pages \
|
2006-08-02 18:47:29 +01:00
|
|
|
platform kopenafs
|
2001-07-12 19:18:53 +01:00
|
|
|
${COMPILE_PART1} finale ${COMPILE_PART2}
|
|
|
|
|
2000-11-04 02:13:13 +00:00
|
|
|
# Use washtool to ensure MakefileProto is current and obj/libafs exists.
|
|
|
|
|
2001-07-16 07:32:48 +01:00
|
|
|
force:
|
|
|
|
|
2001-03-27 22:33:17 +01:00
|
|
|
TARGET=finale
|
2001-09-10 21:15:57 +01:00
|
|
|
build: force
|
|
|
|
$(MAKE) $(TARGET) DEST=$(DEST) COMPILE_PART2B=$(COMPILE_PART2B) DESTDIR=$(DESTDIR)
|
2000-11-04 02:13:13 +00:00
|
|
|
|
|
|
|
kupdate: updatekdir libafs_setup libuafs_setup
|
|
|
|
|
|
|
|
blibafs:
|
2001-08-02 17:45:35 +01:00
|
|
|
$(MAKE) libafs
|
2000-11-04 02:13:13 +00:00
|
|
|
|
|
|
|
blibuafs:
|
2001-08-02 17:45:35 +01:00
|
|
|
$(MAKE) libuafs
|
2000-11-04 02:13:13 +00:00
|
|
|
|
|
|
|
bwebafs: sys
|
2001-08-02 17:45:35 +01:00
|
|
|
$(MAKE) libuafs
|
2000-11-04 02:13:13 +00:00
|
|
|
|
|
|
|
clean:
|
2001-08-02 17:45:35 +01:00
|
|
|
$(MAKE) clean2
|
2001-06-28 07:44:19 +01:00
|
|
|
|
|
|
|
clean2:
|
2001-07-16 20:46:35 +01:00
|
|
|
-${COMPILE_PART1} config ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} procmgmt ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} util ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} audit ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} comerr ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} cmd ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} lwp ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} rxgen ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} rx ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} rxstat ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} fsint ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} export ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} afs ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} des ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} sys ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} rxkad ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} auth ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} ubik ${COMPILE_CLEAN}
|
2008-04-02 21:47:27 +01:00
|
|
|
-${COMPILE_PART1} tubik ${COMPILE_CLEAN}
|
2001-07-16 20:46:35 +01:00
|
|
|
-${COMPILE_PART1} ptserver ${COMPILE_CLEAN}
|
2008-04-02 21:47:27 +01:00
|
|
|
-${COMPILE_PART1} tptserver ${COMPILE_CLEAN}
|
2001-07-16 20:46:35 +01:00
|
|
|
-${COMPILE_PART1} kauth ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} libacl ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} dir ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} vol ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} vlserver ${COMPILE_CLEAN}
|
2008-04-02 21:47:27 +01:00
|
|
|
-${COMPILE_PART1} tvlserver ${COMPILE_CLEAN}
|
2001-07-16 20:46:35 +01:00
|
|
|
-${COMPILE_PART1} viced ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} tviced ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} volser ${COMPILE_CLEAN}
|
2004-08-09 06:35:51 +01:00
|
|
|
-${COMPILE_PART1} tvolser ${COMPILE_CLEAN}
|
2006-03-17 19:54:26 +00:00
|
|
|
-${COMPILE_PART1} tsalvaged ${COMPILE_CLEAN}
|
2001-07-16 20:46:35 +01:00
|
|
|
-${COMPILE_PART1} venus ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} venus/test ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} afsd ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} gtx ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} fsprobe ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} scout ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} uss ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} bozo ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} vfsck ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} sgistuff ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} tsm41 ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} sia ${COMPILE_CLEAN}
|
2005-06-19 03:06:21 +01:00
|
|
|
-${COMPILE_PART1} aklog ${COMPILE_CLEAN}
|
2001-07-16 20:46:35 +01:00
|
|
|
-${COMPILE_PART1} pam ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} afsweb ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} update ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} log ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} bu_utils ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} usd ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} bubasics ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} butm ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} butc ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} tbutc ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} budb ${COMPILE_CLEAN}
|
2008-04-02 21:47:27 +01:00
|
|
|
-${COMPILE_PART1} tbudb ${COMPILE_CLEAN}
|
2001-07-16 20:46:35 +01:00
|
|
|
-${COMPILE_PART1} bucoord ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} xstat ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} afsmonitor ${COMPILE_CLEAN}
|
2002-01-15 04:14:51 +00:00
|
|
|
-${COMPILE_PART1} tests ${COMPILE_CLEAN}
|
2001-09-10 21:15:57 +01:00
|
|
|
-${COMPILE_PART1} rxdebug ${COMPILE_CLEAN}
|
2001-07-16 20:46:35 +01:00
|
|
|
-${COMPILE_PART1} libafsrpc ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} libafsauthent ${COMPILE_CLEAN}
|
2002-08-28 08:05:43 +01:00
|
|
|
-${COMPILE_PART1} shlibafsrpc ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} shlibafsauthent ${COMPILE_CLEAN}
|
2006-08-02 18:47:29 +01:00
|
|
|
-${COMPILE_PART1} kopenafs ${COMPILE_CLEAN}
|
2007-11-09 20:15:46 +00:00
|
|
|
-${COMPILE_PART1} platform ${COMPILE_CLEAN}
|
2001-07-16 20:46:35 +01:00
|
|
|
-${COMPILE_PART1} libadmin ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} libadmin/adminutil ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} libadmin/client ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} libadmin/vos ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} libadmin/kas ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} libadmin/pts ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} libadmin/bos ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} libadmin/cfg ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} libadmin/test ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} libadmin/samples ${COMPILE_CLEAN}
|
2002-07-26 07:33:59 +01:00
|
|
|
-${COMPILE_PART1} JAVA/libjafs ${COMPILE_CLEAN}
|
2001-07-16 20:46:35 +01:00
|
|
|
-${COMPILE_PART1} finale ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} libafs ${COMPILE_CLEAN}
|
|
|
|
-${COMPILE_PART1} libuafs ${COMPILE_CLEAN}
|
2004-06-02 04:40:03 +01:00
|
|
|
-${COMPILE_PART1} tests ${COMPILE_CLEAN}
|
2001-08-29 21:17:19 +01:00
|
|
|
-(cd src/libafs; /bin/rm -rf afs afsint config rx)
|
|
|
|
-(cd src/libuafs; /bin/rm -rf afs afsint config rx des)
|
2002-07-26 07:33:59 +01:00
|
|
|
-/bin/rm -rf ${TOP_INCDIR} ${TOP_LIBDIR} ${TOP_JLIBDIR}
|
2001-08-29 21:17:19 +01:00
|
|
|
-/bin/rm -rf libafs_tree ${SYS_NAME}
|
2000-11-04 02:13:13 +00:00
|
|
|
|
2001-07-06 06:45:14 +01:00
|
|
|
distclean: clean
|
2004-03-17 06:27:37 +00:00
|
|
|
/bin/rm -rf lib include
|
2001-08-29 03:19:55 +01:00
|
|
|
/bin/rm -f config.log config.cache config.status \
|
2007-01-22 17:19:26 +00:00
|
|
|
src/config/afsconfig.h src/config/stamp-h1 \
|
2001-08-29 03:19:55 +01:00
|
|
|
Makefile \
|
|
|
|
src/afs/Makefile \
|
|
|
|
src/afsd/Makefile \
|
|
|
|
src/afsd/afs.ppc_darwin.plist \
|
|
|
|
src/afsmonitor/Makefile \
|
|
|
|
src/afsweb/Makefile \
|
2005-06-19 03:06:21 +01:00
|
|
|
src/aklog/Makefile \
|
2001-08-29 03:19:55 +01:00
|
|
|
src/audit/Makefile \
|
|
|
|
src/auth/test/Makefile \
|
|
|
|
src/auth/Makefile \
|
|
|
|
src/bozo/test/Makefile \
|
|
|
|
src/bozo/Makefile \
|
|
|
|
src/bu_utils/Makefile \
|
|
|
|
src/bubasics/Makefile \
|
|
|
|
src/bucoord/Makefile \
|
|
|
|
src/budb/Makefile \
|
2008-04-02 21:47:27 +01:00
|
|
|
src/tbudb/Makefile \
|
2001-08-29 03:19:55 +01:00
|
|
|
src/butc/Makefile \
|
|
|
|
src/butm/Makefile \
|
|
|
|
src/cmd/test/Makefile \
|
|
|
|
src/cmd/Makefile \
|
|
|
|
src/comerr/test/Makefile \
|
|
|
|
src/comerr/Makefile \
|
|
|
|
src/config/Makefile \
|
|
|
|
src/config/Makefile.version \
|
|
|
|
src/config/Makefile.version-NOCML \
|
2001-11-01 04:59:26 +00:00
|
|
|
src/config/Makefile.config \
|
2001-08-29 03:19:55 +01:00
|
|
|
src/des/test/Makefile \
|
|
|
|
src/des/Makefile \
|
|
|
|
src/dir/test/Makefile \
|
|
|
|
src/dir/Makefile \
|
|
|
|
src/export/Makefile \
|
|
|
|
src/finale/Makefile \
|
|
|
|
src/fsint/Makefile \
|
|
|
|
src/fsprobe/Makefile \
|
|
|
|
src/gtx/Makefile \
|
|
|
|
src/kauth/test/Makefile \
|
|
|
|
src/kauth/Makefile \
|
2006-08-02 18:47:29 +01:00
|
|
|
src/kopenafs/Makefile \
|
2001-08-29 03:19:55 +01:00
|
|
|
src/libacl/test/Makefile \
|
|
|
|
src/libacl/Makefile \
|
|
|
|
src/libadmin/adminutil/Makefile \
|
|
|
|
src/libadmin/Makefile \
|
|
|
|
src/libadmin/bos/Makefile \
|
|
|
|
src/libadmin/cfg/test/Makefile \
|
|
|
|
src/libadmin/cfg/Makefile \
|
|
|
|
src/libadmin/client/Makefile \
|
|
|
|
src/libadmin/kas/Makefile \
|
|
|
|
src/libadmin/pts/Makefile \
|
|
|
|
src/libadmin/samples/Makefile \
|
|
|
|
src/libadmin/test/Makefile \
|
|
|
|
src/libadmin/vos/Makefile \
|
2002-07-26 07:33:59 +01:00
|
|
|
src/JAVA/libjafs/Makefile \
|
2001-08-29 03:19:55 +01:00
|
|
|
src/libafs/Makefile \
|
2001-10-18 01:06:58 +01:00
|
|
|
src/libafs/Makefile.common \
|
2001-08-29 03:19:55 +01:00
|
|
|
src/libafs/MakefileProto.${MKAFS_OSTYPE} \
|
2007-01-22 17:19:26 +00:00
|
|
|
src/libafs/afs.${MKAFS_OSTYPE}.plist \
|
2001-08-29 03:19:55 +01:00
|
|
|
src/libafsauthent/Makefile \
|
|
|
|
src/libafsrpc/Makefile \
|
|
|
|
src/libuafs/Makefile \
|
2001-10-18 01:06:58 +01:00
|
|
|
src/libuafs/Makefile.common \
|
2001-08-29 03:19:55 +01:00
|
|
|
src/libuafs/MakefileProto.${MKAFS_OSTYPE} \
|
|
|
|
src/log/test/Makefile \
|
|
|
|
src/log/Makefile \
|
|
|
|
src/lwp/test/Makefile \
|
|
|
|
src/lwp/Makefile \
|
|
|
|
src/pam/Makefile \
|
2006-10-13 15:06:38 +01:00
|
|
|
src/platform/Makefile \
|
|
|
|
src/platform/${MKAFS_OSTYPE}/Makefile \
|
2001-08-29 03:19:55 +01:00
|
|
|
src/procmgmt/Makefile \
|
|
|
|
src/procmgmt/test/Makefile \
|
|
|
|
src/ptserver/Makefile \
|
2008-04-02 21:47:27 +01:00
|
|
|
src/tptserver/Makefile \
|
2001-08-29 03:19:55 +01:00
|
|
|
src/rx/Makefile \
|
|
|
|
src/rx/bulk.example/Makefile \
|
|
|
|
src/rx/bulktest/Makefile \
|
|
|
|
src/rx/multi.example/Makefile \
|
|
|
|
src/rx/simple.example/Makefile \
|
|
|
|
src/rx/test/Makefile \
|
2001-09-10 21:15:57 +01:00
|
|
|
src/rxdebug/Makefile \
|
2001-08-29 03:19:55 +01:00
|
|
|
src/rxgen/Makefile \
|
|
|
|
src/rxkad/Makefile \
|
|
|
|
src/rxkad/test/Makefile \
|
|
|
|
src/rxstat/Makefile \
|
|
|
|
src/scout/Makefile \
|
|
|
|
src/sgistuff/Makefile \
|
2002-08-28 08:05:43 +01:00
|
|
|
src/shlibafsauthent/Makefile \
|
|
|
|
src/shlibafsrpc/Makefile \
|
2001-08-29 03:19:55 +01:00
|
|
|
src/sia/Makefile \
|
|
|
|
src/sys/Makefile \
|
|
|
|
src/tbutc/Makefile \
|
2002-01-15 04:14:51 +00:00
|
|
|
src/tests/Makefile \
|
2002-01-17 10:43:28 +00:00
|
|
|
src/tests/run-tests \
|
2006-03-17 19:54:26 +00:00
|
|
|
src/tsalvaged/Makefile \
|
2001-08-29 03:19:55 +01:00
|
|
|
src/tsm41/Makefile \
|
|
|
|
src/tviced/Makefile \
|
2004-08-09 06:35:51 +01:00
|
|
|
src/tvolser/Makefile \
|
2001-08-29 03:19:55 +01:00
|
|
|
src/ubik/Makefile \
|
2008-04-02 21:47:27 +01:00
|
|
|
src/tubik/Makefile \
|
2001-08-29 03:19:55 +01:00
|
|
|
src/update/Makefile \
|
|
|
|
src/usd/test/Makefile \
|
|
|
|
src/usd/Makefile \
|
|
|
|
src/uss/Makefile \
|
|
|
|
src/util/Makefile \
|
|
|
|
src/util/test/Makefile \
|
|
|
|
src/venus/test/Makefile \
|
|
|
|
src/venus/Makefile \
|
|
|
|
src/vfsck/Makefile \
|
|
|
|
src/viced/Makefile \
|
|
|
|
src/vlserver/Makefile \
|
2008-04-02 21:47:27 +01:00
|
|
|
src/tvlserver/Makefile \
|
2001-08-29 03:19:55 +01:00
|
|
|
src/vol/Makefile \
|
|
|
|
src/vol/test/Makefile \
|
|
|
|
src/volser/Makefile \
|
2004-06-02 04:40:03 +01:00
|
|
|
src/xstat/Makefile \
|
|
|
|
src/helper-splint.sh
|
2005-12-22 07:29:52 +00:00
|
|
|
if test -d doc/man-pages ; then \
|
|
|
|
rm -f doc/man-pages/Makefile doc/man-pages/install-man ; \
|
|
|
|
fi
|
2001-07-12 19:26:06 +01:00
|
|
|
|
|
|
|
pristine: distclean
|
2001-08-29 21:17:19 +01:00
|
|
|
/bin/rm -f src/config/afsconfig.h.in configure configure-libafs aclocal.m4
|
2001-07-06 06:45:14 +01:00
|
|
|
|
2003-06-20 01:38:57 +01:00
|
|
|
maintainer-clean: pristine
|