make things so file copies from src/libafs don't happen; change how libafs_tree is done
--- /dev/null
+# 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
+
+all:
+ cd src && cd libafs && $(MAKE)
# rxgen, compile_et and others already exist and runs it with
# "-argument kinstall".
-COMPILE_PART1 = cd src; cd
-COMPILE_PART2A = ; $(MAKE)
+COMPILE_PART1 = cd src && cd
+COMPILE_PART2A = && $(MAKE)
COMPILE_PART2B = all
COMPILE_PART2 = ${COMPILE_PART2A} ${COMPILE_PART2B}
COMPILE_CLEAN = ${COMPILE_PART2A} clean
+COMPILE_DEPINSTALL = ${COMPILE_PART2A} depinstall
all: force ${TOP_INCDIR} ${TOP_INCDIR}/afs ${TOP_LIBDIR}
$(MAKE) build
mkdir -p ${DEST}/root.server/etc
mkdir -p ${DEST}/root.server/usr/afs/bin
-# This is needed to get these dirs built prior to stuff being installed into them
-build_dirs_rx:
- mkdir -p ${TOP_OBJDIR}/src/libafs/rx
- mkdir -p ${TOP_OBJDIR}/src/libuafs/rx
-
project: cmd comerr
tests: all
pinstall: config
${COMPILE_PART1} pinstall ${COMPILE_PART2}
-procmgmt: config pinstall
+procmgmt: pinstall
${COMPILE_PART1} procmgmt ${COMPILE_PART2}
-util: pinstall procmgmt
+util: procmgmt
${COMPILE_PART1} util ${COMPILE_PART2}
-audit: pinstall rx rxkad fsint
- ${COMPILE_PART1} audit ${COMPILE_PART2}
+audit: util rx rxkad
+ ${COMPILE_PART1} audit ${COMPILE_PART2} #TODO
comerr: util
${COMPILE_PART1} comerr ${COMPILE_PART2}
${COMPILE_PART1} cmd ${COMPILE_PART2} ;; \
esac
-lwp: project util
+lwp: util
${COMPILE_PART1} lwp ${COMPILE_PART2}
-rxgen: pinstall
+rxgen: pinstall
${COMPILE_PART1} rxgen ${COMPILE_PART2}
-rx: project lwp rxgen build_dirs_rx
+rx: pinstall lwp rxgen
${COMPILE_PART1} rx ${COMPILE_PART2}
rxstat: rx
rxdebug: rx sys
${COMPILE_PART1} rxdebug ${COMPILE_PART2}
-fsint: project kfsint
-
-kfsint: lwp rxgen rx
+fsint: cmd comerr rxgen rx lwp
${COMPILE_PART1} fsint ${COMPILE_PART2}
-export2: project fsint
+export2: project
-export: fsint
+export:
@case ${SYS_NAME} in \
rs_aix*) \
- ${COMPILE_PART1} export ${COMPILE_PART2} ;; \
- *) \
- echo skipping export for ${SYS_NAME} ;; \
+ ${MAKE} export_build ; \
esac
-afs: export
+export_build: fsint
+ ${COMPILE_PART1} export ${COMPILE_PART2}
+
+afs: export pinstall comerr
${COMPILE_PART1} afs ${COMPILE_PART2}
des: config pinstall
${COMPILE_PART1} des ${COMPILE_PART2}
-sys: project afs des rx rxstat fsint
+sys: cmd comerr afs des rx rxstat fsint
${COMPILE_PART1} sys ${COMPILE_PART2}
-rxkad: project des rx
+rxkad: cmd comerr sys des rx
${COMPILE_PART1} rxkad ${COMPILE_PART2}
-auth: project comerr des lwp rx sys rxkad audit
+auth: cmd comerr comerr des lwp rx sys rxkad audit
${COMPILE_PART1} auth ${COMPILE_PART2}
-ubik: project auth
+ubik: cmd comerr auth
${COMPILE_PART1} ubik ${COMPILE_PART2}
ubiktests: ubik
-ptserver: project ubik cmd comerr auth audit
+ptserver: cmd comerr ubik cmd comerr auth audit
${COMPILE_PART1} ptserver ${COMPILE_PART2}
-kauth: project ubik cmd auth comerr ptserver audit libacl
+kauth: cmd comerr ubik cmd auth comerr ptserver audit libacl
${COMPILE_PART1} kauth ${COMPILE_PART2}
-dauth: project ubik cmd auth kauth comerr
+dauth: cmd comerr ubik cmd auth kauth comerr
${COMPILE_PART1} dauth ${COMPILE_PART2}
-libacl: project ptserver
+libacl: cmd comerr ptserver
${COMPILE_PART1} libacl ${COMPILE_PART2}
-dir: project libacl
+dir: cmd comerr libacl
${COMPILE_PART1} dir ${COMPILE_PART2}
# Removed from sgi_* case below:
echo No efs stuff for ${SYS_NAME};; \
esac
-vol: project dir afs sgiefs
+vol: cmd comerr dir afs sgiefs
${COMPILE_PART1} vol ${COMPILE_PART2}
-vlserver: project vol audit
+vlserver: cmd comerr vol audit
${COMPILE_PART1} vlserver ${COMPILE_PART2}
-viced: project vlserver audit
+viced: cmd comerr vlserver audit
${COMPILE_PART1} viced ${COMPILE_PART2}
-tviced: project viced vlserver libafsrpc libafsauthent
+tviced: cmd comerr viced vlserver libafsrpc libafsauthent
case ${SYS_NAME} in \
alpha_dux*|sgi_*|sun*_5*|rs_aix*|*linux*|hp_ux110|*fbsd*) \
${COMPILE_PART1} tviced ${COMPILE_PART2} ;; \
echo Not building MT viced for ${SYS_NAME} ;; \
esac
-volser: project tviced usd kauth audit
+volser: cmd comerr tviced usd kauth audit
${COMPILE_PART1} volser ${COMPILE_PART2}
-venus: project volser ptserver
+venus: cmd comerr volser ptserver
${COMPILE_PART1} venus ${COMPILE_PART2}
${COMPILE_PART1} venus/test ${COMPILE_PART2}
-afsd: project sys kauth
+afsd: cmd comerr sys kauth
${COMPILE_PART1} afsd ${COMPILE_PART2}
-null: project
+null: cmd comerr
${COMPILE_PART1} null ${COMPILE_PART2}
${TOP_LIBDIR}/libtermlib.a:
ln -s /usr/lib/libtermlib.a ${TOP_LIBDIR}/libtermlib.a ;; \
esac
-gtx: project null auth kauth ${TOP_LIBDIR}/libtermlib.a
+gtx: cmd comerr null auth kauth ${TOP_LIBDIR}/libtermlib.a
${COMPILE_PART1} gtx ${COMPILE_PART2}
-fsprobe: project util fsint volser
+fsprobe: cmd comerr util fsint volser
${COMPILE_PART1} fsprobe ${COMPILE_PART2}
-scout: project gtx fsprobe
+scout: cmd comerr gtx fsprobe
${COMPILE_PART1} scout ${COMPILE_PART2}
-uss: des kauth project rx vlserver vol volser
+uss: des kauth cmd comerr rx vlserver vol volser
${COMPILE_PART1} uss ${COMPILE_PART2}
-bozo: project ntp audit
+bozo: cmd comerr ntp audit
${COMPILE_PART1} bozo ${COMPILE_PART2}
-
-# Removed from respective case statements below:
-# ${COMPILE_PART1} vfsckaix42 ${COMPILE_PART2} ;;
-# ${COMPILE_PART1} vfscksol25 ${COMPILE_PART2} ;;
-# ${COMPILE_PART1} vfscksol26 ${COMPILE_PART2} ;;
-# ${COMPILE_PART1} vfscksol27 ${COMPILE_PART2} ;;
vfsck: vol
set -x; \
case ${SYS_NAME} in \
${COMPILE_PART1} vfsck ${COMPILE_PART2} ;; \
esac
-login: project kauth rxkad
+login: cmd comerr kauth rxkad
set -x; \
case ${SYS_NAME} in \
sgi_* ) \
${COMPILE_PART1} login ${COMPILE_PART2} ;; \
esac
-KERNELDIR= \
- afs \
- dir \
- rx \
- fsint \
- auth \
- rxkad \
- util \
- libacl \
- vlserver \
- sgiefs \
- rxstat
+#
+# _depinstall targets - only build and install headers/sources that are needed by libafs/libuafs
+#
+# encode dependencies within the _depinstall targets as required
+#
+lwp_depinstall: pinstall
+ ${COMPILE_PART1} lwp ${COMPILE_DEPINSTALL}
-UKERNELDIR= \
- afs \
- dir \
- rx \
- fsint \
- util \
- auth \
- rxkad \
- vlserver \
- kauth \
- des \
- afsweb \
- rxstat
+rx_depinstall: pinstall
+ ${COMPILE_PART1} rx ${COMPILE_DEPINSTALL}
+
+rxkad_depinstall: pinstall comerr
+ ${COMPILE_PART1} rxkad ${COMPILE_DEPINSTALL}
+ubik_depinstall: pinstall comerr rxgen
+ ${COMPILE_PART1} ubik ${COMPILE_DEPINSTALL}
-libafs: lwp libafs_setup ${KERNELDIR}
+vlserver_depinstall: pinstall rxgen ubik_depinstall auth_depinstall
+ ${COMPILE_PART1} vlserver ${COMPILE_DEPINSTALL}
+
+auth_depinstall: pinstall comerr
+ ${COMPILE_PART1} auth ${COMPILE_DEPINSTALL}
+
+fsint_depinstall: pinstall rxgen
+ ${COMPILE_PART1} fsint ${COMPILE_DEPINSTALL}
+
+rxstat_depinstall: pinstall rxgen
+ ${COMPILE_PART1} rxstat ${COMPILE_DEPINSTALL}
+
+libacl_depinstall: pinstall
+ ${COMPILE_PART1} libacl ${COMPILE_DEPINSTALL}
+
+afs_depinstall: pinstall comerr
+ ${COMPILE_PART1} afs ${COMPILE_DEPINSTALL}
+
+dir_depinstall: pinstall
+ ${COMPILE_PART1} dir ${COMPILE_DEPINSTALL}
+
+kauth_depinstall: pinstall rxgen comerr
+ ${COMPILE_PART1} kauth ${COMPILE_DEPINSTALL}
+
+ptserver_depinstall: pinstall rxgen comerr
+ ${COMPILE_PART1} ptserver ${COMPILE_DEPINSTALL}
+
+
+#
+# libafs build targets
+#
+libafs_setup: config export
+ src/config/config src/libafs/MakefileProto.${MKAFS_OSTYPE} src/libafs/Makefile ${SYS_NAME}
+
+libafs: libafs_setup lwp_depinstall rx_depinstall vlserver_depinstall rxkad_depinstall fsint_depinstall \
+ libacl_depinstall afs_depinstall dir_depinstall rxstat_depinstall
${COMPILE_PART1} libafs ${COMPILE_PART2}
-libafs_tree: libafs_setup ${KERNELDIR}
- -/bin/rm -rf libafs_tree
- for d in afs afsint rx config; do \
- [ -d libafs_tree/$$d ] || mkdir -p libafs_tree/$$d; \
- done
- for f in `cd src/libafs; find . -name '*.[ch]'` \
- Makefile.common Makefile.extradefs ${DARWIN_INFOFILE} \
- afs.shutdown afs.startup redhat.sh sgi_master sgi_system \
- ; do \
- ${INSTALL} -c -f src/libafs/$$f libafs_tree/$$f; \
- done
- for f in config.guess config.sub install-sh missing mkinstalldirs \
- ; do \
- ${INSTALL} -c -f $$f libafs_tree/$$f; \
- done
- src/config/config src/libafs/MakefileProto.${MKAFS_OSTYPE}.in libafs_tree/Makefile.in ${SYS_NAME}
- ${INSTALL} -c src/config/Makefile.config.in libafs_tree/config
- ${INSTALL} -c src/config/afsconfig.h.in libafs_tree/config
- ${INSTALL} -c -f -ns configure-libafs libafs_tree/configure
- case ${SYS_NAME} in \
- *linux*) \
- ${INSTALL} -c src/config/make_vnode.pl libafs_tree/config ; \
- ${INSTALL} -c src/afs/LINUX/osi_vfs.hin libafs_tree/afs ;; \
- esac
+libafs_tree: libafs_setup lwp_depinstall rx_depinstall vlserver_depinstall rxkad_depinstall fsint_depinstall \
+ libacl_depinstall afs_depinstall dir_depinstall rxstat_depinstall
+ ${TOP_SRCDIR}/config/make_libafs_tree.pl \
+ -sn $(SYS_NAME) \
+ -os $(MKAFS_OSTYPE) \
+ -t @TOP_OBJDIR@/libafs_tree \
+ -o @TOP_OBJDIR@ \
+ -p @srcdir@
-libuafs: lwp libuafs_setup ${UKERNELDIR}
+#
+# libuafs build targets
+#
+
+UKERNELDIR= \
+ des \
+ afsweb
+
+libuafs_setup: config export
+ src/config/config src/libuafs/MakefileProto.${MKAFS_OSTYPE} src/libuafs/Makefile ${SYS_NAME}
+
+libuafs: libuafs_setup vlserver_depinstall rx_depinstall fsint_depinstall \
+ auth_depinstall dir_depinstall libacl_depinstall rxkad_depinstall \
+ ubik_depinstall afs_depinstall kauth_depinstall ptserver_depinstall \
+ rxstat_depinstall lwp_depinstall des
set -x; \
case ${SYS_NAME} in \
hp_ux102* | *_obsd* | sun*_4* | *_nbsd*) \
afsweb: kauth dauth
${COMPILE_PART1} afsweb ${COMPILE_PART2}
-update: project auth
+update: cmd comerr auth
${COMPILE_PART1} update ${COMPILE_PART2}
-log: project auth
+log: cmd comerr auth
${COMPILE_PART1} log ${COMPILE_PART2}
-bu_utils: project usd
+bu_utils: cmd comerr usd
${COMPILE_PART1} bu_utils ${COMPILE_PART2}
-usd: project
+usd: cmd comerr
${COMPILE_PART1} usd ${COMPILE_PART2}
-bubasics: project comerr rx
+bubasics: cmd comerr comerr rx
${COMPILE_PART1} bubasics ${COMPILE_PART2}
-butm: project bubasics usd uss
+butm: cmd comerr bubasics usd uss
${COMPILE_PART1} butm ${COMPILE_PART2}
-butc: project bubasics butm budb bucoord cmd rxgen rx
+butc: cmd comerr bubasics butm budb bucoord cmd rxgen rx
${COMPILE_PART1} butc ${COMPILE_PART2}
-tbutc: project bubasics butm budb bucoord cmd butc
+tbutc: cmd comerr bubasics butm budb bucoord cmd butc
case ${SYS_NAME} in \
alpha_dux*|sgi_*|sun4x_*|sunx86_*|rs_aix4*|*linux*|hp_ux110) \
${COMPILE_PART1} tbutc ${COMPILE_PART2} ;; \
echo Not building MT butc for ${SYS_NAME} ;; \
esac
-budb: project bubasics uss
+budb: cmd comerr bubasics uss
${COMPILE_PART1} budb ${COMPILE_PART2}
-bucoord: project bubasics budb volser
+bucoord: cmd comerr bubasics budb volser
${COMPILE_PART1} bucoord ${COMPILE_PART2}
-xstat: project fsint viced
+xstat: cmd comerr fsint viced
${COMPILE_PART1} xstat ${COMPILE_PART2}
-afsmonitor: project gtx xstat
+afsmonitor: cmd comerr gtx xstat
${COMPILE_PART1} afsmonitor ${COMPILE_PART2}
tests: rxtests ubiktests
# Use washtool to ensure MakefileProto is current and obj/libafs exists.
-libafs_setup: config export
- src/config/config src/libafs/MakefileProto.${MKAFS_OSTYPE} src/libafs/Makefile ${SYS_NAME}
-
-libuafs_setup: config export
- src/config/config src/libuafs/MakefileProto.${MKAFS_OSTYPE} src/libuafs/Makefile ${SYS_NAME}
-
force:
TARGET=finale
OPENAFS_OSCONF
+TOP_SRCDIR="${srcdir}/src"
+dnl
+dnl If we're using ./configure, need a more reasonable TOP_SRCDIR, since relative links don't work everywhere
+dnl
+case $TOP_SRCDIR in
+ /*)
+ ;;
+ *)
+ TOP_SRCDIR=${SRCDIR_PARENT}/src
+esac
+
+TOP_OBJDIR="${SRCDIR_PARENT}"
+TOP_INCDIR="${SRCDIR_PARENT}/include"
+TOP_LIBDIR="${SRCDIR_PARENT}/lib"
+if test "${DEST}x" = "x"; then
+ DEST="${SRCDIR_PARENT}/${AFS_SYSNAME}/dest"
+fi
+
+
])
-AC_INIT(Makefile.common)
+AC_INIT(src/libafs/Makefile.common.in)
AM_INIT_AUTOMAKE(openafs-libafs,devel)
-AC_CONFIG_HEADER(config/afsconfig.h)
+AC_CONFIG_HEADER(src/config/afsconfig.h)
define(OPENAFS_CONFIGURE_LIBAFS)
AC_PROG_CC
OPENAFS_CONFIGURE_COMMON
-TOP_SRCDIR="${SRCDIR_PARENT}"
-TOP_INCDIR="${SRCDIR_PARENT}/include"
-TOP_LIBDIR="${SRCDIR_PARENT}/lib"
-if test "${DEST}x" = "x"; then
- DEST="${SRCDIR_PARENT}/${AFS_SYSNAME}/dest"
-fi
-
-# Check for files involved in porting. Report errors, don't make the
-# user hunt through the configure log after the build fails!
-if test ! -r config/Makefile.${AFS_SYSNAME}.in ; then
- AC_MSG_ERROR(no source file config/Makefile.${AFS_SYSNAME}.in)
-fi
-
AC_OUTPUT( \
Makefile \
-config/Makefile.config \
-config/Makefile.${AFS_SYSNAME} \
+src/config/Makefile.config \
+src/libafs/Makefile.common \
+src/libafs/Makefile \
)
AC_PROG_CC
OPENAFS_CONFIGURE_COMMON
-TOP_SRCDIR="${srcdir}/src"
-TOP_OBJDIR="${SRCDIR_PARENT}"
-TOP_INCDIR="${SRCDIR_PARENT}/include"
-TOP_LIBDIR="${SRCDIR_PARENT}/lib"
-if test "${DEST}x" = "x"; then
- DEST="${SRCDIR_PARENT}/${AFS_SYSNAME}/dest"
-fi
-
AC_OUTPUT( \
Makefile \
src/afs/Makefile \
--- /dev/null
+#
+# Note, do not copy configure-libafs, or Makefile-libafs, as they are
+# copied and renamed in the make_libafs_tree.pl script.
+#
+config.guess
+config.sub
+install-sh
+missing
+mkinstalldirs
+#
+# Following are listed in here cause the include/ dir doesn't exist in
+# source tree. For now, just copying everything, though this could easily
+# be shrunk to only copying minimal list of files if you're willing to accept
+# the maintenance that implies.
+#
+include/*.h
+include/*/*.h
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* afs statistics */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* afs statistics */
int afs_osicred_initialized=0;
*
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h"
-#include "../afs/afsincludes.h"
-#include "../afs/afs_stats.h" /* statistics */
+#include "afs/sysincludes.h"
+#include "afsincludes.h"
+#include "afs/afs_stats.h" /* statistics */
static int
*
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/osi_inode.h"
-#include "../afs/afs_stats.h" /* statistics stuff */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/osi_inode.h"
+#include "afs/afs_stats.h" /* statistics stuff */
#include "sys/syspest.h"
#if !defined(offsetof)
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../h/systm.h"
-#include "../h/types.h"
-#include "../h/errno.h"
-#include "../h/stat.h"
-#include "../h/user.h"
-#include "../h/uio.h"
-#include "../h/vattr.h"
-#include "../h/file.h"
-#include "../h/vfs.h"
-#include "../h/chownx.h"
-#include "../h/systm.h"
-#include "../h/access.h"
-#include "../rpc/types.h"
-#include "../afs/osi_vfs.h"
-#include "../netinet/in.h"
-#include "../h/mbuf.h"
-#include "../rpc/types.h"
-#include "../rpc/xdr.h"
-#include "../h/vmuser.h"
-#include "../h/syspest.h"
-
-#include "../afs/stds.h"
-#include "../afs/afs_osi.h"
+#include "h/systm.h"
+#include "h/types.h"
+#include "h/errno.h"
+#include "h/stat.h"
+#include "h/user.h"
+#include "h/uio.h"
+#include "h/vattr.h"
+#include "h/file.h"
+#include "h/vfs.h"
+#include "h/chownx.h"
+#include "h/systm.h"
+#include "h/access.h"
+#include "rpc/types.h"
+#include "osi_vfs.h"
+#include "netinet/in.h"
+#include "h/mbuf.h"
+#include "rpc/types.h"
+#include "rpc/xdr.h"
+#include "h/vmuser.h"
+#include "h/syspest.h"
+
+#include "afs/stds.h"
+#include "afs/afs_osi.h"
#define RFTP_INTERNALS 1
-#include "../afs/volerrors.h"
-#include "../afsint/afsint.h"
-#include "../afsint/vldbint.h"
-#include "../afs/lock.h"
-#include "../afs/exporter.h"
-#include "../afs/afs.h"
-#include "../afs/afs_stats.h"
+#include "afs/volerrors.h"
+#include "afsint.h"
+#include "vldbint.h"
+#include "afs/lock.h"
+#include "afs/exporter.h"
+#include "afs/afs.h"
+#include "afs/afs_stats.h"
/* In Aix one may specify an init routine routine which is called once during
* initialization of all gfs; one day we might need to actual do somehing here.
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* afs statistics */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* afs statistics */
* Implements:
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
#include "sys/limits.h"
#include "sys/types.h"
#include "sys/user.h"
* osi_vfsops.c for AIX
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics stuff */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics stuff */
#ifdef AFS_AIX_IAUTH_ENV
-#include "../afs/nfsclient.h"
-#include "../afs/exporter.h"
+#include "afs/nfsclient.h"
+#include "afs/exporter.h"
extern struct afs_exporter *afs_nfsexporter;
#endif
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics */
/* Try to discard pages, in order to recycle a vcache entry.
*
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../h/systm.h"
-#include "../h/types.h"
-#include "../h/errno.h"
-#include "../h/stat.h"
-#include "../h/user.h"
-#include "../h/uio.h"
-#include "../h/vattr.h"
-#include "../h/file.h"
-#include "../h/vfs.h"
-#include "../h/chownx.h"
-#include "../h/systm.h"
-#include "../h/access.h"
+#include "h/systm.h"
+#include "h/types.h"
+#include "h/errno.h"
+#include "h/stat.h"
+#include "h/user.h"
+#include "h/uio.h"
+#include "h/vattr.h"
+#include "h/file.h"
+#include "h/vfs.h"
+#include "h/chownx.h"
+#include "h/systm.h"
+#include "h/access.h"
#ifdef AFS_AIX51_ENV
-#include "../h/acl.h"
+#include "h/acl.h"
#endif
-#include "../rpc/types.h"
-#include "../afs/osi_vfs.h"
-#include "../netinet/in.h"
-#include "../h/mbuf.h"
-#include "../h/vmuser.h"
-#include "../h/shm.h"
-#include "../rpc/types.h"
-#include "../rpc/xdr.h"
-
-#include "../afs/stds.h"
-#include "../afs/afs_osi.h"
+#include "rpc/types.h"
+#include "osi_vfs.h"
+#include "netinet/in.h"
+#include "h/mbuf.h"
+#include "h/vmuser.h"
+#include "h/shm.h"
+#include "rpc/types.h"
+#include "rpc/xdr.h"
+
+#include "afs/stds.h"
+#include "afs/afs_osi.h"
#define RFTP_INTERNALS 1
-#include "../afs/volerrors.h"
-#include "../afsint/afsint.h"
-#include "../afsint/vldbint.h"
-#include "../afs/lock.h"
-#include "../afs/exporter.h"
-#include "../afs/afs.h"
-#include "../afs/afs_chunkops.h"
-#include "../afs/afs_stats.h"
-#include "../afs/nfsclient.h"
-#include "../afs/icl.h"
-#include "../afs/prs_fs.h"
-#include "../h/flock.h"
-#include "../afs/afsincludes.h"
+#include "afs/volerrors.h"
+#include "afsint.h"
+#include "vldbint.h"
+#include "afs/lock.h"
+#include "afs/exporter.h"
+#include "afs/afs.h"
+#include "afs/afs_chunkops.h"
+#include "afs/afs_stats.h"
+#include "afs/nfsclient.h"
+#include "afs/icl.h"
+#include "afs/prs_fs.h"
+#include "h/flock.h"
+#include "afsincludes.h"
/*
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* afs statistics */
-#include "../afs/osi_inode.h"
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* afs statistics */
+#include "afs/osi_inode.h"
int afs_osicred_initialized=0;
*
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h"
-#include "../afs/afsincludes.h"
-#include "../afs/afs_stats.h" /* statistics */
+#include "afs/sysincludes.h"
+#include "afsincludes.h"
+#include "afs/afs_stats.h" /* statistics */
static int
afs_getgroups(
*
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/osi_inode.h"
-#include "../afs/afs_stats.h" /* statistics stuff */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/osi_inode.h"
+#include "afs/afs_stats.h" /* statistics stuff */
#include <ufs/ufs/ufsmount.h>
extern struct ucred afs_osi_cred;
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h"
-#include "../afs/afsincludes.h"
+#include "afs/sysincludes.h"
+#include "afsincludes.h"
#include <sys/namei.h>
int osi_lookupname(char *aname, enum uio_seg seg, int followlink,
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h"
-#include "../afs/afsincludes.h"
+#include "afs/sysincludes.h"
+#include "afsincludes.h"
#ifdef AFS_DARWIN60_ENV /* not in Kernel.framework anymore !?! */
#include <sys/syscall.h>
#else
-#include "../sys/syscall.h"
+#include "sys/syscall.h"
#endif
#include <mach/kmod.h>
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* afs statistics */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* afs statistics */
static int osi_TimedSleep(char *event, afs_int32 ams, int aintok);
RCSID("$Header$");
#include <afs/sysincludes.h> /* Standard vendor system headers */
-#include <afs/afsincludes.h> /* Afs-based standard headers */
+#include <afsincludes.h> /* Afs-based standard headers */
#include <afs/afs_stats.h> /* statistics */
#include <sys/malloc.h>
#include <sys/namei.h>
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics */
#include <sys/ubc.h>
/* Try to discard pages, in order to recycle a vcache entry.
RCSID("$Header$");
#include <afs/sysincludes.h> /* Standard vendor system headers */
-#include <afs/afsincludes.h> /* Afs-based standard headers */
+#include <afsincludes.h> /* Afs-based standard headers */
#include <afs/afs_stats.h> /* statistics */
#include <sys/malloc.h>
#include <sys/namei.h>
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* afs statistics */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* afs statistics */
int afs_osicred_initialized=0;
*
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h"
-#include "../afs/afsincludes.h"
-#include "../afs/afs_stats.h" /* statistics */
+#include "afs/sysincludes.h"
+#include "afsincludes.h"
+#include "afs/afs_stats.h" /* statistics */
static int
afs_getgroups(
*
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/osi_inode.h"
-#include "../afs/afs_stats.h" /* statistics stuff */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/osi_inode.h"
+#include "afs/afs_stats.h" /* statistics stuff */
#include <ufs/ufsmount.h>
/* given a vnode, return the `inode number'; if it's a UFS vnode just
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
/*
* afs_suser() returns true if the caller is superuser, false otherwise.
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* afs statistics */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* afs statistics */
* osi_vfsops.c for DUX
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics stuff */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics stuff */
#include <sys/types.h>
#include <kern/mach_param.h>
#include <sys/sysconfig.h>
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics */
#include <vm/vm_ubc.h>
#include <values.h>
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics */
#include <vm/vm_mmap.h>
#include <vm/vm_ubc.h>
-#include "../afs/afs_cbqueue.h"
-#include "../afs/nfsclient.h"
-#include "../afs/afs_osidnlc.h"
+#include "afs/afs_cbqueue.h"
+#include "afs/nfsclient.h"
+#include "afs/afs_osidnlc.h"
extern int afs_lookup(), afs_create(), afs_noop(), afs_open(), afs_close();
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* afs statistics */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* afs statistics */
int afs_osicred_initialized=0;
*
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h"
-#include "../afs/afsincludes.h"
-#include "../afs/afs_stats.h" /* statistics */
+#include "afs/sysincludes.h"
+#include "afsincludes.h"
+#include "afs/afs_stats.h" /* statistics */
static int
afs_getgroups(
*
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/osi_inode.h"
-#include "../afs/afs_stats.h" /* statistics stuff */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/osi_inode.h"
+#include "afs/afs_stats.h" /* statistics stuff */
#include <sys/queue.h>
#include <sys/lock.h>
#include <ufs/ufsmount.h>
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
#include <sys/namei.h>
/*
* afs_suser() returns true if the caller is superuser, false otherwise.
#include <afs/param.h>
#include <afs/sysincludes.h>
-#include <afs/afsincludes.h>
+#include <afsincludes.h>
#include <sys/module.h>
#include <sys/sysproto.h>
#include <sys/syscall.h>
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* afs statistics */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* afs statistics */
RCSID("$Header$");
#include <afs/sysincludes.h> /* Standard vendor system headers */
-#include <afs/afsincludes.h> /* Afs-based standard headers */
+#include <afsincludes.h> /* Afs-based standard headers */
#include <afs/afs_stats.h> /* statistics */
#include <sys/malloc.h>
#include <sys/namei.h>
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics */
#include <vm/vm_object.h>
#include <vm/vm_map.h>
#include <limits.h>
RCSID("$Header$");
#include <afs/sysincludes.h> /* Standard vendor system headers */
-#include <afs/afsincludes.h> /* Afs-based standard headers */
+#include <afsincludes.h> /* Afs-based standard headers */
#include <afs/afs_stats.h> /* statistics */
#include <sys/malloc.h>
#include <sys/namei.h>
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* afs statistics */
-#include "../afs/osi_inode.h" /* igetinode() */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* afs statistics */
+#include "afs/osi_inode.h" /* igetinode() */
int afs_osicred_initialized=0;
*
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h"
-#include "../afs/afsincludes.h"
-#include "../afs/afs_stats.h" /* statistics */
+#include "afs/sysincludes.h"
+#include "afsincludes.h"
+#include "afs/afs_stats.h" /* statistics */
static int
afs_getgroups(
*
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/osi_inode.h"
-#include "../afs/afs_stats.h" /* statistics stuff */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/osi_inode.h"
+#include "afs/afs_stats.h" /* statistics stuff */
#include <sys/mount.h>
#ifndef _OSI_MACHDEP_H_
#define _OSI_MACHDEP_H_
-#include "../h/kern_sem.h"
+#include "h/kern_sem.h"
#define afs_hz hz
extern struct timeval time;
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
/*
* afs_suser() returns true if the caller is superuser, false otherwise.
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* afs statistics */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* afs statistics */
* osi_vfsops.c for HPUX
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics stuff */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics stuff */
#include <sys/scall_kernprivate.h>
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics */
/* Try to discard pages, in order to recycle a vcache entry.
*
/* This is a placeholder for routines unique to the port of AFS to hp-ux*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics stuff */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics stuff */
#include <sys/uio.h>
#include <sys/vfs.h>
}
-#include "../machine/vmparam.h" /* For KERNELSPACE */
-#include "../h/debug.h"
-#include "../h/types.h"
-#include "../h/param.h"
-#include "../h/vmmac.h"
-#include "../h/time.h"
-#include "../ufs/inode.h"
-#include "../ufs/fs.h"
-#include "../h/dbd.h"
-#include "../h/vfd.h"
-#include "../h/region.h"
-#include "../h/pregion.h"
-#include "../h/vmmeter.h"
-#include "../h/user.h"
-#include "../h/sysinfo.h"
-#include "../h/pfdat.h"
-#include "../h/tuneable.h"
-#include "../h/buf.h"
-#include "../netinet/in.h"
+#include "machine/vmparam.h" /* For KERNELSPACE */
+#include "h/debug.h"
+#include "h/types.h"
+#include "h/param.h"
+#include "h/vmmac.h"
+#include "h/time.h"
+#include "ufs/inode.h"
+#include "ufs/fs.h"
+#include "h/dbd.h"
+#include "h/vfd.h"
+#include "h/region.h"
+#include "h/pregion.h"
+#include "h/vmmeter.h"
+#include "h/user.h"
+#include "h/sysinfo.h"
+#include "h/pfdat.h"
+#include "h/tuneable.h"
+#include "h/buf.h"
+#include "netinet/in.h"
/* a freelist of one */
struct buf *afs_bread_freebp = 0;
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* afs statistics */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* afs statistics */
int afs_osicred_initialized=0;
afs_lock_t afs_xosi; /* lock is for tvattr */
*
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h"
-#include "../afs/afsincludes.h"
-#include "../afs/afs_stats.h" /* statistics */
+#include "afs/sysincludes.h"
+#include "afsincludes.h"
+#include "afs/afs_stats.h" /* statistics */
static int
* Implementation of Irix IDBG facility for AFS.
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
#ifdef AFS_SGI62_ENV
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics */
/*
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/osi_inode.h"
-#include "../afs/afs_stats.h" /* statistics stuff */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/osi_inode.h"
+#include "afs/afs_stats.h" /* statistics stuff */
#define BAD_IGET -1000
* Implementation of miscellaneous Irix routines.
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
#ifdef AFS_SGI62_ENV
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics */
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* afs statistics */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* afs statistics */
* osi_vfsops.c for IRIX
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics stuff */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics stuff */
#include "sys/syssgi.h"
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics */
#include "sys/flock.h" /* for IGN_PID */
extern struct vnodeops Afs_vnodeops;
* SGI specific vnodeops + other misc interface glue
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
#ifdef AFS_SGI62_ENV
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics */
-#include "../sys/flock.h"
-#include "../afs/nfsclient.h"
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics */
+#include "sys/flock.h"
+#include "afs/nfsclient.h"
/* AFSBSIZE must be at least the size of a page, else the client will hang.
* For 64 bit platforms, the page size is more than 8K.
*
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h"
-#include "../afs/afsincludes.h"
-#include "../h/mm.h"
-#include "../h/slab.h"
+#include "afs/sysincludes.h"
+#include "afsincludes.h"
+#include "h/mm.h"
+#include "h/slab.h"
-#include "../afs/afs_atomlist.h"
-#include "../afs/afs_lhash.h"
+#include "afs_atomlist.h"
+#include "afs_lhash.h"
#define MAX_KMALLOC_SIZE PAGE_SIZE /* Max we should alloc with kmalloc */
#define MAX_BUCKET_LEN 30 /* max. no. of entries per buckets we expect to see */
unsigned int afs_linux_hash_bucket_dist[MAX_BUCKET_LEN]; /* bucket population distribution in our hash table */
#if defined(AFS_LINUX24_ENV)
-#include "../h/vmalloc.h"
+#include "h/vmalloc.h"
#else
/* externs : can we do this in a better way. Including vmalloc.h causes other
* problems.*/
*
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h"
-#include "../afs/afsincludes.h"
+#include "afs/sysincludes.h"
+#include "afsincludes.h"
/* Setup a pool for creds. Allocate several at a time. */
#define CRED_ALLOC_STEP 29 /* at 140 bytes/cred = 4060 bytes. */
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* afs statistics */
-#include "../h/smp_lock.h"
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* afs statistics */
+#include "h/smp_lock.h"
int afs_osicred_initialized=0;
*
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h"
-#include "../afs/afsincludes.h"
-#include "../afs/afs_stats.h" /* statistics */
+#include "afs/sysincludes.h"
+#include "afsincludes.h"
+#include "afs/afs_stats.h" /* statistics */
#ifdef AFS_LINUX22_ENV
-#include "../h/smp_lock.h"
+#include "h/smp_lock.h"
#endif
static int afs_getgroups(cred_t *cr, gid_t *groups);
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/osi_inode.h"
-#include "../afs/afs_stats.h" /* statistics stuff */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/osi_inode.h"
+#include "afs/afs_stats.h" /* statistics stuff */
#define BAD_IGET -1000
#define afs_hz HZ
-#include "../h/sched.h"
+#include "h/sched.h"
#define osi_Time() (xtime.tv_sec)
#if (CPU == sparc64)
#define osi_GetTime(V) do { (*(V)).tv_sec = xtime.tv_sec; (*(V)).tv_usec = xtime.tv_usec; } while (0)
*
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h"
-#include "../afs/afsincludes.h"
-#include "../afs/afs_stats.h"
+#include "afs/sysincludes.h"
+#include "afsincludes.h"
+#include "afs/afs_stats.h"
#if defined(AFS_LINUX24_ENV)
-#include "../h/smp_lock.h"
+#include "h/smp_lock.h"
#endif
char *crash_addr = 0; /* Induce an oops by writing here. */
*
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h"
-#include "../afs/afsincludes.h"
-#include "../h/unistd.h" /* For syscall numbers. */
-#include "../h/mm.h"
+#include "afs/sysincludes.h"
+#include "afsincludes.h"
+#include "h/unistd.h" /* For syscall numbers. */
+#include "h/mm.h"
#include <linux/module.h>
#include <linux/slab.h>
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* afs statistics */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* afs statistics */
static int osi_TimedSleep(char *event, afs_int32 ams, int aintok);
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* afs statistics */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* afs statistics */
#include <linux/sysctl.h>
#include <linux/config.h>
* super_block operations should return negated errno to Linux.
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h"
-#include "../afs/afsincludes.h"
-#include "../afs/afs_stats.h"
-#include "../h/locks.h"
+#include "afs/sysincludes.h"
+#include "afsincludes.h"
+#include "afs/afs_stats.h"
+#include "h/locks.h"
#if defined(AFS_LINUX24_ENV)
-#include "../h/smp_lock.h"
+#include "h/smp_lock.h"
#endif
#define __NO_VERSION__ /* don't define kernel_verion in module.h */
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics */
/* Linux VM operations
*
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h"
-#include "../afs/afsincludes.h"
-#include "../afs/afs_stats.h"
-#include "../afs/afs_osidnlc.h"
-#include "../h/mm.h"
-#include "../h/pagemap.h"
+#include "afs/sysincludes.h"
+#include "afsincludes.h"
+#include "afs/afs_stats.h"
+#include "afs/afs_osidnlc.h"
+#include "h/mm.h"
+#include "h/pagemap.h"
#if defined(AFS_LINUX24_ENV)
-#include "../h/smp_lock.h"
+#include "h/smp_lock.h"
#endif
#ifdef pgoff2loff
srcdir=@srcdir@
include @TOP_OBJDIR@/src/config/Makefile.config
-all: kinstall ukinstall ${TOP_INCDIR}/afs/afs.h ${TOP_INCDIR}/afs/osi_inode.h ${TOP_INCDIR}/afs/afs_stats.h ${TOP_INCDIR}/afs/exporter.h ${TOP_INCDIR}/afs/nfsclient.h
+all: depinstall
+
+depinstall: ${TOP_INCDIR}/afs/afs.h ${TOP_INCDIR}/afs/osi_inode.h ${TOP_INCDIR}/afs/afs_stats.h \
+ ${TOP_INCDIR}/afs/exporter.h ${TOP_INCDIR}/afs/nfsclient.h afszcm.cat AFS_component_version_number.c
case ${SYS_NAME} in \
pmax_ul43 | pmax_ul43a) \
${INSTALL} longc_procs.h ${TOP_INCDIR}/afs ;; \
esac
-# NOTE: linux case uses --new as well to work around bug in some versions of
-# gencat.
-kinstall: ${KERNELDIR}/afs AFS_component_version_number.c afszcm.cat
- -chmod 666 ${KERNELDIR}/afs/*
- ${INSTALL} ${srcdir}/*.[csh] ${KERNELDIR}/afs
- -${INSTALL} *.[csh] ${KERNELDIR}/afs
- ${INSTALL} ${srcdir}/VNOPS/*.[csh] ${KERNELDIR}/afs
- ${INSTALL} ${srcdir}/${MKAFS_OSTYPE}/*.[csh] ${KERNELDIR}/afs
- -${INSTALL} ${MKAFS_OSTYPE}/*.[csh] ${KERNELDIR}/afs
-
afs_trace.h afs_trace.msf: afs_trace.et
${COMPILE_ET} -v 2 -p ${srcdir} afs_trace.et
gencat afszcm.cat afs_trace.msf ;; \
esac
-${KERNELDIR}/afs:
- mkdir -p $@
-
-ukinstall: ${UKERNELDIR}/afs afs_trace.msf AFS_component_version_number.c
- -chmod 666 ${UKERNELDIR}/afs/*
- ${INSTALL} *.[csh] ${UKERNELDIR}/afs
- ${INSTALL} ${srcdir}/*.[csh] ${UKERNELDIR}/afs
- ${INSTALL} ${srcdir}/VNOPS/*.[csh] ${UKERNELDIR}/afs
- ${INSTALL} ${srcdir}/UKERNEL/*.[csh] ${UKERNELDIR}/afs
-
-${UKERNELDIR}/afs:
- mkdir -p $@
-
install: ${DESTDIR}${includedir}/afs/afs.h ${DESTDIR}${includedir}/afs/osi_inode.h ${DESTDIR}${includedir}/afs/afs_stats.h ${DESTDIR}${includedir}/afs/exporter.h ${DESTDIR}${includedir}/afs/nfsclient.h
case ${SYS_NAME} in \
pmax_ul43 | pmax_ul43a) \
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* afs statistics */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* afs statistics */
int afs_osicred_initialized=0;
*
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h"
-#include "../afs/afsincludes.h"
-#include "../afs/afs_stats.h" /* statistics */
+#include "afs/sysincludes.h"
+#include "afsincludes.h"
+#include "afs/afs_stats.h" /* statistics */
#define NOCRED ((struct ucred *) -1)
#define NOUID ((uid_t) -1)
*
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/osi_inode.h"
-#include "../afs/afs_stats.h" /* statistics stuff */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/osi_inode.h"
+#include "afs/afs_stats.h" /* statistics stuff */
#include <sys/queue.h>
#include <sys/lock.h>
#include <ufs/ufsmount.h>
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
/*
* afs_suser() returns true if the caller is superuser, false otherwise.
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* afs statistics */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* afs statistics */
* osi_vfsops.c for DUX
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics stuff */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics stuff */
#include <sys/types.h>
#include <kern/mach_param.h>
#include <sys/sysconfig.h>
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics */
/* #include <vm/vm_ubc.h> */
#include <limits.h>
#include <float.h>
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics */
#include <vm/vm.h>
#include <vm/vnode_pager.h>
#include <vm/vm_map.h>
/* #include <vm/vm_ubc.h> */
-#include "../afs/afs_cbqueue.h"
-#include "../afs/nfsclient.h"
-#include "../afs/afs_osidnlc.h"
+#include "afs/afs_cbqueue.h"
+#include "afs/nfsclient.h"
+#include "afs/afs_osidnlc.h"
extern int afs_lookup(), afs_create(), afs_noop(), afs_open(), afs_close();
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* afs statistics */
-#include "../afs/osi_inode.h"
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* afs statistics */
+#include "afs/osi_inode.h"
int afs_osicred_initialized=0;
*
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h"
-#include "../afs/afsincludes.h"
-#include "../afs/afs_stats.h" /* statistics */
+#include "afs/sysincludes.h"
+#include "afsincludes.h"
+#include "afs/afs_stats.h" /* statistics */
static int
*
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/osi_inode.h"
-#include "../afs/afs_stats.h" /* statistics stuff */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/osi_inode.h"
+#include "afs/afs_stats.h" /* statistics stuff */
extern int (*ufs_iallocp)(), (*ufs_iupdatp)(), (*ufs_igetp)(),
(*ufs_itimes_nolockp)();
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* afs statistics */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* afs statistics */
static int osi_TimedSleep(char *event, afs_int32 ams, int aintok);
* osi_vfsops.c for SOLARIS
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics stuff */
-#include "../h/modctl.h"
-#include "../h/syscall.h"
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics stuff */
+#include "h/modctl.h"
+#include "h/syscall.h"
#include <sys/kobj.h>
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics */
-#include "../afs/nfsclient.h"
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics */
+#include "afs/nfsclient.h"
#if defined(AFS_SUN5_ENV)
/* This file contains Solaris VM-related code for the cache manager. */
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
* Variables: Afs_vnodeops
*
*/
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics */
-#include "../afs/nfsclient.h"
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics */
+#include "afs/nfsclient.h"
#include <sys/mman.h>
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
#ifdef UKERNEL
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
#include <net/if.h>
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_usrops.h"
-#include "../afs/afs_stats.h"
-#include "../afs/auth.h"
-#include "../afs/cellconfig.h"
-#include "../afs/vice.h"
-#include "../afs/kautils.h"
-#include "../afs/afsutil.h"
-#include "../rx/rx_globals.h"
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs_usrops.h"
+#include "afs/afs_stats.h"
+#include "afs/auth.h"
+#include "afs/cellconfig.h"
+#include "afs/vice.h"
+#include "afs/kautils.h"
+#include "afs/afsutil.h"
+#include "rx/rx_globals.h"
#define VFS 1
#undef VIRTUE
*/
/* AFS based headers */
-#include "../afs/stds.h"
-#include "../rx/rx.h"
-#include "../afs/afs_osi.h"
-#include "../afs/lock.h"
-#include "../afs/volerrors.h"
-#include "../afs/voldefs.h"
-#include "../afsint/afsint.h"
-#include "../afs/exporter.h"
-#include "../afsint/vldbint.h"
-#include "../afs/afs.h"
-#include "../afs/afs_chunkops.h"
-#include "../afs/rxkad.h"
-#include "../afs/prs_fs.h"
-#include "../afs/dir.h"
-#include "../afs/afs_axscache.h"
-#include "../afs/icl.h"
-#include "../afs/afs_stats.h"
-#include "../afs/afs_prototypes.h"
+#include "afs/stds.h"
+#include "rx/rx.h"
+#include "afs/afs_osi.h"
+#include "afs/lock.h"
+#include "afs/volerrors.h"
+#include "afs/voldefs.h"
+#include "afsint.h"
+#include "afs/exporter.h"
+#include "vldbint.h"
+#include "afs/afs.h"
+#include "afs/afs_chunkops.h"
+#include "rx/rxkad.h"
+#include "afs/prs_fs.h"
+#include "afs/dir.h"
+#include "afs/afs_axscache.h"
+#include "afs/icl.h"
+#include "afs/afs_stats.h"
+#include "afs/afs_prototypes.h"
* setpag (aliased to use_setpag in sysincludes.h)
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h"
-#include "../afs/afsincludes.h"
-#include "../afs/afs_stats.h" /* statistics */
+#include "afs/sysincludes.h"
+#include "afsincludes.h"
+#include "afs/afs_stats.h" /* statistics */
int afs_xsetgroups()
#ifndef _OSI_MACHDEP_H_
#define _OSI_MACHDEP_H_
-#include "../afs/sysincludes.h"
+#include "afs/sysincludes.h"
#define MAX_OSI_PATH 1024
#define MAX_OSI_FILES 1024
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics stuff */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics stuff */
int afs_mount();
int afs_rootCellIndex = 0;
#if !defined(AFS_USR_AIX_ENV)
-#include "../sys/syscall.h"
+#include "sys/syscall.h"
#endif
afs_mount(afsp, path, data)
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics */
void osi_VM_Truncate(struct vcache *avc, int alen, struct AFS_UCRED *acred)
{
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics */
extern int afs_noop();
extern int afs_badop();
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics */
-#include "../afs/afs_cbqueue.h"
-#include "../afs/nfsclient.h"
-#include "../afs/afs_osidnlc.h"
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics */
+#include "afs/afs_cbqueue.h"
+#include "afs/nfsclient.h"
+#include "afs/afs_osidnlc.h"
#ifndef ANONYMOUSID
#define ANONYMOUSID 32766 /* make sure this is same as in ptserver.h */
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics */
-#include "../afs/afs_cbqueue.h"
-#include "../afs/nfsclient.h"
-#include "../afs/afs_osidnlc.h"
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics */
+#include "afs/afs_cbqueue.h"
+#include "afs/nfsclient.h"
+#include "afs/afs_osidnlc.h"
extern afs_rwlock_t afs_xcbhash;
struct afs_exporter *afs_nfsexporter;
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics */
-#include "../afs/afs_cbqueue.h"
-#include "../afs/nfsclient.h"
-#include "../afs/afs_osidnlc.h"
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics */
+#include "afs/afs_cbqueue.h"
+#include "afs/nfsclient.h"
+#include "afs/afs_osidnlc.h"
/* question: does afs_create need to set CDirty in the adp or the avc?
* I think we can get away without it, but I'm not sure. Note that
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics */
-#include "../afs/afs_cbqueue.h"
-#include "../afs/nfsclient.h"
-#include "../afs/afs_osidnlc.h"
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics */
+#include "afs/afs_cbqueue.h"
+#include "afs/nfsclient.h"
+#include "afs/afs_osidnlc.h"
extern afs_rwlock_t afs_xvcache;
extern afs_rwlock_t afs_xcbhash;
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
#if !defined(AFS_DUX40_ENV) && !defined(AFS_LINUX20_ENV) && !defined(AFS_DARWIN_ENV)
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics */
-#include "../afs/afs_cbqueue.h"
-#include "../afs/nfsclient.h"
-#include "../afs/afs_osidnlc.h"
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics */
+#include "afs/afs_cbqueue.h"
+#include "afs/nfsclient.h"
+#include "afs/afs_osidnlc.h"
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics */
-#include "../afs/afs_cbqueue.h"
-#include "../afs/nfsclient.h"
-#include "../afs/afs_osidnlc.h"
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics */
+#include "afs/afs_cbqueue.h"
+#include "afs/nfsclient.h"
+#include "afs/afs_osidnlc.h"
/* Static prototypes */
static int HandleGetLock(register struct vcache *avc,
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics */
-#include "../afs/afs_cbqueue.h"
-#include "../afs/nfsclient.h"
-#include "../afs/afs_osidnlc.h"
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics */
+#include "afs/afs_cbqueue.h"
+#include "afs/nfsclient.h"
+#include "afs/afs_osidnlc.h"
extern afs_rwlock_t afs_xcbhash;
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics */
-#include "../afs/afs_cbqueue.h"
-#include "../afs/nfsclient.h"
-#include "../afs/exporter.h"
-#include "../afs/afs_osidnlc.h"
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics */
+#include "afs/afs_cbqueue.h"
+#include "afs/nfsclient.h"
+#include "afs/exporter.h"
+#include "afs/afs_osidnlc.h"
/**
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics */
-#include "../afs/afs_cbqueue.h"
-#include "../afs/nfsclient.h"
-#include "../afs/afs_osidnlc.h"
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics */
+#include "afs/afs_cbqueue.h"
+#include "afs/nfsclient.h"
+#include "afs/afs_osidnlc.h"
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics */
-#include "../afs/afs_cbqueue.h"
-#include "../afs/nfsclient.h"
-#include "../afs/afs_osidnlc.h"
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics */
+#include "afs/afs_cbqueue.h"
+#include "afs/nfsclient.h"
+#include "afs/afs_osidnlc.h"
extern char afs_zeros[AFS_ZEROS];
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics */
-#include "../afs/afs_cbqueue.h"
-#include "../afs/nfsclient.h"
-#include "../afs/afs_osidnlc.h"
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics */
+#include "afs/afs_cbqueue.h"
+#include "afs/nfsclient.h"
+#include "afs/afs_osidnlc.h"
/**
*
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics */
-#include "../afs/afs_cbqueue.h"
-#include "../afs/nfsclient.h"
-#include "../afs/afs_osidnlc.h"
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics */
+#include "afs/afs_cbqueue.h"
+#include "afs/nfsclient.h"
+#include "afs/afs_osidnlc.h"
extern afs_rwlock_t afs_xvcache;
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics */
-#include "../afs/afs_cbqueue.h"
-#include "../afs/nfsclient.h"
-#include "../afs/afs_osidnlc.h"
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics */
+#include "afs/afs_cbqueue.h"
+#include "afs/nfsclient.h"
+#include "afs/afs_osidnlc.h"
extern afs_rwlock_t afs_xcbhash;
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
#if !defined(AFS_HPUX_ENV) && !defined(AFS_SGI_ENV) && !defined(AFS_LINUX20_ENV)
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics */
-#include "../afs/afs_cbqueue.h"
-#include "../afs/nfsclient.h"
-#include "../afs/afs_osidnlc.h"
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics */
+#include "afs/afs_cbqueue.h"
+#include "afs/nfsclient.h"
+#include "afs/afs_osidnlc.h"
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics */
-#include "../afs/afs_cbqueue.h"
-#include "../afs/nfsclient.h"
-#include "../afs/afs_osidnlc.h"
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics */
+#include "afs/afs_cbqueue.h"
+#include "afs/nfsclient.h"
+#include "afs/afs_osidnlc.h"
extern afs_rwlock_t afs_xvcache;
extern afs_rwlock_t afs_xcbhash;
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics */
-#include "../afs/afs_cbqueue.h"
-#include "../afs/nfsclient.h"
-#include "../afs/afs_osidnlc.h"
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics */
+#include "afs/afs_cbqueue.h"
+#include "afs/nfsclient.h"
+#include "afs/afs_osidnlc.h"
extern unsigned char *afs_indexFlags;
#ifdef KDUMP_KERNEL
#include <afs/afs_args.h>
#else
-#include "../afs/afs_args.h"
+#include "afs/afs_args.h"
#endif
* Implements:
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/stds.h"
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
+#include "afs/stds.h"
+#include "afs/sysincludes.h" /* Standard vendor system headers */
#ifndef UKERNEL
#if !defined(AFS_LINUX20_ENV) && !defined(AFS_FBSD_ENV)
#endif
#ifdef AFS_SGI62_ENV
-#include "../h/hashing.h"
+#include "h/hashing.h"
#endif
#if !defined(AFS_HPUX110_ENV) && !defined(AFS_LINUX20_ENV) && !defined(AFS_FBSD_ENV) && !defined(AFS_DARWIN60_ENV)
#include <netinet/in_var.h>
#endif
#endif /* !UKERNEL */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* afs statistics */
-#include "../afs/afs_util.h"
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* afs statistics */
+#include "afs/afs_util.h"
#if defined(AFS_SUN56_ENV)
#include <inet/led.h>
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics */
#include "afs/stds.h"
static struct axscache *afs_axsfreelist = NULL;
static struct xfreelist { struct xfreelist *next; } *xfreemallocs = 0;
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h"
-#include "../afs/afsincludes.h"
+#include "afs/sysincludes.h"
+#include "afsincludes.h"
#if !defined(UKERNEL)
-#include "../h/param.h"
-#include "../h/types.h"
-#include "../h/time.h"
+#include "h/param.h"
+#include "h/types.h"
+#include "h/time.h"
#if defined(AFS_AIX31_ENV) || defined(AFS_DEC_ENV)
-#include "../h/limits.h"
+#include "h/limits.h"
#endif
#if !defined(AFS_AIX_ENV) && !defined(AFS_SUN5_ENV) && !defined(AFS_SGI_ENV) && !defined(AFS_LINUX20_ENV)
-#include "../h/kernel.h" /* Doesn't needed, so it should go */
+#include "h/kernel.h" /* Doesn't needed, so it should go */
#endif
#endif /* !defined(UKERNEL) */
-#include "../afs/afs_osi.h"
-#include "../afsint/afsint.h"
-#include "../afs/lock.h"
+#include "afs/afs_osi.h"
+#include "afsint.h"
+#include "afs/lock.h"
#if !defined(UKERNEL) && !defined(AFS_LINUX20_ENV)
-#include "../h/buf.h"
+#include "h/buf.h"
#endif /* !defined(UKERNEL) */
-#include "../afs/stds.h"
-#include "../afs/volerrors.h"
-#include "../afs/exporter.h"
-#include "../afs/prs_fs.h"
-#include "../afs/afs_chunkops.h"
-#include "../afs/dir.h"
+#include "afs/stds.h"
+#include "afs/volerrors.h"
+#include "afs/exporter.h"
+#include "afs/prs_fs.h"
+#include "afs/afs_chunkops.h"
+#include "afs/dir.h"
-#include "../afs/afs_stats.h"
-#include "../afs/longc_procs.h"
-#include "../afs/afs.h"
+#include "afs/afs_stats.h"
+#include "afs/longc_procs.h"
+#include "afs/afs.h"
#ifndef BUF_TIME_MAX
#define BUF_TIME_MAX 0x7fffffff
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h"
-#include "../rx/rx_globals.h"
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h"
+#include "rx/rx_globals.h"
#if !defined(UKERNEL) && !defined(AFS_LINUX20_ENV)
#include "net/if.h"
#ifdef AFS_SGI62_ENV
-#include "../h/hashing.h"
+#include "h/hashing.h"
#endif
#if !defined(AFS_HPUX110_ENV) && !defined(AFS_DARWIN60_ENV)
#include "netinet/in_var.h"
#endif
#endif /* !defined(UKERNEL) */
#ifdef AFS_LINUX22_ENV
-#include "../h/smp_lock.h"
+#include "h/smp_lock.h"
#endif
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /*Standard vendor system headers*/
-#include "../afs/afsincludes.h" /*AFS-based standard headers*/
-#include "../afs/afs_stats.h" /*Cache Manager stats*/
-#include "../afs/afs_args.h"
+#include "afs/sysincludes.h" /*Standard vendor system headers*/
+#include "afsincludes.h" /*AFS-based standard headers*/
+#include "afs/afs_stats.h" /*Cache Manager stats*/
+#include "afs/afs_args.h"
afs_int32 afs_allCBs = 0; /*Break callbacks on all objects */
afs_int32 afs_oddCBs = 0; /*Break callbacks on dirs*/
* granted with a shorter expiration time.
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /*Standard vendor system headers*/
-#include "../afs/afsincludes.h" /*AFS-based standard headers*/
-#include "../afs/afs_cbqueue.h"
+#include "afs/sysincludes.h" /*Standard vendor system headers*/
+#include "afsincludes.h" /*AFS-based standard headers*/
+#include "afs/afs_cbqueue.h"
#include "afs/afs.h"
-#include "../afs/lock.h"
-#include "../afs/afs_stats.h"
+#include "afs/lock.h"
+#include "afs/afs_stats.h"
static unsigned int base = 0;
static unsigned int basetime = 0;
* Implements:
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/stds.h"
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* afs statistics */
-#include "../afs/afs_osi.h"
+#include "afs/stds.h"
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* afs statistics */
+#include "afs/afs_osi.h"
/* Local variables. */
afs_rwlock_t afs_xcell; /* Export for cmdebug peeking at locks */
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/stds.h"
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h"
+#include "afs/stds.h"
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h"
/*
* Chunk module.
* Implements:
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/stds.h"
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
+#include "afs/stds.h"
+#include "afs/sysincludes.h" /* Standard vendor system headers */
#if !defined(UKERNEL)
#include <net/if.h>
#include <netinet/in.h>
#ifdef AFS_SGI62_ENV
-#include "../h/hashing.h"
+#include "h/hashing.h"
#endif
#if !defined(AFS_HPUX110_ENV) && !defined(AFS_LINUX20_ENV) && !defined(AFS_DARWIN60_ENV)
#include <netinet/in_var.h>
#endif /* ! AFS_HPUX110_ENV */
#endif /* !defined(UKERNEL) */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* afs statistics */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* afs statistics */
#if defined(AFS_SUN56_ENV)
#include <inet/led.h>
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics gathering code */
-#include "../afs/afs_cbqueue.h"
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics gathering code */
+#include "afs/afs_cbqueue.h"
#ifdef AFS_AIX_ENV
#include <sys/adspace.h> /* for vm_att(), vm_det() */
#endif
* Implements:
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /*Standard vendor system headers*/
-#include "../afs/afsincludes.h" /*AFS-based standard headers*/
-#include "../afs/afs_stats.h" /* statistics */
-#include "../afs/afs_cbqueue.h"
-#include "../afs/afs_osidnlc.h"
+#include "afs/sysincludes.h" /*Standard vendor system headers*/
+#include "afsincludes.h" /*AFS-based standard headers*/
+#include "afs/afs_stats.h" /* statistics */
+#include "afs/afs_cbqueue.h"
+#include "afs/afs_osidnlc.h"
/* Forward declarations. */
static void afs_GetDownD(int anumber, int *aneedSpace);
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
-#include "../afs/stds.h"
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h"
-#include "../afs/afs_osi.h"
-#include "../afsint/afsint.h"
-#include "../afs/lock.h"
+#include "afs/stds.h"
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h"
+#include "afs/afs_osi.h"
+#include "afsint.h"
+#include "afs/lock.h"
-#include "../afs/prs_fs.h"
-#include "../afs/dir.h"
+#include "afs/prs_fs.h"
+#include "afs/dir.h"
#define AFS_DYNROOT_CELLNAME "dynroot"
#define AFS_DYNROOT_VOLUME 1
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics gathering code */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics gathering code */
struct afs_exporter *root_exported=0; /* Head of "exporters" link list */
afs_lock_t afs_xexp;
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/stds.h"
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* afs statistics */
+#include "afs/stds.h"
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* afs statistics */
/* Exported variables */
struct osi_dev cacheDev; /*Cache device*/
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* afs statistics */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* afs statistics */
/* probably needed if lock_trace is enabled - should ifdef */
int afs_trclock=0;
* Implements:
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /*Standard vendor system headers*/
-#include "../afs/afsincludes.h" /*AFS-based standard headers*/
-#include "../afs/afs_stats.h" /* statistics */
+#include "afs/sysincludes.h" /*Standard vendor system headers*/
+#include "afsincludes.h" /*AFS-based standard headers*/
+#include "afs/afs_stats.h" /* statistics */
/* Exported variables */
struct rx_service *afs_server;
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
#ifndef AFS_LINUX22_ENV
-#include "../rpc/types.h"
+#include "rpc/types.h"
#endif
#ifdef AFS_ALPHA_ENV
#undef kmem_alloc
#undef mem_free
#undef register
#endif /* AFS_ALPHA_ENV */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics */
/* memory cache routines */
static struct memCacheEntry *memCache;
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
#if !defined(AFS_NONFSTRANS) || defined(AFS_AIX_IAUTH_ENV)
#ifndef AFS_DEC_ENV
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics */
-#include "../afs/nfsclient.h"
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics */
+#include "afs/nfsclient.h"
int afs_nfsclient_reqhandler(), afs_nfsclient_hold(), afs_PutNfsClientPag();
int afs_nfsclient_sysname(), afs_nfsclient_GC(), afs_nfsclient_stats();
* Implements:
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
/* Ugly Ugly Ugly but precludes conflicting XDR macros; We want kernel xdr */
#define __XDR_INCLUDE__
-#include "../afs/stds.h"
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
+#include "afs/stds.h"
+#include "afs/sysincludes.h" /* Standard vendor system headers */
#if defined(AFS_SUN55_ENV) && !defined(AFS_NONFSTRANS)
-#include "../rpc/types.h"
-#include "../rpc/auth.h"
-#include "../rpc/auth_unix.h"
-#include "../rpc/auth_des.h"
+#include "rpc/types.h"
+#include "rpc/auth.h"
+#include "rpc/auth_unix.h"
+#include "rpc/auth_des.h"
#if !defined(AFS_SUN58_ENV)
-#include "../rpc/auth_kerb.h"
+#include "rpc/auth_kerb.h"
#endif
-#include "../sys/tiuser.h"
-#include "../rpc/xdr.h"
-#include "../rpc/svc.h"
-#include "../nfs/nfs.h"
-#include "../nfs/export.h"
-#include "../nfs/nfs_clnt.h"
-#include "../nfs/nfs_acl.h"
-#include "../afs/afsincludes.h"
-#include "../afs/afs_stats.h"
-#include "../afs/exporter.h"
+#include "sys/tiuser.h"
+#include "rpc/xdr.h"
+#include "rpc/svc.h"
+#include "nfs/nfs.h"
+#include "nfs/export.h"
+#include "nfs/nfs_clnt.h"
+#include "nfs/nfs_acl.h"
+#include "afs/afsincludes.h"
+#include "afs/afs_stats.h"
+#include "afs/exporter.h"
static int xlatorinit_v2_done=0;
static int xlatorinit_v3_done=0;
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* afs statistics */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* afs statistics */
#ifdef AFS_AIX_ENV
#include <sys/adspace.h> /* for vm_att(), vm_det() */
#endif
#ifndef _AFS_OSI_
#define _AFS_OSI_
-#include "../h/types.h"
-#include "../h/param.h"
+#include "h/types.h"
+#include "h/param.h"
#ifdef AFS_LINUX20_ENV
#ifndef _LINUX_CODA_FS_I
#define _LINUX_XFS_FS_I
struct xfs_inode_info {};
#endif
-#include "../h/fs.h"
-#include "../h/mm.h"
+#include "h/fs.h"
+#include "h/mm.h"
#endif
/* Now include system specific OSI header file. It will redefine macros
* defined here as required by the OS.
*/
-#include "../afs/osi_machdep.h"
+#include "osi_machdep.h"
/* Declare any structures which use these macros after the OSI implementation
* has had the opportunity to redefine them.
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* afs statistics */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* afs statistics */
#ifdef AFS_AIX41_ENV
#include "sys/lockl.h"
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics */
-#include "../afs/afs_cbqueue.h"
-#include "../afs/nfsclient.h"
-#include "../afs/afs_osidnlc.h"
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics */
+#include "afs/afs_cbqueue.h"
+#include "afs/nfsclient.h"
+#include "afs/afs_osidnlc.h"
/* Imported variables */
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics */
-#include "../afs/afs_cbqueue.h"
-#include "../afs/nfsclient.h"
-#include "../afs/afs_osidnlc.h"
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics */
+#include "afs/afs_cbqueue.h"
+#include "afs/nfsclient.h"
+#include "afs/afs_osidnlc.h"
/*
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* statistics stuff */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* statistics stuff */
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /*Standard vendor system headers*/
-#include "../afs/afsincludes.h" /*AFS-based standard headers*/
+#include "afs/sysincludes.h" /*Standard vendor system headers*/
+#include "afsincludes.h" /*AFS-based standard headers*/
#include "afs/afs.h"
-#include "../afs/lock.h"
-#include "../afs/afs_stats.h"
-#include "../afs/afs_osidnlc.h"
+#include "afs/lock.h"
+#include "afs/afs_stats.h"
+#include "afs/afs_osidnlc.h"
/* Things to do:
* also cache failed lookups.
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* afs statistics */
-#include "../afs/vice.h"
-#include "../rx/rx_globals.h"
+#include "afs/sysincludes.h" /* Standard vendor system headers */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* afs statistics */
+#include "afs/vice.h"
+#include "rx/rx_globals.h"
struct VenusFid afs_rootFid;
afs_int32 afs_waitForever=0;
#if defined(AFS_SUN5_ENV) || defined(AFS_LINUX20_ENV) || defined(AFS_AIX_ENV) || defined(AFS_DARWIN_ENV) || defined(AFS_FBSD_ENV)
-#include "../afs/osi_prototypes.h"
+#include "osi_prototypes.h"
#endif
#endif /* _AFS_PROTOTYPES_H_ */
* --------------------- Required definitions ---------------------
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /*Standard vendor system headers*/
-#include "../afs/afsincludes.h" /*AFS-based standard headers*/
-#include "../afs/afs_stats.h" /* statistics */
-#include "../afs/afs_cbqueue.h"
-#include "../afs/afs_osidnlc.h"
+#include "afs/sysincludes.h" /*Standard vendor system headers*/
+#include "afsincludes.h" /*AFS-based standard headers*/
+#include "afs/afs_stats.h" /* statistics */
+#include "afs/afs_cbqueue.h"
+#include "afs/afs_osidnlc.h"
afs_uint32 afs_stampValue=0;
*
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/stds.h"
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
+#include "afs/stds.h"
+#include "afs/sysincludes.h" /* Standard vendor system headers */
#if !defined(UKERNEL)
#include <net/if.h>
#include <netinet/in.h>
#ifdef AFS_SGI62_ENV
-#include "../h/hashing.h"
+#include "h/hashing.h"
#endif
#if !defined(AFS_HPUX110_ENV) && !defined(AFS_LINUX20_ENV) && !defined(AFS_DARWIN60_ENV)
#include <netinet/in_var.h>
#endif
#endif /* !defined(UKERNEL) */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* afs statistics */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* afs statistics */
#if defined(AFS_SUN56_ENV)
#include <inet/led.h>
/* statistics-gathering package */
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /*Standard vendor system headers*/
-#include "../afs/afsincludes.h" /*AFS-based standard headers*/
+#include "afs/sysincludes.h" /*Standard vendor system headers*/
+#include "afsincludes.h" /*AFS-based standard headers*/
#include "afs_stats.h"
struct afs_CMStats afs_cmstats;
#ifndef __TRANSARC_AFS_STATS_H__
#define __TRANSARC_AFS_STATS_H__
-#include "../afs/param.h"
+#include "afs/param.h"
/* the following is to work around a VAX compiler limitation */
#if defined(vax)
* Implements:
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/stds.h"
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
+#include "afs/stds.h"
+#include "afs/sysincludes.h" /* Standard vendor system headers */
#if !defined(UKERNEL)
#include <net/if.h>
#include <netinet/in.h>
#ifdef AFS_SGI62_ENV
-#include "../h/hashing.h"
+#include "h/hashing.h"
#endif
#if !defined(AFS_HPUX110_ENV) && !defined(AFS_LINUX20_ENV) && !defined(AFS_DARWIN60_ENV)
#include <netinet/in_var.h>
#endif /* ! AFS_HPUX110_ENV */
#endif /* !defined(UKERNEL) */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* afs statistics */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* afs statistics */
#if defined(AFS_SUN56_ENV)
#include <inet/led.h>
* Implements:
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/stds.h"
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
+#include "afs/stds.h"
+#include "afs/sysincludes.h" /* Standard vendor system headers */
#if !defined(UKERNEL)
#include <net/if.h>
#include <netinet/in.h>
#ifdef AFS_SGI62_ENV
-#include "../h/hashing.h"
+#include "h/hashing.h"
#endif
#if !defined(AFS_HPUX110_ENV) && !defined(AFS_LINUX20_ENV) && !defined(AFS_DARWIN60_ENV)
#include <netinet/in_var.h>
#endif /* ! AFS_HPUX110_ENV */
#endif /* !defined(UKERNEL) */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* afs statistics */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* afs statistics */
#if defined(AFS_SUN56_ENV)
#include <inet/led.h>
*
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /*Standard vendor system headers*/
-#include "../afs/afsincludes.h" /*AFS-based standard headers*/
-#include "../afs/afs_stats.h"
-#include "../afs/afs_cbqueue.h"
-#include "../afs/afs_osidnlc.h"
+#include "afs/sysincludes.h" /*Standard vendor system headers*/
+#include "afsincludes.h" /*AFS-based standard headers*/
+#include "afs/afs_stats.h"
+#include "afs/afs_cbqueue.h"
+#include "afs/afs_osidnlc.h"
#ifdef AFS_OSF_ENV
afs_int32 afs_maxvcount = 0; /* max number of vcache entries */
* afs_FindVolume
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/stds.h"
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
+#include "afs/stds.h"
+#include "afs/sysincludes.h" /* Standard vendor system headers */
#if !defined(UKERNEL)
#include <net/if.h>
#include <netinet/in.h>
#ifdef AFS_SGI62_ENV
-#include "../h/hashing.h"
+#include "h/hashing.h"
#endif
#if !defined(AFS_HPUX110_ENV) && !defined(AFS_LINUX20_ENV) && !defined(AFS_DARWIN60_ENV)
#include <netinet/in_var.h>
#endif /* ! AFS_HPUX110_ENV */
#endif /* !defined(UKERNEL) */
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h" /* afs statistics */
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h" /* afs statistics */
#if defined(AFS_SUN56_ENV)
#include <inet/led.h>
* directory or online at http://www.openafs.org/dl/license10.html
*/
+#ifdef UKERNEL
+#include <UKERNEL/afsincludes.h>
+#else
+
#include <afsconfig.h>
/* AFS based headers */
-#include "../afs/stds.h"
+#include "afs/stds.h"
#ifdef AFS_AIX_ENV
-#include "../afs/osi_vfs.h"
+#include "osi_vfs.h"
#else
#ifdef AFS_DEC_ENV
-#include "../afs/gfs_vfs.h"
-#include "../afs/gfs_vnode.h"
+#include "afs/gfs_vfs.h"
+#include "afs/gfs_vnode.h"
#else
#ifdef AFS_HPUX_ENV
-#include "../afs/osi_vfs.h"
+#include "osi_vfs.h"
#endif /* AFS_HPUX_ENV */
#endif /* AFS_DEC_ENV */
#endif /* AFS_AIX_ENV */
#if defined(AFS_SGI_ENV) || defined(AFS_LINUX20_ENV)
-#include "../afs/osi_vfs.h"
+#include "osi_vfs.h"
#endif
-#include "../rx/rx.h"
-#include "../afs/afs_osi.h"
-#include "../afs/lock.h"
-#include "../afs/volerrors.h"
-#include "../afs/voldefs.h"
+#include "rx/rx.h"
+#include "afs/afs_osi.h"
+#include "afs/lock.h"
+#include "afs/volerrors.h"
+#include "afs/voldefs.h"
#ifdef AFS_LINUX20_ENV
#ifdef TRUE
#undef TRUE
#undef __NFDBITS
#undef __FDMASK
#endif
-#include "../afsint/afsint.h"
-#include "../afs/exporter.h"
-#include "../afsint/vldbint.h"
-#include "../afs/afs.h"
-#include "../afs/afs_chunkops.h"
-/*#include "../afs/auxinode.h" -- used only in afs_istuff.c */
-#include "../afs/rxkad.h"
-#include "../afs/prs_fs.h"
-#include "../afs/dir.h"
-#include "../afs/afs_axscache.h"
-#include "../afs/icl.h"
-#include "../afs/afs_stats.h"
-#include "../afs/afs_prototypes.h"
+#include "afsint.h"
+#include "afs/exporter.h"
+#include "vldbint.h"
+#include "afs/afs.h"
+#include "afs/afs_chunkops.h"
+/*#include "afs/auxinode.h" -- used only in afs_istuff.c */
+#include "rx/rxkad.h"
+#include "afs/prs_fs.h"
+#include "afs/dir.h"
+#include "afs/afs_axscache.h"
+#include "afs/icl.h"
+#include "afs/afs_stats.h"
+#include "afs/afs_prototypes.h"
#if defined(AFS_LINUX20_ENV) || defined(AFS_DARWIN_ENV) || defined(AFS_FBSD_ENV)
-#include "../afs/osi_machdep.h"
+#include "osi_machdep.h"
+#endif
+
#endif
--- /dev/null
+MKAFS_OSTYPE/*.[chs]
+MKAFS_OSTYPE/*.hin
+VNOPS/*.[chs]
+*.[chs]
* directory or online at http://www.openafs.org/dl/license10.html
*/
+#ifdef UKERNEL
+#include <UKERNEL/sysincludes.h>
+#else
+
#ifndef __AFS_SYSINCLUDESH__
#define __AFS_SYSINCLUDESH__ 1
#endif
#endif
#if !defined(AFS_OSF_ENV)
-#include "../h/errno.h"
-#include "../h/types.h"
-#include "../h/param.h"
+#include "h/errno.h"
+#include "h/types.h"
+#include "h/param.h"
#ifdef AFS_AUX_ENV
#ifdef PAGING
-#include "../h/mmu.h"
-#include "../h/seg.h"
-#include "../h/page.h"
-#include "../h/region.h"
+#include "h/mmu.h"
+#include "h/seg.h"
+#include "h/page.h"
+#include "h/region.h"
#endif /* PAGING */
-#include "../h/sysmacros.h"
-#include "../h/signal.h"
-#include "../h/var.h"
+#include "h/sysmacros.h"
+#include "h/signal.h"
+#include "h/var.h"
#endif /* AFS_AUX_ENV */
-#include "../h/systm.h"
-#include "../h/time.h"
+#include "h/systm.h"
+#include "h/time.h"
#ifdef AFS_AIX_ENV
#ifdef AFS_AIX41_ENV
#if defined(AFS_SGI_ENV)
#include "values.h"
-#include "../sys/sema.h"
-#include "../sys/cmn_err.h"
+#include "sys/sema.h"
+#include "sys/cmn_err.h"
#ifdef AFS_SGI64_ENV
#include <ksys/behavior.h>
#endif /* AFS_SGI64_ENV */
-#include "../fs/efs_inode.h"
+#include "fs/efs_inode.h"
#ifdef AFS_SGI_EFS_IOPS_ENV
-#include "../sgiefs/efs.h"
+#include "sgiefs/efs.h"
#endif
-#include "../sys/kmem.h"
-#include "../sys/cred.h"
-#include "../sys/resource.h"
+#include "sys/kmem.h"
+#include "sys/cred.h"
+#include "sys/resource.h"
/*
* ../sys/debug.h defines ASSERT(), but it is nontrivial only if DEBUG
*/
#if defined(AFS_SGI65_ENV) && !defined(DEBUG)
#define DEBUG
-#include "../sys/debug.h"
+#include "sys/debug.h"
#undef DEBUG
#else
-#include "../sys/debug.h"
+#include "sys/debug.h"
#endif
-#include "../sys/statvfs.h"
-#include "../sys/sysmacros.h"
-#include "../sys/fs_subr.h"
-#include "../sys/siginfo.h"
+#include "sys/statvfs.h"
+#include "sys/sysmacros.h"
+#include "sys/fs_subr.h"
+#include "sys/siginfo.h"
#endif /* AFS_SGI_ENV */
#if !defined(AFS_AIX_ENV) && !defined(AFS_SUN5_ENV) && !defined(AFS_SGI_ENV)
-# include "../h/kernel.h"
+# include "h/kernel.h"
#endif /* !SUN5 && !SGI */
#ifdef AFS_SUN5_ENV
#endif
#if defined(AFS_SUN56_ENV)
-#include "../h/vfs.h" /* stops SUN56 socketvar.h warnings */
-#include "../h/stropts.h" /* stops SUN56 socketvar.h warnings */
-#include "../h/stream.h" /* stops SUN56 socketvar.h errors */
+#include "h/vfs.h" /* stops SUN56 socketvar.h warnings */
+#include "h/stropts.h" /* stops SUN56 socketvar.h warnings */
+#include "h/stream.h" /* stops SUN56 socketvar.h errors */
#endif
-#include "../h/socket.h"
-#include "../h/socketvar.h"
-#include "../h/protosw.h"
+#include "h/socket.h"
+#include "h/socketvar.h"
+#include "h/protosw.h"
#if defined(AFS_SGI_ENV) || defined(AFS_SUN_ENV) || defined(AFS_HPUX_ENV) || defined(AFS_SUN5_ENV) || defined(AFS_FBSD_ENV)
-# include "../h/dirent.h"
+# include "h/dirent.h"
# ifdef AFS_SUN5_ENV
-# include "../h/sysmacros.h"
-# include "../h/fs/ufs_fsdir.h"
+# include "h/sysmacros.h"
+# include "h/fs/ufs_fsdir.h"
# endif /* AFS_SUN5_ENV */
#else
-# include "../h/dir.h"
+# include "h/dir.h"
#endif /* SGI || SUN || HPUX */
#ifdef AFS_DEC_ENV
-# include "../h/smp_lock.h"
+# include "h/smp_lock.h"
#endif /* AFS_DEC_ENV */
#if !defined(AFS_SGI64_ENV) && !defined(AFS_FBSD_ENV)
-#include "../h/user.h"
+#include "h/user.h"
#endif /* AFS_SGI64_ENV */
#define MACH_USER_API 1
-#include "../h/file.h"
-#include "../h/uio.h"
-#include "../h/buf.h"
-#include "../h/stat.h"
+#include "h/file.h"
+#include "h/uio.h"
+#include "h/buf.h"
+#include "h/stat.h"
/* ----- The following mainly deal with vnodes/inodes stuff ------ */
#ifdef AFS_DEC_ENV
-# include "../h/mount.h"
-# include "../machine/psl.h"
-# include "../afs/gfs_vnode.h"
+# include "h/mount.h"
+# include "machine/psl.h"
+# include "afs/gfs_vnode.h"
#endif
#ifdef AFS_MACH_ENV
#ifndef AFS_DEC_ENV
# ifdef AFS_SUN5_ENV
-# include "../h/statvfs.h"
+# include "h/statvfs.h"
# endif /* AFS_SUN5_ENV */
# ifdef AFS_HPUX_ENV
struct vfspage; /* for vnode.h compiler warnings */
-# include "../h/swap.h" /* for struct swpdbd, for vnode.h compiler warnings */
-# include "../h/dbd.h" /* for union idbd, for vnode.h compiler warnings */
+# include "h/swap.h" /* for struct swpdbd, for vnode.h compiler warnings */
+# include "h/dbd.h" /* for union idbd, for vnode.h compiler warnings */
# endif /* AFS_HPUX_ENV */
#if defined(AFS_DARWIN_ENV) || defined(AFS_FBSD40_ENV)
# include <sys/uio.h>
# include <ufs/ufs/inode.h>
# include <ufs/ffs/fs.h>
#else
-# include "../h/vfs.h"
-# include "../h/vnode.h"
+# include "h/vfs.h"
+# include "h/vnode.h"
# ifdef AFS_SUN5_ENV
-# include "../h/fs/ufs_inode.h"
-# include "../h/fs/ufs_mount.h"
+# include "h/fs/ufs_inode.h"
+# include "h/fs/ufs_mount.h"
# else
# if !defined(AFS_SGI_ENV) && !defined(AFS_AIX32_ENV)
-# include "../ufs/inode.h"
+# include "ufs/inode.h"
# if !defined(AFS_SGI_ENV) && !defined(AFS_HPUX_ENV)
-# include "../ufs/mount.h"
+# include "ufs/mount.h"
# endif /* !AFS_HPUX_ENV */
# endif /* !AFS_AIX32_ENV */
# endif /* AFS_SUN5_ENV */
#endif /* AFS_DEC_ENV */
/* These mainly deal with networking and rpc headers */
-#include "../netinet/in.h"
+#include "netinet/in.h"
#undef MFREE /* defined at mount.h for AIX */
#ifdef AFS_SUN5_ENV
-# include "../h/time.h"
+# include "h/time.h"
#else
-# include "../h/mbuf.h"
+# include "h/mbuf.h"
#endif /* AFS_SUN5_ENV */
-#include "../rpc/types.h"
-#include "../rx/xdr.h"
+#include "rpc/types.h"
+#include "rx/xdr.h"
#ifdef AFS_AIX32_ENV
# include "net/spl.h"
#endif
/* Miscellaneous headers */
-#include "../h/proc.h"
+#include "h/proc.h"
#if !defined(AFS_FBSD_ENV)
-#include "../h/ioctl.h"
+#include "h/ioctl.h"
#endif /* AFS_FBSD_ENV */
#if defined(AFS_HPUX101_ENV)
-#include "../h/proc_iface.h"
-#include "../h/vas.h"
+#include "h/proc_iface.h"
+#include "h/vas.h"
#endif
#if defined(AFS_HPUX102_ENV)
-#include "../h/unistd.h"
-#include "../h/tty.h"
+#include "h/unistd.h"
+#include "h/tty.h"
#endif
#if !defined(AFS_SGI_ENV) && !defined(AFS_SUN_ENV) && !defined(AFS_MACH_ENV) && !defined(AFS_AIX32_ENV) && !defined(AFS_HPUX_ENV) && !defined(AFS_SUN5_ENV) && !defined(AFS_DARWIN_ENV) && !defined(AFS_FBSD_ENV)
-# include "../h/text.h"
+# include "h/text.h"
#endif
#if defined(AFS_AIX_ENV) || defined(AFS_DEC_ENV)
-# include "../h/flock.h" /* fcntl.h is a user-level include in aix */
+# include "h/flock.h" /* fcntl.h is a user-level include in aix */
#else
-# include "../h/fcntl.h"
+# include "h/fcntl.h"
#endif /* AIX || DEC */
#if defined(AFS_SGI_ENV) || defined(AFS_SUN_ENV) || defined(AFS_SUN5_ENV)
-# include "../h/unistd.h"
+# include "h/unistd.h"
#endif /* SGI || SUN */
#ifdef AFS_AIX32_ENV
-# include "../h/vmuser.h"
+# include "h/vmuser.h"
#endif /* AFS_AIX32_ENV */
#if defined(AFS_SUN5_ENV)
#endif /* AFS_OBSD_ENV */
#endif /* __AFS_SYSINCLUDESH__ so idempotent */
+
+#endif
chmod a+x ${DEST}/root.afsweb/install/${NETSCAPE_INSTALL_SCRIPT}
chmod a+w ${DEST}/root.afsweb/install/${NETSCAPE_INSTALL_SCRIPT}
-all: kinstall ukinstall
+all:
install:
-kinstall:
- @echo No $@ source here.
-
-
-webinstall: ${UKERNELDIR}/afs ${UKSRCS}
- ${INSTALL} ${UKSRCS} ${UKERNELDIR}/afs
-
-${UKERNELDIR}/afs:
- mkdir -p $@
-
-ukinstall:
- @echo No $@ source here.
-
##
## For Apache Afs Web Secure libraries and binaries
## NOTE: APACHE_INCLUDES should point to the Apache src directory where
/* Need declaration of DIR on Win32 */
#ifdef WIN32
-#include "../os/win32/readdir.h"
+#include "os/win32/readdir.h"
#endif
typedef struct pool pool;
#ifdef WIN32
/* include process.h first so we can override spawn[lv]e* properly */
#include <process.h>
-#include "../os/win32/os.h"
+#include "os/win32/os.h"
#else
#include "os.h"
#endif
#endif
#ifdef WIN32
-#include "../include/hsregex.h"
+#include "include/hsregex.h"
#elif defined(USE_HSREGEX)
#include "hsregex.h"
#else
/* Need declaration of DIR on Win32 */
#ifdef WIN32
-#include "../os/win32/readdir.h"
+#include "os/win32/readdir.h"
#endif
typedef struct pool pool;
#ifdef WIN32
/* include process.h first so we can override spawn[lv]e* properly */
#include <process.h>
-#include "../os/win32/os.h"
+#include "os/win32/os.h"
#else
#include "os.h"
#endif
#endif
#ifdef WIN32
-#include "../include/hsregex.h"
+#include "include/hsregex.h"
#elif defined(USE_HSREGEX)
#include "hsregex.h"
#else
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
#include <net/if.h>
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h"
-#include "../afs/afs_usrops.h"
-#include "../afs/auth.h"
-#include "../afs/cellconfig.h"
-#include "../afs/vice.h"
-#include "../afs/kautils.h"
-#include "../afs/nsafs.h"
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h"
+#include "afs_usrops.h"
+#include "afs/auth.h"
+#include "afs/cellconfig.h"
+#include "afs/vice.h"
+#include "afs/kautils.h"
+#include "afs/nsafs.h"
#define NSAFS_DFLT_RCVTHREADS 2 /* Dflt number recevice threads */
#define NSAFS_BUFFER_SIZE 4096 /* Send/Receive buffer size */
/*
* Interface for pioctls - used for unlogging
*/
-#include "../afs/venus.h"
+#include "afs/venus.h"
int do_pioctl(char *in_buffer, int in_size,
char *out_buffer, int out_size,
int opcode, char *path, int followSymLinks)
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../afs/sysincludes.h" /* Standard vendor system headers */
+#include "afs/sysincludes.h" /* Standard vendor system headers */
#include <net/if.h>
-#include "../afs/afsincludes.h" /* Afs-based standard headers */
-#include "../afs/afs_stats.h"
-#include "../afs/auth.h"
-#include "../afs/cellconfig.h"
-#include "../afs/vice.h"
-#include "../afs/nsafs.h"
+#include "afsincludes.h" /* Afs-based standard headers */
+#include "afs/afs_stats.h"
+#include "afs/auth.h"
+#include "afs/cellconfig.h"
+#include "afs/vice.h"
+#include "afs/nsafs.h"
static int big_endian;
CFLAGS=-I. -I${srcdir} ${OPTMZ} -I${TOP_OBJDIR}/src/config -I${TOP_INCDIR} ${XCFLAGS}
-all: ukinstall ${TOP_LIBDIR}/libaudit.a ${TOP_INCDIR}/afs/audit.h
+all: ${TOP_LIBDIR}/libaudit.a ${TOP_INCDIR}/afs/audit.h
# XXX-INST: where to install the AIX audit files?
-install: ${DESTDIR}${libdir}/afs/libaudit.a ${DESTDIR}${includedir}/afs/audit.h
-
-ukinstall: ${UKERNELDIR}/afs ${UKERNELDIR}/afs/audit.h
-
-${UKERNELDIR}/afs:
- mkdir -p ${UKERNELDIR}/afs
-
-${UKERNELDIR}/afs/audit.h: audit.h
- ${INSTALL} $? $@
+install: \
+ ${DESTDIR}${libdir}/afs/libaudit.a \
+ ${DESTDIR}${includedir}/afs/audit.h
${DEST}/include/afs/audit.h: audit.h
${INSTALL} $? $@
UKSRCS=${KSRCS} cellconfig.h acfg_errors.c keys.h cellconfig.c \
ktc.c authcon.c ktc_errors.c
-all: kinstall ukinstall ${TOP_LIBDIR}/libauth.a ${TOP_LIBDIR}/libauth.krb.a ${TOP_INCDIR}/afs/keys.h ${TOP_INCDIR}/afs/cellconfig.h ${TOP_INCDIR}/afs/auth.h copyauth setkey
+all: ${TOP_LIBDIR}/libauth.a ${TOP_LIBDIR}/libauth.krb.a depinstall copyauth setkey
+
+depinstall: ${TOP_INCDIR}/afs/keys.h ${TOP_INCDIR}/afs/cellconfig.h ${TOP_INCDIR}/afs/auth.h
cellconfig.o: cellconfig.c ${INCLS}
ktc.o: ktc.c ${INCLS} ${TOP_INCDIR}/afs/vice.h
#
# Install targets
#
-kinstall: ${KERNELDIR}/afs/auth.h
-
-${KERNELDIR}/afs/auth.h: auth.h
- ${INSTALL} $? $@
-
-ukinstall: \
- ${UKERNELDIR}/afs/auth.h \
- ${UKERNELDIR}/afs/cellconfig.h \
- ${UKERNELDIR}/afs/acfg_errors.c \
- ${UKERNELDIR}/afs/keys.h \
- ${UKERNELDIR}/afs/cellconfig.c \
- ${UKERNELDIR}/afs/ktc.c \
- ${UKERNELDIR}/afs/authcon.c \
- ${UKERNELDIR}/afs/ktc_errors.c
-
-${UKERNELDIR}/afs/auth.h: auth.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afs/cellconfig.h: cellconfig.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afs/cellconfig.c: cellconfig.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afs/acfg_errors.c: acfg_errors.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afs/keys.h: keys.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afs/ktc.c: ktc.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afs/authcon.c: authcon.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afs/ktc_errors.c: ktc_errors.c
- ${INSTALL} $? $@
-
install: ${DESTDIR}${libdir}/afs/libauth.a ${DESTDIR}${libdir}/afs/libauth.krb.a ${DESTDIR}${includedir}/afs/keys.h ${DESTDIR}${includedir}/afs/cellconfig.h ${DESTDIR}${includedir}/afs/auth.h ${DESTDIR}${sbindir}/copyauth
${DEST}/lib/afs/libauth.a: libauth.a
#include <afsconfig.h>
#if defined(UKERNEL)
-#include "../afs/param.h"
+#include "afs/param.h"
#else
#include <afs/param.h>
#endif
RCSID("$Header$");
#if defined(UKERNEL)
-#include "../afs/sysincludes.h"
-#include "../afs/afsincludes.h"
-#include "../afs/stds.h"
-#include "../afs/pthread_glock.h"
-#include "../des/des.h"
-#include "../rx/rxkad.h"
-#include "../rx/rx.h"
-#include "../afs/cellconfig.h"
-#include "../afs/keys.h"
-#include "../afs/auth.h"
-#include "../afs/pthread_glock.h"
+#include "afs/sysincludes.h"
+#include "afsincludes.h"
+#include "afs/stds.h"
+#include "afs/pthread_glock.h"
+#include "des/des.h"
+#include "rx/rxkad.h"
+#include "rx/rx.h"
+#include "afs/cellconfig.h"
+#include "afs/keys.h"
+#include "afs/auth.h"
+#include "afs/pthread_glock.h"
#else /* defined(UKERNEL) */
#include <afs/stds.h>
#include <afs/pthread_glock.h>
#include <afs/stds.h>
#include <afs/pthread_glock.h>
#ifdef UKERNEL
-#include "../afs/sysincludes.h"
-#include "../afs/afsincludes.h"
+#include "afs/sysincludes.h"
+#include "afsincludes.h"
#else /* UKERNEL */
#include <sys/types.h>
#ifdef AFS_NT40_ENV
#include <afsconfig.h>
#if defined(UKERNEL)
-#include "../afs/param.h"
+#include "afs/param.h"
#else
#include <afs/param.h>
#endif
RCSID("$Header$");
#if defined(UKERNEL)
-#include "../afs/sysincludes.h"
-#include "../afs/afsincludes.h"
-#include "../afs/stds.h"
-#include "../afs/pthread_glock.h"
-#include "../afs/vice.h"
-#include "../afs/auth.h"
-#include "../afs/venus.h"
-#include "../afs/pthread_glock.h"
-#include "../afs/dirpath.h"
+#include "afs/sysincludes.h"
+#include "afsincludes.h"
+#include "afs/stds.h"
+#include "afs/pthread_glock.h"
+#include "afs/vice.h"
+#include "afs/auth.h"
+#include "afs/venus.h"
+#include "afs/pthread_glock.h"
+#include "afs/dirpath.h"
#if !defined(min)
#define min(a,b) ((a)<(b)?(a):(b))
#include <rpc.h>
#include <afs/smb_iocons.h>
#include <afs/pioctl_nt.h>
-#include "../WINNT/afsd/afsrpc.h"
+#include "WINNT/afsd/afsrpc.h"
#include <afs/vice.h>
#include "auth.h"
#include <afs/afsutil.h>
system: test
-kinstall:
- @echo No kernel source here.
-
clean:
$(RM) -f *.a *.o ctest dtest itest core
CFLAGS=${OPTMZ} -I${TOP_INCDIR} -I${TOP_OBJDIR}/src/config -I. -I${srcdir} ${XCFLAGS}
-all: ukinstall compile_et ${TOP_INCDIR}/afs/com_err.h ${TOP_INCDIR}/afs/error_table.h ${TOP_INCDIR}/afs/mit-sipb-cr.h ${TOP_LIBDIR}/libcom_err.a
+all: compile_et ${TOP_INCDIR}/afs/com_err.h ${TOP_INCDIR}/afs/error_table.h ${TOP_INCDIR}/afs/mit-sipb-cr.h ${TOP_LIBDIR}/libcom_err.a
et_lex.lex.c: et_lex.lex.l
$(RM) -f et_lex.lex.c
#
# Installation targets
#
-ukinstall: \
- ${UKERNELDIR}/afs \
- ${UKERNELDIR}/afs/com_err.c \
- ${UKERNELDIR}/afs/com_err.h \
- ${UKERNELDIR}/afs/error_msg.c \
- ${UKERNELDIR}/afs/error_table.h \
- ${UKERNELDIR}/afs/mit-sipb-cr.h \
- ${UKERNELDIR}/afs/internal.h \
- ${UKERNELDIR}/afs/et_name.c
-
install: ${DESTDIR}${bindir}/compile_et ${DESTDIR}${includedir}/afs/com_err.h ${DESTDIR}${includedir}/afs/error_table.h ${DESTDIR}${includedir}/afs/mit-sipb-cr.h ${DESTDIR}${libdir}/afs/libcom_err.a
-${UKERNELDIR}/afs:
- mkdir -p $@
-
-${UKERNELDIR}/afs/com_err.c: com_err.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afs/com_err.h: com_err.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afs/error_msg.c: error_msg.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afs/error_table.h: error_table.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afs/mit-sipb-cr.h: mit-sipb-cr.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afs/internal.h: internal.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afs/et_name.c: et_name.c
- ${INSTALL} $? $@
-
${DEST}/bin/compile_et: compile_et
${INSTALL} $? $@
INST=$(RM) -f $@; $(CP) $? $@
-all: config mkvers ukinstall kinstall \
+all: config mkvers \
${TOP_INCDIR}/afs/param.h \
${TOP_INCDIR}/afs/stds.h \
${TOP_INCDIR}/afs/afs_sysnames.h \
AFS_component_version_number.c: Makefile.version
$(MAKE) -f Makefile.version AFS_component_version_number.c
-${KERNELDIR}/afs/AFS_component_version_number.c: AFS_component_version_number.c
- $(INST)
-
-${UKERNELDIR}/afs/AFS_component_version_number.c: AFS_component_version_number.c
- $(INST)
-
#
# App build/install targets
#
#
# Include installation targets
#
-KDIRS = ${KERNELDIR}/afs \
- ${KERNELDIR}/rx \
- ${KERNELDIR}/afsint \
- ${KERNELDIR}/config
-$(KDIRS):
+${TOP_INCDIR}/afs: ${TOP_INCDIR}
mkdir -p $@
-UKDIRS = ${UKERNELDIR}/afs \
- ${UKERNELDIR}/rx \
- ${UKERNELDIR}/afsint \
- ${UKERNELDIR}/config
-
-$(UKDIRS):
+${TOP_INCDIR}:
mkdir -p $@
# XXX inlined INST
-${KERNELDIR}/afs/param.h ${DEST}/include/afs/param.h ${DESTDIR}${includedir}/afs/param.h ${TOP_INCDIR}/afs/param.h: ${srcdir}/param.${SYS_NAME}.h ${AFS_PARAM_COMMON}
- if [ X${AFS_PARAM_COMMON} != X ] ; then \
+${DEST}/include/afs/param.h ${DESTDIR}${includedir}/afs/param.h ${TOP_INCDIR}/afs/param.h: ${TOP_INCDIR}/afs ${srcdir}/param.${SYS_NAME}.h ${AFS_PARAM_COMMON}
+ if [ "X${AFS_PARAM_COMMON}" != "X" ] ; then \
cat ${srcdir}/${AFS_PARAM_COMMON} ${srcdir}/param.${SYS_NAME}.h > param.h.new ; \
$(RM) -f $@; \
$(CP) param.h.new $@ ; \
$(RM) -f $@; $(CP) ${srcdir}/param.${SYS_NAME}.h $@ ; \
fi
-${UKERNELDIR}/afs/afs_sysnames.h ${KERNELDIR}/afs/afs_sysnames.h ${DEST}/include/afs/afs_sysnames.h ${DESTDIR}${includedir}/afs/afs_sysnames.h ${TOP_INCDIR}/afs/afs_sysnames.h: ${srcdir}/afs_sysnames.h
+${DEST}/include/afs/afs_sysnames.h ${DESTDIR}${includedir}/afs/afs_sysnames.h ${TOP_INCDIR}/afs/afs_sysnames.h: ${srcdir}/afs_sysnames.h
$(INST)
-${UKERNELDIR}/afs/stds.h ${KERNELDIR}/afs/stds.h ${DEST}/include/afs/stds.h ${DESTDIR}${includedir}/afs/stds.h ${TOP_INCDIR}/afs/stds.h: ${srcdir}/stds.h
+${DEST}/include/afs/stds.h ${DESTDIR}${includedir}/afs/stds.h ${TOP_INCDIR}/afs/stds.h: ${srcdir}/stds.h
$(INST)
-${UKERNELDIR}/afs/icl.h ${KERNELDIR}/afs/icl.h ${DEST}/include/afs/icl.h ${DESTDIR}${includedir}/afs/icl.h ${TOP_INCDIR}/afs/icl.h: ${srcdir}/icl.h
+${DEST}/include/afs/icl.h ${DESTDIR}${includedir}/afs/icl.h ${TOP_INCDIR}/afs/icl.h: ${srcdir}/icl.h
$(INST)
-${UKERNELDIR}/afs/afs_args.h ${KERNELDIR}/afs/afs_args.h ${DEST}/include/afs/afs_args.h ${DESTDIR}${includedir}/afs/afs_args.h ${TOP_INCDIR}/afs/afs_args.h: ${srcdir}/afs_args.h
+${DEST}/include/afs/afs_args.h ${DESTDIR}${includedir}/afs/afs_args.h ${TOP_INCDIR}/afs/afs_args.h: ${srcdir}/afs_args.h
$(INST)
-${UKERNELDIR}/afs/venus.h ${DEST}/include/afs/venus.h ${DESTDIR}${includedir}/afs/venus.h ${TOP_INCDIR}/afs/venus.h: ${srcdir}/venus.h
+${DEST}/include/afs/venus.h ${DESTDIR}${includedir}/afs/venus.h ${TOP_INCDIR}/afs/venus.h: ${srcdir}/venus.h
$(INST)
${DEST}/include/afs/debug.h ${DESTDIR}${includedir}/afs/debug.h ${TOP_INCDIR}/afs/debug.h: ${srcdir}/debug.h
$(INST)
-${UKERNELDIR}/afs/param.h: ${srcdir}/param.${SYS_NAME}_usr.h
- $(INST)
-
# these are needed to compile the kernel. Config is necessary to
# convert the MakefileProto in libafs and the kernel links provide the
# kernel include environment. param.h is, well, param.h. The afs_sysnames.h
${DESTDIR}${includedir}/afs/venus.h \
${DESTDIR}${includedir}/afs/debug.h
-kinstall: \
- $(KDIRS) \
- ${KERNELDIR}/afs/param.h \
- ${KERNELDIR}/afs/stds.h \
- ${KERNELDIR}/afs/afs_sysnames.h \
- ${KERNELDIR}/afs/afs_args.h \
- ${KERNELDIR}/afs/icl.h \
- ${KERNELDIR}/afs/AFS_component_version_number.c
-
-ukinstall: \
- $(UKDIRS) \
- ${UKERNELDIR}/afs/param.h \
- ${UKERNELDIR}/afs/stds.h \
- ${UKERNELDIR}/afs/afs_sysnames.h \
- ${UKERNELDIR}/afs/afs_args.h \
- ${UKERNELDIR}/afs/icl.h \
- ${UKERNELDIR}/afs/venus.h \
- ${UKERNELDIR}/afs/AFS_component_version_number.c
-
clean:
$(RM) -f *.o config mkvers core xprt AFS_component_version_number.c param.h.new
--- /dev/null
+make_vnode.pl
+Makefile.config.in
+Makefile.version
+afsconfig.h.in
--- /dev/null
+#!/usr/bin/perl
+$| = 1;
+#
+# Build the libafs_tree by reading component list files in the src dir, and copying the
+# listed files from the src and obj dirs into the libafs_tree directory.
+#
+# Dependent components are listed in file named "libafsdep" in each dir with dependencies.
+#
+use File::Find;
+use File::Path;
+
+my $quiet = 0;
+my $showonly = 0;
+
+while ( $_ = shift @ARGV )
+{
+ if (m/^-t/) { $treedir = testArg( shift @ARGV ); next; }
+ if (m/^-p/) { $projdir = testArg( shift @ARGV ); next; }
+ if (m/^-sn/) { $sysname = testArg( shift @ARGV ); next; }
+
+ if (m/^-os/) { $ostype = testArg( shift @ARGV ); next; }
+ elsif (m/^-o/) { $objdir = testArg( shift @ARGV ); next; }
+
+ if (m/^-q/) { $quiet = 1; next; }
+ if (m/^-n/) { $showonly = 1; next; }
+ usage;
+}
+if ( !$treedir || !$projdir || !$ostype || !$sysname)
+{
+ &usage;
+ exit 1;
+}
+if ( !$objdir )
+{
+ $objdir = $projdir;
+}
+
+$quiet || print "libafs_tree_dir = $treedir\n";
+$quiet || print "top_proj_dir = $projdir\n";
+$quiet || print "top_obj_dir = $objdir\n";
+$quiet || print "\n";
+my $qprojdir = quotemeta($projdir);
+
+#
+# Start with an empty dir
+#
+if ( -e $treedir && ! -d $treedir )
+{
+ die "Ick. Destination is not a directory and already exists!\n";
+}
+elsif ( -e $treedir )
+{
+ #$quiet || print "Cleaning up previous tree build:\n";
+ #rmtree([$treedir],!$quiet,0);
+ #$quiet || print "Done.\n\n";
+}
+
+#
+# Find all the dep list files in the src dir
+#
+finddepth(\&find_libafsdep, $projdir);
+
+#
+# Manual actions
+#
+©it("$projdir/configure-libafs", "$treedir/configure-libafs");
+©it("$projdir/Makefile-libafs.in", "$treedir/Makefile.in");
+
+system("$objdir/src/config/config",
+ "$projdir/src/libafs/MakefileProto.$ostype.in",
+ "$treedir/src/libafs/Makefile.in",
+ $sysname);
+
+#
+# Subs
+#
+
+sub find_libafsdep
+{
+ my ($fname) = $_;
+
+ if ( $fname eq "libafsdep" )
+ {
+ &process_libafsdep($File::Find::dir, $fname);
+ }
+}
+
+sub process_libafsdep
+{
+ my ($dir, $depname) = @_;
+ my ($file);
+
+ my $subdir = $dir;
+ $subdir =~ s|^$qprojdir||o;
+ $subdir =~ s|^/||gio;
+ $subdir =~ s|/$||gio;
+
+ print "# $dir/$depname\n";
+ open(COMPS, "$dir/$depname");
+ while ( defined($file = <COMPS>) )
+ {
+ my ($destdir, $proj_src,$obj_src);
+
+ chomp($file);
+ $file =~ s|#.*||gio;
+
+ #
+ # do some simple substitution in dep file
+ #
+ $file =~ s/MKAFS_OSTYPE/$ostype/ge;
+ $file =~ s/AFS_SYSNAME/$sysname/ge;
+
+ next if ( $file eq "" );
+
+ $proj_src = "$projdir/$subdir/$file";
+ $obj_src = "$objdir/$subdir/$file";
+ $proj_src =~ s|//+|/|gio;
+ $obj_src =~ s|//+|/|gio;
+
+ if ( $file !~ /\*/ && $file !~ /\[/ ) # no globs in filename
+ {
+ my $fname = $file;
+ $fname =~ s|.*/||gio;
+
+ if ( -f $proj_src )
+ {
+ $destdir = mkfullpath($projdir, $proj_src, $treedir);
+ copyit($proj_src, "$destdir/$fname");
+ }
+
+ if ( $obj_src ne $proj_src && -f $obj_src)
+ {
+ $destdir = mkfullpath($objdir, $obj_src, $treedir);
+ copyit($obj_src, "$destdir/$fname");
+ }
+ }
+ else
+ {
+ #print "Globbing ($proj_src)\n";
+ foreach my $src ( glob($proj_src) )
+ {
+ my $fname = $src;
+ $fname =~ s|.*/||gio;
+
+ $destdir = mkfullpath($projdir, $src, $treedir);
+ copyit($src, "$destdir/$fname");
+ }
+ #print "Globbing ($obj_src)\n";
+ foreach my $src ( glob($obj_src) )
+ {
+ my $fname = $src;
+ $fname =~ s|.*/||gio;
+
+ $destdir = mkfullpath($objdir, $src, $treedir);
+ copyit($src, "$destdir/$fname");
+ }
+ }
+ }
+ close(COMPS);
+
+ $quiet || print "\n";
+}
+
+sub usage
+{
+ print "usage: $0 -p top_proj_dir -os mkafs_ostype -sn sysname\n";
+ print "\t\t[-o top_obj_dir] [-t libafs_tree_dir] [-h] [-q] [-n]\n";
+ print "\ttop_proj_dir = /path/to/openafs - top level of openafs checkout/tarball\n";
+ print "\ttop_obj_dir = /path/to/objdir - top level of build directory, defaults to top_proj_dir\n";
+ print "\tlibafs_tree_dir = /path/to/libafs_tree - tree dir to create, defaults to top_obj_dir/libafs_tree\n";
+ print "\t-os = ostype value (i.e. LINUX)\n";
+ print "\t-sn = afs sysname (i.e. i386_linux24)\n";
+ print "\t-q = quiet build\n";
+ print "\t-n = just show what will be done\n";
+ print "\t-h = show this message\n";
+
+ exit 1;
+}
+
+sub testArg
+{
+ my ($arg) = @_;
+ return $arg if ( $arg && $arg ne "" );
+ usage;
+}
+
+sub mkfullpath
+{
+ my ($frombase, $fromfile, $destbase) = @_;
+ my $qfrombase = quotemeta $frombase;
+
+ my $subdir = $fromfile;
+ $subdir =~ s|^$qfrombase||;
+ $subdir =~ s|^(.*)/(.*?)$|$1|o;
+ $subdir =~ s|^/||gio;
+ $subdir =~ s|/$||gio;
+ $subdir =~ s|//+|/|gio;
+
+ my $destdir = "$destbase/$subdir";
+ $destdir =~ s|/$||gio;
+ $destdir =~ s|//+|/|gio;
+
+ $showonly || mkpath([$destdir], !$quiet, 0755);
+
+ return $destdir;
+}
+
+sub copyit
+{
+ my ( $from, $to ) = @_;
+ my (@from, @new);
+
+ @from = stat($from);
+ @to = stat($to);
+
+ if ( ($#to < 0) || ($from[7] != $to[7]) || ($from[9] != $to[9]) )
+ {
+ $quiet || print "+ cp -p $from $to\n";
+ $showonly || system( "cp", "-p", $from, $to );
+ }
+}
+
+
+exit 0;
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
/*
* Copyright 2000, International Business Machines Corporation and others.
* All Rights Reserved.
#endif /* _KERNEL */
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+/*
+ * 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
+ */
+
+#ifndef AFS_PARAM_H
+#define AFS_PARAM_H
+
+#define AFS_VFS_ENV 1
+/* Used only in vfsck code; is it needed any more???? */
+#define RXK_LISTENER_ENV 1
+#define AFS_USERSPACE_IP_ADDR 1
+#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
+
+#define UKERNEL 1 /* user space kernel */
+#define AFS_GREEDY43_ENV 1 /* Used only in rx/rx_user.c */
+#define AFS_64BIT_ENV 1
+#define AFS_ENV 1
+#define AFS_USR_OSF_ENV 1
+#define AFS_USR_DUX40_ENV 1
+
+#include <afs/afs_sysnames.h>
+
+/*#define AFS_GLOBAL_SUNLOCK 1*/ /* For global locking */
+
+#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
+#define AFS_SYSCALL 232
+
+/* File system entry (used if mount.h doesn't define MOUNT_AFS */
+#define AFS_MOUNT_AFS 1
+
+/* Machine / Operating system information */
+#define sys_alpha_dux40 1
+#define SYS_NAME "alpha_dux40"
+#define SYS_NAME_ID SYS_NAME_ID_alpha_dux40
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
+#define AFSLITTLE_ENDIAN 1
+
+/* Extra kernel definitions (from kdefs file) */
+#ifdef KERNEL
+#define AFS_UIOFMODE 1 /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
+#define AFS_SYSVLOCK 1 /* sys v locking supported */
+/*#define AFS_USEBUFFERS 1*/
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_fmode uio_fmode
+#define afsio_resid uio_resid
+#define AFS_UIOSYS 1
+#define AFS_UIOUSER UIO_USERSPACE
+#define AFS_CLBYTES MCLBYTES
+#define AFS_MINCHANGE 2
+#define VATTR_NULL usr_vattr_null
+#endif /* KERNEL */
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+#define ROOTINO UFSROOTINO
+
+#endif /* AFS_PARAM_H */
+
+#endif /* !defined(UKERNEL) */
-/*
- * 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
- */
-
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-#define AFS_VFS_ENV 1
-/* Used only in vfsck code; is it needed any more???? */
-#define RXK_LISTENER_ENV 1
-#define AFS_USERSPACE_IP_ADDR 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_GREEDY43_ENV 1 /* Used only in rx/rx_user.c */
-#define AFS_64BIT_ENV 1
-#define AFS_ENV 1
-#define AFS_USR_OSF_ENV 1
-#define AFS_USR_DUX40_ENV 1
-
-#include <afs/afs_sysnames.h>
-
-/*#define AFS_GLOBAL_SUNLOCK 1*/ /* For global locking */
-
-#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
-#define AFS_SYSCALL 232
-
-/* File system entry (used if mount.h doesn't define MOUNT_AFS */
-#define AFS_MOUNT_AFS 1
-
-/* Machine / Operating system information */
-#define sys_alpha_dux40 1
-#define SYS_NAME "alpha_dux40"
-#define SYS_NAME_ID SYS_NAME_ID_alpha_dux40
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-#define AFSLITTLE_ENDIAN 1
-
-/* Extra kernel definitions (from kdefs file) */
-#ifdef KERNEL
-#define AFS_UIOFMODE 1 /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
-#define AFS_SYSVLOCK 1 /* sys v locking supported */
-/*#define AFS_USEBUFFERS 1*/
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MCLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-#endif /* KERNEL */
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-#define ROOTINO UFSROOTINO
-
-#endif /* AFS_PARAM_H */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
/*
* Copyright 2000, International Business Machines Corporation and others.
* All Rights Reserved.
#endif /* _KERNEL */
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+/*
+ * 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
+ */
+
+#ifndef AFS_PARAM_H
+#define AFS_PARAM_H
+
+#define AFS_VFS_ENV 1
+/* Used only in vfsck code; is it needed any more???? */
+#define RXK_LISTENER_ENV 1
+#define AFS_USERSPACE_IP_ADDR 1
+#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
+
+#define UKERNEL 1 /* user space kernel */
+#define AFS_GREEDY43_ENV 1 /* Used only in rx/rx_user.c */
+#define AFS_64BIT_ENV 1
+#define AFS_ENV 1
+#define AFS_USR_OSF_ENV 1
+#define AFS_USR_DUX40_ENV 1
+
+#include <afs/afs_sysnames.h>
+
+/*#define AFS_GLOBAL_SUNLOCK 1*/ /* For global locking */
+
+#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
+#define AFS_SYSCALL 232
+
+/* File system entry (used if mount.h doesn't define MOUNT_AFS */
+#define AFS_MOUNT_AFS 1
+
+/* Machine / Operating system information */
+#define sys_alpha_dux40 1
+#define SYS_NAME "alpha_dux50"
+#define SYS_NAME_ID SYS_NAME_ID_alpha_dux50
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
+#define AFSLITTLE_ENDIAN 1
+
+/* Extra kernel definitions (from kdefs file) */
+#ifdef KERNEL
+#define AFS_UIOFMODE 1 /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
+#define AFS_SYSVLOCK 1 /* sys v locking supported */
+/*#define AFS_USEBUFFERS 1*/
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_fmode uio_fmode
+#define afsio_resid uio_resid
+#define AFS_UIOSYS 1
+#define AFS_UIOUSER UIO_USERSPACE
+#define AFS_CLBYTES MCLBYTES
+#define AFS_MINCHANGE 2
+#define VATTR_NULL usr_vattr_null
+#endif /* KERNEL */
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+#define ROOTINO UFSROOTINO
+
+#endif /* AFS_PARAM_H */
+
+#endif /* !defined(UKERNEL) */
-/*
- * 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
- */
-
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-#define AFS_VFS_ENV 1
-/* Used only in vfsck code; is it needed any more???? */
-#define RXK_LISTENER_ENV 1
-#define AFS_USERSPACE_IP_ADDR 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_GREEDY43_ENV 1 /* Used only in rx/rx_user.c */
-#define AFS_64BIT_ENV 1
-#define AFS_ENV 1
-#define AFS_USR_OSF_ENV 1
-#define AFS_USR_DUX40_ENV 1
-
-#include <afs/afs_sysnames.h>
-
-/*#define AFS_GLOBAL_SUNLOCK 1*/ /* For global locking */
-
-#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
-#define AFS_SYSCALL 232
-
-/* File system entry (used if mount.h doesn't define MOUNT_AFS */
-#define AFS_MOUNT_AFS 1
-
-/* Machine / Operating system information */
-#define sys_alpha_dux40 1
-#define SYS_NAME "alpha_dux50"
-#define SYS_NAME_ID SYS_NAME_ID_alpha_dux50
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-#define AFSLITTLE_ENDIAN 1
-
-/* Extra kernel definitions (from kdefs file) */
-#ifdef KERNEL
-#define AFS_UIOFMODE 1 /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
-#define AFS_SYSVLOCK 1 /* sys v locking supported */
-/*#define AFS_USEBUFFERS 1*/
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MCLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-#endif /* KERNEL */
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-#define ROOTINO UFSROOTINO
-
-#endif /* AFS_PARAM_H */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
/*
* Copyright 2000, International Business Machines Corporation and others.
* All Rights Reserved.
#endif /* _KERNEL */
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+/*
+ * 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
+ */
+
+#ifndef AFS_PARAM_H
+#define AFS_PARAM_H
+
+#define AFS_VFS_ENV 1
+/* Used only in vfsck code; is it needed any more???? */
+#define RXK_LISTENER_ENV 1
+#define AFS_USERSPACE_IP_ADDR 1
+#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
+
+#define UKERNEL 1 /* user space kernel */
+#define AFS_GREEDY43_ENV 1 /* Used only in rx/rx_user.c */
+#define AFS_64BIT_ENV 1
+#define AFS_ENV 1
+#define AFS_USR_OSF_ENV 1
+#define AFS_USR_DUX40_ENV 1
+
+#include <afs/afs_sysnames.h>
+
+/*#define AFS_GLOBAL_SUNLOCK 1*/ /* For global locking */
+
+#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
+#define AFS_SYSCALL 232
+
+/* File system entry (used if mount.h doesn't define MOUNT_AFS */
+#define AFS_MOUNT_AFS 1
+
+/* Machine / Operating system information */
+#define sys_alpha_dux40 1
+#define SYS_NAME "alpha_dux51"
+#define SYS_NAME_ID SYS_NAME_ID_alpha_dux51
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
+#define AFSLITTLE_ENDIAN 1
+
+/* Extra kernel definitions (from kdefs file) */
+#ifdef KERNEL
+#define AFS_UIOFMODE 1 /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
+#define AFS_SYSVLOCK 1 /* sys v locking supported */
+/*#define AFS_USEBUFFERS 1*/
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_fmode uio_fmode
+#define afsio_resid uio_resid
+#define AFS_UIOSYS 1
+#define AFS_UIOUSER UIO_USERSPACE
+#define AFS_CLBYTES MCLBYTES
+#define AFS_MINCHANGE 2
+#define VATTR_NULL usr_vattr_null
+#endif /* KERNEL */
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+#define ROOTINO UFSROOTINO
+
+#endif /* AFS_PARAM_H */
+
+#endif /* !defined(UKERNEL) */
-/*
- * 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
- */
-
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-#define AFS_VFS_ENV 1
-/* Used only in vfsck code; is it needed any more???? */
-#define RXK_LISTENER_ENV 1
-#define AFS_USERSPACE_IP_ADDR 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_GREEDY43_ENV 1 /* Used only in rx/rx_user.c */
-#define AFS_64BIT_ENV 1
-#define AFS_ENV 1
-#define AFS_USR_OSF_ENV 1
-#define AFS_USR_DUX40_ENV 1
-
-#include <afs/afs_sysnames.h>
-
-/*#define AFS_GLOBAL_SUNLOCK 1*/ /* For global locking */
-
-#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
-#define AFS_SYSCALL 232
-
-/* File system entry (used if mount.h doesn't define MOUNT_AFS */
-#define AFS_MOUNT_AFS 1
-
-/* Machine / Operating system information */
-#define sys_alpha_dux40 1
-#define SYS_NAME "alpha_dux51"
-#define SYS_NAME_ID SYS_NAME_ID_alpha_dux51
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-#define AFSLITTLE_ENDIAN 1
-
-/* Extra kernel definitions (from kdefs file) */
-#ifdef KERNEL
-#define AFS_UIOFMODE 1 /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
-#define AFS_SYSVLOCK 1 /* sys v locking supported */
-/*#define AFS_USEBUFFERS 1*/
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MCLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-#endif /* KERNEL */
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-#define ROOTINO UFSROOTINO
-
-#endif /* AFS_PARAM_H */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
#ifndef _PARAM_ALPHA_LINUX2216_22_H_
#define _PARAM_ALPHA_LINUX2216_22_H_
#endif /* KERNEL */
#endif /* _PARAM_ALPHA_LINUX2216_22_H_ */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+#ifndef _PARAM_ALPHA_LINUX2216_22_USR_H_
+#define _PARAM_ALPHA_LINUX2216_22_USR_H_
+
+/* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel,
+ * it's a judgment call. If something is obviously sparc64 specific, use that
+ * #define instead. Note that "20" refers to the linux 2.0 kernel. The "2"
+ * in the sysname is the current version of the client. This takes into
+ * account the perferred OS user space configuration as well as the kernel.
+ */
+
+#define UKERNEL 1 /* user space kernel */
+#define AFS_ENV 1
+#define AFS_USR_LINUX20_ENV 1
+#define AFS_USR_LINUX22_ENV 1
+#define AFS_NONFSTRANS 1
+
+#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
+#define AFS_SYSCALL 338
+#define AFS_64BIT_IOPS_ENV 1
+#define AFS_64BIT_ENV 1
+#define AFS_NAMEI_ENV 1 /* User space interface to file system */
+#include <afs/afs_sysnames.h>
+
+#define AFS_USERSPACE_IP_ADDR 1
+#define RXK_LISTENER_ENV 1
+#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
+
+
+/* Machine / Operating system information */
+#define SYS_NAME "alpha_linux_22"
+#define SYS_NAME_ID SYS_NAME_ID_alpha_linux_22
+#define AFSLITTLE_ENDIAN 1
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
+#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
+
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_fmode uio_fmode
+#define afsio_resid uio_resid
+#define AFS_UIOSYS 1
+#define AFS_UIOUSER UIO_USERSPACE
+#define AFS_CLBYTES MCLBYTES
+#define AFS_MINCHANGE 2
+#define VATTR_NULL usr_vattr_null
+
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+
+#endif /* _PARAM_ALPHA_LINUX2216_22_USR_H_ */
+
+#endif /* !defined(UKERNEL) */
-#ifndef _PARAM_ALPHA_LINUX2216_22_USR_H_
-#define _PARAM_ALPHA_LINUX2216_22_USR_H_
-
-/* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel,
- * it's a judgment call. If something is obviously sparc64 specific, use that
- * #define instead. Note that "20" refers to the linux 2.0 kernel. The "2"
- * in the sysname is the current version of the client. This takes into
- * account the perferred OS user space configuration as well as the kernel.
- */
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_ENV 1
-#define AFS_USR_LINUX20_ENV 1
-#define AFS_USR_LINUX22_ENV 1
-#define AFS_NONFSTRANS 1
-
-#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
-#define AFS_SYSCALL 338
-#define AFS_64BIT_IOPS_ENV 1
-#define AFS_64BIT_ENV 1
-#define AFS_NAMEI_ENV 1 /* User space interface to file system */
-#include <afs/afs_sysnames.h>
-
-#define AFS_USERSPACE_IP_ADDR 1
-#define RXK_LISTENER_ENV 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-
-/* Machine / Operating system information */
-#define SYS_NAME "alpha_linux_22"
-#define SYS_NAME_ID SYS_NAME_ID_alpha_linux_22
-#define AFSLITTLE_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
-
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MCLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-
-#endif /* _PARAM_ALPHA_LINUX2216_22_USR_H_ */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
#ifndef _PARAM_ALPHA_LINUX_24_H_
#define _PARAM_ALPHA_LINUX_24_H_
#endif /* KERNEL */
#endif /* _PARAM_ALPHA_LINUX_24_H_ */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+#ifndef _PARAM_ALPHA_LINUX_24_USR_H_
+#define _PARAM_ALPHA_LINUX_24_USR_H_
+
+/* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel,
+ * it's a judgment call. If something is obviously sparc64 specific, use that
+ * #define instead. Note that "20" refers to the linux 2.0 kernel. The "2"
+ * in the sysname is the current version of the client. This takes into
+ * account the perferred OS user space configuration as well as the kernel.
+ */
+
+#define UKERNEL 1 /* user space kernel */
+#define AFS_ENV 1
+#define AFS_USR_LINUX20_ENV 1
+#define AFS_USR_LINUX22_ENV 1
+#define AFS_USR_LINUX24_ENV 1
+#define AFS_NONFSTRANS 1
+
+#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
+#define AFS_SYSCALL 338
+#define AFS_64BIT_IOPS_ENV 1
+#define AFS_64BIT_ENV 1
+#define AFS_NAMEI_ENV 1 /* User space interface to file system */
+#include <afs/afs_sysnames.h>
+
+#define AFS_USERSPACE_IP_ADDR 1
+#define RXK_LISTENER_ENV 1
+#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
+
+
+/* Machine / Operating system information */
+#define SYS_NAME "alpha_linux_24"
+#define SYS_NAME_ID SYS_NAME_ID_alpha_linux_24
+#define AFSLITTLE_ENDIAN 1
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
+#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
+
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_fmode uio_fmode
+#define afsio_resid uio_resid
+#define AFS_UIOSYS 1
+#define AFS_UIOUSER UIO_USERSPACE
+#define AFS_CLBYTES MCLBYTES
+#define AFS_MINCHANGE 2
+#define VATTR_NULL usr_vattr_null
+
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+
+#endif /* _PARAM_ALPHA_LINUX_24_USR_H_ */
+
+#endif /* !defined(UKERNEL) */
-#ifndef _PARAM_ALPHA_LINUX_24_USR_H_
-#define _PARAM_ALPHA_LINUX_24_USR_H_
-
-/* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel,
- * it's a judgment call. If something is obviously sparc64 specific, use that
- * #define instead. Note that "20" refers to the linux 2.0 kernel. The "2"
- * in the sysname is the current version of the client. This takes into
- * account the perferred OS user space configuration as well as the kernel.
- */
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_ENV 1
-#define AFS_USR_LINUX20_ENV 1
-#define AFS_USR_LINUX22_ENV 1
-#define AFS_USR_LINUX24_ENV 1
-#define AFS_NONFSTRANS 1
-
-#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
-#define AFS_SYSCALL 338
-#define AFS_64BIT_IOPS_ENV 1
-#define AFS_64BIT_ENV 1
-#define AFS_NAMEI_ENV 1 /* User space interface to file system */
-#include <afs/afs_sysnames.h>
-
-#define AFS_USERSPACE_IP_ADDR 1
-#define RXK_LISTENER_ENV 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-
-/* Machine / Operating system information */
-#define SYS_NAME "alpha_linux_24"
-#define SYS_NAME_ID SYS_NAME_ID_alpha_linux_24
-#define AFSLITTLE_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
-
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MCLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-
-#endif /* _PARAM_ALPHA_LINUX_24_USR_H_ */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
#ifndef AFS_PARAM_H
#define AFS_PARAM_H
#define AFSLITTLE_ENDIAN 1
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+#ifndef AFS_PARAM_H
+#define AFS_PARAM_H
+
+
+#define UKERNEL 1 /* user space kernel */
+#define AFS_ENV 1
+#define AFS_VFSINCL_ENV 1
+#define AFS_NBSD_ENV 1
+#define AFS_NBSD15_ENV 1
+#define AFS_NONFSTRANS 1
+#define AFS_KERBEROS_ENV
+
+#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
+#define AFS_SYSCALL 210
+#define AFS_NAMEI_ENV 1 /* User space interface to file system */
+#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
+#include <afs/afs_sysnames.h>
+
+#define AFS_USERSPACE_IP_ADDR 1
+#define RXK_LISTENER_ENV 1
+#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
+
+/* Machine / Operating system information */
+#define SYS_NAME "i386_nbsd15"
+#define SYS_NAME_ID SYS_NAME_ID_i386_nbsd15
+#define AFSLITTLE_ENDIAN 1
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
+#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
+
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_fmode uio_fmode
+#define afsio_resid uio_resid
+#define AFS_UIOSYS 1
+#define AFS_UIOUSER UIO_USERSPACE
+#define AFS_CLBYTES MCLBYTES
+#define AFS_MINCHANGE 2
+#define VATTR_NULL usr_vattr_null
+
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+
+#include <limits.h>
+#include <sys/param.h>
+#include <sys/types.h>
+#include <sys/mount.h>
+#include <sys/fcntl.h>
+#include <netinet/in.h>
+#include <sys/uio.h>
+#include <sys/socket.h>
+
+#endif /* AFS_PARAM_H */
+
+#endif /* !defined(UKERNEL) */
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_ENV 1
-#define AFS_VFSINCL_ENV 1
-#define AFS_NBSD_ENV 1
-#define AFS_NBSD15_ENV 1
-#define AFS_NONFSTRANS 1
-#define AFS_KERBEROS_ENV
-
-#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
-#define AFS_SYSCALL 210
-#define AFS_NAMEI_ENV 1 /* User space interface to file system */
-#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
-#include <afs/afs_sysnames.h>
-
-#define AFS_USERSPACE_IP_ADDR 1
-#define RXK_LISTENER_ENV 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-/* Machine / Operating system information */
-#define SYS_NAME "i386_nbsd15"
-#define SYS_NAME_ID SYS_NAME_ID_i386_nbsd15
-#define AFSLITTLE_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
-
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MCLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-
-#include <limits.h>
-#include <sys/param.h>
-#include <sys/types.h>
-#include <sys/mount.h>
-#include <sys/fcntl.h>
-#include <netinet/in.h>
-#include <sys/uio.h>
-#include <sys/socket.h>
-
-#endif /* AFS_PARAM_H */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
#ifndef AFS_PARAM_H
#define AFS_PARAM_H
#define AFSLITTLE_ENDIAN 1
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+#ifndef AFS_PARAM_H
+#define AFS_PARAM_H
+
+
+#define UKERNEL 1 /* user space kernel */
+#define AFS_ENV 1
+#define AFS_VFSINCL_ENV 1
+#define AFS_NBSD_ENV 1
+#define AFS_NBSD15_ENV 1
+#define AFS_NONFSTRANS 1
+#define AFS_KERBEROS_ENV
+
+#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
+#define AFS_SYSCALL 210
+#define AFS_NAMEI_ENV 1 /* User space interface to file system */
+#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
+#include <afs/afs_sysnames.h>
+
+#define AFS_USERSPACE_IP_ADDR 1
+#define RXK_LISTENER_ENV 1
+#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
+
+/* Machine / Operating system information */
+#define SYS_NAME "i386_nbsd16"
+#define SYS_NAME_ID SYS_NAME_ID_i386_nbsd16
+#define AFSLITTLE_ENDIAN 1
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
+#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
+
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_fmode uio_fmode
+#define afsio_resid uio_resid
+#define AFS_UIOSYS 1
+#define AFS_UIOUSER UIO_USERSPACE
+#define AFS_CLBYTES MCLBYTES
+#define AFS_MINCHANGE 2
+#define VATTR_NULL usr_vattr_null
+
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+
+#include <limits.h>
+#include <sys/param.h>
+#include <sys/types.h>
+#include <sys/mount.h>
+#include <sys/fcntl.h>
+#include <netinet/in.h>
+#include <sys/uio.h>
+#include <sys/socket.h>
+
+#endif /* AFS_PARAM_H */
+
+#endif /* !defined(UKERNEL) */
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_ENV 1
-#define AFS_VFSINCL_ENV 1
-#define AFS_NBSD_ENV 1
-#define AFS_NBSD15_ENV 1
-#define AFS_NONFSTRANS 1
-#define AFS_KERBEROS_ENV
-
-#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
-#define AFS_SYSCALL 210
-#define AFS_NAMEI_ENV 1 /* User space interface to file system */
-#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
-#include <afs/afs_sysnames.h>
-
-#define AFS_USERSPACE_IP_ADDR 1
-#define RXK_LISTENER_ENV 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-/* Machine / Operating system information */
-#define SYS_NAME "i386_nbsd16"
-#define SYS_NAME_ID SYS_NAME_ID_i386_nbsd16
-#define AFSLITTLE_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
-
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MCLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-
-#include <limits.h>
-#include <sys/param.h>
-#include <sys/types.h>
-#include <sys/mount.h>
-#include <sys/fcntl.h>
-#include <netinet/in.h>
-#include <sys/uio.h>
-#include <sys/socket.h>
-
-#endif /* AFS_PARAM_H */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
/*
* Copyright 2000, International Business Machines Corporation and others.
* All Rights Reserved.
#endif
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+/*
+ * 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
+ */
+
+#ifndef AFS_PARAM_H
+#define AFS_PARAM_H
+
+#define AFS_VFS_ENV 1
+/* Used only in vfsck code; is it needed any more???? */
+#define RXK_LISTENER_ENV 1
+#define AFS_USERSPACE_IP_ADDR 1
+#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
+
+#define UKERNEL 1 /* user space kernel */
+#define AFS_GREEDY43_ENV 1 /* Used only in rx/rx_user.c */
+#define AFS_ENV 1
+#define AFS_USR_HPUX_ENV 1
+
+#include <afs/afs_sysnames.h>
+
+/*#define AFS_GLOBAL_SUNLOCK 1*/ /* For global locking */
+
+#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
+
+#define AFS_SYSCALL 48 /* slot reserved for AFS */
+
+/* File system entry (used if mount.h doesn't define MOUNT_AFS */
+#define AFS_MOUNT_AFS 1
+
+/* Machine / Operating system information */
+#define SYS_NAME "hp_ux102"
+#define SYS_NAME_ID SYS_NAME_ID_hp_ux102
+#define AFSBIG_ENDIAN 1
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
+
+/* Extra kernel definitions (from kdefs file) */
+#ifdef KERNEL
+#define AFS_UIOFMODE 1 /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
+#define AFS_SYSVLOCK 1 /* sys v locking supported */
+/*#define AFS_USEBUFFERS 1*/
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_fmode uio_fmode
+#define afsio_resid uio_resid
+#define AFS_UIOSYS 1
+#define AFS_UIOUSER UIO_USERSPACE
+#define AFS_CLBYTES CLBYTES
+#define AFS_MINCHANGE 2
+#define VATTR_NULL usr_vattr_null
+#endif /* KERNEL */
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+
+#endif /* AFS_PARAM_H */
+
+#endif /* !defined(UKERNEL) */
-/*
- * 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
- */
-
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-#define AFS_VFS_ENV 1
-/* Used only in vfsck code; is it needed any more???? */
-#define RXK_LISTENER_ENV 1
-#define AFS_USERSPACE_IP_ADDR 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_GREEDY43_ENV 1 /* Used only in rx/rx_user.c */
-#define AFS_ENV 1
-#define AFS_USR_HPUX_ENV 1
-
-#include <afs/afs_sysnames.h>
-
-/*#define AFS_GLOBAL_SUNLOCK 1*/ /* For global locking */
-
-#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
-
-#define AFS_SYSCALL 48 /* slot reserved for AFS */
-
-/* File system entry (used if mount.h doesn't define MOUNT_AFS */
-#define AFS_MOUNT_AFS 1
-
-/* Machine / Operating system information */
-#define SYS_NAME "hp_ux102"
-#define SYS_NAME_ID SYS_NAME_ID_hp_ux102
-#define AFSBIG_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-
-/* Extra kernel definitions (from kdefs file) */
-#ifdef KERNEL
-#define AFS_UIOFMODE 1 /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
-#define AFS_SYSVLOCK 1 /* sys v locking supported */
-/*#define AFS_USEBUFFERS 1*/
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES CLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-#endif /* KERNEL */
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-
-#endif /* AFS_PARAM_H */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
/*
* Copyright 2000, International Business Machines Corporation and others.
* All Rights Reserved.
#endif
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+/*
+ * 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
+ */
+
+#ifndef AFS_PARAM_H
+#define AFS_PARAM_H
+
+#define AFS_VFS_ENV 1
+/* Used only in vfsck code; is it needed any more???? */
+#define RXK_LISTENER_ENV 1
+#define AFS_USERSPACE_IP_ADDR 1
+#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
+
+#define UKERNEL 1 /* user space kernel */
+#define AFS_GREEDY43_ENV 1 /* Used only in rx/rx_user.c */
+#define AFS_ENV 1
+#define AFS_USR_HPUX_ENV 1
+
+#include <afs/afs_sysnames.h>
+
+/*#define AFS_GLOBAL_SUNLOCK 1*/ /* For global locking */
+
+#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
+
+#define AFS_SYSCALL 48 /* slot reserved for AFS */
+
+/* File system entry (used if mount.h doesn't define MOUNT_AFS */
+#define AFS_MOUNT_AFS 1
+
+/* Machine / Operating system information */
+#define SYS_NAME "hp_ux110"
+#define SYS_NAME_ID SYS_NAME_ID_hp_ux110
+#define AFSBIG_ENDIAN 1
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
+
+/* Extra kernel definitions (from kdefs file) */
+#ifdef KERNEL
+#define AFS_UIOFMODE 1 /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
+#define AFS_SYSVLOCK 1 /* sys v locking supported */
+/*#define AFS_USEBUFFERS 1*/
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_fmode uio_fmode
+#define afsio_resid uio_resid
+#define AFS_UIOSYS 1
+#define AFS_UIOUSER UIO_USERSPACE
+#define AFS_CLBYTES CLBYTES
+#define AFS_MINCHANGE 2
+#define VATTR_NULL usr_vattr_null
+#endif /* KERNEL */
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+
+#endif /* AFS_PARAM_H */
+
+#endif /* !defined(UKERNEL) */
-/*
- * 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
- */
-
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-#define AFS_VFS_ENV 1
-/* Used only in vfsck code; is it needed any more???? */
-#define RXK_LISTENER_ENV 1
-#define AFS_USERSPACE_IP_ADDR 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_GREEDY43_ENV 1 /* Used only in rx/rx_user.c */
-#define AFS_ENV 1
-#define AFS_USR_HPUX_ENV 1
-
-#include <afs/afs_sysnames.h>
-
-/*#define AFS_GLOBAL_SUNLOCK 1*/ /* For global locking */
-
-#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
-
-#define AFS_SYSCALL 48 /* slot reserved for AFS */
-
-/* File system entry (used if mount.h doesn't define MOUNT_AFS */
-#define AFS_MOUNT_AFS 1
-
-/* Machine / Operating system information */
-#define SYS_NAME "hp_ux110"
-#define SYS_NAME_ID SYS_NAME_ID_hp_ux110
-#define AFSBIG_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-
-/* Extra kernel definitions (from kdefs file) */
-#ifdef KERNEL
-#define AFS_UIOFMODE 1 /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
-#define AFS_SYSVLOCK 1 /* sys v locking supported */
-/*#define AFS_USEBUFFERS 1*/
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES CLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-#endif /* KERNEL */
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-
-#endif /* AFS_PARAM_H */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
/*
* Copyright 2000, International Business Machines Corporation and others.
* All Rights Reserved.
#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+/*
+ * 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
+ */
+
+#ifndef AFS_PARAM_H
+#define AFS_PARAM_H
+
+/* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel,
+ * it's a judgment call. If something is obviously i386 specific, use that
+ * #define instead. Note that "20" refers to the linux 2.0 kernel. The "2"
+ * in the sysname is the current version of the client. This takes into
+ * account the perferred OS user space configuration as well as the kernel.
+ */
+
+#define UKERNEL 1 /* user space kernel */
+#define AFS_ENV 1
+#define AFS_USR_LINUX20_ENV 1
+#define AFS_USR_LINUX22_ENV 1
+#define AFS_NONFSTRANS 1
+
+#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
+#define AFS_SYSCALL 137
+#define AFS_64BIT_IOPS_ENV 1
+#define AFS_NAMEI_ENV 1 /* User space interface to file system */
+#include <afs/afs_sysnames.h>
+
+#define AFS_USERSPACE_IP_ADDR 1
+#define RXK_LISTENER_ENV 1
+#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
+
+
+/* Machine / Operating system information */
+#define SYS_NAME "i386_linux22"
+#define SYS_NAME_ID SYS_NAME_ID_i386_linux22
+#define AFSLITTLE_ENDIAN 1
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
+#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
+
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_fmode uio_fmode
+#define afsio_resid uio_resid
+#define AFS_UIOSYS 1
+#define AFS_UIOUSER UIO_USERSPACE
+#define AFS_CLBYTES MCLBYTES
+#define AFS_MINCHANGE 2
+#define VATTR_NULL usr_vattr_null
+
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+
+#endif /* AFS_PARAM_H */
+
+#endif /* !defined(UKERNEL) */
-/*
- * 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
- */
-
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-/* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel,
- * it's a judgment call. If something is obviously i386 specific, use that
- * #define instead. Note that "20" refers to the linux 2.0 kernel. The "2"
- * in the sysname is the current version of the client. This takes into
- * account the perferred OS user space configuration as well as the kernel.
- */
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_ENV 1
-#define AFS_USR_LINUX20_ENV 1
-#define AFS_USR_LINUX22_ENV 1
-#define AFS_NONFSTRANS 1
-
-#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
-#define AFS_SYSCALL 137
-#define AFS_64BIT_IOPS_ENV 1
-#define AFS_NAMEI_ENV 1 /* User space interface to file system */
-#include <afs/afs_sysnames.h>
-
-#define AFS_USERSPACE_IP_ADDR 1
-#define RXK_LISTENER_ENV 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-
-/* Machine / Operating system information */
-#define SYS_NAME "i386_linux22"
-#define SYS_NAME_ID SYS_NAME_ID_i386_linux22
-#define AFSLITTLE_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
-
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MCLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-
-#endif /* AFS_PARAM_H */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
#ifndef AFS_PARAM_H
#define AFS_PARAM_H
#endif /* _KERNEL */
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+#ifndef AFS_PARAM_H
+#define AFS_PARAM_H
+
+
+#define UKERNEL 1 /* user space kernel */
+#define AFS_ENV 1
+#define AFS_VFSINCL_ENV 1
+#define AFS_USR_FBSD40_ENV 1
+#define AFS_USR_FBSD42_ENV 1
+#define AFS_USR_FBSD_ENV 1
+#define AFS_NONFSTRANS 1
+
+#define O_SYNC O_FSYNC
+
+#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
+#define AFS_SYSCALL 210
+#define AFS_NAMEI_ENV 1 /* User space interface to file system */
+#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
+#include <afs/afs_sysnames.h>
+
+#define AFS_USERSPACE_IP_ADDR 1
+#define RXK_LISTENER_ENV 1
+#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
+
+/* Machine / Operating system information */
+#define SYS_NAME "i386_fbsd_42"
+#define SYS_NAME_ID SYS_NAME_ID_i386_fbsd_42
+#define AFSLITTLE_ENDIAN 1
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
+#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
+
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_fmode uio_fmode
+#define afsio_resid uio_resid
+#define AFS_UIOSYS 1
+#define AFS_UIOUSER UIO_USERSPACE
+#define AFS_CLBYTES MCLBYTES
+#define AFS_MINCHANGE 2
+#define VATTR_NULL usr_vattr_null
+
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+
+#include <limits.h>
+#include <sys/param.h>
+#include <sys/types.h>
+#include <sys/mount.h>
+#include <sys/fcntl.h>
+#include <netinet/in.h>
+#include <sys/uio.h>
+#include <sys/socket.h>
+
+#endif /* AFS_PARAM_H */
+
+#endif /* !defined(UKERNEL) */
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_ENV 1
-#define AFS_VFSINCL_ENV 1
-#define AFS_USR_FBSD40_ENV 1
-#define AFS_USR_FBSD42_ENV 1
-#define AFS_USR_FBSD_ENV 1
-#define AFS_NONFSTRANS 1
-
-#define O_SYNC O_FSYNC
-
-#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
-#define AFS_SYSCALL 210
-#define AFS_NAMEI_ENV 1 /* User space interface to file system */
-#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
-#include <afs/afs_sysnames.h>
-
-#define AFS_USERSPACE_IP_ADDR 1
-#define RXK_LISTENER_ENV 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-/* Machine / Operating system information */
-#define SYS_NAME "i386_fbsd_42"
-#define SYS_NAME_ID SYS_NAME_ID_i386_fbsd_42
-#define AFSLITTLE_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
-
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MCLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-
-#include <limits.h>
-#include <sys/param.h>
-#include <sys/types.h>
-#include <sys/mount.h>
-#include <sys/fcntl.h>
-#include <netinet/in.h>
-#include <sys/uio.h>
-#include <sys/socket.h>
-
-#endif /* AFS_PARAM_H */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
#ifndef AFS_PARAM_H
#define AFS_PARAM_H
#endif /* _KERNEL */
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+#ifndef AFS_PARAM_H
+#define AFS_PARAM_H
+
+
+#define UKERNEL 1 /* user space kernel */
+#define AFS_ENV 1
+#define AFS_VFSINCL_ENV 1
+#define AFS_USR_FBSD40_ENV 1
+#define AFS_USR_FBSD42_ENV 1
+#define AFS_USR_FBSD43_ENV 1
+#define AFS_USR_FBSD_ENV 1
+#define AFS_NONFSTRANS 1
+
+#define O_SYNC O_FSYNC
+
+#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
+#define AFS_SYSCALL 210
+#define AFS_NAMEI_ENV 1 /* User space interface to file system */
+#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
+#include <afs/afs_sysnames.h>
+
+#define AFS_USERSPACE_IP_ADDR 1
+#define RXK_LISTENER_ENV 1
+#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
+
+/* Machine / Operating system information */
+#define SYS_NAME "i386_fbsd_43"
+#define SYS_NAME_ID SYS_NAME_ID_i386_fbsd_43
+#define AFSLITTLE_ENDIAN 1
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
+#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
+
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_fmode uio_fmode
+#define afsio_resid uio_resid
+#define AFS_UIOSYS 1
+#define AFS_UIOUSER UIO_USERSPACE
+#define AFS_CLBYTES MCLBYTES
+#define AFS_MINCHANGE 2
+#define VATTR_NULL usr_vattr_null
+
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+
+#include <limits.h>
+#include <sys/param.h>
+#include <sys/types.h>
+#include <sys/mount.h>
+#include <sys/fcntl.h>
+#include <netinet/in.h>
+#include <sys/uio.h>
+#include <sys/socket.h>
+
+#endif /* AFS_PARAM_H */
+
+#endif /* !defined(UKERNEL) */
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_ENV 1
-#define AFS_VFSINCL_ENV 1
-#define AFS_USR_FBSD40_ENV 1
-#define AFS_USR_FBSD42_ENV 1
-#define AFS_USR_FBSD43_ENV 1
-#define AFS_USR_FBSD_ENV 1
-#define AFS_NONFSTRANS 1
-
-#define O_SYNC O_FSYNC
-
-#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
-#define AFS_SYSCALL 210
-#define AFS_NAMEI_ENV 1 /* User space interface to file system */
-#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
-#include <afs/afs_sysnames.h>
-
-#define AFS_USERSPACE_IP_ADDR 1
-#define RXK_LISTENER_ENV 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-/* Machine / Operating system information */
-#define SYS_NAME "i386_fbsd_43"
-#define SYS_NAME_ID SYS_NAME_ID_i386_fbsd_43
-#define AFSLITTLE_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
-
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MCLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-
-#include <limits.h>
-#include <sys/param.h>
-#include <sys/types.h>
-#include <sys/mount.h>
-#include <sys/fcntl.h>
-#include <netinet/in.h>
-#include <sys/uio.h>
-#include <sys/socket.h>
-
-#endif /* AFS_PARAM_H */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
#ifndef AFS_PARAM_H
#define AFS_PARAM_H
#endif /* _KERNEL */
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+#ifndef AFS_PARAM_H
+#define AFS_PARAM_H
+
+
+#define UKERNEL 1 /* user space kernel */
+#define AFS_ENV 1
+#define AFS_VFSINCL_ENV 1
+#define AFS_USR_FBSD40_ENV 1
+#define AFS_USR_FBSD42_ENV 1
+#define AFS_USR_FBSD43_ENV 1
+#define AFS_USR_FBSD44_ENV 1
+#define AFS_USR_FBSD_ENV 1
+#define AFS_NONFSTRANS 1
+
+#define O_SYNC O_FSYNC
+
+#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
+#define AFS_SYSCALL 210
+#define AFS_NAMEI_ENV 1 /* User space interface to file system */
+#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
+#include <afs/afs_sysnames.h>
+
+#define AFS_USERSPACE_IP_ADDR 1
+#define RXK_LISTENER_ENV 1
+#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
+
+/* Machine / Operating system information */
+#define SYS_NAME "i386_fbsd_44"
+#define SYS_NAME_ID SYS_NAME_ID_i386_fbsd_44
+#define AFSLITTLE_ENDIAN 1
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
+#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
+
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_fmode uio_fmode
+#define afsio_resid uio_resid
+#define AFS_UIOSYS 1
+#define AFS_UIOUSER UIO_USERSPACE
+#define AFS_CLBYTES MCLBYTES
+#define AFS_MINCHANGE 2
+#define VATTR_NULL usr_vattr_null
+
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+
+#include <limits.h>
+#include <sys/param.h>
+#include <sys/types.h>
+#include <sys/mount.h>
+#include <sys/fcntl.h>
+#include <netinet/in.h>
+#include <sys/uio.h>
+#include <sys/socket.h>
+
+#endif /* AFS_PARAM_H */
+
+#endif /* !defined(UKERNEL) */
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_ENV 1
-#define AFS_VFSINCL_ENV 1
-#define AFS_USR_FBSD40_ENV 1
-#define AFS_USR_FBSD42_ENV 1
-#define AFS_USR_FBSD43_ENV 1
-#define AFS_USR_FBSD44_ENV 1
-#define AFS_USR_FBSD_ENV 1
-#define AFS_NONFSTRANS 1
-
-#define O_SYNC O_FSYNC
-
-#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
-#define AFS_SYSCALL 210
-#define AFS_NAMEI_ENV 1 /* User space interface to file system */
-#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
-#include <afs/afs_sysnames.h>
-
-#define AFS_USERSPACE_IP_ADDR 1
-#define RXK_LISTENER_ENV 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-/* Machine / Operating system information */
-#define SYS_NAME "i386_fbsd_44"
-#define SYS_NAME_ID SYS_NAME_ID_i386_fbsd_44
-#define AFSLITTLE_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
-
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MCLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-
-#include <limits.h>
-#include <sys/param.h>
-#include <sys/types.h>
-#include <sys/mount.h>
-#include <sys/fcntl.h>
-#include <netinet/in.h>
-#include <sys/uio.h>
-#include <sys/socket.h>
-
-#endif /* AFS_PARAM_H */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
#ifndef AFS_PARAM_H
#define AFS_PARAM_H
#endif /* _KERNEL */
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+#ifndef AFS_PARAM_H
+#define AFS_PARAM_H
+
+
+#define UKERNEL 1 /* user space kernel */
+#define AFS_ENV 1
+#define AFS_VFSINCL_ENV 1
+#define AFS_USR_FBSD40_ENV 1
+#define AFS_USR_FBSD42_ENV 1
+#define AFS_USR_FBSD43_ENV 1
+#define AFS_USR_FBSD44_ENV 1
+#define AFS_USR_FBSD45_ENV 1
+#define AFS_USR_FBSD_ENV 1
+#define AFS_NONFSTRANS 1
+
+#define O_SYNC O_FSYNC
+
+#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
+#define AFS_SYSCALL 210
+#define AFS_NAMEI_ENV 1 /* User space interface to file system */
+#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
+#include <afs/afs_sysnames.h>
+
+#define AFS_USERSPACE_IP_ADDR 1
+#define RXK_LISTENER_ENV 1
+#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
+
+/* Machine / Operating system information */
+#define SYS_NAME "i386_fbsd_45"
+#define SYS_NAME_ID SYS_NAME_ID_i386_fbsd_45
+#define AFSLITTLE_ENDIAN 1
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
+#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
+
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_fmode uio_fmode
+#define afsio_resid uio_resid
+#define AFS_UIOSYS 1
+#define AFS_UIOUSER UIO_USERSPACE
+#define AFS_CLBYTES MCLBYTES
+#define AFS_MINCHANGE 2
+#define VATTR_NULL usr_vattr_null
+
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+
+#include <limits.h>
+#include <sys/param.h>
+#include <sys/types.h>
+#include <sys/mount.h>
+#include <sys/fcntl.h>
+#include <netinet/in.h>
+#include <sys/uio.h>
+#include <sys/socket.h>
+
+#endif /* AFS_PARAM_H */
+
+#endif /* !defined(UKERNEL) */
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_ENV 1
-#define AFS_VFSINCL_ENV 1
-#define AFS_USR_FBSD40_ENV 1
-#define AFS_USR_FBSD42_ENV 1
-#define AFS_USR_FBSD43_ENV 1
-#define AFS_USR_FBSD44_ENV 1
-#define AFS_USR_FBSD45_ENV 1
-#define AFS_USR_FBSD_ENV 1
-#define AFS_NONFSTRANS 1
-
-#define O_SYNC O_FSYNC
-
-#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
-#define AFS_SYSCALL 210
-#define AFS_NAMEI_ENV 1 /* User space interface to file system */
-#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
-#include <afs/afs_sysnames.h>
-
-#define AFS_USERSPACE_IP_ADDR 1
-#define RXK_LISTENER_ENV 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-/* Machine / Operating system information */
-#define SYS_NAME "i386_fbsd_45"
-#define SYS_NAME_ID SYS_NAME_ID_i386_fbsd_45
-#define AFSLITTLE_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
-
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MCLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-
-#include <limits.h>
-#include <sys/param.h>
-#include <sys/types.h>
-#include <sys/mount.h>
-#include <sys/fcntl.h>
-#include <netinet/in.h>
-#include <sys/uio.h>
-#include <sys/socket.h>
-
-#endif /* AFS_PARAM_H */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
#ifndef AFS_PARAM_H
#define AFS_PARAM_H
#endif /* _KERNEL */
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+#ifndef AFS_PARAM_H
+#define AFS_PARAM_H
+
+
+#define UKERNEL 1 /* user space kernel */
+#define AFS_ENV 1
+#define AFS_VFSINCL_ENV 1
+#define AFS_USR_FBSD40_ENV 1
+#define AFS_USR_FBSD42_ENV 1
+#define AFS_USR_FBSD43_ENV 1
+#define AFS_USR_FBSD44_ENV 1
+#define AFS_USR_FBSD45_ENV 1
+#define AFS_USR_FBSD46_ENV 1
+#define AFS_USR_FBSD_ENV 1
+#define AFS_NONFSTRANS 1
+
+#define O_SYNC O_FSYNC
+
+#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
+#define AFS_SYSCALL 210
+#define AFS_NAMEI_ENV 1 /* User space interface to file system */
+#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
+#include <afs/afs_sysnames.h>
+
+#define AFS_USERSPACE_IP_ADDR 1
+#define RXK_LISTENER_ENV 1
+#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
+
+/* Machine / Operating system information */
+#define SYS_NAME "i386_fbsd_46"
+#define SYS_NAME_ID SYS_NAME_ID_i386_fbsd_46
+#define AFSLITTLE_ENDIAN 1
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
+#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
+
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_fmode uio_fmode
+#define afsio_resid uio_resid
+#define AFS_UIOSYS 1
+#define AFS_UIOUSER UIO_USERSPACE
+#define AFS_CLBYTES MCLBYTES
+#define AFS_MINCHANGE 2
+#define VATTR_NULL usr_vattr_null
+
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+
+#include <limits.h>
+#include <sys/param.h>
+#include <sys/types.h>
+#include <sys/mount.h>
+#include <sys/fcntl.h>
+#include <netinet/in.h>
+#include <sys/uio.h>
+#include <sys/socket.h>
+
+#endif /* AFS_PARAM_H */
+
+#endif /* !defined(UKERNEL) */
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_ENV 1
-#define AFS_VFSINCL_ENV 1
-#define AFS_USR_FBSD40_ENV 1
-#define AFS_USR_FBSD42_ENV 1
-#define AFS_USR_FBSD43_ENV 1
-#define AFS_USR_FBSD44_ENV 1
-#define AFS_USR_FBSD45_ENV 1
-#define AFS_USR_FBSD46_ENV 1
-#define AFS_USR_FBSD_ENV 1
-#define AFS_NONFSTRANS 1
-
-#define O_SYNC O_FSYNC
-
-#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
-#define AFS_SYSCALL 210
-#define AFS_NAMEI_ENV 1 /* User space interface to file system */
-#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
-#include <afs/afs_sysnames.h>
-
-#define AFS_USERSPACE_IP_ADDR 1
-#define RXK_LISTENER_ENV 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-/* Machine / Operating system information */
-#define SYS_NAME "i386_fbsd_46"
-#define SYS_NAME_ID SYS_NAME_ID_i386_fbsd_46
-#define AFSLITTLE_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
-
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MCLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-
-#include <limits.h>
-#include <sys/param.h>
-#include <sys/types.h>
-#include <sys/mount.h>
-#include <sys/fcntl.h>
-#include <netinet/in.h>
-#include <sys/uio.h>
-#include <sys/socket.h>
-
-#endif /* AFS_PARAM_H */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
/*
* Copyright 2000, International Business Machines Corporation and others.
* All Rights Reserved.
#endif /* KERNEL */
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+/*
+ * 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
+ */
+
+#ifndef AFS_PARAM_H
+#define AFS_PARAM_H
+
+/* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel,
+ * it's a judgment call. If something is obviously i386 specific, use that
+ * #define instead. Note that "20" refers to the linux 2.0 kernel. The "2"
+ * in the sysname is the current version of the client. This takes into
+ * account the perferred OS user space configuration as well as the kernel.
+ */
+
+#define UKERNEL 1 /* user space kernel */
+#define AFS_ENV 1
+#define AFS_USR_LINUX20_ENV 1
+#define AFS_USR_LINUX22_ENV 1
+#define AFS_NONFSTRANS 1
+
+#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
+#define AFS_SYSCALL 137
+#define AFS_64BIT_IOPS_ENV 1
+#define AFS_NAMEI_ENV 1 /* User space interface to file system */
+#include <afs/afs_sysnames.h>
+
+#define AFS_USERSPACE_IP_ADDR 1
+#define RXK_LISTENER_ENV 1
+#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
+
+
+/* Machine / Operating system information */
+#define SYS_NAME "i386_linux22"
+#define SYS_NAME_ID SYS_NAME_ID_i386_linux22
+#define AFSLITTLE_ENDIAN 1
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
+#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
+
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_fmode uio_fmode
+#define afsio_resid uio_resid
+#define AFS_UIOSYS 1
+#define AFS_UIOUSER UIO_USERSPACE
+#define AFS_CLBYTES MCLBYTES
+#define AFS_MINCHANGE 2
+#define VATTR_NULL usr_vattr_null
+
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+
+#endif /* AFS_PARAM_H */
+
+#endif /* !defined(UKERNEL) */
-/*
- * 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
- */
-
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-/* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel,
- * it's a judgment call. If something is obviously i386 specific, use that
- * #define instead. Note that "20" refers to the linux 2.0 kernel. The "2"
- * in the sysname is the current version of the client. This takes into
- * account the perferred OS user space configuration as well as the kernel.
- */
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_ENV 1
-#define AFS_USR_LINUX20_ENV 1
-#define AFS_USR_LINUX22_ENV 1
-#define AFS_NONFSTRANS 1
-
-#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
-#define AFS_SYSCALL 137
-#define AFS_64BIT_IOPS_ENV 1
-#define AFS_NAMEI_ENV 1 /* User space interface to file system */
-#include <afs/afs_sysnames.h>
-
-#define AFS_USERSPACE_IP_ADDR 1
-#define RXK_LISTENER_ENV 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-
-/* Machine / Operating system information */
-#define SYS_NAME "i386_linux22"
-#define SYS_NAME_ID SYS_NAME_ID_i386_linux22
-#define AFSLITTLE_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
-
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MCLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-
-#endif /* AFS_PARAM_H */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
#ifndef AFS_PARAM_H
#define AFS_PARAM_H
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+#ifndef AFS_PARAM_H
+#define AFS_PARAM_H
+
+/* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel,
+ * it's a judgment call. If something is obviously i386 specific, use that
+ * #define instead. Note that "20" refers to the linux 2.0 kernel. The "2"
+ * in the sysname is the current version of the client. This takes into
+ * account the perferred OS user space configuration as well as the kernel.
+ */
+
+#define UKERNEL 1 /* user space kernel */
+#define AFS_ENV 1
+#define AFS_USR_LINUX20_ENV 1
+#define AFS_USR_LINUX22_ENV 1
+#define AFS_USR_LINUX24_ENV 1
+#define AFS_NONFSTRANS 1
+
+#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
+#define AFS_SYSCALL 137
+#define AFS_64BIT_IOPS_ENV 1
+#define AFS_NAMEI_ENV 1 /* User space interface to file system */
+#include <afs/afs_sysnames.h>
+
+#define AFS_USERSPACE_IP_ADDR 1
+#define RXK_LISTENER_ENV 1
+#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
+
+
+/* Machine / Operating system information */
+#define SYS_NAME "i386_linux24"
+#define SYS_NAME_ID SYS_NAME_ID_i386_linux24
+#define AFSLITTLE_ENDIAN 1
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
+#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
+
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_fmode uio_fmode
+#define afsio_resid uio_resid
+#define AFS_UIOSYS 1
+#define AFS_UIOUSER UIO_USERSPACE
+#define AFS_CLBYTES MCLBYTES
+#define AFS_MINCHANGE 2
+#define VATTR_NULL usr_vattr_null
+
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+
+#endif /* AFS_PARAM_H */
+
+#endif /* !defined(UKERNEL) */
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-/* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel,
- * it's a judgment call. If something is obviously i386 specific, use that
- * #define instead. Note that "20" refers to the linux 2.0 kernel. The "2"
- * in the sysname is the current version of the client. This takes into
- * account the perferred OS user space configuration as well as the kernel.
- */
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_ENV 1
-#define AFS_USR_LINUX20_ENV 1
-#define AFS_USR_LINUX22_ENV 1
-#define AFS_USR_LINUX24_ENV 1
-#define AFS_NONFSTRANS 1
-
-#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
-#define AFS_SYSCALL 137
-#define AFS_64BIT_IOPS_ENV 1
-#define AFS_NAMEI_ENV 1 /* User space interface to file system */
-#include <afs/afs_sysnames.h>
-
-#define AFS_USERSPACE_IP_ADDR 1
-#define RXK_LISTENER_ENV 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-
-/* Machine / Operating system information */
-#define SYS_NAME "i386_linux24"
-#define SYS_NAME_ID SYS_NAME_ID_i386_linux24
-#define AFSLITTLE_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
-
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MCLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-
-#endif /* AFS_PARAM_H */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
#ifndef AFS_PARAM_H
#define AFS_PARAM_H
#define AFSLITTLE_ENDIAN 1
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+#ifndef AFS_PARAM_H
+#define AFS_PARAM_H
+
+
+#define UKERNEL 1 /* user space kernel */
+#define AFS_ENV 1
+#define AFS_VFSINCL_ENV 1
+#define AFS_NBSD_ENV 1
+#define AFS_NBSD15_ENV 1
+#define AFS_NONFSTRANS 1
+#define AFS_KERBEROS_ENV
+
+#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
+#define AFS_SYSCALL 210
+#define AFS_NAMEI_ENV 1 /* User space interface to file system */
+#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
+#include <afs/afs_sysnames.h>
+
+#define AFS_USERSPACE_IP_ADDR 1
+#define RXK_LISTENER_ENV 1
+#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
+
+/* Machine / Operating system information */
+#define SYS_NAME "i386_nbsd15"
+#define SYS_NAME_ID SYS_NAME_ID_i386_nbsd15
+#define AFSLITTLE_ENDIAN 1
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
+#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
+
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_fmode uio_fmode
+#define afsio_resid uio_resid
+#define AFS_UIOSYS 1
+#define AFS_UIOUSER UIO_USERSPACE
+#define AFS_CLBYTES MCLBYTES
+#define AFS_MINCHANGE 2
+#define VATTR_NULL usr_vattr_null
+
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+
+#include <limits.h>
+#include <sys/param.h>
+#include <sys/types.h>
+#include <sys/mount.h>
+#include <sys/fcntl.h>
+#include <netinet/in.h>
+#include <sys/uio.h>
+#include <sys/socket.h>
+
+#endif /* AFS_PARAM_H */
+
+#endif /* !defined(UKERNEL) */
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_ENV 1
-#define AFS_VFSINCL_ENV 1
-#define AFS_NBSD_ENV 1
-#define AFS_NBSD15_ENV 1
-#define AFS_NONFSTRANS 1
-#define AFS_KERBEROS_ENV
-
-#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
-#define AFS_SYSCALL 210
-#define AFS_NAMEI_ENV 1 /* User space interface to file system */
-#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
-#include <afs/afs_sysnames.h>
-
-#define AFS_USERSPACE_IP_ADDR 1
-#define RXK_LISTENER_ENV 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-/* Machine / Operating system information */
-#define SYS_NAME "i386_nbsd15"
-#define SYS_NAME_ID SYS_NAME_ID_i386_nbsd15
-#define AFSLITTLE_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
-
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MCLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-
-#include <limits.h>
-#include <sys/param.h>
-#include <sys/types.h>
-#include <sys/mount.h>
-#include <sys/fcntl.h>
-#include <netinet/in.h>
-#include <sys/uio.h>
-#include <sys/socket.h>
-
-#endif /* AFS_PARAM_H */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
#ifndef AFS_PARAM_H
#define AFS_PARAM_H
#define AFSLITTLE_ENDIAN 1
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+#ifndef AFS_PARAM_H
+#define AFS_PARAM_H
+
+
+#define UKERNEL 1 /* user space kernel */
+#define AFS_ENV 1
+#define AFS_VFSINCL_ENV 1
+#define AFS_NBSD_ENV 1
+#define AFS_NBSD15_ENV 1
+#define AFS_NONFSTRANS 1
+#define AFS_KERBEROS_ENV
+
+#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
+#define AFS_SYSCALL 210
+#define AFS_NAMEI_ENV 1 /* User space interface to file system */
+#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
+#include <afs/afs_sysnames.h>
+
+#define AFS_USERSPACE_IP_ADDR 1
+#define RXK_LISTENER_ENV 1
+#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
+
+/* Machine / Operating system information */
+#define SYS_NAME "i386_nbsd16"
+#define SYS_NAME_ID SYS_NAME_ID_i386_nbsd16
+#define AFSLITTLE_ENDIAN 1
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
+#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
+
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_fmode uio_fmode
+#define afsio_resid uio_resid
+#define AFS_UIOSYS 1
+#define AFS_UIOUSER UIO_USERSPACE
+#define AFS_CLBYTES MCLBYTES
+#define AFS_MINCHANGE 2
+#define VATTR_NULL usr_vattr_null
+
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+
+#include <limits.h>
+#include <sys/param.h>
+#include <sys/types.h>
+#include <sys/mount.h>
+#include <sys/fcntl.h>
+#include <netinet/in.h>
+#include <sys/uio.h>
+#include <sys/socket.h>
+
+#endif /* AFS_PARAM_H */
+
+#endif /* !defined(UKERNEL) */
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_ENV 1
-#define AFS_VFSINCL_ENV 1
-#define AFS_NBSD_ENV 1
-#define AFS_NBSD15_ENV 1
-#define AFS_NONFSTRANS 1
-#define AFS_KERBEROS_ENV
-
-#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
-#define AFS_SYSCALL 210
-#define AFS_NAMEI_ENV 1 /* User space interface to file system */
-#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
-#include <afs/afs_sysnames.h>
-
-#define AFS_USERSPACE_IP_ADDR 1
-#define RXK_LISTENER_ENV 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-/* Machine / Operating system information */
-#define SYS_NAME "i386_nbsd16"
-#define SYS_NAME_ID SYS_NAME_ID_i386_nbsd16
-#define AFSLITTLE_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
-
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MCLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-
-#include <limits.h>
-#include <sys/param.h>
-#include <sys/types.h>
-#include <sys/mount.h>
-#include <sys/fcntl.h>
-#include <netinet/in.h>
-#include <sys/uio.h>
-#include <sys/socket.h>
-
-#endif /* AFS_PARAM_H */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
/*
* Copyright 2000, International Business Machines Corporation and others.
* All Rights Reserved.
#define snprintf _snprintf
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+
+#endif /* !defined(UKERNEL) */
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
/*
* Jim Rees, University of Michigan CITI
*/
#endif /* _KERNEL */
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+/*
+ * Jim Rees, University of Michigan CITI
+ */
+
+#ifndef AFS_PARAM_H
+#define AFS_PARAM_H
+
+
+#define UKERNEL 1 /* user space kernel */
+#define AFS_ENV 1
+#define AFS_VFSINCL_ENV 1
+#define AFS_OBSD_ENV 1
+#define AFS_386i_ENV 1 /* 386 Architecture--for lwp stuff */
+#define AFS_NONFSTRANS 1
+#define AFS_KERBEROS_ENV
+
+#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
+#define AFS_SYSCALL 210
+#define AFS_NAMEI_ENV 1 /* User space interface to file system */
+#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
+#include <afs/afs_sysnames.h>
+
+#define AFS_USERSPACE_IP_ADDR 1
+#define RXK_LISTENER_ENV 1
+#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
+
+/* Machine / Operating system information */
+#define SYS_NAME "i386_obsd29"
+#define SYS_NAME_ID 2002
+#define AFSLITTLE_ENDIAN 1
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
+
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_fmode uio_fmode
+#define afsio_resid uio_resid
+#define AFS_UIOSYS 1
+#define AFS_UIOUSER UIO_USERSPACE
+#define AFS_CLBYTES MB_CLBYTES
+#define AFS_MINCHANGE 2
+#define VATTR_NULL usr_vattr_null
+
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+
+#include <limits.h>
+#include <sys/param.h>
+#include <sys/types.h>
+#include <sys/mount.h>
+#include <sys/fcntl.h>
+#include <netinet/in.h>
+#include <sys/uio.h>
+#include <sys/socket.h>
+
+#endif /* AFS_PARAM_H */
+
+#endif /* !defined(UKERNEL) */
-/*
- * Jim Rees, University of Michigan CITI
- */
-
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_ENV 1
-#define AFS_VFSINCL_ENV 1
-#define AFS_OBSD_ENV 1
-#define AFS_386i_ENV 1 /* 386 Architecture--for lwp stuff */
-#define AFS_NONFSTRANS 1
-#define AFS_KERBEROS_ENV
-
-#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
-#define AFS_SYSCALL 210
-#define AFS_NAMEI_ENV 1 /* User space interface to file system */
-#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
-#include <afs/afs_sysnames.h>
-
-#define AFS_USERSPACE_IP_ADDR 1
-#define RXK_LISTENER_ENV 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-/* Machine / Operating system information */
-#define SYS_NAME "i386_obsd29"
-#define SYS_NAME_ID 2002
-#define AFSLITTLE_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MB_CLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-
-#include <limits.h>
-#include <sys/param.h>
-#include <sys/types.h>
-#include <sys/mount.h>
-#include <sys/fcntl.h>
-#include <netinet/in.h>
-#include <sys/uio.h>
-#include <sys/socket.h>
-
-#endif /* AFS_PARAM_H */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
/*
* Jim Rees, University of Michigan CITI
*/
#endif /* _KERNEL */
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+/*
+ * Jim Rees, University of Michigan CITI
+ */
+
+#ifndef AFS_PARAM_H
+#define AFS_PARAM_H
+
+
+#define UKERNEL 1 /* user space kernel */
+#define AFS_ENV 1
+#define AFS_VFSINCL_ENV 1
+#define AFS_OBSD_ENV 1
+#define AFS_386i_ENV 1 /* 386 Architecture--for lwp stuff */
+#define AFS_NONFSTRANS 1
+#define AFS_KERBEROS_ENV
+
+#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
+#define AFS_SYSCALL 210
+#define AFS_NAMEI_ENV 1 /* User space interface to file system */
+#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
+#include <afs/afs_sysnames.h>
+
+#define AFS_USERSPACE_IP_ADDR 1
+#define RXK_LISTENER_ENV 1
+#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
+
+/* Machine / Operating system information */
+#define SYS_NAME "i386_obsd31"
+#define SYS_NAME_ID 2002
+#define AFSLITTLE_ENDIAN 1
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
+
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_fmode uio_fmode
+#define afsio_resid uio_resid
+#define AFS_UIOSYS 1
+#define AFS_UIOUSER UIO_USERSPACE
+#define AFS_CLBYTES MB_CLBYTES
+#define AFS_MINCHANGE 2
+#define VATTR_NULL usr_vattr_null
+
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+
+#include <limits.h>
+#include <sys/param.h>
+#include <sys/types.h>
+#include <sys/mount.h>
+#include <sys/fcntl.h>
+#include <netinet/in.h>
+#include <sys/uio.h>
+#include <sys/socket.h>
+
+#endif /* AFS_PARAM_H */
+
+#endif /* !defined(UKERNEL) */
-/*
- * Jim Rees, University of Michigan CITI
- */
-
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_ENV 1
-#define AFS_VFSINCL_ENV 1
-#define AFS_OBSD_ENV 1
-#define AFS_386i_ENV 1 /* 386 Architecture--for lwp stuff */
-#define AFS_NONFSTRANS 1
-#define AFS_KERBEROS_ENV
-
-#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
-#define AFS_SYSCALL 210
-#define AFS_NAMEI_ENV 1 /* User space interface to file system */
-#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
-#include <afs/afs_sysnames.h>
-
-#define AFS_USERSPACE_IP_ADDR 1
-#define RXK_LISTENER_ENV 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-/* Machine / Operating system information */
-#define SYS_NAME "i386_obsd31"
-#define SYS_NAME_ID 2002
-#define AFSLITTLE_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MB_CLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-
-#include <limits.h>
-#include <sys/param.h>
-#include <sys/types.h>
-#include <sys/mount.h>
-#include <sys/fcntl.h>
-#include <netinet/in.h>
-#include <sys/uio.h>
-#include <sys/socket.h>
-
-#endif /* AFS_PARAM_H */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
/*
* Copyright 2000, International Business Machines Corporation and others.
* All Rights Reserved.
#define pipe(fdp) _pipe(fdp, 4096, _O_BINARY)
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+
+#endif /* !defined(UKERNEL) */
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
/* Copyright (C) 1998 by Transarc Corporation */
#define USE_UCONTEXT /* should be in afsconfig.h */
#endif /* _PARAM_IA64_LINUX20_H_ */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+/* Copyright (C) 1998 by Transarc Corporation */
+
+
+#ifndef AFS_PARAM_H
+#define AFS_PARAM_H
+
+/* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel,
+ * it's a judgment call. If something is obviously ia64 specific, use that
+ * #define instead. Note that "20" refers to the linux 2.0 kernel. The "2"
+ * in the sysname is the current version of the client. This takes into
+ * account the perferred OS user space configuration as well as the kernel.
+ */
+
+#define UKERNEL 1 /* user space kernel */
+#define AFS_ENV 1
+#define AFS_USR_LINUX20_ENV 1
+#define AFS_USR_LINUX22_ENV 1
+#define AFS_USR_LINUX24_ENV 1
+#define AFS_NONFSTRANS 1
+
+#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
+#define AFS_SYSCALL 1141
+#define AFS_64BIT_IOPS_ENV 1
+#define AFS_NAMEI_ENV 1 /* User space interface to file system */
+#include <afs/afs_sysnames.h>
+
+#define AFS_USERSPACE_IP_ADDR 1
+#define RXK_LISTENER_ENV 1
+#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
+
+
+/* Machine / Operating system information */
+#define SYS_NAME "ia64_linux24"
+#define SYS_NAME_ID SYS_NAME_ID_ia64_linux24
+#define AFSLITTLE_ENDIAN 1
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
+#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
+
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_fmode uio_fmode
+#define afsio_resid uio_resid
+#define AFS_UIOSYS 1
+#define AFS_UIOUSER UIO_USERSPACE
+#define AFS_CLBYTES MCLBYTES
+#define AFS_MINCHANGE 2
+#define VATTR_NULL usr_vattr_null
+
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+
+#define USE_UCONTEXT /* should be in afsconfig.h */
+
+#endif /* AFS_PARAM_H */
+
+#endif /* !defined(UKERNEL) */
-/* Copyright (C) 1998 by Transarc Corporation */
-
-
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-/* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel,
- * it's a judgment call. If something is obviously ia64 specific, use that
- * #define instead. Note that "20" refers to the linux 2.0 kernel. The "2"
- * in the sysname is the current version of the client. This takes into
- * account the perferred OS user space configuration as well as the kernel.
- */
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_ENV 1
-#define AFS_USR_LINUX20_ENV 1
-#define AFS_USR_LINUX22_ENV 1
-#define AFS_USR_LINUX24_ENV 1
-#define AFS_NONFSTRANS 1
-
-#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
-#define AFS_SYSCALL 1141
-#define AFS_64BIT_IOPS_ENV 1
-#define AFS_NAMEI_ENV 1 /* User space interface to file system */
-#include <afs/afs_sysnames.h>
-
-#define AFS_USERSPACE_IP_ADDR 1
-#define RXK_LISTENER_ENV 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-
-/* Machine / Operating system information */
-#define SYS_NAME "ia64_linux24"
-#define SYS_NAME_ID SYS_NAME_ID_ia64_linux24
-#define AFSLITTLE_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
-
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MCLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-
-#define USE_UCONTEXT /* should be in afsconfig.h */
-
-#endif /* AFS_PARAM_H */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
#ifndef AFS_PARAM_COMMON_H
#define AFS_PARAM_COMMON_H
#endif /* _KERNEL */
#endif /* AFS_PARAM_COMMON_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+
+#endif /* !defined(UKERNEL) */
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
#ifndef AFS_PARAM_COMMON_H
#define AFS_PARAM_COMMON_H
#endif /* _KERNEL */
#endif /* AFS_PARAM_COMMON_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+
+#endif /* !defined(UKERNEL) */
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
#ifndef AFS_PARAM_H
#define AFS_PARAM_H
#endif /* KERNEL */
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+#ifndef AFS_PARAM_H
+#define AFS_PARAM_H
+
+/* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel,
+ * it's a judgment call. If something is obviously ppc specific, use that
+ * #define instead. Note that "20" refers to the linux 2.0 kernel. The "2"
+ * in the sysname is the current version of the client. This takes into
+ * account the perferred OS user space configuration as well as the kernel.
+ */
+
+#define UKERNEL 1 /* user space kernel */
+#define AFS_ENV 1
+#define AFS_USR_LINUX20_ENV 1
+#define AFS_USR_LINUX22_ENV 1
+#define AFS_USR_LINUX24_ENV 1
+#define AFS_NONFSTRANS 1
+
+#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
+#define AFS_SYSCALL 137
+#define AFS_64BIT_IOPS_ENV 1
+#define AFS_NAMEI_ENV 1 /* User space interface to file system */
+#include <afs/afs_sysnames.h>
+
+#define AFS_USERSPACE_IP_ADDR 1
+#define RXK_LISTENER_ENV 1
+#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
+
+
+/* Machine / Operating system information */
+#define SYS_NAME "parisc_linux24"
+#define SYS_NAME_ID SYS_NAME_ID_parisc_linux24
+#define AFSBIG_ENDIAN 1
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
+#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
+
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_fmode uio_fmode
+#define afsio_resid uio_resid
+#define AFS_UIOSYS 1
+#define AFS_UIOUSER UIO_USERSPACE
+#define AFS_CLBYTES MCLBYTES
+#define AFS_MINCHANGE 2
+#define VATTR_NULL usr_vattr_null
+
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+
+#endif /* AFS_PARAM_H */
+
+#endif /* !defined(UKERNEL) */
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-/* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel,
- * it's a judgment call. If something is obviously ppc specific, use that
- * #define instead. Note that "20" refers to the linux 2.0 kernel. The "2"
- * in the sysname is the current version of the client. This takes into
- * account the perferred OS user space configuration as well as the kernel.
- */
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_ENV 1
-#define AFS_USR_LINUX20_ENV 1
-#define AFS_USR_LINUX22_ENV 1
-#define AFS_USR_LINUX24_ENV 1
-#define AFS_NONFSTRANS 1
-
-#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
-#define AFS_SYSCALL 137
-#define AFS_64BIT_IOPS_ENV 1
-#define AFS_NAMEI_ENV 1 /* User space interface to file system */
-#include <afs/afs_sysnames.h>
-
-#define AFS_USERSPACE_IP_ADDR 1
-#define RXK_LISTENER_ENV 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-
-/* Machine / Operating system information */
-#define SYS_NAME "parisc_linux24"
-#define SYS_NAME_ID SYS_NAME_ID_parisc_linux24
-#define AFSBIG_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
-
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MCLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-
-#endif /* AFS_PARAM_H */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
#ifndef AFS_PARAM_H
#define AFS_PARAM_H
#endif
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+#ifndef AFS_PARAM_H
+#define AFS_PARAM_H
+
+#define AFS_VFSINCL_ENV 1 /* NOBODY uses this.... */
+#define AFS_ENV 1
+#define AFS_64BIT_ENV 1 /* Defines afs_int32 as int, not long. */
+#define AFS_PPC_ENV 1
+
+#include <afs/afs_sysnames.h>
+#define AFS_USERSPACE_ENV
+#define AFS_USR_DARWIN_ENV
+#define AFS_NONFSTRANS
+#define AFS_SYSCALL 230
+
+/* File system entry (used if mount.h doesn't define MOUNT_AFS */
+#define AFS_MOUNT_AFS "afs"
+
+/* Machine / Operating system information */
+#define sys_ppc_darwin_12 1
+#define SYS_NAME "ppc_darwin_12"
+#define SYS_NAME_ID SYS_NAME_ID_ppc_darwin_12
+#define AFSBIG_ENDIAN 1
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+
+#define AFS_UIOSYS UIO_SYSSPACE
+#define AFS_UIOUSER UIO_USERSPACE
+
+#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
+#define RXK_LISTENER_ENV 1
+
+#define AFS_VFS34 1 /* What is VFS34??? */
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_resid uio_resid
+#define AFS_UIOSYS UIO_SYSSPACE
+#define AFS_UIOUSER UIO_USERSPACE
+#define VATTR_NULL usr_vattr_null
+
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+
+#endif /* AFS_PARAM_H */
+
+#endif /* !defined(UKERNEL) */
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-#define AFS_VFSINCL_ENV 1 /* NOBODY uses this.... */
-#define AFS_ENV 1
-#define AFS_64BIT_ENV 1 /* Defines afs_int32 as int, not long. */
-#define AFS_PPC_ENV 1
-
-#include <afs/afs_sysnames.h>
-#define AFS_USERSPACE_ENV
-#define AFS_USR_DARWIN_ENV
-#define AFS_NONFSTRANS
-#define AFS_SYSCALL 230
-
-/* File system entry (used if mount.h doesn't define MOUNT_AFS */
-#define AFS_MOUNT_AFS "afs"
-
-/* Machine / Operating system information */
-#define sys_ppc_darwin_12 1
-#define SYS_NAME "ppc_darwin_12"
-#define SYS_NAME_ID SYS_NAME_ID_ppc_darwin_12
-#define AFSBIG_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-
-#define AFS_UIOSYS UIO_SYSSPACE
-#define AFS_UIOUSER UIO_USERSPACE
-
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-#define RXK_LISTENER_ENV 1
-
-#define AFS_VFS34 1 /* What is VFS34??? */
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_resid uio_resid
-#define AFS_UIOSYS UIO_SYSSPACE
-#define AFS_UIOUSER UIO_USERSPACE
-#define VATTR_NULL usr_vattr_null
-
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-
-#endif /* AFS_PARAM_H */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
#ifndef AFS_PARAM_H
#define AFS_PARAM_H
#endif
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+#ifndef AFS_PARAM_H
+#define AFS_PARAM_H
+
+#define AFS_VFSINCL_ENV 1 /* NOBODY uses this.... */
+#define AFS_ENV 1
+#define AFS_64BIT_ENV 1 /* Defines afs_int32 as int, not long. */
+#define AFS_PPC_ENV 1
+
+#include <afs/afs_sysnames.h>
+#define AFS_USERSPACE_ENV
+#define AFS_USR_DARWIN_ENV
+#define AFS_USR_DARWIN13_ENV
+#define AFS_NONFSTRANS
+#define AFS_SYSCALL 230
+
+/* File system entry (used if mount.h doesn't define MOUNT_AFS */
+#define AFS_MOUNT_AFS "afs"
+
+/* Machine / Operating system information */
+#define sys_ppc_darwin_12 1
+#define sys_ppc_darwin_13 1
+#define SYS_NAME "ppc_darwin_13"
+#define SYS_NAME_ID SYS_NAME_ID_ppc_darwin_13
+#define AFSBIG_ENDIAN 1
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+
+#define AFS_UIOSYS UIO_SYSSPACE
+#define AFS_UIOUSER UIO_USERSPACE
+
+#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
+#define RXK_LISTENER_ENV 1
+
+#define AFS_VFS34 1 /* What is VFS34??? */
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_resid uio_resid
+#define AFS_UIOSYS UIO_SYSSPACE
+#define AFS_UIOUSER UIO_USERSPACE
+#define VATTR_NULL usr_vattr_null
+
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+
+#endif /* AFS_PARAM_H */
+
+#endif /* !defined(UKERNEL) */
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-#define AFS_VFSINCL_ENV 1 /* NOBODY uses this.... */
-#define AFS_ENV 1
-#define AFS_64BIT_ENV 1 /* Defines afs_int32 as int, not long. */
-#define AFS_PPC_ENV 1
-
-#include <afs/afs_sysnames.h>
-#define AFS_USERSPACE_ENV
-#define AFS_USR_DARWIN_ENV
-#define AFS_USR_DARWIN13_ENV
-#define AFS_NONFSTRANS
-#define AFS_SYSCALL 230
-
-/* File system entry (used if mount.h doesn't define MOUNT_AFS */
-#define AFS_MOUNT_AFS "afs"
-
-/* Machine / Operating system information */
-#define sys_ppc_darwin_12 1
-#define sys_ppc_darwin_13 1
-#define SYS_NAME "ppc_darwin_13"
-#define SYS_NAME_ID SYS_NAME_ID_ppc_darwin_13
-#define AFSBIG_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-
-#define AFS_UIOSYS UIO_SYSSPACE
-#define AFS_UIOUSER UIO_USERSPACE
-
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-#define RXK_LISTENER_ENV 1
-
-#define AFS_VFS34 1 /* What is VFS34??? */
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_resid uio_resid
-#define AFS_UIOSYS UIO_SYSSPACE
-#define AFS_UIOUSER UIO_USERSPACE
-#define VATTR_NULL usr_vattr_null
-
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-
-#endif /* AFS_PARAM_H */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
#ifndef AFS_PARAM_H
#define AFS_PARAM_H
#endif
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+#ifndef AFS_PARAM_H
+#define AFS_PARAM_H
+
+#define AFS_VFSINCL_ENV 1 /* NOBODY uses this.... */
+#define AFS_ENV 1
+#define AFS_64BIT_ENV 1 /* Defines afs_int32 as int, not long. */
+#define AFS_PPC_ENV 1
+
+#include <afs/afs_sysnames.h>
+#define AFS_USERSPACE_ENV
+#define AFS_USR_DARWIN_ENV
+#define AFS_USR_DARWIN13_ENV
+#define AFS_USR_DARWIN14_ENV
+#define AFS_NONFSTRANS
+#define AFS_SYSCALL 230
+
+/* File system entry (used if mount.h doesn't define MOUNT_AFS */
+#define AFS_MOUNT_AFS "afs"
+
+/* Machine / Operating system information */
+#define sys_ppc_darwin_12 1
+#define sys_ppc_darwin_13 1
+#define sys_ppc_darwin_14 1
+#define SYS_NAME "ppc_darwin_14"
+#define SYS_NAME_ID SYS_NAME_ID_ppc_darwin_14
+#define AFSBIG_ENDIAN 1
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+
+#define AFS_UIOSYS UIO_SYSSPACE
+#define AFS_UIOUSER UIO_USERSPACE
+
+#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
+#define RXK_LISTENER_ENV 1
+
+#define AFS_VFS34 1 /* What is VFS34??? */
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_resid uio_resid
+#define AFS_UIOSYS UIO_SYSSPACE
+#define AFS_UIOUSER UIO_USERSPACE
+#define VATTR_NULL usr_vattr_null
+
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+
+#endif /* AFS_PARAM_H */
+
+#endif /* !defined(UKERNEL) */
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-#define AFS_VFSINCL_ENV 1 /* NOBODY uses this.... */
-#define AFS_ENV 1
-#define AFS_64BIT_ENV 1 /* Defines afs_int32 as int, not long. */
-#define AFS_PPC_ENV 1
-
-#include <afs/afs_sysnames.h>
-#define AFS_USERSPACE_ENV
-#define AFS_USR_DARWIN_ENV
-#define AFS_USR_DARWIN13_ENV
-#define AFS_USR_DARWIN14_ENV
-#define AFS_NONFSTRANS
-#define AFS_SYSCALL 230
-
-/* File system entry (used if mount.h doesn't define MOUNT_AFS */
-#define AFS_MOUNT_AFS "afs"
-
-/* Machine / Operating system information */
-#define sys_ppc_darwin_12 1
-#define sys_ppc_darwin_13 1
-#define sys_ppc_darwin_14 1
-#define SYS_NAME "ppc_darwin_14"
-#define SYS_NAME_ID SYS_NAME_ID_ppc_darwin_14
-#define AFSBIG_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-
-#define AFS_UIOSYS UIO_SYSSPACE
-#define AFS_UIOUSER UIO_USERSPACE
-
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-#define RXK_LISTENER_ENV 1
-
-#define AFS_VFS34 1 /* What is VFS34??? */
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_resid uio_resid
-#define AFS_UIOSYS UIO_SYSSPACE
-#define AFS_UIOUSER UIO_USERSPACE
-#define VATTR_NULL usr_vattr_null
-
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-
-#endif /* AFS_PARAM_H */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
#ifndef AFS_PARAM_H
#define AFS_PARAM_H
#endif
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+#ifndef AFS_PARAM_H
+#define AFS_PARAM_H
+
+#define AFS_VFSINCL_ENV 1 /* NOBODY uses this.... */
+#define AFS_ENV 1
+#define AFS_64BIT_ENV 1 /* Defines afs_int32 as int, not long. */
+#define AFS_PPC_ENV 1
+
+#include <afs/afs_sysnames.h>
+#define AFS_USERSPACE_ENV
+#define AFS_USR_DARWIN_ENV
+#define AFS_USR_DARWIN13_ENV
+#define AFS_USR_DARWIN14_ENV
+#define AFS_USR_DARWIN60_ENV
+#define AFS_NONFSTRANS
+#define AFS_SYSCALL 230
+
+/* File system entry (used if mount.h doesn't define MOUNT_AFS */
+#define AFS_MOUNT_AFS "afs"
+
+/* Machine / Operating system information */
+#define sys_ppc_darwin_12 1
+#define sys_ppc_darwin_13 1
+#define sys_ppc_darwin_14 1
+#define sys_ppc_darwin_60 1
+#define SYS_NAME "ppc_darwin_60"
+#define SYS_NAME_ID SYS_NAME_ID_ppc_darwin_60
+#define AFSBIG_ENDIAN 1
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+
+#define AFS_UIOSYS UIO_SYSSPACE
+#define AFS_UIOUSER UIO_USERSPACE
+
+#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
+#define RXK_LISTENER_ENV 1
+
+#define AFS_VFS34 1 /* What is VFS34??? */
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_resid uio_resid
+#define AFS_UIOSYS UIO_SYSSPACE
+#define AFS_UIOUSER UIO_USERSPACE
+#define VATTR_NULL usr_vattr_null
+
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+
+#endif /* AFS_PARAM_H */
+
+#endif /* !defined(UKERNEL) */
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-#define AFS_VFSINCL_ENV 1 /* NOBODY uses this.... */
-#define AFS_ENV 1
-#define AFS_64BIT_ENV 1 /* Defines afs_int32 as int, not long. */
-#define AFS_PPC_ENV 1
-
-#include <afs/afs_sysnames.h>
-#define AFS_USERSPACE_ENV
-#define AFS_USR_DARWIN_ENV
-#define AFS_USR_DARWIN13_ENV
-#define AFS_USR_DARWIN14_ENV
-#define AFS_USR_DARWIN60_ENV
-#define AFS_NONFSTRANS
-#define AFS_SYSCALL 230
-
-/* File system entry (used if mount.h doesn't define MOUNT_AFS */
-#define AFS_MOUNT_AFS "afs"
-
-/* Machine / Operating system information */
-#define sys_ppc_darwin_12 1
-#define sys_ppc_darwin_13 1
-#define sys_ppc_darwin_14 1
-#define sys_ppc_darwin_60 1
-#define SYS_NAME "ppc_darwin_60"
-#define SYS_NAME_ID SYS_NAME_ID_ppc_darwin_60
-#define AFSBIG_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-
-#define AFS_UIOSYS UIO_SYSSPACE
-#define AFS_UIOUSER UIO_USERSPACE
-
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-#define RXK_LISTENER_ENV 1
-
-#define AFS_VFS34 1 /* What is VFS34??? */
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_resid uio_resid
-#define AFS_UIOSYS UIO_SYSSPACE
-#define AFS_UIOUSER UIO_USERSPACE
-#define VATTR_NULL usr_vattr_null
-
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-
-#endif /* AFS_PARAM_H */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
#ifndef AFS_PARAM_H
#define AFS_PARAM_H
#endif /* KERNEL */
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+#ifndef AFS_PARAM_H
+#define AFS_PARAM_H
+
+/* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel,
+ * it's a judgment call. If something is obviously ppc specific, use that
+ * #define instead. Note that "20" refers to the linux 2.0 kernel. The "2"
+ * in the sysname is the current version of the client. This takes into
+ * account the perferred OS user space configuration as well as the kernel.
+ */
+
+#define UKERNEL 1 /* user space kernel */
+#define AFS_ENV 1
+#define AFS_USR_LINUX20_ENV 1
+#define AFS_USR_LINUX22_ENV 1
+#define AFS_NONFSTRANS 1
+
+#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
+#define AFS_SYSCALL 137
+#define AFS_64BIT_IOPS_ENV 1
+#define AFS_NAMEI_ENV 1 /* User space interface to file system */
+#include <afs/afs_sysnames.h>
+
+#define AFS_USERSPACE_IP_ADDR 1
+#define RXK_LISTENER_ENV 1
+#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
+
+
+/* Machine / Operating system information */
+#define SYS_NAME "ppc_linux22"
+#define SYS_NAME_ID SYS_NAME_ID_ppc_linux22
+#define AFSBIG_ENDIAN 1
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
+#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
+
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_fmode uio_fmode
+#define afsio_resid uio_resid
+#define AFS_UIOSYS 1
+#define AFS_UIOUSER UIO_USERSPACE
+#define AFS_CLBYTES MCLBYTES
+#define AFS_MINCHANGE 2
+#define VATTR_NULL usr_vattr_null
+
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+
+#endif /* AFS_PARAM_H */
+
+#endif /* !defined(UKERNEL) */
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-/* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel,
- * it's a judgment call. If something is obviously ppc specific, use that
- * #define instead. Note that "20" refers to the linux 2.0 kernel. The "2"
- * in the sysname is the current version of the client. This takes into
- * account the perferred OS user space configuration as well as the kernel.
- */
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_ENV 1
-#define AFS_USR_LINUX20_ENV 1
-#define AFS_USR_LINUX22_ENV 1
-#define AFS_NONFSTRANS 1
-
-#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
-#define AFS_SYSCALL 137
-#define AFS_64BIT_IOPS_ENV 1
-#define AFS_NAMEI_ENV 1 /* User space interface to file system */
-#include <afs/afs_sysnames.h>
-
-#define AFS_USERSPACE_IP_ADDR 1
-#define RXK_LISTENER_ENV 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-
-/* Machine / Operating system information */
-#define SYS_NAME "ppc_linux22"
-#define SYS_NAME_ID SYS_NAME_ID_ppc_linux22
-#define AFSBIG_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
-
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MCLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-
-#endif /* AFS_PARAM_H */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
#ifndef AFS_PARAM_H
#define AFS_PARAM_H
#endif /* KERNEL */
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+#ifndef AFS_PARAM_H
+#define AFS_PARAM_H
+
+/* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel,
+ * it's a judgment call. If something is obviously ppc specific, use that
+ * #define instead. Note that "20" refers to the linux 2.0 kernel. The "2"
+ * in the sysname is the current version of the client. This takes into
+ * account the perferred OS user space configuration as well as the kernel.
+ */
+
+#define UKERNEL 1 /* user space kernel */
+#define AFS_ENV 1
+#define AFS_USR_LINUX20_ENV 1
+#define AFS_USR_LINUX22_ENV 1
+#define AFS_USR_LINUX24_ENV 1
+#define AFS_NONFSTRANS 1
+
+#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
+#define AFS_SYSCALL 137
+#define AFS_64BIT_IOPS_ENV 1
+#define AFS_NAMEI_ENV 1 /* User space interface to file system */
+#include <afs/afs_sysnames.h>
+
+#define AFS_USERSPACE_IP_ADDR 1
+#define RXK_LISTENER_ENV 1
+#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
+
+
+/* Machine / Operating system information */
+#define SYS_NAME "ppc_linux24"
+#define SYS_NAME_ID SYS_NAME_ID_ppc_linux24
+#define AFSBIG_ENDIAN 1
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
+#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
+
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_fmode uio_fmode
+#define afsio_resid uio_resid
+#define AFS_UIOSYS 1
+#define AFS_UIOUSER UIO_USERSPACE
+#define AFS_CLBYTES MCLBYTES
+#define AFS_MINCHANGE 2
+#define VATTR_NULL usr_vattr_null
+
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+
+#endif /* AFS_PARAM_H */
+
+#endif /* !defined(UKERNEL) */
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-/* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel,
- * it's a judgment call. If something is obviously ppc specific, use that
- * #define instead. Note that "20" refers to the linux 2.0 kernel. The "2"
- * in the sysname is the current version of the client. This takes into
- * account the perferred OS user space configuration as well as the kernel.
- */
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_ENV 1
-#define AFS_USR_LINUX20_ENV 1
-#define AFS_USR_LINUX22_ENV 1
-#define AFS_USR_LINUX24_ENV 1
-#define AFS_NONFSTRANS 1
-
-#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
-#define AFS_SYSCALL 137
-#define AFS_64BIT_IOPS_ENV 1
-#define AFS_NAMEI_ENV 1 /* User space interface to file system */
-#include <afs/afs_sysnames.h>
-
-#define AFS_USERSPACE_IP_ADDR 1
-#define RXK_LISTENER_ENV 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-
-/* Machine / Operating system information */
-#define SYS_NAME "ppc_linux24"
-#define SYS_NAME_ID SYS_NAME_ID_ppc_linux24
-#define AFSBIG_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
-
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MCLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-
-#endif /* AFS_PARAM_H */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
/*
* Copyright 2000, International Business Machines Corporation and others.
* All Rights Reserved.
#endif /* !_KERNEL */
#define AFS_DIRENT
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+/*
+ * 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
+ */
+
+#ifndef AFS_PARAM_H
+#define AFS_PARAM_H
+
+#define AFS_64BIT_ENV 1
+#define AFS_64BIT_CLIENT 1
+
+#define AFS_VFS_ENV 1
+/* Used only in vfsck code; is it needed any more???? */
+#define RXK_LISTENER_ENV 1
+#define AFS_USERSPACE_IP_ADDR 1
+#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
+
+#ifdef KERNEL
+
+#define UKERNEL 1 /* user space kernel */
+#define AFS_ENV 1
+#define AFS_USR_AIX_ENV 1
+#define AFS_USR_AIX41_ENV 1
+#define AFS_USR_AIX42_ENV 1
+
+#else /* KERNEL */
+
+#define AFS_AIX_ENV 1
+#define AFS_AIX32_ENV 1
+#define AFS_AIX41_ENV 1
+#define AFS_AIX42_ENV 1
+
+#endif /* KERNEL */
+
+#include <afs/afs_sysnames.h>
+
+/*#define AFS_GLOBAL_SUNLOCK 1*/ /* For global locking */
+
+#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
+#define AFS_SYSCALL 105
+
+/* File system entry (used if mount.h doesn't define MOUNT_AFS */
+#define AFS_MOUNT_AFS 4
+
+/* Machine / Operating system information */
+#define sys_rs_aix42 1
+#define SYS_NAME "rs_aix42"
+#define SYS_NAME_ID SYS_NAME_ID_rs_aix42
+#define AFSBIG_ENDIAN 1
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
+
+/* Extra kernel definitions (from kdefs file) */
+#ifdef KERNEL
+#define AFS_UIOFMODE 1 /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
+#define AFS_SYSVLOCK 1 /* sys v locking supported */
+/*#define AFS_USEBUFFERS 1*/
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_fmode uio_fmode
+#define afsio_resid uio_resid
+#define AFS_UIOSYS 1
+#define AFS_UIOUSER UIO_USERSPACE
+#define AFS_CLBYTES MCLBYTES
+#define AFS_MINCHANGE 2
+#define VATTR_NULL usr_vattr_null
+#endif /* KERNEL */
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+
+#endif /* AFS_PARAM_H */
+
+#endif /* !defined(UKERNEL) */
-/*
- * 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
- */
-
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-#define AFS_64BIT_ENV 1
-#define AFS_64BIT_CLIENT 1
-
-#define AFS_VFS_ENV 1
-/* Used only in vfsck code; is it needed any more???? */
-#define RXK_LISTENER_ENV 1
-#define AFS_USERSPACE_IP_ADDR 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-#ifdef KERNEL
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_ENV 1
-#define AFS_USR_AIX_ENV 1
-#define AFS_USR_AIX41_ENV 1
-#define AFS_USR_AIX42_ENV 1
-
-#else /* KERNEL */
-
-#define AFS_AIX_ENV 1
-#define AFS_AIX32_ENV 1
-#define AFS_AIX41_ENV 1
-#define AFS_AIX42_ENV 1
-
-#endif /* KERNEL */
-
-#include <afs/afs_sysnames.h>
-
-/*#define AFS_GLOBAL_SUNLOCK 1*/ /* For global locking */
-
-#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
-#define AFS_SYSCALL 105
-
-/* File system entry (used if mount.h doesn't define MOUNT_AFS */
-#define AFS_MOUNT_AFS 4
-
-/* Machine / Operating system information */
-#define sys_rs_aix42 1
-#define SYS_NAME "rs_aix42"
-#define SYS_NAME_ID SYS_NAME_ID_rs_aix42
-#define AFSBIG_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-
-/* Extra kernel definitions (from kdefs file) */
-#ifdef KERNEL
-#define AFS_UIOFMODE 1 /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
-#define AFS_SYSVLOCK 1 /* sys v locking supported */
-/*#define AFS_USEBUFFERS 1*/
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MCLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-#endif /* KERNEL */
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-
-#endif /* AFS_PARAM_H */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
/*
* Copyright 2000, International Business Machines Corporation and others.
* All Rights Reserved.
#endif /* !_KERNEL */
#define AFS_DIRENT
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+/*
+ * 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
+ */
+
+#ifndef AFS_PARAM_H
+#define AFS_PARAM_H
+
+#define AFS_64BIT_ENV 1
+#define AFS_64BIT_CLIENT 1
+#define AFS_NAMEI_ENV 1
+#ifdef AFS_NAMEI_ENV
+#define AFS_64BIT_IOPS_ENV 1
+#endif
+#define BITMAP_LATER 1
+#define FAST_RESTART 1
+
+#define AFS_VFS_ENV 1
+/* Used only in vfsck code; is it needed any more???? */
+#define RXK_LISTENER_ENV 1
+#define AFS_USERSPACE_IP_ADDR 1
+#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
+
+#ifdef KERNEL
+
+#define UKERNEL 1 /* user space kernel */
+#define AFS_ENV 1
+#define AFS_USR_AIX_ENV 1
+#define AFS_USR_AIX41_ENV 1
+#define AFS_USR_AIX42_ENV 1
+
+#else /* KERNEL */
+
+#define AFS_AIX_ENV 1
+#define AFS_AIX32_ENV 1
+#define AFS_AIX41_ENV 1
+#define AFS_AIX42_ENV 1
+
+#endif /* KERNEL */
+
+#include <afs/afs_sysnames.h>
+
+/*#define AFS_GLOBAL_SUNLOCK 1*/ /* For global locking */
+
+#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
+#define AFS_SYSCALL 105
+
+/* File system entry (used if mount.h doesn't define MOUNT_AFS */
+#define AFS_MOUNT_AFS 4
+
+/* Machine / Operating system information */
+#define sys_rs_aix42 1
+#define SYS_NAME "rs_aix42"
+#define SYS_NAME_ID SYS_NAME_ID_rs_aix42
+#define AFSBIG_ENDIAN 1
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
+
+/* Extra kernel definitions (from kdefs file) */
+#ifdef KERNEL
+#define AFS_UIOFMODE 1 /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
+#define AFS_SYSVLOCK 1 /* sys v locking supported */
+/*#define AFS_USEBUFFERS 1*/
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_fmode uio_fmode
+#define afsio_resid uio_resid
+#define AFS_UIOSYS 1
+#define AFS_UIOUSER UIO_USERSPACE
+#define AFS_CLBYTES MCLBYTES
+#define AFS_MINCHANGE 2
+#define VATTR_NULL usr_vattr_null
+#endif /* KERNEL */
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+
+#endif /* AFS_PARAM_H */
+
+#endif /* !defined(UKERNEL) */
-/*
- * 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
- */
-
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-#define AFS_64BIT_ENV 1
-#define AFS_64BIT_CLIENT 1
-#define AFS_NAMEI_ENV 1
-#ifdef AFS_NAMEI_ENV
-#define AFS_64BIT_IOPS_ENV 1
-#endif
-#define BITMAP_LATER 1
-#define FAST_RESTART 1
-
-#define AFS_VFS_ENV 1
-/* Used only in vfsck code; is it needed any more???? */
-#define RXK_LISTENER_ENV 1
-#define AFS_USERSPACE_IP_ADDR 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-#ifdef KERNEL
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_ENV 1
-#define AFS_USR_AIX_ENV 1
-#define AFS_USR_AIX41_ENV 1
-#define AFS_USR_AIX42_ENV 1
-
-#else /* KERNEL */
-
-#define AFS_AIX_ENV 1
-#define AFS_AIX32_ENV 1
-#define AFS_AIX41_ENV 1
-#define AFS_AIX42_ENV 1
-
-#endif /* KERNEL */
-
-#include <afs/afs_sysnames.h>
-
-/*#define AFS_GLOBAL_SUNLOCK 1*/ /* For global locking */
-
-#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
-#define AFS_SYSCALL 105
-
-/* File system entry (used if mount.h doesn't define MOUNT_AFS */
-#define AFS_MOUNT_AFS 4
-
-/* Machine / Operating system information */
-#define sys_rs_aix42 1
-#define SYS_NAME "rs_aix42"
-#define SYS_NAME_ID SYS_NAME_ID_rs_aix42
-#define AFSBIG_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-
-/* Extra kernel definitions (from kdefs file) */
-#ifdef KERNEL
-#define AFS_UIOFMODE 1 /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
-#define AFS_SYSVLOCK 1 /* sys v locking supported */
-/*#define AFS_USEBUFFERS 1*/
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MCLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-#endif /* KERNEL */
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-
-#endif /* AFS_PARAM_H */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
/* Copyright (C) 1998 by Transarc Corporation */
#endif /* KERNEL */
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+/* Copyright (C) 1998 by Transarc Corporation */
+
+
+#ifndef AFS_PARAM_H
+#define AFS_PARAM_H
+
+/* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel,
+ * it's a judgment call. If something is obviously s390 specific, use that
+ * #define instead. Note that "20" refers to the linux 2.0 kernel. The "2"
+ * in the sysname is the current version of the client. This takes into
+ * account the perferred OS user space configuration as well as the kernel.
+ */
+
+#define UKERNEL 1 /* user space kernel */
+#define AFS_ENV 1
+#define AFS_USR_LINUX20_ENV 1
+#define AFS_USR_LINUX22_ENV 1
+#define AFS_NONFSTRANS 1
+
+#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
+#define AFS_SYSCALL 137
+#define AFS_64BIT_IOPS_ENV 1
+#define AFS_NAMEI_ENV 1 /* User space interface to file system */
+#include <afs/afs_sysnames.h>
+
+#define AFS_USERSPACE_IP_ADDR 1
+#define RXK_LISTENER_ENV 1
+#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
+
+
+/* Machine / Operating system information */
+#define SYS_NAME "s390_linux22"
+#define SYS_NAME_ID SYS_NAME_ID_s390_linux22
+#define AFSBIG_ENDIAN 1
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
+#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
+
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_fmode uio_fmode
+#define afsio_resid uio_resid
+#define AFS_UIOSYS 1
+#define AFS_UIOUSER UIO_USERSPACE
+#define AFS_CLBYTES MCLBYTES
+#define AFS_MINCHANGE 2
+#define VATTR_NULL usr_vattr_null
+
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+
+#endif /* AFS_PARAM_H */
+
+#endif /* !defined(UKERNEL) */
-/* Copyright (C) 1998 by Transarc Corporation */
-
-
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-/* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel,
- * it's a judgment call. If something is obviously s390 specific, use that
- * #define instead. Note that "20" refers to the linux 2.0 kernel. The "2"
- * in the sysname is the current version of the client. This takes into
- * account the perferred OS user space configuration as well as the kernel.
- */
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_ENV 1
-#define AFS_USR_LINUX20_ENV 1
-#define AFS_USR_LINUX22_ENV 1
-#define AFS_NONFSTRANS 1
-
-#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
-#define AFS_SYSCALL 137
-#define AFS_64BIT_IOPS_ENV 1
-#define AFS_NAMEI_ENV 1 /* User space interface to file system */
-#include <afs/afs_sysnames.h>
-
-#define AFS_USERSPACE_IP_ADDR 1
-#define RXK_LISTENER_ENV 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-
-/* Machine / Operating system information */
-#define SYS_NAME "s390_linux22"
-#define SYS_NAME_ID SYS_NAME_ID_s390_linux22
-#define AFSBIG_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
-
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MCLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-
-#endif /* AFS_PARAM_H */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
/* Copyright (C) 1998 by Transarc Corporation */
#endif /* KERNEL */
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+/* Copyright (C) 1998 by Transarc Corporation */
+
+
+#ifndef AFS_PARAM_H
+#define AFS_PARAM_H
+
+/* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel,
+ * it's a judgment call. If something is obviously s390 specific, use that
+ * #define instead. Note that "20" refers to the linux 2.0 kernel. The "2"
+ * in the sysname is the current version of the client. This takes into
+ * account the perferred OS user space configuration as well as the kernel.
+ */
+
+#define UKERNEL 1 /* user space kernel */
+#define AFS_ENV 1
+#define AFS_USR_LINUX20_ENV 1
+#define AFS_USR_LINUX22_ENV 1
+#define AFS_USR_LINUX24_ENV 1
+#define AFS_NONFSTRANS 1
+
+#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
+#define AFS_SYSCALL 137
+#define AFS_64BIT_IOPS_ENV 1
+#define AFS_NAMEI_ENV 1 /* User space interface to file system */
+#include <afs/afs_sysnames.h>
+
+#define AFS_USERSPACE_IP_ADDR 1
+#define RXK_LISTENER_ENV 1
+#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
+
+
+/* Machine / Operating system information */
+#define SYS_NAME "s390_linux24"
+#define SYS_NAME_ID SYS_NAME_ID_s390_linux24
+#define AFSBIG_ENDIAN 1
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
+#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
+
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_fmode uio_fmode
+#define afsio_resid uio_resid
+#define AFS_UIOSYS 1
+#define AFS_UIOUSER UIO_USERSPACE
+#define AFS_CLBYTES MCLBYTES
+#define AFS_MINCHANGE 2
+#define VATTR_NULL usr_vattr_null
+
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+
+#endif /* AFS_PARAM_H */
+
+#endif /* !defined(UKERNEL) */
-/* Copyright (C) 1998 by Transarc Corporation */
-
-
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-/* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel,
- * it's a judgment call. If something is obviously s390 specific, use that
- * #define instead. Note that "20" refers to the linux 2.0 kernel. The "2"
- * in the sysname is the current version of the client. This takes into
- * account the perferred OS user space configuration as well as the kernel.
- */
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_ENV 1
-#define AFS_USR_LINUX20_ENV 1
-#define AFS_USR_LINUX22_ENV 1
-#define AFS_USR_LINUX24_ENV 1
-#define AFS_NONFSTRANS 1
-
-#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
-#define AFS_SYSCALL 137
-#define AFS_64BIT_IOPS_ENV 1
-#define AFS_NAMEI_ENV 1 /* User space interface to file system */
-#include <afs/afs_sysnames.h>
-
-#define AFS_USERSPACE_IP_ADDR 1
-#define RXK_LISTENER_ENV 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-
-/* Machine / Operating system information */
-#define SYS_NAME "s390_linux24"
-#define SYS_NAME_ID SYS_NAME_ID_s390_linux24
-#define AFSBIG_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
-
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MCLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-
-#endif /* AFS_PARAM_H */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
/*
* Copyright 2000, International Business Machines Corporation and others.
* All Rights Reserved.
#define CMSERVERPREF
#endif
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+/*
+ * 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
+ */
+
+#ifndef AFS_PARAM_H
+#define AFS_PARAM_H
+
+#define AFS_VFS_ENV 1
+/* Used only in vfsck code; is it needed any more???? */
+#define RXK_LISTENER_ENV 1
+#define AFS_USERSPACE_IP_ADDR 1
+
+#define UKERNEL 1 /* user space kernel */
+#define AFS_GREEDY43_ENV 1 /* Used only in rx/rx_user.c */
+#define AFS_ENV 1
+#define AFS_USR_SGI_ENV 1
+#define AFS_USR_SGI62_ENV 1
+
+#include <afs/afs_sysnames.h>
+
+/*#define AFS_GLOBAL_SUNLOCK 1*/ /* For global locking */
+
+#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
+
+#define AFS_PIOCTL 64+1000
+#define AFS_SYSCALL 73+1000
+
+/* File system entry (used if mount.h doesn't define MOUNT_AFS */
+#define AFS_MOUNT_AFS 1
+
+/* Machine / Operating system information */
+#define sgi_62 1
+#define SYS_NAME "sgi_62"
+#define SYS_NAME_ID SYS_NAME_ID_sgi_62
+#define AFSBIG_ENDIAN 1
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
+
+/* Extra kernel definitions (from kdefs file) */
+#ifdef KERNEL
+#define AFS_UIOFMODE 1 /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
+#define AFS_SYSVLOCK 1 /* sys v locking supported */
+/*#define AFS_USEBUFFERS 1*/
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_fmode uio_fmode
+#define afsio_resid uio_resid
+#define AFS_UIOSYS 1
+#define AFS_UIOUSER UIO_USERSPACE
+#define AFS_CLBYTES MCLBYTES
+#define AFS_MINCHANGE 2
+#define VATTR_NULL usr_vattr_null
+#endif /* KERNEL */
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+#define ROOTINO UFSROOTINO
+
+#endif /* AFS_PARAM_H */
+
+#endif /* !defined(UKERNEL) */
-/*
- * 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
- */
-
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-#define AFS_VFS_ENV 1
-/* Used only in vfsck code; is it needed any more???? */
-#define RXK_LISTENER_ENV 1
-#define AFS_USERSPACE_IP_ADDR 1
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_GREEDY43_ENV 1 /* Used only in rx/rx_user.c */
-#define AFS_ENV 1
-#define AFS_USR_SGI_ENV 1
-#define AFS_USR_SGI62_ENV 1
-
-#include <afs/afs_sysnames.h>
-
-/*#define AFS_GLOBAL_SUNLOCK 1*/ /* For global locking */
-
-#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
-
-#define AFS_PIOCTL 64+1000
-#define AFS_SYSCALL 73+1000
-
-/* File system entry (used if mount.h doesn't define MOUNT_AFS */
-#define AFS_MOUNT_AFS 1
-
-/* Machine / Operating system information */
-#define sgi_62 1
-#define SYS_NAME "sgi_62"
-#define SYS_NAME_ID SYS_NAME_ID_sgi_62
-#define AFSBIG_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-
-/* Extra kernel definitions (from kdefs file) */
-#ifdef KERNEL
-#define AFS_UIOFMODE 1 /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
-#define AFS_SYSVLOCK 1 /* sys v locking supported */
-/*#define AFS_USEBUFFERS 1*/
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MCLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-#endif /* KERNEL */
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-#define ROOTINO UFSROOTINO
-
-#endif /* AFS_PARAM_H */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
/*
* Copyright 2000, International Business Machines Corporation and others.
* All Rights Reserved.
#define CMSERVERPREF
#endif
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+/*
+ * 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
+ */
+
+#ifndef AFS_PARAM_H
+#define AFS_PARAM_H
+
+#define AFS_VFS_ENV 1
+/* Used only in vfsck code; is it needed any more???? */
+#define RXK_LISTENER_ENV 1
+#define AFS_USERSPACE_IP_ADDR 1
+
+#define UKERNEL 1 /* user space kernel */
+#define AFS_GREEDY33_ENV 1 /* Used only in rx/rx_user.c */
+#define AFS_ENV 1
+#define AFS_USR_SGI_ENV 1
+#define AFS_USR_SGI62_ENV 1
+#define AFS_USR_SGI63_ENV 1
+
+#include <afs/afs_sysnames.h>
+
+/*#define AFS_GLOBAL_SUNLOCK 1*/ /* For global locking */
+
+#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
+
+#define AFS_PIOCTL 64+1000
+#define AFS_SYSCALL 73+1000
+
+/* File system entry (used if mount.h doesn't define MOUNT_AFS */
+#define AFS_MOUNT_AFS 1
+
+/* Machine / Operating system information */
+#define sgi_63 1
+#define SYS_NAME "sgi_63"
+#define SYS_NAME_ID SYS_NAME_ID_sgi_63
+#define AFSBIG_ENDIAN 1
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
+
+/* Extra kernel definitions (from kdefs file) */
+#ifdef KERNEL
+#define AFS_UIOFMODE 1 /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
+#define AFS_SYSVLOCK 1 /* sys v locking supported */
+/*#define AFS_USEBUFFERS 1*/
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_fmode uio_fmode
+#define afsio_resid uio_resid
+#define AFS_UIOSYS 1
+#define AFS_UIOUSER UIO_USERSPACE
+#define AFS_CLBYTES MCLBYTES
+#define AFS_MINCHANGE 2
+#define VATTR_NULL usr_vattr_null
+#endif /* KERNEL */
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+#define ROOTINO UFSROOTINO
+
+#endif /* AFS_PARAM_H */
+
+#endif /* !defined(UKERNEL) */
-/*
- * 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
- */
-
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-#define AFS_VFS_ENV 1
-/* Used only in vfsck code; is it needed any more???? */
-#define RXK_LISTENER_ENV 1
-#define AFS_USERSPACE_IP_ADDR 1
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_GREEDY33_ENV 1 /* Used only in rx/rx_user.c */
-#define AFS_ENV 1
-#define AFS_USR_SGI_ENV 1
-#define AFS_USR_SGI62_ENV 1
-#define AFS_USR_SGI63_ENV 1
-
-#include <afs/afs_sysnames.h>
-
-/*#define AFS_GLOBAL_SUNLOCK 1*/ /* For global locking */
-
-#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
-
-#define AFS_PIOCTL 64+1000
-#define AFS_SYSCALL 73+1000
-
-/* File system entry (used if mount.h doesn't define MOUNT_AFS */
-#define AFS_MOUNT_AFS 1
-
-/* Machine / Operating system information */
-#define sgi_63 1
-#define SYS_NAME "sgi_63"
-#define SYS_NAME_ID SYS_NAME_ID_sgi_63
-#define AFSBIG_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-
-/* Extra kernel definitions (from kdefs file) */
-#ifdef KERNEL
-#define AFS_UIOFMODE 1 /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
-#define AFS_SYSVLOCK 1 /* sys v locking supported */
-/*#define AFS_USEBUFFERS 1*/
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MCLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-#endif /* KERNEL */
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-#define ROOTINO UFSROOTINO
-
-#endif /* AFS_PARAM_H */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
/*
* Copyright 2000, International Business Machines Corporation and others.
* All Rights Reserved.
#define CMSERVERPREF
#endif
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+/*
+ * 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
+ */
+
+#ifndef AFS_PARAM_H
+#define AFS_PARAM_H
+
+#define AFS_VFS_ENV 1
+/* Used only in vfsck code; is it needed any more???? */
+#define RXK_LISTENER_ENV 1
+#define AFS_USERSPACE_IP_ADDR 1
+
+#define UKERNEL 1 /* user space kernel */
+#define AFS_GREEDY43_ENV 1 /* Used only in rx/rx_user.c */
+#define AFS_ENV 1
+#define AFS_USR_SGI_ENV 1
+#define AFS_USR_SGI62_ENV 1
+#define AFS_USR_SGI63_ENV 1
+#define AFS_USR_SGI64_ENV 1
+
+#include <afs/afs_sysnames.h>
+
+/*#define AFS_GLOBAL_SUNLOCK 1*/ /* For global locking */
+
+#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
+
+#define AFS_PIOCTL 64+1000
+#define AFS_SYSCALL 73+1000
+
+/* File system entry (used if mount.h doesn't define MOUNT_AFS */
+#define AFS_MOUNT_AFS 1
+
+/* Machine / Operating system information */
+#define sgi_64 1
+#define SYS_NAME "sgi_64"
+#define SYS_NAME_ID SYS_NAME_ID_sgi_64
+#define AFSBIG_ENDIAN 1
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
+
+/* Extra kernel definitions (from kdefs file) */
+#ifdef KERNEL
+#define AFS_UIOFMODE 1 /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
+#define AFS_SYSVLOCK 1 /* sys v locking supported */
+/*#define AFS_USEBUFFERS 1*/
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_fmode uio_fmode
+#define afsio_resid uio_resid
+#define AFS_UIOSYS 1
+#define AFS_UIOUSER UIO_USERSPACE
+#define AFS_CLBYTES MCLBYTES
+#define AFS_MINCHANGE 2
+#define VATTR_NULL usr_vattr_null
+#endif /* KERNEL */
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+#define ROOTINO UFSROOTINO
+
+#endif /* AFS_PARAM_H */
+
+#endif /* !defined(UKERNEL) */
-/*
- * 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
- */
-
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-#define AFS_VFS_ENV 1
-/* Used only in vfsck code; is it needed any more???? */
-#define RXK_LISTENER_ENV 1
-#define AFS_USERSPACE_IP_ADDR 1
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_GREEDY43_ENV 1 /* Used only in rx/rx_user.c */
-#define AFS_ENV 1
-#define AFS_USR_SGI_ENV 1
-#define AFS_USR_SGI62_ENV 1
-#define AFS_USR_SGI63_ENV 1
-#define AFS_USR_SGI64_ENV 1
-
-#include <afs/afs_sysnames.h>
-
-/*#define AFS_GLOBAL_SUNLOCK 1*/ /* For global locking */
-
-#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
-
-#define AFS_PIOCTL 64+1000
-#define AFS_SYSCALL 73+1000
-
-/* File system entry (used if mount.h doesn't define MOUNT_AFS */
-#define AFS_MOUNT_AFS 1
-
-/* Machine / Operating system information */
-#define sgi_64 1
-#define SYS_NAME "sgi_64"
-#define SYS_NAME_ID SYS_NAME_ID_sgi_64
-#define AFSBIG_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-
-/* Extra kernel definitions (from kdefs file) */
-#ifdef KERNEL
-#define AFS_UIOFMODE 1 /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
-#define AFS_SYSVLOCK 1 /* sys v locking supported */
-/*#define AFS_USEBUFFERS 1*/
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MCLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-#endif /* KERNEL */
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-#define ROOTINO UFSROOTINO
-
-#endif /* AFS_PARAM_H */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
/*
* Copyright 2000, International Business Machines Corporation and others.
* All Rights Reserved.
#define CMSERVERPREF
#endif
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+/*
+ * 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
+ */
+
+#ifndef AFS_PARAM_H
+#define AFS_PARAM_H
+
+#define AFS_VFS_ENV 1
+/* Used only in vfsck code; is it needed any more???? */
+#define RXK_LISTENER_ENV 1
+#define AFS_USERSPACE_IP_ADDR 1
+#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
+
+#define UKERNEL 1 /* user space kernel */
+#define AFS_GREEDY43_ENV 1 /* Used only in rx/rx_user.c */
+#define AFS_ENV 1
+#define AFS_USR_SGI_ENV 1
+#define AFS_USR_SGI62_ENV 1
+#define AFS_USR_SGI63_ENV 1
+#define AFS_USR_SGI64_ENV 1
+#define AFS_USR_SGI65_ENV 1
+
+#include <afs/afs_sysnames.h>
+
+/*#define AFS_GLOBAL_SUNLOCK 1*/ /* For global locking */
+
+#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
+
+#define AFS_PIOCTL 64+1000
+#define AFS_SYSCALL 73+1000
+
+/* File system entry (used if mount.h doesn't define MOUNT_AFS */
+#define AFS_MOUNT_AFS 1
+
+/* Machine / Operating system information */
+#define sgi_65 1
+#define SYS_NAME "sgi_65"
+#define SYS_NAME_ID SYS_NAME_ID_sgi_65
+#define AFSBIG_ENDIAN 1
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
+
+/* Extra kernel definitions (from kdefs file) */
+#ifdef KERNEL
+#define AFS_UIOFMODE 1 /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
+#define AFS_SYSVLOCK 1 /* sys v locking supported */
+/*#define AFS_USEBUFFERS 1*/
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_fmode uio_fmode
+#define afsio_resid uio_resid
+#define AFS_UIOSYS 1
+#define AFS_UIOUSER UIO_USERSPACE
+#define AFS_CLBYTES MCLBYTES
+#define AFS_MINCHANGE 2
+#define VATTR_NULL usr_vattr_null
+#endif /* KERNEL */
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+#define ROOTINO UFSROOTINO
+
+#endif /* AFS_PARAM_H */
+
+#endif /* !defined(UKERNEL) */
-/*
- * 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
- */
-
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-#define AFS_VFS_ENV 1
-/* Used only in vfsck code; is it needed any more???? */
-#define RXK_LISTENER_ENV 1
-#define AFS_USERSPACE_IP_ADDR 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_GREEDY43_ENV 1 /* Used only in rx/rx_user.c */
-#define AFS_ENV 1
-#define AFS_USR_SGI_ENV 1
-#define AFS_USR_SGI62_ENV 1
-#define AFS_USR_SGI63_ENV 1
-#define AFS_USR_SGI64_ENV 1
-#define AFS_USR_SGI65_ENV 1
-
-#include <afs/afs_sysnames.h>
-
-/*#define AFS_GLOBAL_SUNLOCK 1*/ /* For global locking */
-
-#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
-
-#define AFS_PIOCTL 64+1000
-#define AFS_SYSCALL 73+1000
-
-/* File system entry (used if mount.h doesn't define MOUNT_AFS */
-#define AFS_MOUNT_AFS 1
-
-/* Machine / Operating system information */
-#define sgi_65 1
-#define SYS_NAME "sgi_65"
-#define SYS_NAME_ID SYS_NAME_ID_sgi_65
-#define AFSBIG_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-
-/* Extra kernel definitions (from kdefs file) */
-#ifdef KERNEL
-#define AFS_UIOFMODE 1 /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
-#define AFS_SYSVLOCK 1 /* sys v locking supported */
-/*#define AFS_USEBUFFERS 1*/
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MCLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-#endif /* KERNEL */
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-#define ROOTINO UFSROOTINO
-
-#endif /* AFS_PARAM_H */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
/* Copyright (C) 1998 by Transarc Corporation */
#endif
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+/* Copyright (C) 1998 by Transarc Corporation */
+
+
+#ifndef AFS_PARAM_H
+#define AFS_PARAM_H
+
+/* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel,
+ * it's a judgment call. If something is obviously sparc64 specific, use that
+ * #define instead. Note that "20" refers to the linux 2.0 kernel. The "2"
+ * in the sysname is the current version of the client. This takes into
+ * account the perferred OS user space configuration as well as the kernel.
+ */
+
+#define UKERNEL 1 /* user space kernel */
+#define AFS_ENV 1
+#define AFS_USR_LINUX20_ENV 1
+#define AFS_USR_LINUX22_ENV 1
+#define AFS_NONFSTRANS 1
+
+#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
+#define AFS_SYSCALL 227
+#define AFS_64BIT_IOPS_ENV 1
+#define AFS_NAMEI_ENV 1 /* User space interface to file system */
+#include <afs/afs_sysnames.h>
+
+#define AFS_USERSPACE_IP_ADDR 1
+#define RXK_LISTENER_ENV 1
+#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
+
+
+/* Machine / Operating system information */
+#define SYS_NAME "sparc64_linux22"
+#define SYS_NAME_ID SYS_NAME_ID_sparc64_linux22
+#define AFSBIG_ENDIAN 1
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
+#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
+
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_fmode uio_fmode
+#define afsio_resid uio_resid
+#define AFS_UIOSYS 1
+#define AFS_UIOUSER UIO_USERSPACE
+#define AFS_CLBYTES MCLBYTES
+#define AFS_MINCHANGE 2
+#define VATTR_NULL usr_vattr_null
+
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+
+#endif /* AFS_PARAM_H */
+
+#endif /* !defined(UKERNEL) */
-/* Copyright (C) 1998 by Transarc Corporation */
-
-
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-/* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel,
- * it's a judgment call. If something is obviously sparc64 specific, use that
- * #define instead. Note that "20" refers to the linux 2.0 kernel. The "2"
- * in the sysname is the current version of the client. This takes into
- * account the perferred OS user space configuration as well as the kernel.
- */
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_ENV 1
-#define AFS_USR_LINUX20_ENV 1
-#define AFS_USR_LINUX22_ENV 1
-#define AFS_NONFSTRANS 1
-
-#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
-#define AFS_SYSCALL 227
-#define AFS_64BIT_IOPS_ENV 1
-#define AFS_NAMEI_ENV 1 /* User space interface to file system */
-#include <afs/afs_sysnames.h>
-
-#define AFS_USERSPACE_IP_ADDR 1
-#define RXK_LISTENER_ENV 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-
-/* Machine / Operating system information */
-#define SYS_NAME "sparc64_linux22"
-#define SYS_NAME_ID SYS_NAME_ID_sparc64_linux22
-#define AFSBIG_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
-
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MCLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-
-#endif /* AFS_PARAM_H */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
/* Copyright (C) 1998 by Transarc Corporation */
#endif
#endif /* _PARAM_SPARC64_LINUX24_H_ */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+/* Copyright (C) 1998 by Transarc Corporation */
+
+
+#ifndef _PARAM_USR_SPARC64_LINUX24_H_
+#define _PARAM_USR_SPARC64_LINUX24_H_
+
+/* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel,
+ * it's a judgment call. If something is obviously sparc64 specific, use that
+ * #define instead. Note that "20" refers to the linux 2.0 kernel. The "2"
+ * in the sysname is the current version of the client. This takes into
+ * account the perferred OS user space configuration as well as the kernel.
+ */
+
+#define UKERNEL 1 /* user space kernel */
+#define AFS_ENV 1
+#define AFS_USR_LINUX20_ENV 1
+#define AFS_USR_LINUX22_ENV 1
+#define AFS_USR_LINUX24_ENV 1
+#define AFS_NONFSTRANS 1
+
+#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
+#define AFS_SYSCALL 227
+#define AFS_64BIT_IOPS_ENV 1
+#define AFS_NAMEI_ENV 1 /* User space interface to file system */
+#include <afs/afs_sysnames.h>
+
+#define AFS_USERSPACE_IP_ADDR 1
+#define RXK_LISTENER_ENV 1
+#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
+
+
+/* Machine / Operating system information */
+#define SYS_NAME "sparc64_linux24"
+#define SYS_NAME_ID SYS_NAME_ID_sparc64_linux24
+#define AFSBIG_ENDIAN 1
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
+#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
+
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_fmode uio_fmode
+#define afsio_resid uio_resid
+#define AFS_UIOSYS 1
+#define AFS_UIOUSER UIO_USERSPACE
+#define AFS_CLBYTES MCLBYTES
+#define AFS_MINCHANGE 2
+#define VATTR_NULL usr_vattr_null
+
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+
+#endif /* _PARAM_USR_SPARC64_LINUX24_H_ */
+
+#endif /* !defined(UKERNEL) */
-/* Copyright (C) 1998 by Transarc Corporation */
-
-
-#ifndef _PARAM_USR_SPARC64_LINUX24_H_
-#define _PARAM_USR_SPARC64_LINUX24_H_
-
-/* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel,
- * it's a judgment call. If something is obviously sparc64 specific, use that
- * #define instead. Note that "20" refers to the linux 2.0 kernel. The "2"
- * in the sysname is the current version of the client. This takes into
- * account the perferred OS user space configuration as well as the kernel.
- */
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_ENV 1
-#define AFS_USR_LINUX20_ENV 1
-#define AFS_USR_LINUX22_ENV 1
-#define AFS_USR_LINUX24_ENV 1
-#define AFS_NONFSTRANS 1
-
-#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
-#define AFS_SYSCALL 227
-#define AFS_64BIT_IOPS_ENV 1
-#define AFS_NAMEI_ENV 1 /* User space interface to file system */
-#include <afs/afs_sysnames.h>
-
-#define AFS_USERSPACE_IP_ADDR 1
-#define RXK_LISTENER_ENV 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-
-/* Machine / Operating system information */
-#define SYS_NAME "sparc64_linux24"
-#define SYS_NAME_ID SYS_NAME_ID_sparc64_linux24
-#define AFSBIG_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
-
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MCLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-
-#endif /* _PARAM_USR_SPARC64_LINUX24_H_ */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
/* Copyright (C) 1998 by Transarc Corporation */
#endif
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+/* Copyright (C) 1998 by Transarc Corporation */
+
+
+#ifndef AFS_PARAM_H
+#define AFS_PARAM_H
+
+/* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel,
+ * it's a judgment call. If something is obviously sparc specific, use that
+ * #define instead. Note that "20" refers to the linux 2.0 kernel. The "2"
+ * in the sysname is the current version of the client. This takes into
+ * account the perferred OS user space configuration as well as the kernel.
+ */
+
+#define UKERNEL 1 /* user space kernel */
+#define AFS_ENV 1
+#define AFS_USR_LINUX20_ENV 1
+#define AFS_USR_LINUX22_ENV 1
+#define AFS_NONFSTRANS 1
+
+#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
+#define AFS_SYSCALL 227
+#define AFS_64BIT_IOPS_ENV 1
+#define AFS_NAMEI_ENV 1 /* User space interface to file system */
+#include <afs/afs_sysnames.h>
+
+#define AFS_USERSPACE_IP_ADDR 1
+#define RXK_LISTENER_ENV 1
+#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
+
+
+/* Machine / Operating system information */
+#define SYS_NAME "sparc_linux22"
+#define SYS_NAME_ID SYS_NAME_ID_sparc_linux22
+#define AFSBIG_ENDIAN 1
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
+#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
+
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_fmode uio_fmode
+#define afsio_resid uio_resid
+#define AFS_UIOSYS 1
+#define AFS_UIOUSER UIO_USERSPACE
+#define AFS_CLBYTES MCLBYTES
+#define AFS_MINCHANGE 2
+#define VATTR_NULL usr_vattr_null
+
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+
+#endif /* AFS_PARAM_H */
+
+#endif /* !defined(UKERNEL) */
-/* Copyright (C) 1998 by Transarc Corporation */
-
-
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-/* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel,
- * it's a judgment call. If something is obviously sparc specific, use that
- * #define instead. Note that "20" refers to the linux 2.0 kernel. The "2"
- * in the sysname is the current version of the client. This takes into
- * account the perferred OS user space configuration as well as the kernel.
- */
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_ENV 1
-#define AFS_USR_LINUX20_ENV 1
-#define AFS_USR_LINUX22_ENV 1
-#define AFS_NONFSTRANS 1
-
-#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
-#define AFS_SYSCALL 227
-#define AFS_64BIT_IOPS_ENV 1
-#define AFS_NAMEI_ENV 1 /* User space interface to file system */
-#include <afs/afs_sysnames.h>
-
-#define AFS_USERSPACE_IP_ADDR 1
-#define RXK_LISTENER_ENV 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-
-/* Machine / Operating system information */
-#define SYS_NAME "sparc_linux22"
-#define SYS_NAME_ID SYS_NAME_ID_sparc_linux22
-#define AFSBIG_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
-
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MCLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-
-#endif /* AFS_PARAM_H */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
/* Copyright (C) 1998 by Transarc Corporation */
#endif
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+/* Copyright (C) 1998 by Transarc Corporation */
+
+
+#ifndef AFS_PARAM_H
+#define AFS_PARAM_H
+
+/* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel,
+ * it's a judgment call. If something is obviously sparc specific, use that
+ * #define instead. Note that "20" refers to the linux 2.0 kernel. The "2"
+ * in the sysname is the current version of the client. This takes into
+ * account the perferred OS user space configuration as well as the kernel.
+ */
+
+#define UKERNEL 1 /* user space kernel */
+#define AFS_ENV 1
+#define AFS_USR_LINUX20_ENV 1
+#define AFS_USR_LINUX22_ENV 1
+#define AFS_USR_LINUX24_ENV 1
+#define AFS_NONFSTRANS 1
+
+#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
+#define AFS_SYSCALL 227
+#define AFS_64BIT_IOPS_ENV 1
+#define AFS_NAMEI_ENV 1 /* User space interface to file system */
+#include <afs/afs_sysnames.h>
+
+#define AFS_USERSPACE_IP_ADDR 1
+#define RXK_LISTENER_ENV 1
+#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
+
+
+/* Machine / Operating system information */
+#define SYS_NAME "sparc_linux24"
+#define SYS_NAME_ID SYS_NAME_ID_sparc_linux24
+#define AFSBIG_ENDIAN 1
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
+#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
+
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_fmode uio_fmode
+#define afsio_resid uio_resid
+#define AFS_UIOSYS 1
+#define AFS_UIOUSER UIO_USERSPACE
+#define AFS_CLBYTES MCLBYTES
+#define AFS_MINCHANGE 2
+#define VATTR_NULL usr_vattr_null
+
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+
+#endif /* AFS_PARAM_H */
+
+#endif /* !defined(UKERNEL) */
-/* Copyright (C) 1998 by Transarc Corporation */
-
-
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-/* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel,
- * it's a judgment call. If something is obviously sparc specific, use that
- * #define instead. Note that "20" refers to the linux 2.0 kernel. The "2"
- * in the sysname is the current version of the client. This takes into
- * account the perferred OS user space configuration as well as the kernel.
- */
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_ENV 1
-#define AFS_USR_LINUX20_ENV 1
-#define AFS_USR_LINUX22_ENV 1
-#define AFS_USR_LINUX24_ENV 1
-#define AFS_NONFSTRANS 1
-
-#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
-#define AFS_SYSCALL 227
-#define AFS_64BIT_IOPS_ENV 1
-#define AFS_NAMEI_ENV 1 /* User space interface to file system */
-#include <afs/afs_sysnames.h>
-
-#define AFS_USERSPACE_IP_ADDR 1
-#define RXK_LISTENER_ENV 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-
-/* Machine / Operating system information */
-#define SYS_NAME "sparc_linux24"
-#define SYS_NAME_ID SYS_NAME_ID_sparc_linux24
-#define AFSBIG_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
-
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MCLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-
-#endif /* AFS_PARAM_H */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
/*\r
* Copyright 2000, International Business Machines Corporation and others.\r
* All Rights Reserved.\r
#endif\r
\r
#endif /* AFS_PARAM_H */\r
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+/*\r
+ * Copyright 2000, International Business Machines Corporation and others.\r
+ * All Rights Reserved.\r
+ * \r
+ * This software has been released under the terms of the IBM Public\r
+ * License. For details, see the LICENSE file in the top-level source\r
+ * directory or online at http://www.openafs.org/dl/license10.html\r
+ */\r
+\r
+#ifndef AFS_PARAM_H\r
+#define AFS_PARAM_H\r
+\r
+#define UKERNEL\r
+#define AFS_ENV 1\r
+/* define AFS_USR_XXX_ENV XXX */\r
+\r
+#include <afs/afs_sysnames.h>\r
+\r
+#define RXK_LISTENER_ENV 1\r
+#define AFS_USERSPACE_IP_ADDR 1\r
+#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */\r
+\r
+#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */\r
+#define AFS_SYSCALL 31\r
+\r
+/* File system entry (used if mount.h doesn't define MOUNT_AFS */\r
+#define AFS_MOUNT_AFS 1\r
+\r
+/* Machine / Operating system information */\r
+#define sys_sun4_413 1\r
+#define SYS_NAME "sun4_413"\r
+#define SYS_NAME_ID SYS_NAME_ID_sun4_411\r
+#define AFSBIG_ENDIAN 1\r
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */\r
+#define AFS_HAVE_STATVFS 0\r
+\r
+/* Extra kernel definitions (from kdefs file) */\r
+#ifdef KERNEL\r
+/* sun definitions here */\r
+#define AFS_UIOFMODE 1 /* Only in afs/afs_vnodeops.c (afs_ustrategy) */\r
+#define afsio_iov uio_iov\r
+#define afsio_iovcnt uio_iovcnt\r
+#define afsio_offset uio_offset\r
+#define afsio_seg uio_segflg\r
+#define afsio_fmode uio_fmode\r
+#define afsio_resid uio_resid\r
+#define AFS_UIOSYS 1\r
+#define AFS_UIOUSER UIO_USERSPACE\r
+#define AFS_CLBYTES MCLBYTES\r
+#define AFS_MINCHANGE 2\r
+#define VATTR_NULL usr_vattr_null\r
+#endif /* KERNEL */\r
+#define AFS_DIRENT \r
+#ifndef CMSERVERPREF\r
+#define CMSERVERPREF\r
+#endif\r
+\r
+#endif /* AFS_PARAM_H */\r
+
+#endif /* !defined(UKERNEL) */
-/*\r
- * Copyright 2000, International Business Machines Corporation and others.\r
- * All Rights Reserved.\r
- * \r
- * This software has been released under the terms of the IBM Public\r
- * License. For details, see the LICENSE file in the top-level source\r
- * directory or online at http://www.openafs.org/dl/license10.html\r
- */\r
-\r
-#ifndef AFS_PARAM_H\r
-#define AFS_PARAM_H\r
-\r
-#define UKERNEL\r
-#define AFS_ENV 1\r
-/* define AFS_USR_XXX_ENV XXX */\r
-\r
-#include <afs/afs_sysnames.h>\r
-\r
-#define RXK_LISTENER_ENV 1\r
-#define AFS_USERSPACE_IP_ADDR 1\r
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */\r
-\r
-#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */\r
-#define AFS_SYSCALL 31\r
-\r
-/* File system entry (used if mount.h doesn't define MOUNT_AFS */\r
-#define AFS_MOUNT_AFS 1\r
-\r
-/* Machine / Operating system information */\r
-#define sys_sun4_413 1\r
-#define SYS_NAME "sun4_413"\r
-#define SYS_NAME_ID SYS_NAME_ID_sun4_411\r
-#define AFSBIG_ENDIAN 1\r
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */\r
-#define AFS_HAVE_STATVFS 0\r
-\r
-/* Extra kernel definitions (from kdefs file) */\r
-#ifdef KERNEL\r
-/* sun definitions here */\r
-#define AFS_UIOFMODE 1 /* Only in afs/afs_vnodeops.c (afs_ustrategy) */\r
-#define afsio_iov uio_iov\r
-#define afsio_iovcnt uio_iovcnt\r
-#define afsio_offset uio_offset\r
-#define afsio_seg uio_segflg\r
-#define afsio_fmode uio_fmode\r
-#define afsio_resid uio_resid\r
-#define AFS_UIOSYS 1\r
-#define AFS_UIOUSER UIO_USERSPACE\r
-#define AFS_CLBYTES MCLBYTES\r
-#define AFS_MINCHANGE 2\r
-#define VATTR_NULL usr_vattr_null\r
-#endif /* KERNEL */\r
-#define AFS_DIRENT \r
-#ifndef CMSERVERPREF\r
-#define CMSERVERPREF\r
-#endif\r
-\r
-#endif /* AFS_PARAM_H */\r
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
/*
* Copyright 2000, International Business Machines Corporation and others.
* All Rights Reserved.
#define ROOTINO UFSROOTINO
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+/*
+ * 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
+ */
+
+#ifndef AFS_PARAM_H
+#define AFS_PARAM_H
+
+#define AFS_VFS_ENV 1
+/* Used only in vfsck code; is it needed any more???? */
+#define RXK_LISTENER_ENV 1
+#define AFS_USERSPACE_IP_ADDR 1
+#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
+
+#define UKERNEL 1 /* user space kernel */
+#define AFS_GREEDY43_ENV 1 /* Used only in rx/rx_user.c */
+#define AFS_ENV 1
+#define AFS_USR_SUN5_ENV 1
+
+#include <afs/afs_sysnames.h>
+
+/*#define AFS_GLOBAL_SUNLOCK 1*/ /* For global locking */
+
+#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
+#define AFS_SYSCALL 105
+
+/* File system entry (used if mount.h doesn't define MOUNT_AFS */
+#define AFS_MOUNT_AFS 1
+
+/* Machine / Operating system information */
+#define sys_sun4x_55 1
+#define SYS_NAME "sun4x_55"
+#define SYS_NAME_ID SYS_NAME_ID_sun4x_55
+#define AFSBIG_ENDIAN 1
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
+
+/* Extra kernel definitions (from kdefs file) */
+#ifdef KERNEL
+#define AFS_UIOFMODE 1 /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
+#define AFS_SYSVLOCK 1 /* sys v locking supported */
+/*#define AFS_USEBUFFERS 1*/
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_fmode uio_fmode
+#define afsio_resid uio_resid
+#define AFS_UIOSYS 1
+#define AFS_UIOUSER UIO_USERSPACE
+#define AFS_CLBYTES MCLBYTES
+#define AFS_MINCHANGE 2
+#define VATTR_NULL usr_vattr_null
+#endif /* KERNEL */
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+#define ROOTINO UFSROOTINO
+
+#endif /* AFS_PARAM_H */
+
+#endif /* !defined(UKERNEL) */
-/*
- * 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
- */
-
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-#define AFS_VFS_ENV 1
-/* Used only in vfsck code; is it needed any more???? */
-#define RXK_LISTENER_ENV 1
-#define AFS_USERSPACE_IP_ADDR 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_GREEDY43_ENV 1 /* Used only in rx/rx_user.c */
-#define AFS_ENV 1
-#define AFS_USR_SUN5_ENV 1
-
-#include <afs/afs_sysnames.h>
-
-/*#define AFS_GLOBAL_SUNLOCK 1*/ /* For global locking */
-
-#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
-#define AFS_SYSCALL 105
-
-/* File system entry (used if mount.h doesn't define MOUNT_AFS */
-#define AFS_MOUNT_AFS 1
-
-/* Machine / Operating system information */
-#define sys_sun4x_55 1
-#define SYS_NAME "sun4x_55"
-#define SYS_NAME_ID SYS_NAME_ID_sun4x_55
-#define AFSBIG_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-
-/* Extra kernel definitions (from kdefs file) */
-#ifdef KERNEL
-#define AFS_UIOFMODE 1 /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
-#define AFS_SYSVLOCK 1 /* sys v locking supported */
-/*#define AFS_USEBUFFERS 1*/
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MCLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-#endif /* KERNEL */
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-#define ROOTINO UFSROOTINO
-
-#endif /* AFS_PARAM_H */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
/*
* Copyright 2000, International Business Machines Corporation and others.
* All Rights Reserved.
#define ROOTINO UFSROOTINO
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+/*
+ * 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
+ */
+
+#ifndef AFS_PARAM_H
+#define AFS_PARAM_H
+
+#define AFS_VFS_ENV 1
+/* Used only in vfsck code; is it needed any more???? */
+#define RXK_LISTENER_ENV 1
+#define AFS_USERSPACE_IP_ADDR 1
+#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
+
+#define UKERNEL 1 /* user space kernel */
+#define AFS_GREEDY43_ENV 1 /* Used only in rx/rx_user.c */
+#define AFS_ENV 1
+#define AFS_USR_SUN5_ENV 1
+#define AFS_USR_SUN6_ENV 1
+
+#include <afs/afs_sysnames.h>
+
+/*#define AFS_GLOBAL_SUNLOCK 1*/ /* For global locking */
+
+#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
+#define AFS_SYSCALL 105
+
+/* File system entry (used if mount.h doesn't define MOUNT_AFS */
+#define AFS_MOUNT_AFS 1
+
+/* Machine / Operating system information */
+#define sys_sun4x_55 1
+#define SYS_NAME "sun4x_55"
+#define SYS_NAME_ID SYS_NAME_ID_sun4x_55
+#define AFSBIG_ENDIAN 1
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
+
+/* Extra kernel definitions (from kdefs file) */
+#ifdef KERNEL
+#define AFS_UIOFMODE 1 /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
+#define AFS_SYSVLOCK 1 /* sys v locking supported */
+/*#define AFS_USEBUFFERS 1*/
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_fmode uio_fmode
+#define afsio_resid uio_resid
+#define AFS_UIOSYS 1
+#define AFS_UIOUSER UIO_USERSPACE
+#define AFS_CLBYTES MCLBYTES
+#define AFS_MINCHANGE 2
+#define VATTR_NULL usr_vattr_null
+#endif /* KERNEL */
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+#define ROOTINO UFSROOTINO
+
+#endif /* AFS_PARAM_H */
+
+#endif /* !defined(UKERNEL) */
-/*
- * 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
- */
-
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-#define AFS_VFS_ENV 1
-/* Used only in vfsck code; is it needed any more???? */
-#define RXK_LISTENER_ENV 1
-#define AFS_USERSPACE_IP_ADDR 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_GREEDY43_ENV 1 /* Used only in rx/rx_user.c */
-#define AFS_ENV 1
-#define AFS_USR_SUN5_ENV 1
-#define AFS_USR_SUN6_ENV 1
-
-#include <afs/afs_sysnames.h>
-
-/*#define AFS_GLOBAL_SUNLOCK 1*/ /* For global locking */
-
-#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
-#define AFS_SYSCALL 105
-
-/* File system entry (used if mount.h doesn't define MOUNT_AFS */
-#define AFS_MOUNT_AFS 1
-
-/* Machine / Operating system information */
-#define sys_sun4x_55 1
-#define SYS_NAME "sun4x_55"
-#define SYS_NAME_ID SYS_NAME_ID_sun4x_55
-#define AFSBIG_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-
-/* Extra kernel definitions (from kdefs file) */
-#ifdef KERNEL
-#define AFS_UIOFMODE 1 /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
-#define AFS_SYSVLOCK 1 /* sys v locking supported */
-/*#define AFS_USEBUFFERS 1*/
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MCLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-#endif /* KERNEL */
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-#define ROOTINO UFSROOTINO
-
-#endif /* AFS_PARAM_H */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
/*
* Copyright 2000, International Business Machines Corporation and others.
* All Rights Reserved.
#define ROOTINO UFSROOTINO
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+/*
+ * 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
+ */
+
+#ifndef AFS_PARAM_H
+#define AFS_PARAM_H
+
+#define AFS_VFS_ENV 1
+/* Used only in vfsck code; is it needed any more???? */
+#define RXK_LISTENER_ENV 1
+#define AFS_USERSPACE_IP_ADDR 1
+#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
+
+#define UKERNEL 1 /* user space kernel */
+#define AFS_GREEDY43_ENV 1 /* Used only in rx/rx_user.c */
+#define AFS_ENV 1
+#define AFS_USR_SUN5_ENV 1
+#define AFS_USR_SUN6_ENV 1
+
+#include <afs/afs_sysnames.h>
+
+#ifdef undef
+#define AFS_GLOBAL_SUNLOCK 1 /* For global locking */
+#endif
+
+#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
+#define AFS_SYSCALL 73
+
+/* File system entry (used if mount.h doesn't define MOUNT_AFS */
+#define AFS_MOUNT_AFS 1
+
+/* Machine / Operating system information */
+#define sys_sun4x_55 1
+#define SYS_NAME "sun4x_55"
+#define SYS_NAME_ID SYS_NAME_ID_sun4x_55
+#define AFSBIG_ENDIAN 1
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
+
+/* Extra kernel definitions (from kdefs file) */
+#ifdef KERNEL
+#define AFS_UIOFMODE 1 /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
+#define AFS_SYSVLOCK 1 /* sys v locking supported */
+/*#define AFS_USEBUFFERS 1*/
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_fmode uio_fmode
+#define afsio_resid uio_resid
+#define AFS_UIOSYS 1
+#define AFS_UIOUSER UIO_USERSPACE
+#define AFS_CLBYTES MCLBYTES
+#define AFS_MINCHANGE 2
+#define VATTR_NULL usr_vattr_null
+#endif /* KERNEL */
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+#define ROOTINO UFSROOTINO
+
+#endif /* AFS_PARAM_H */
+
+#endif /* !defined(UKERNEL) */
-/*
- * 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
- */
-
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-#define AFS_VFS_ENV 1
-/* Used only in vfsck code; is it needed any more???? */
-#define RXK_LISTENER_ENV 1
-#define AFS_USERSPACE_IP_ADDR 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_GREEDY43_ENV 1 /* Used only in rx/rx_user.c */
-#define AFS_ENV 1
-#define AFS_USR_SUN5_ENV 1
-#define AFS_USR_SUN6_ENV 1
-
-#include <afs/afs_sysnames.h>
-
-#ifdef undef
-#define AFS_GLOBAL_SUNLOCK 1 /* For global locking */
-#endif
-
-#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
-#define AFS_SYSCALL 73
-
-/* File system entry (used if mount.h doesn't define MOUNT_AFS */
-#define AFS_MOUNT_AFS 1
-
-/* Machine / Operating system information */
-#define sys_sun4x_55 1
-#define SYS_NAME "sun4x_55"
-#define SYS_NAME_ID SYS_NAME_ID_sun4x_55
-#define AFSBIG_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-
-/* Extra kernel definitions (from kdefs file) */
-#ifdef KERNEL
-#define AFS_UIOFMODE 1 /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
-#define AFS_SYSVLOCK 1 /* sys v locking supported */
-/*#define AFS_USEBUFFERS 1*/
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MCLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-#endif /* KERNEL */
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-#define ROOTINO UFSROOTINO
-
-#endif /* AFS_PARAM_H */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
#ifndef AFS_PARAM_H
#define AFS_PARAM_H
#define ROOTINO UFSROOTINO
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+#ifndef AFS_PARAM_H
+#define AFS_PARAM_H
+
+#define AFS_VFS_ENV 1
+/* Used only in vfsck code; is it needed any more???? */
+#define RXK_LISTENER_ENV 1
+#define AFS_USERSPACE_IP_ADDR 1
+#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
+
+#define UKERNEL 1 /* user space kernel */
+#define AFS_GREEDY43_ENV 1 /* Used only in rx/rx_user.c */
+#define AFS_ENV 1
+#define AFS_USR_SUN5_ENV 1
+#define AFS_USR_SUN6_ENV 1
+#define AFS_USR_SUN7_ENV 1
+#define AFS_USR_SUN8_ENV 1
+
+#define AFS_64BIT_ENV 1
+
+#include <afs/afs_sysnames.h>
+
+#if 0
+#define AFS_GLOBAL_SUNLOCK 1 /* For global locking */
+#endif
+
+#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
+#define AFS_SYSCALL 65
+
+/* File system entry (used if mount.h doesn't define MOUNT_AFS */
+#define AFS_MOUNT_AFS 1
+
+/* Machine / Operating system information */
+#define sys_sun4x_58 1
+#define SYS_NAME "sun4x_58"
+#define SYS_NAME_ID SYS_NAME_ID_sun4x_58
+#define AFSBIG_ENDIAN 1
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
+
+/* Extra kernel definitions (from kdefs file) */
+#ifdef KERNEL
+#define AFS_UIOFMODE 1 /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
+#define AFS_SYSVLOCK 1 /* sys v locking supported */
+/*#define AFS_USEBUFFERS 1*/
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_fmode uio_fmode
+#define afsio_resid uio_resid
+#define AFS_UIOSYS 1
+#define AFS_UIOUSER UIO_USERSPACE
+#define AFS_CLBYTES MCLBYTES
+#define AFS_MINCHANGE 2
+#define VATTR_NULL usr_vattr_null
+#endif /* KERNEL */
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+#define ROOTINO UFSROOTINO
+
+#endif /* AFS_PARAM_H */
+
+#endif /* !defined(UKERNEL) */
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-#define AFS_VFS_ENV 1
-/* Used only in vfsck code; is it needed any more???? */
-#define RXK_LISTENER_ENV 1
-#define AFS_USERSPACE_IP_ADDR 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_GREEDY43_ENV 1 /* Used only in rx/rx_user.c */
-#define AFS_ENV 1
-#define AFS_USR_SUN5_ENV 1
-#define AFS_USR_SUN6_ENV 1
-#define AFS_USR_SUN7_ENV 1
-#define AFS_USR_SUN8_ENV 1
-
-#define AFS_64BIT_ENV 1
-
-#include <afs/afs_sysnames.h>
-
-#if 0
-#define AFS_GLOBAL_SUNLOCK 1 /* For global locking */
-#endif
-
-#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
-#define AFS_SYSCALL 65
-
-/* File system entry (used if mount.h doesn't define MOUNT_AFS */
-#define AFS_MOUNT_AFS 1
-
-/* Machine / Operating system information */
-#define sys_sun4x_58 1
-#define SYS_NAME "sun4x_58"
-#define SYS_NAME_ID SYS_NAME_ID_sun4x_58
-#define AFSBIG_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-
-/* Extra kernel definitions (from kdefs file) */
-#ifdef KERNEL
-#define AFS_UIOFMODE 1 /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
-#define AFS_SYSVLOCK 1 /* sys v locking supported */
-/*#define AFS_USEBUFFERS 1*/
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MCLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-#endif /* KERNEL */
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-#define ROOTINO UFSROOTINO
-
-#endif /* AFS_PARAM_H */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
#ifndef AFS_PARAM_H
#define AFS_PARAM_H
#define ROOTINO UFSROOTINO
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+#ifndef AFS_PARAM_H
+#define AFS_PARAM_H
+
+#define AFS_VFS_ENV 1
+/* Used only in vfsck code; is it needed any more???? */
+#define RXK_LISTENER_ENV 1
+#define AFS_USERSPACE_IP_ADDR 1
+#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
+
+#define UKERNEL 1 /* user space kernel */
+#define AFS_GREEDY43_ENV 1 /* Used only in rx/rx_user.c */
+#define AFS_ENV 1
+#define AFS_USR_SUN5_ENV 1
+#define AFS_USR_SUN6_ENV 1
+#define AFS_USR_SUN7_ENV 1
+#define AFS_USR_SUN8_ENV 1
+#define AFS_USR_SUN9_ENV 1
+
+#define AFS_64BIT_ENV 1
+
+#include <afs/afs_sysnames.h>
+
+#if 0
+#define AFS_GLOBAL_SUNLOCK 1 /* For global locking */
+#endif
+
+#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
+#define AFS_SYSCALL 65
+
+/* File system entry (used if mount.h doesn't define MOUNT_AFS */
+#define AFS_MOUNT_AFS 1
+
+/* Machine / Operating system information */
+#define sys_sun4x_59 1
+#define SYS_NAME "sun4x_59"
+#define SYS_NAME_ID SYS_NAME_ID_sun4x_59
+#define AFSBIG_ENDIAN 1
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
+
+/* Extra kernel definitions (from kdefs file) */
+#ifdef KERNEL
+#define AFS_UIOFMODE 1 /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
+#define AFS_SYSVLOCK 1 /* sys v locking supported */
+/*#define AFS_USEBUFFERS 1*/
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_fmode uio_fmode
+#define afsio_resid uio_resid
+#define AFS_UIOSYS 1
+#define AFS_UIOUSER UIO_USERSPACE
+#define AFS_CLBYTES MCLBYTES
+#define AFS_MINCHANGE 2
+#define VATTR_NULL usr_vattr_null
+#endif /* KERNEL */
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+#define ROOTINO UFSROOTINO
+
+#endif /* AFS_PARAM_H */
+
+#endif /* !defined(UKERNEL) */
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-#define AFS_VFS_ENV 1
-/* Used only in vfsck code; is it needed any more???? */
-#define RXK_LISTENER_ENV 1
-#define AFS_USERSPACE_IP_ADDR 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_GREEDY43_ENV 1 /* Used only in rx/rx_user.c */
-#define AFS_ENV 1
-#define AFS_USR_SUN5_ENV 1
-#define AFS_USR_SUN6_ENV 1
-#define AFS_USR_SUN7_ENV 1
-#define AFS_USR_SUN8_ENV 1
-#define AFS_USR_SUN9_ENV 1
-
-#define AFS_64BIT_ENV 1
-
-#include <afs/afs_sysnames.h>
-
-#if 0
-#define AFS_GLOBAL_SUNLOCK 1 /* For global locking */
-#endif
-
-#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
-#define AFS_SYSCALL 65
-
-/* File system entry (used if mount.h doesn't define MOUNT_AFS */
-#define AFS_MOUNT_AFS 1
-
-/* Machine / Operating system information */
-#define sys_sun4x_59 1
-#define SYS_NAME "sun4x_59"
-#define SYS_NAME_ID SYS_NAME_ID_sun4x_59
-#define AFSBIG_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-
-/* Extra kernel definitions (from kdefs file) */
-#ifdef KERNEL
-#define AFS_UIOFMODE 1 /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
-#define AFS_SYSVLOCK 1 /* sys v locking supported */
-/*#define AFS_USEBUFFERS 1*/
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MCLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-#endif /* KERNEL */
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-#define ROOTINO UFSROOTINO
-
-#endif /* AFS_PARAM_H */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
/*
* Copyright 2000, International Business Machines Corporation and others.
* All Rights Reserved.
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+
+#endif /* !defined(UKERNEL) */
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
/*
* Copyright 2000, International Business Machines Corporation and others.
* All Rights Reserved.
#define ROOTINO UFSROOTINO
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+/*
+ * 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
+ */
+
+#ifndef AFS_PARAM_H
+#define AFS_PARAM_H
+
+#define AFS_VFS_ENV 1
+/* Used only in vfsck code; is it needed any more???? */
+#define RXK_LISTENER_ENV 1
+#define AFS_USERSPACE_IP_ADDR 1
+#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
+
+#define UKERNEL 1 /* user space kernel */
+#define AFS_GREEDY43_ENV 1 /* Used only in rx/rx_user.c */
+#define AFS_ENV 1
+#define AFS_USR_SUN5_ENV 1
+#define AFS_USR_SUN6_ENV 1
+
+#include <afs/afs_sysnames.h>
+
+#if 0
+#define AFS_GLOBAL_SUNLOCK 1 /* For global locking */
+#endif
+
+#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
+#define AFS_SYSCALL 73
+
+/* File system entry (used if mount.h doesn't define MOUNT_AFS */
+#define AFS_MOUNT_AFS 1
+
+/* Machine / Operating system information */
+#define sys_sun4x_55 1
+#define SYS_NAME "sun4x_55"
+#define SYS_NAME_ID SYS_NAME_ID_sun4x_55
+#define AFSLITTLE_ENDIAN 1
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
+
+/* Extra kernel definitions (from kdefs file) */
+#ifdef KERNEL
+#define AFS_UIOFMODE 1 /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
+#define AFS_SYSVLOCK 1 /* sys v locking supported */
+/*#define AFS_USEBUFFERS 1*/
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_fmode uio_fmode
+#define afsio_resid uio_resid
+#define AFS_UIOSYS 1
+#define AFS_UIOUSER UIO_USERSPACE
+#define AFS_CLBYTES MCLBYTES
+#define AFS_MINCHANGE 2
+#define VATTR_NULL usr_vattr_null
+#endif /* KERNEL */
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+#define ROOTINO UFSROOTINO
+
+#endif /* AFS_PARAM_H */
+
+#endif /* !defined(UKERNEL) */
-/*
- * 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
- */
-
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-#define AFS_VFS_ENV 1
-/* Used only in vfsck code; is it needed any more???? */
-#define RXK_LISTENER_ENV 1
-#define AFS_USERSPACE_IP_ADDR 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_GREEDY43_ENV 1 /* Used only in rx/rx_user.c */
-#define AFS_ENV 1
-#define AFS_USR_SUN5_ENV 1
-#define AFS_USR_SUN6_ENV 1
-
-#include <afs/afs_sysnames.h>
-
-#if 0
-#define AFS_GLOBAL_SUNLOCK 1 /* For global locking */
-#endif
-
-#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
-#define AFS_SYSCALL 73
-
-/* File system entry (used if mount.h doesn't define MOUNT_AFS */
-#define AFS_MOUNT_AFS 1
-
-/* Machine / Operating system information */
-#define sys_sun4x_55 1
-#define SYS_NAME "sun4x_55"
-#define SYS_NAME_ID SYS_NAME_ID_sun4x_55
-#define AFSLITTLE_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-
-/* Extra kernel definitions (from kdefs file) */
-#ifdef KERNEL
-#define AFS_UIOFMODE 1 /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
-#define AFS_SYSVLOCK 1 /* sys v locking supported */
-/*#define AFS_USEBUFFERS 1*/
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MCLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-#endif /* KERNEL */
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-#define ROOTINO UFSROOTINO
-
-#endif /* AFS_PARAM_H */
+#error This file is deprecated, do not use or maintain.
+#ifndef UKERNEL
+/* This section for kernel libafs compiles only */
+
/*
* Copyright 2000, International Business Machines Corporation and others.
* All Rights Reserved.
#define ROOTINO UFSROOTINO
#endif /* AFS_PARAM_H */
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+
+/*
+ * 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
+ */
+
+#ifndef AFS_PARAM_H
+#define AFS_PARAM_H
+
+#define AFS_VFS_ENV 1
+/* Used only in vfsck code; is it needed any more???? */
+#define RXK_LISTENER_ENV 1
+#define AFS_USERSPACE_IP_ADDR 1
+#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
+
+#define UKERNEL 1 /* user space kernel */
+#define AFS_GREEDY43_ENV 1 /* Used only in rx/rx_user.c */
+#define AFS_ENV 1
+#define AFS_USR_SUN5_ENV 1
+#define AFS_USR_SUN6_ENV 1
+
+#include <afs/afs_sysnames.h>
+
+#if 0
+#define AFS_GLOBAL_SUNLOCK 1 /* For global locking */
+#endif
+
+#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
+#define AFS_SYSCALL 65
+
+/* File system entry (used if mount.h doesn't define MOUNT_AFS */
+#define AFS_MOUNT_AFS 1
+
+/* Machine / Operating system information */
+#define sys_sun4x_55 1
+#define SYS_NAME "sun4x_55"
+#define SYS_NAME_ID SYS_NAME_ID_sun4x_55
+#define AFSLITTLE_ENDIAN 1
+#define AFS_HAVE_FFS 1 /* Use system's ffs. */
+#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
+
+/* Extra kernel definitions (from kdefs file) */
+#ifdef KERNEL
+#define AFS_UIOFMODE 1 /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
+#define AFS_SYSVLOCK 1 /* sys v locking supported */
+/*#define AFS_USEBUFFERS 1*/
+#define afsio_iov uio_iov
+#define afsio_iovcnt uio_iovcnt
+#define afsio_offset uio_offset
+#define afsio_seg uio_segflg
+#define afsio_fmode uio_fmode
+#define afsio_resid uio_resid
+#define AFS_UIOSYS 1
+#define AFS_UIOUSER UIO_USERSPACE
+#define AFS_CLBYTES MCLBYTES
+#define AFS_MINCHANGE 2
+#define VATTR_NULL usr_vattr_null
+#endif /* KERNEL */
+#define AFS_DIRENT
+#ifndef CMSERVERPREF
+#define CMSERVERPREF
+#endif
+#define ROOTINO UFSROOTINO
+
+#endif /* AFS_PARAM_H */
+
+#endif /* !defined(UKERNEL) */
-/*
- * 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
- */
-
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-#define AFS_VFS_ENV 1
-/* Used only in vfsck code; is it needed any more???? */
-#define RXK_LISTENER_ENV 1
-#define AFS_USERSPACE_IP_ADDR 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_GREEDY43_ENV 1 /* Used only in rx/rx_user.c */
-#define AFS_ENV 1
-#define AFS_USR_SUN5_ENV 1
-#define AFS_USR_SUN6_ENV 1
-
-#include <afs/afs_sysnames.h>
-
-#if 0
-#define AFS_GLOBAL_SUNLOCK 1 /* For global locking */
-#endif
-
-#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
-#define AFS_SYSCALL 65
-
-/* File system entry (used if mount.h doesn't define MOUNT_AFS */
-#define AFS_MOUNT_AFS 1
-
-/* Machine / Operating system information */
-#define sys_sun4x_55 1
-#define SYS_NAME "sun4x_55"
-#define SYS_NAME_ID SYS_NAME_ID_sun4x_55
-#define AFSLITTLE_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-
-/* Extra kernel definitions (from kdefs file) */
-#ifdef KERNEL
-#define AFS_UIOFMODE 1 /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
-#define AFS_SYSVLOCK 1 /* sys v locking supported */
-/*#define AFS_USEBUFFERS 1*/
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MCLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-#endif /* KERNEL */
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-#define ROOTINO UFSROOTINO
-
-#endif /* AFS_PARAM_H */
+#error This file is deprecated, do not use or maintain.
/*#define abs(x) ((x) >= 0 ? (x) : -(x))*/
#endif
-#if defined(AFS_LINUX20_ENV) && defined(KERNEL)
-/* This is here instead of osi_machdep.h so fcrypt.c can pick it up. */
-#include "../h/string.h"
-#if 0
-#define bcopy(F, T, C) memcpy((T), (F), (C))
-#endif
-#endif
-
-
/* minumum length of string to pass to int_to_base64 */
typedef char b64_string_t[8];
#if defined(AFS_HPUX_ENV) || defined(AFS_USR_HPUX_ENV) || (defined(AFS_SUN_ENV) && !defined(AFS_SUN5_ENV))
include ../config/Makefile.version
-ukinstall webinstall:
- echo No $@ source here
-
noversion: install
all: dlog dpass
crypt.o \
util.o
-all: ukinstall \
+all: \
${TOP_LIBDIR}/libdes.a \
${TOP_INCDIR}/des.h \
${TOP_INCDIR}/des_prototypes.h \
${DEST}/include/des_odd.h: odd.h
${INSTALL} $? $@
-ukinstall: \
- ${UKERNELDIR}/des/libdes.a \
- ${UKERNELDIR}/des/des.h \
- ${UKERNELDIR}/des/des_prototypes.h \
- ${UKERNELDIR}/des/mit-cpyright.h
-
-${UKERNELDIR}/des:
- mkdir -p $?
-
-${UKERNELDIR}/des/libdes.a: libdes.a
- ${INSTALL} $? $@
-
-${UKERNELDIR}/des/des.h: des.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/des/des_prototypes.h: des_prototypes.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/des/mit-cpyright.h: mit-cpyright.h
- ${INSTALL} $? $@
-
#
# Misc. targets
#
#define DES_DEFS
#if defined(UKERNEL)
-#include "../des/mit-cpyright.h"
+#include "des/mit-cpyright.h"
#else /* defined(UKERNEL) */
#include <mit-cpyright.h>
#endif /* defined(UKERNEL) */
install:
-kinstall:
- @echo No kernel source here.
-
testit: testit.o
${CC} ${CFLAGS} testit.o ${LIBS} ${LDFLAGS} -o testit
verify: verify.o ../libdes.a
all: \
${TOP_LIBDIR}/libdir.a \
- ${TOP_INCDIR}/afs/dir.h \
- ${KERNELDIR}/afs \
- ${KERNELDIR}/afs/dir.h \
- ${KERNELDIR}/afs/afs_dir.c \
- ${UKERNELDIR}/afs \
- ${UKERNELDIR}/afs/dir.h \
- ${UKERNELDIR}/afs/afs_dir.c
+ depinstall
+
+depinstall: \
+ ${TOP_INCDIR}/afs/dir.h
libdir.a: buffer.o dir.o salvage.o AFS_component_version_number.o
$(RM) -f $@
${TOP_LIBDIR}/libdir.a: libdir.a
${INSTALL} $? $@
-${KERNELDIR}/afs:
- mkdir -p $@
-
-${UKERNELDIR}/afs:
- mkdir -p $@
-
-${KERNELDIR}/afs/dir.h: dir.h
- ${INSTALL} $? $@
-
-${KERNELDIR}/afs/afs_dir.c: dir.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afs/dir.h: dir.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afs/afs_dir.c: dir.c
- ${INSTALL} $? $@
-
install: \
${DESTDIR}${libdir}/afs/libdir.a \
${DESTDIR}${includedir}/afs/dir.h
#ifdef KERNEL
#if !defined(UKERNEL)
-#include "../h/types.h"
-#include "../h/param.h"
+#include "h/types.h"
+#include "h/param.h"
#ifdef AFS_AUX_ENV
-#include "../h/mmu.h"
-#include "../h/seg.h"
-#include "../h/sysmacros.h"
-#include "../h/signal.h"
-#include "../h/errno.h"
+#include "h/mmu.h"
+#include "h/seg.h"
+#include "h/sysmacros.h"
+#include "h/signal.h"
+#include "h/errno.h"
#endif
-#include "../h/time.h"
+#include "h/time.h"
#if defined(AFS_AIX_ENV) || defined(AFS_SGI_ENV) || defined(AFS_SUN5_ENV) || defined(AFS_LINUX20_ENV) || defined(AFS_FBSD_ENV)
-#include "../h/errno.h"
+#include "h/errno.h"
#else
#if !defined(AFS_SUN5_ENV) && !defined(AFS_LINUX20_ENV)
-#include "../h/kernel.h"
+#include "h/kernel.h"
#endif
#endif
#if defined(AFS_SUN56_ENV) || defined(AFS_HPUX_ENV)
-#include "../afs/sysincludes.h"
+#include "afs/sysincludes.h"
#endif
#if defined(AFS_FBSD_ENV)
-#include "../h/lock.h"
-#include "../vm/vm.h"
-#include "../vm/vm_extern.h"
-#include "../vm/pmap.h"
-#include "../vm/vm_map.h"
+#include "h/lock.h"
+#include "vm/vm.h"
+#include "vm/vm_extern.h"
+#include "vm/pmap.h"
+#include "vm/vm_map.h"
#endif /* AFS_FBSD_ENV */
#if !defined(AFS_SGI64_ENV) && !defined(AFS_DARWIN60_ENV)
-#include "../h/user.h"
+#include "h/user.h"
#endif /* AFS_SGI64_ENV */
-#include "../h/uio.h"
+#include "h/uio.h"
#ifdef AFS_DEC_ENV
-#include "../afs/gfs_vfs.h"
-#include "../afs/gfs_vnode.h"
+#include "afs/gfs_vfs.h"
+#include "afs/gfs_vnode.h"
#else
#ifdef AFS_MACH_ENV
#ifdef NeXT
#endif
#endif
#if !defined(AFS_SUN5_ENV) && !defined(AFS_LINUX20_ENV)
-#include "../h/mbuf.h"
+#include "h/mbuf.h"
#endif
#ifndef AFS_LINUX20_ENV
-#include "../netinet/in.h"
+#include "netinet/in.h"
#endif
#else /* !defined(UKERNEL) */
-#include "../afs/stds.h"
-#include "../afs/sysincludes.h"
+#include "afs/stds.h"
+#include "afs/sysincludes.h"
#endif /* !defined(UKERNEL) */
-#include "../afs/afs_osi.h"
+#include "afs/afs_osi.h"
-#include "../afs/dir.h"
+#include "afs/dir.h"
-#include "../afs/longc_procs.h"
+#include "afs/longc_procs.h"
#ifdef AFS_LINUX20_ENV
-#include "../h/string.h"
+#include "h/string.h"
#endif
/* generic renaming */
include ../config/Makefile.version
-all: kinstall ukinstall ${TOP_LIBDIR}/export.exp ${TOP_LIBDIR}/extras.exp cfgexport cfgafs
-
-noversion system: install
-
-install: ${DESTDIR}${libdir}/afs/export.exp ${DESTDIR}${libdir}/afs/extras.exp
-
-kinstall:
+all: ${TOP_LIBDIR}/export.exp ${TOP_LIBDIR}/extras.exp cfgexport cfgafs
${INSTALL} ${srcdir}/export.h ${KERNELDIR}
${INSTALL} ${srcdir}/export.exp ${KERNELDIR}
-
-ukinstall webinstall:
${INSTALL} ${srcdir}/export.h ${UKERNELDIR}
${INSTALL} ${srcdir}/export.exp ${UKERNELDIR}
+noversion system: install
+
+install: ${DESTDIR}${libdir}/afs/export.exp ${DESTDIR}${libdir}/afs/extras.exp
+
export.ext: ${KOBJ}
case ${SYS_NAME} in \
rs_aix4* ) \
OBJS=afsaux.o afscbint.cs.o afscbint.ss.o afscbint.xdr.o afsint.cs.o afsint.ss.o afsint.xdr.o
CFLAGS=-I. -I${srcdir} ${DBUG} -I${TOP_OBJDIR}/src/config -I${TOP_INCDIR} ${XCFLAGS}
-KSRCS=Kcallback.ss.c Kcallback.h Kvice.cs.c Kvice.h Kvice.xdr.c \
- afscbint.h afsint.h afsaux.c
-UKSRCS=${KSRCS}
-
all: \
- ${TOP_LIBDIR}/libafsint.a \
+ ${TOP_LIBDIR}/libafsint.a depinstall
+
+depinstall: \
${TOP_INCDIR}/afs/afsint.h \
${TOP_INCDIR}/afs/afscbint.h \
- ${KERNELDIR}/afsint \
- ${KERNELDIR}/afsint/rxgen_consts.h \
- ${KERNELDIR}/afsint/rx.h \
- ${KERNELDIR}/afsint/afscbint.h \
- ${UKERNELDIR}/afsint \
- ${UKERNELDIR}/afsint/rxgen_consts.h \
- ${UKERNELDIR}/afsint/rx.h \
- ${UKERNELDIR}/afsint/afscbint.h \
- ${KERNELDIR}/afsint/Kcallback.ss.c \
- ${KERNELDIR}/afsint/Kcallback.h \
- ${KERNELDIR}/afsint/Kvice.cs.c \
- ${KERNELDIR}/afsint/Kvice.h \
- ${KERNELDIR}/afsint/Kvice.xdr.c \
- ${KERNELDIR}/afsint/afscbint.h \
- ${KERNELDIR}/afsint/afsint.h \
- ${KERNELDIR}/afsint/afsaux.c \
- ${UKERNELDIR}/afsint/Kcallback.ss.c \
- ${UKERNELDIR}/afsint/Kcallback.h \
- ${UKERNELDIR}/afsint/Kvice.cs.c \
- ${UKERNELDIR}/afsint/Kvice.h \
- ${UKERNELDIR}/afsint/Kvice.xdr.c \
- ${UKERNELDIR}/afsint/afscbint.h \
- ${UKERNELDIR}/afsint/afsint.h \
- ${UKERNELDIR}/afsint/afsaux.c
+ Kcallback.ss.c Kcallback.h Kvice.cs.c Kvice.h Kvice.xdr.c afscbint.h afsint.h
libafsint.a: ${OBJS} AFS_component_version_number.o
-$(RM) -f $@
${TOP_INCDIR}/afs/afscbint.h: afscbint.h
${INSTALL} $? $@
-${KERNELDIR}/afsint/rxgen_consts.h: ${TOP_INCDIR}/afs/rxgen_consts.h
- ${INSTALL} $? $@
-
-${KERNELDIR}/afsint/rx.h: ${KERNELDIR}/rx/rx.h
- ${INSTALL} $? $@
-
-${KERNELDIR}/afs/afscbint.h: afscbint.h
- ${INSTALL} $? $@
-
-${KERNELDIR}/afsint:
- mkdir -p $@
-
-${UKERNELDIR}/afsint:
- mkdir -p $@
-
-${UKERNELDIR}/afsint/rxgen_consts.h: ${TOP_INCDIR}/afs/rxgen_consts.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afsint/rx.h: ${UKERNELDIR}/rx/rx.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afs/afscbint.h: afscbint.h
- ${INSTALL} $? $@
-
-${KERNELDIR}/afsint/Kcallback.ss.c: Kcallback.ss.c
- ${INSTALL} $? $@
-
-${KERNELDIR}/afsint/Kcallback.h: Kcallback.h
- ${INSTALL} $? $@
-
-${KERNELDIR}/afsint/Kvice.cs.c: Kvice.cs.c
- ${INSTALL} $? $@
-
-${KERNELDIR}/afsint/Kvice.h: Kvice.h
- ${INSTALL} $? $@
-
-${KERNELDIR}/afsint/Kvice.xdr.c: Kvice.xdr.c
- ${INSTALL} $? $@
-
-${KERNELDIR}/afsint/afscbint.h: afscbint.h
- ${INSTALL} $? $@
-
-${KERNELDIR}/afsint/afsint.h: afsint.h
- ${INSTALL} $? $@
-
-${KERNELDIR}/afsint/afsaux.c: afsaux.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afsint/Kcallback.ss.c: Kcallback.ss.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afsint/Kcallback.h: Kcallback.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afsint/Kvice.cs.c: Kvice.cs.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afsint/Kvice.h: Kvice.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afsint/Kvice.xdr.c: Kvice.xdr.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afsint/afscbint.h: afscbint.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afsint/afsint.h: afsint.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afsint/afsaux.c: afsaux.c
- ${INSTALL} $? $@
-
install: \
${DESTDIR}${libdir}/afs/libafsint.a \
${DESTDIR}${includedir}/afs/afsint.h \
#include <afsconfig.h>
#ifdef KERNEL
-#include "../afs/param.h"
+#include "afs/param.h"
#else
#include <afs/param.h>
#endif
#ifdef KERNEL
#if defined(UKERNEL)
-#include "../afs/sysincludes.h"
-#include "../afs/afsincludes.h"
-#include "../rx/xdr.h"
+#include "afs/sysincludes.h"
+#include "afsincludes.h"
+#include "rx/xdr.h"
#else /* defined(UKERNEL) */
#if defined(AFS_ALPHA_ENV) || defined(AFS_LINUX20_ENV) || defined(AFS_DARWIN_ENV) || defined(AFS_FBSD_ENV)
-#include "../afs/sysincludes.h"
-#include "../afs/afsincludes.h"
+#include "afs/sysincludes.h"
+#include "afsincludes.h"
#else
-#include "../h/types.h"
-#include "../rpc/types.h"
-#include "../rx/xdr.h"
+#include "h/types.h"
+#include "rpc/types.h"
+#include "rx/xdr.h"
#endif
#if !defined(AFS_ALPHA_ENV)
#ifndef XDR_GETINT32
#endif
#endif
#endif /* defined(UKERNEL) */
-#include "../afsint/afsint.h"
+#include "afsint.h"
#else /* KERNEL */
# include <rx/xdr.h>
# include "afsint.h"
all: kaserver kas kpwvalid klog klog.krb knfs kpasswd rebuild kdb \
${TOP_LIBDIR}/libkauth.a \
${TOP_LIBDIR}/libkauth.krb.a \
+ depinstall
+
+depinstall: \
+ kaerrors.c kauth.cs.c kauth.xdr.c \
${TOP_INCDIR}/afs/kautils.h \
${TOP_INCDIR}/afs/kauth.h \
- ${TOP_INCDIR}/afs/kaport.h \
- ${UKERNELDIR}/afs \
- ${UKERNELDIR}/afsint \
- ${UKERNELDIR}/afsint/kauth.h \
- ${UKERNELDIR}/afsint/kauth.cs.c \
- ${UKERNELDIR}/afsint/kauth.xdr.c \
- ${UKERNELDIR}/afs/authclient.c \
- ${UKERNELDIR}/afs/user.c \
- ${UKERNELDIR}/afs/kautils.h \
- ${UKERNELDIR}/afs/kaaux.c \
- ${UKERNELDIR}/afs/token.c \
- ${UKERNELDIR}/afs/kalocalcell.c \
- ${UKERNELDIR}/afs/client.c \
- ${UKERNELDIR}/afs/kaerrors.c
+ ${TOP_INCDIR}/afs/kaport.h
test tests: all
cd test; $(MAKE)
${TOP_INCDIR}/afs/kaport.h: kaport.h
${INSTALL} $? $@
-${UKERNELDIR}/afs:
- mkdir -p $@
-
-${UKERNELDIR}/afsint:
- mkdir -p $@
-
-${UKERNELDIR}/afs/authclient.c: authclient.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afs/user.c: user.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afs/kautils.h: kautils.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afs/kaaux.c: kaaux.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afs/token.c: token.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afs/kalocalcell.c: kalocalcell.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afs/client.c: client.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afs/kaerrors.c: kaerrors.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afsint/kauth.h: Kkauth.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afsint/kauth.xdr.c: Kkauth.xdr.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afsint/kauth.cs.c: Kkauth.cs.c
- ${INSTALL} $? $@
-
install: \
${DESTDIR}${afssrvlibexecdir}/kaserver \
${DESTDIR}${sbindir}/kas \
#include <afsconfig.h>
#if defined(UKERNEL)
-#include "../afs/param.h"
+#include "afs/param.h"
#else
#include <afs/param.h>
#endif
RCSID("$Header$");
#if defined(UKERNEL)
-#include "../afs/sysincludes.h"
-#include "../afs/afsincludes.h"
-#include "../afs/afs_usrops.h"
-#include "../afs/stds.h"
-#include "../afs/pthread_glock.h"
-#include "../rx/rxkad.h"
-#include "../afs/cellconfig.h"
-#include "../afs/ubik.h"
-#include "../afs/auth.h"
-#include "../des/des.h"
-#include "../afs/afsutil.h"
-
-#include "../afsint/kauth.h"
-#include "../afs/kautils.h"
-#include "../afs/pthread_glock.h"
+#include "afs/sysincludes.h"
+#include "afsincludes.h"
+#include "afs_usrops.h"
+#include "afs/stds.h"
+#include "afs/pthread_glock.h"
+#include "rx/rxkad.h"
+#include "afs/cellconfig.h"
+#include "ubik.h"
+#include "afs/auth.h"
+#include "des/des.h"
+#include "afs/afsutil.h"
+
+#include "afs/kauth.h"
+#include "afs/kautils.h"
+#include "afs/pthread_glock.h"
#else /* defined(UKERNEL) */
#include <afs/stds.h>
#include <afsconfig.h>
#if defined(UKERNEL)
-#include "../afs/param.h"
+#include "afs/param.h"
#else
#include <afs/param.h>
#endif
RCSID("$Header$");
#if defined(UKERNEL)
-#include "../afs/sysincludes.h"
-#include "../afs/afsincludes.h"
-#include "../afs/stds.h"
-#include "../afs/pthread_glock.h"
-#include "../afs/cellconfig.h"
-#include "../afs/afsutil.h"
-#include "../afs/auth.h"
-#include "../afsint/kauth.h"
-#include "../afs/kautils.h"
-#include "../afs/pthread_glock.h"
-#include "../des/des.h"
+#include "afs/sysincludes.h"
+#include "afsincludes.h"
+#include "afs/stds.h"
+#include "afs/pthread_glock.h"
+#include "afs/cellconfig.h"
+#include "afs/afsutil.h"
+#include "afs/auth.h"
+#include "afs/kauth.h"
+#include "afs/kautils.h"
+#include "afs/pthread_glock.h"
+#include "des/des.h"
#else /* defined(UKERNEL) */
#include <afs/stds.h>
RCSID("$Header$");
#if defined(UKERNEL)
-#include "../rx/xdr.h"
-#include "../afsint/kauth.h"
+#include "rx/xdr.h"
+#include "afs/kauth.h"
#else /* defined(UKERNEL) */
#include <rx/xdr.h>
#include "kauth.h"
#include <afsconfig.h>
#if defined(UKERNEL)
-#include "../afs/param.h"
+#include "afs/param.h"
#else
#include <afs/param.h>
#endif
RCSID("$Header$");
#if defined(UKERNEL)
-#include "../afs/pthread_glock.h"
-#include "../afs/sysincludes.h"
-#include "../afs/afsincludes.h"
-#include "../afs/afs_usrops.h"
-#include "../afs/cellconfig.h"
-#include "../afs/pthread_glock.h"
-#include "../rx/xdr.h"
-#include "../rx/rx.h"
-#include "../afsint/kauth.h"
-#include "../afs/kautils.h"
-#include "../afs/afsutil.h"
+#include "afs/pthread_glock.h"
+#include "afs/sysincludes.h"
+#include "afsincludes.h"
+#include "afs_usrops.h"
+#include "afs/cellconfig.h"
+#include "afs/pthread_glock.h"
+#include "rx/xdr.h"
+#include "rx/rx.h"
+#include "afs/kauth.h"
+#include "afs/kautils.h"
+#include "afs/afsutil.h"
#else /* defined(UKERNEL) */
#include <afs/pthread_glock.h>
#include <sys/types.h>
#include <afs/afsutil.h>
#else
-#include "../afs/ubik.h"
-#include "../afs/auth.h"
-#include "../afs/cellconfig.h"
+#include "ubik.h"
+#include "afs/auth.h"
+#include "afs/cellconfig.h"
#endif /* !defined(UKERNEL) */
#include <afsconfig.h>
#if defined(UKERNEL)
-#include "../afs/param.h"
+#include "afs/param.h"
#else
#include <afs/param.h>
#endif
RCSID("$Header$");
#if defined(UKERNEL)
-#include "../afs/sysincludes.h"
-#include "../afs/afsincludes.h"
-#include "../afs/stds.h"
-#include "../rx/xdr.h"
-#include "../afs/pthread_glock.h"
-#include "../afs/lock.h"
-#include "../afs/ubik.h"
-#include "../afsint/kauth.h"
-#include "../afs/kautils.h"
-#include "../afs/auth.h"
-#include "../afs/pthread_glock.h"
+#include "afs/sysincludes.h"
+#include "afsincludes.h"
+#include "afs/stds.h"
+#include "rx/xdr.h"
+#include "afs/pthread_glock.h"
+#include "afs/lock.h"
+#include "ubik.h"
+#include "afs/kauth.h"
+#include "afs/kautils.h"
+#include "afs/auth.h"
+#include "afs/pthread_glock.h"
#else /* defined(UKERNEL) */
#include <afs/stds.h>
#include <sys/types.h>
#include <afsconfig.h>
#if defined(UKERNEL)
-#include "../afs/param.h"
+#include "afs/param.h"
#else
#include <afs/param.h>
#endif
RCSID("$Header$");
#if defined(UKERNEL)
-#include "../afs/sysincludes.h"
-#include "../afs/afsincludes.h"
-#include "../afs/stds.h"
-#include "../afs/com_err.h"
-#include "../afs/cellconfig.h"
-#include "../afs/auth.h"
-#include "../afsint/ptint.h"
-#include "../afs/pterror.h"
-#include "../afs/ptserver.h"
-#include "../rx/rx.h"
-#include "../rx/rx_globals.h"
-#include "../rx/rxkad.h"
-#include "../afsint/kauth.h"
-#include "../afs/kautils.h"
-#include "../afs/afsutil.h"
+#include "afs/sysincludes.h"
+#include "afsincludes.h"
+#include "afs/stds.h"
+#include "afs/com_err.h"
+#include "afs/cellconfig.h"
+#include "afs/auth.h"
+#include "afs/ptint.h"
+#include "afs/pterror.h"
+#include "afs/ptserver.h"
+#include "rx/rx.h"
+#include "rx/rx_globals.h"
+#include "rx/rxkad.h"
+#include "afs/kauth.h"
+#include "afs/kautils.h"
+#include "afs/afsutil.h"
#else /* defined(UKERNEL) */
#include <afs/stds.h>
#include <signal.h>
#
all: \
${TOP_LIBDIR}/libacl.a \
+ depinstall
+
+depinstall: \
${TOP_INCDIR}/afs/acl.h \
- ${TOP_INCDIR}/afs/prs_fs.h \
- ${KERNELDIR}/afs \
- ${KERNELDIR}/afs/prs_fs.h \
- ${UKERNELDIR}/afs \
- ${UKERNELDIR}/afs/prs_fs.h
+ ${TOP_INCDIR}/afs/prs_fs.h
libacl.a: aclprocs.o netprocs.o AFS_component_version_number.o
$(RM) -f $@
${TOP_INCDIR}/afs/prs_fs.h: prs_fs.h
${INSTALL} $? $@
-${KERNELDIR}/afs:
- mkdir -p $? $@
-
-${KERNELDIR}/afs/prs_fs.h: prs_fs.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afs:
- mkdir -p $? $@
-
-${UKERNELDIR}/afs/prs_fs.h: prs_fs.h
- ${INSTALL} $? $@
-
install: \
${DESTDIR}${libdir}/afs/libacl.a \
${DESTDIR}${includedir}/afs/acl.h \
#
SHELL=/bin/sh
INCLUDE= -I. -I/usr/include -I${TOP_OBJDIR}/src/config
-AFS =../afs
-RX =../rx
-AFSINT =../afsint
+
+TOP_OBJ_FSINT = ${TOP_OBJDIR}/src/fsint
+TOP_OBJ_RXSTAT = ${TOP_OBJDIR}/src/rxstat
+TOP_OBJ_VLSERVER = ${TOP_OBJDIR}/src/vlserver
+
+TOP_SRC_AFS = ${TOP_SRCDIR}/afs
+TOP_SRC_RXSTAT = ${TOP_SRCDIR}/rxstat
+TOP_SRC_FSINT = ${TOP_SRCDIR}/fsint
+TOP_SRC_RX = ${TOP_SRCDIR}/rx
+TOP_SRC_VNOPS = ${TOP_SRCDIR}/afs/VNOPS
+TOP_SRC_RXKAD = ${TOP_SRCDIR}/rxkad
+
+COMMON_INCLUDE = -I. -I.. -I../nfs \
+ -I${TOP_SRCDIR} \
+ -I${TOP_SRCDIR}/afs \
+ -I${TOP_SRCDIR}/afs/${MKAFS_OSTYPE} \
+ -I${TOP_SRCDIR}/config \
+ -I${TOP_SRCDIR}/rx/${MKAFS_OSTYPE} \
+ -I${TOP_SRCDIR}/rxkad \
+ -I${TOP_SRCDIR}/rxkad/domestic \
+ -I${TOP_SRCDIR}/util \
+ -I${TOP_OBJDIR}/src \
+ -I${TOP_OBJDIR}/src/afs \
+ -I${TOP_OBJDIR}/src/afs/${MKAFS_OSTYPE} \
+ -I${TOP_OBJDIR}/src/util \
+ -I${TOP_OBJDIR}/src/rxkad \
+ -I${TOP_OBJDIR}/src/config \
+ -I${TOP_OBJDIR}/src/fsint \
+ -I${TOP_OBJDIR}/src/vlserver \
+ -I${TOP_INCDIR} \
+ -I${TOP_INCDIR}/afs \
# Build rules - CC and CFLAGS are defined in system specific MakefileProtos.
.c.i:
- $(CC) $(CFLAGS) -P -c $<
+ $(CC) $(COMMON_INCLUDE) $(CFLAGS) -P -c $<
.c.o:
- $(CC) $(CFLAGS) -c $<
-CRULE1= $(CC) $(CFLAGS) -c $?
-CRULE2= $(CC) $(OPTF) $(CFLAGS) -c $?
-CRULE3= $(CC) $(OPTF2) $(CFLAGS) -c $?
-CRULE4= $(CC) $(DBG) $(CFLAGS) -c $?
+ $(CC) $(COMMON_INCLUDE) $(CFLAGS) -c $<
+CRULE1= $(CC) $(COMMON_INCLUDE) $(CFLAGS) -c $?
+CRULE2= $(CC) $(COMMON_INCLUDE) $(OPTF) $(CFLAGS) -c $?
+CRULE3= $(CC) $(COMMON_INCLUDE) $(OPTF2) $(CFLAGS) -c $?
+CRULE4= $(CC) $(COMMON_INCLUDE) $(DBG) $(CFLAGS) -c $?
system: all
-kinstall: install
install: all $(INSTDIRS)
dest: all $(DESTDIRS)
echo $(MAKE) DESTDIR=${DESTDIR} $@_libafs; \
$(MAKE) DESTDIR=${DESTDIR} $@_libafs
-single_compdir_libafs: libafs
+single_compdir_libafs: depsrcs libafs
single_instdir_libafs: install_libafs
single_destdir_libafs: dest_libafs
+# placeholder for any sources that are built prior to compiling libafs
+depsrcs:
+
AFSAOBJS = \
afs_atomlist.o \
afs_lhash.o \
# Compilation rules
# These files are to be optimized
-afs_atomlist.o: $(AFS)/afs_atomlist.c
- $(CRULE2)
-afs_lhash.o: $(AFS)/afs_lhash.c
- $(CRULE2)
-afs_analyze.o: $(AFS)/afs_analyze.c
+afs_base64.o: $(TOP_SRC_AFS)/afs_base64.c
+ $(CRULE1)
+afs_atomlist.o: $(TOP_SRCDIR)/util/afs_atomlist.c
$(CRULE2)
-afs_axscache.o: $(AFS)/afs_axscache.c
+afs_lhash.o: $(TOP_SRCDIR)/util/afs_lhash.c
$(CRULE2)
-afs_buffer.o: $(AFS)/afs_buffer.c
+afs_analyze.o: $(TOP_SRC_AFS)/afs_analyze.c
$(CRULE2)
-afs_cell.o: $(AFS)/afs_cell.c
+afs_axscache.o: $(TOP_SRC_AFS)/afs_axscache.c
$(CRULE2)
-afs_conn.o: $(AFS)/afs_conn.c
+afs_buffer.o: $(TOP_SRC_AFS)/afs_buffer.c
$(CRULE2)
-afs_dcache.o: $(AFS)/afs_dcache.c
+afs_cell.o: $(TOP_SRC_AFS)/afs_cell.c
$(CRULE2)
-afs_dynroot.o: $(AFS)/afs_dynroot.c
+afs_conn.o: $(TOP_SRC_AFS)/afs_conn.c
$(CRULE2)
-afs_init.o: $(AFS)/afs_init.c
+afs_dcache.o: $(TOP_SRC_AFS)/afs_dcache.c
$(CRULE2)
-afs_mariner.o: $(AFS)/afs_mariner.c
+afs_dynroot.o: $(TOP_SRC_AFS)/afs_dynroot.c
$(CRULE2)
-afs_osidnlc.o: $(AFS)/afs_osidnlc.c
+afs_init.o: $(TOP_SRC_AFS)/afs_init.c
$(CRULE2)
-afs_osi.o: $(AFS)/afs_osi.c
+afs_mariner.o: $(TOP_SRC_AFS)/afs_mariner.c
$(CRULE2)
-afs_osi_alloc.o: $(AFS)/afs_osi_alloc.c
+afs_osidnlc.o: $(TOP_SRC_AFS)/afs_osidnlc.c
$(CRULE2)
-afs_osi_pag.o: $(AFS)/afs_osi_pag.c
+afs_osi.o: $(TOP_SRC_AFS)/afs_osi.c
$(CRULE2)
-afs_osi_sleep.o: $(AFS)/afs_osi_sleep.c
+afs_osi_alloc.o: $(TOP_SRC_AFS)/afs_osi_alloc.c
$(CRULE2)
-afs_osi_vnhold.o: $(AFS)/afs_osi_vnhold.c
+afs_osi_pag.o: $(TOP_SRC_AFS)/afs_osi_pag.c
$(CRULE2)
-afs_osi_uio.o: $(AFS)/afs_osi_uio.c
+afs_osi_uio.o: $(TOP_SRC_AFS)/afs_osi_uio.c
$(CRULE2)
-afs_osi_vget.o: $(AFS)/afs_osi_vget.c
+afs_osi_vget.o: $(TOP_SRC_AFS)/afs_osi_vget.c
$(CRULE1)
-afs_segments.o: $(AFS)/afs_segments.c
+afs_segments.o: $(TOP_SRC_AFS)/afs_segments.c
$(CRULE2)
-afs_server.o: $(AFS)/afs_server.c
+afs_server.o: $(TOP_SRC_AFS)/afs_server.c
$(CRULE2)
-afs_user.o: $(AFS)/afs_user.c
+afs_user.o: $(TOP_SRC_AFS)/afs_user.c
$(CRULE2)
-afs_util.o: $(AFS)/afs_util.c
+afs_util.o: $(TOP_SRC_AFS)/afs_util.c
$(CRULE2)
-afs_vcache.o: $(AFS)/afs_vcache.c
+afs_vcache.o: $(TOP_SRC_AFS)/afs_vcache.c
$(CRULE2)
-afs_vnop_access.o: $(AFS)/afs_vnop_access.c
+afs_vnop_access.o: $(TOP_SRC_VNOPS)/afs_vnop_access.c
$(CRULE1)
-afs_vnop_attrs.o: $(AFS)/afs_vnop_attrs.c
+afs_vnop_attrs.o: $(TOP_SRC_VNOPS)/afs_vnop_attrs.c
$(CRULE1)
-afs_vnop_create.o: $(AFS)/afs_vnop_create.c
+afs_vnop_create.o: $(TOP_SRC_VNOPS)/afs_vnop_create.c
$(CRULE1)
-afs_vnop_dirops.o: $(AFS)/afs_vnop_dirops.c
+afs_vnop_dirops.o: $(TOP_SRC_VNOPS)/afs_vnop_dirops.c
$(CRULE1)
-afs_vnop_fid.o: $(AFS)/afs_vnop_fid.c
+afs_vnop_fid.o: $(TOP_SRC_VNOPS)/afs_vnop_fid.c
$(CRULE1)
-afs_vnop_flock.o: $(AFS)/afs_vnop_flock.c
+afs_vnop_flock.o: $(TOP_SRC_VNOPS)/afs_vnop_flock.c
$(CRULE1)
-afs_vnop_link.o: $(AFS)/afs_vnop_link.c
+afs_vnop_link.o: $(TOP_SRC_VNOPS)/afs_vnop_link.c
$(CRULE1)
-afs_vnop_lookup.o: $(AFS)/afs_vnop_lookup.c
+afs_vnop_lookup.o: $(TOP_SRC_VNOPS)/afs_vnop_lookup.c
$(CRULE1)
-afs_vnop_open.o: $(AFS)/afs_vnop_open.c
+afs_vnop_open.o: $(TOP_SRC_VNOPS)/afs_vnop_open.c
$(CRULE1)
-afs_vnop_read.o: $(AFS)/afs_vnop_read.c
+afs_vnop_read.o: $(TOP_SRC_VNOPS)/afs_vnop_read.c
$(CRULE1)
-afs_vnop_readdir.o: $(AFS)/afs_vnop_readdir.c
+afs_vnop_readdir.o: $(TOP_SRC_VNOPS)/afs_vnop_readdir.c
$(CRULE1)
-afs_vnop_remove.o: $(AFS)/afs_vnop_remove.c
+afs_vnop_remove.o: $(TOP_SRC_VNOPS)/afs_vnop_remove.c
$(CRULE1)
-afs_vnop_rename.o: $(AFS)/afs_vnop_rename.c
+afs_vnop_rename.o: $(TOP_SRC_VNOPS)/afs_vnop_rename.c
$(CRULE1)
-afs_vnop_strategy.o: $(AFS)/afs_vnop_strategy.c
+afs_vnop_strategy.o: $(TOP_SRC_VNOPS)/afs_vnop_strategy.c
$(CRULE1)
-afs_vnop_symlink.o: $(AFS)/afs_vnop_symlink.c
+afs_vnop_symlink.o: $(TOP_SRC_VNOPS)/afs_vnop_symlink.c
$(CRULE1)
-afs_vnop_write.o: $(AFS)/afs_vnop_write.c
+afs_vnop_write.o: $(TOP_SRC_VNOPS)/afs_vnop_write.c
$(CRULE1)
-afs_volume.o: $(AFS)/afs_volume.c
+afs_volume.o: $(TOP_SRC_AFS)/afs_volume.c
$(CRULE2)
-rx_rdwr.o: $(RX)/rx_rdwr.c
+rx_rdwr.o: $(TOP_SRC_RX)/rx_rdwr.c
$(CRULE2)
-afs_uuid.o: $(AFS)/afs_uuid.c
- $(CRULE2)
-xdr_afsuuid.o: $(RX)/xdr_afsuuid.c
+afs_uuid.o: $(TOP_SRCDIR)/util/uuid.c
+ $(CRULE2) -o afs_uuid.o
+xdr_afsuuid.o: $(TOP_SRCDIR)/rx/xdr_afsuuid.c
$(CRULE2)
# these files are not to be optimized - subject to change.
-afs_cbqueue.o: $(AFS)/afs_cbqueue.c
- $(CRULE1)
-afs_callback.o: $(AFS)/afs_callback.c
+afs_cbqueue.o: $(TOP_SRC_AFS)/afs_cbqueue.c
$(CRULE1)
-afs_chunk.o: $(AFS)/afs_chunk.c
+afs_callback.o: $(TOP_SRC_AFS)/afs_callback.c
$(CRULE1)
-afs_daemons.o: $(AFS)/afs_daemons.c
+afs_chunk.o: $(TOP_SRC_AFS)/afs_chunk.c
$(CRULE1)
-afs_dir.o: $(AFS)/afs_dir.c
+afs_daemons.o: $(TOP_SRC_AFS)/afs_daemons.c
$(CRULE1)
-AFS_component_version_number.o: $(AFS)/AFS_component_version_number.c
+afs_dir.o: $(TOP_SRCDIR)/dir/dir.c
+ $(CRULE1) -o afs_dir.o
+AFS_component_version_number.o: AFS_component_version_number.c
$(CRULE1)
-afs_lock.o: $(AFS)/afs_lock.c
+afs_lock.o: $(TOP_SRC_AFS)/afs_lock.c
$(CRULE1)
-afs_memcache.o: $(AFS)/afs_memcache.c
+afs_memcache.o: $(TOP_SRC_AFS)/afs_memcache.c
$(CRULE1)
-afs_stat.o: $(AFS)/afs_stat.c
+afs_stat.o: $(TOP_SRC_AFS)/afs_stat.c
$(CRULE1)
-fcrypt.o: $(AFS)/fcrypt.c
+fcrypt.o: $(TOP_SRC_RXKAD)/domestic/fcrypt.c
$(CRULE1)
-crypt_conn.o: $(AFS)/crypt_conn.c
+crypt_conn.o: $(TOP_SRC_RXKAD)/domestic/crypt_conn.c
$(CRULE1)
-rxkad_client.o: $(AFS)/rxkad_client.c
+rxkad_client.o: $(TOP_SRC_RXKAD)/rxkad_client.c
$(CRULE1)
-rxkad_common.o: $(AFS)/rxkad_common.c
+rxkad_common.o: $(TOP_SRC_RXKAD)/rxkad_common.c
$(CRULE1)
-afs_exporter.o: $(AFS)/afs_exporter.c
+afs_exporter.o: $(TOP_SRC_AFS)/afs_exporter.c
$(CRULE1)
-afs_nfsclnt.o: $(AFS)/afs_nfsclnt.c
+afs_nfsclnt.o: $(TOP_SRC_AFS)/afs_nfsclnt.c
$(CRULE1)
-afs_nfsdisp.o: $(AFS)/afs_nfsdisp.c
+afs_nfsdisp.o: $(TOP_SRC_AFS)/afs_nfsdisp.c
$(CRULE1)
-rx.o: $(RX)/rx.c
+rx.o: $(TOP_SRC_RX)/rx.c
$(CRULE1)
-rx_clock.o: $(RX)/rx_clock.c
+rx_clock.o: $(TOP_SRC_RX)/rx_clock.c
$(CRULE1)
-rx_event.o: $(RX)/rx_event.c
+rx_event.o: $(TOP_SRC_RX)/rx_event.c
$(CRULE1)
-rx_globals.o: $(RX)/rx_globals.c
+rx_globals.o: $(TOP_SRC_RX)/rx_globals.c
$(CRULE1)
-rx_misc.o: $(RX)/rx_misc.c
+rx_misc.o: $(TOP_SRC_RX)/rx_misc.c
$(CRULE1)
-rx_null.o: $(RX)/rx_null.c
+rx_null.o: $(TOP_SRC_RX)/rx_null.c
$(CRULE1)
-rx_getaddr.o: $(RX)/rx_getaddr.c
+rx_getaddr.o: $(TOP_SRC_RX)/rx_getaddr.c
$(CRULE1)
-rx_packet.o: $(RX)/rx_packet.c
+rx_packet.o: $(TOP_SRC_RX)/rx_packet.c
$(CRULE1)
-xdr_rx.o: $(RX)/xdr_rx.c
+xdr_rx.o: $(TOP_SRC_RX)/xdr_rx.c
$(CRULE1)
-afs_ncrops.o: $(AFS)/afs_ncrops.c
+Kcallback.ss.o: $(TOP_OBJ_FSINT)/Kcallback.ss.c
$(CRULE1)
-afs_aixops.o: $(AFS)/afs_aixops.c
+rxstat.o: $(TOP_SRC_RXSTAT)/rxstat.c
$(CRULE1)
-afs_aix_subr.o: $(AFS)/afs_aix_subr.c
+Krxstat.ss.o: $(TOP_OBJ_RXSTAT)/Krxstat.ss.c
$(CRULE1)
-afs_hp_subr.o: $(AFS)/afs_hp_subr.c
+Krxstat.xdr.o: $(TOP_OBJ_RXSTAT)/Krxstat.xdr.c
$(CRULE1)
-afs_gfsops.o: $(AFS)/afs_gfsops.c
+Kvice.xdr.o: $(TOP_OBJ_FSINT)/Kvice.xdr.c
$(CRULE1)
-afs_gfs_subr.o: $(AFS)/afs_gfs_subr.c
+Kvice.cs.o: $(TOP_OBJ_FSINT)/Kvice.cs.c
$(CRULE1)
-Kcallback.ss.o: $(AFSINT)/Kcallback.ss.c
+afsaux.o: $(TOP_SRC_FSINT)/afsaux.c
$(CRULE1)
-rxstat.o: $(AFSINT)/rxstat.c
+xdr_arrayn.o: $(TOP_SRC_RX)/xdr_arrayn.c
$(CRULE1)
-Krxstat.ss.o: $(AFSINT)/Krxstat.ss.c
+xdr_array.o: $(TOP_SRC_RX)/xdr_array.c
$(CRULE1)
-Krxstat.xdr.o: $(AFSINT)/Krxstat.xdr.c
+xdr_int32.o: $(TOP_SRC_RX)/xdr_int32.c
$(CRULE1)
-Kvice.xdr.o: $(AFSINT)/Kvice.xdr.c
+xdr_int64.o: $(TOP_SRC_RX)/xdr_int64.c
$(CRULE1)
-Kvice.cs.o: $(AFSINT)/Kvice.cs.c
+xdr.o: $(TOP_SRC_RX)/xdr.c
$(CRULE1)
-afsaux.o: $(AFSINT)/afsaux.c
+Kvldbint.cs.o: ${TOP_OBJ_VLSERVER}/Kvldbint.cs.c
$(CRULE1)
-xdr_arrayn.o: $(RX)/xdr_arrayn.c
- $(CRULE1)
-xdr_array.o: $(RX)/xdr_array.c
- $(CRULE1)
-xdr_int32.o: $(RX)/xdr_int32.c
- $(CRULE1)
-xdr_int64.o: $(RX)/xdr_int64.c
- $(CRULE1)
-xdr.o: $(RX)/xdr.c
- $(CRULE1)
-Kvldbint.cs.o: $(AFSINT)/Kvldbint.cs.c
- $(CRULE1)
-Kvldbint.xdr.o: $(AFSINT)/Kvldbint.xdr.c
+Kvldbint.xdr.o: ${TOP_OBJ_VLSERVER}/Kvldbint.xdr.c
$(CRULE1) -DAFS_UUID_XG
-afs_main.o: $(AFS)/afs_main.c
+rx_kmutex.o: $(TOP_SRC_RX)/${MKAFS_OSTYPE}/rx_kmutex.c
$(CRULE1)
-rx_kmutex.o: $(RX)/rx_kmutex.c
+rx_knet.o: $(TOP_SRC_RX)/${MKAFS_OSTYPE}/rx_knet.c
$(CRULE1)
-rx_knet.o: $(RX)/rx_knet.c
- $(CRULE1)
-rx_kcommon.o: $(RX)/rx_kcommon.c
+rx_kcommon.o: $(TOP_SRC_RX)/rx_kcommon.c
$(CRULE1)
# Files which do not contain NFS translator code.
-afs_call.o: $(AFS)/afs_call.c
+afs_call.o: $(TOP_SRC_AFS)/afs_call.c
$(CRULE1) -DAFS_NONFSTRANS
-afs_pioctl.o: $(AFS)/afs_pioctl.c
+afs_pioctl.o: $(TOP_SRC_AFS)/afs_pioctl.c
$(CRULE1) -DAFS_NONFSTRANS
# NFS Translator versions of the above code.
-afs_call_nfs.o: $(AFS)/afs_call.c
+afs_call_nfs.o: $(TOP_SRC_AFS)/afs_call.c
$(CRULE1) -o afs_call_nfs.o
-afs_pioctl_nfs.o: $(AFS)/afs_pioctl.c
+afs_pioctl_nfs.o: $(TOP_SRC_AFS)/afs_pioctl.c
$(CRULE1) -o afs_pioctl_nfs.o
+# Files which are specific to particular architectures/targets
+# but have common build rules. Place here instead of duplicating
+# in the per-platform Makefiles.
+osi_groups.o: $(TOP_SRCDIR)/afs/$(MKAFS_OSTYPE)/osi_groups.c
+ $(CRULE1)
+osi_inode.o: $(TOP_SRCDIR)/afs/$(MKAFS_OSTYPE)/osi_inode.c
+ $(CRULE1)
+osi_file.o: $(TOP_SRCDIR)/afs/$(MKAFS_OSTYPE)/osi_file.c
+ $(CRULE1)
+osi_sleep.o: $(TOP_SRCDIR)/afs/$(MKAFS_OSTYPE)/osi_sleep.c
+ $(CRULE1)
+osi_misc.o: $(TOP_SRCDIR)/afs/$(MKAFS_OSTYPE)/osi_misc.c
+ $(CRULE1)
+osi_vfsops_nfs.o: $(TOP_SRCDIR)/afs/$(MKAFS_OSTYPE)/osi_vfsops_nfs.c
+ $(CRULE1) -o osi_vfsops_nfs.o
+osi_vfsops.o: $(TOP_SRCDIR)/afs/$(MKAFS_OSTYPE)/osi_vfsops.c
+ $(CRULE1) -DAFS_NONFSTRANS
+osi_vm.o: $(TOP_SRCDIR)/afs/$(MKAFS_OSTYPE)/osi_vm.c
+ $(CRULE1)
+osi_vnodeops.o: $(TOP_SRCDIR)/afs/$(MKAFS_OSTYPE)/osi_vnodeops.c
+ $(CRULE1)
+osi_debug.o: $(TOP_SRCDIR)/afs/$(MKAFS_OSTYPE)/osi_debug.c
+ $(CRULE4)
+osi_module.o: $(TOP_SRCDIR)/afs/$(MKAFS_OSTYPE)/osi_module.c
+ $(CRULE1)
+osi_sysctl.o: $(TOP_SRCDIR)/afs/$(MKAFS_OSTYPE)/osi_sysctl.c
+ $(CRULE1)
+osi_alloc.o: $(TOP_SRCDIR)/afs/$(MKAFS_OSTYPE)/osi_alloc.c
+ $(CRULE1)
+osi_cred.o: $(TOP_SRCDIR)/afs/$(MKAFS_OSTYPE)/osi_cred.c
+ $(CRULE1)
+osi_idbg.o: $(TOP_SRCDIR)/afs/$(MKAFS_OSTYPE)/osi_idbg.c
+ $(CRULE1)
+osi_config.o: $(TOP_SRCDIR)/afs/$(MKAFS_OSTYPE)/osi_config.c
+ $(CRULE1)
+osi_timeout.o: $(TOP_SRCDIR)/afs/$(MKAFS_OSTYPE)/osi_timeout.c
+ $(CRULE1)
+
clean:
-$(RM) -rf STATIC* MODLOAD*
-$(RM) -rf h net netinet rpc ufs machine inet nfs sys afs afsint asm asm-generic config rx linux
-
+include ${TOP_OBJDIR}/src/config/Makefile.version
dest_libafs: $(DEST_LIBAFS) $(DEST_LIBAFSIAUTH)
-osi_assem.o: ${AFS}/osi_assem.s
- ${AS} -o osi_assem.o ${AFS}/osi_assem.s
-osi_config.o: $(AFS)/osi_config.c
- $(CRULE1)
-osi_groups.o: $(AFS)/osi_groups.c
- $(CRULE1)
-osi_file.o: $(AFS)/osi_file.c
- $(CRULE1)
-osi_inode.o: $(AFS)/osi_inode.c
- $(CRULE1)
-osi_misc.o: $(AFS)/osi_misc.c
- $(CRULE1)
-osi_sleep.o: $(AFS)/osi_sleep.c
- $(CRULE1)
-osi_timeout.o: $(AFS)/osi_timeout.c
- $(CRULE1)
-osi_vfsops.o: $(AFS)/osi_vfsops.c
- $(CRULE1)
-osi_vm.o: $(AFS)/osi_vm.c
- $(CRULE1)
-osi_vnodeops.o: $(AFS)/osi_vnodeops.c
- $(CRULE1)
-
+osi_assem.o: $(TOP_SRCDIR)/afs/$(MKAFS_OSTYPE)/osi_assem.s
+ ${AS} -o osi_assem.o $(TOP_SRCDIR)/afs/$(MKAFS_OSTYPE)/osi_assem.s
# Build rules for iauth objects.
afs_call_iauth.o: $(AFS)/afs_call.c
$(CRULE1) -DAFS_NONFSTRANS -DAFS_AIX_IAUTH_ENV -o afs_nfsclnt_iauth.o
afs_pioctl_iauth.o: $(AFS)/afs_pioctl.c
$(CRULE1) -DAFS_NONFSTRANS -DAFS_AIX_IAUTH_ENV -o afs_pioctl_iauth.o
-osi_vfsops_iauth.o: $(AFS)/osi_vfsops.c
+osi_vfsops_iauth.o: $(TOP_SRCDIR)/afs/$(MKAFS_OSTYPE)/osi_vnodeops.c
$(CRULE1) -DAFS_NONFSTRANS -DAFS_AIX_IAUTH_ENV -o osi_vfsops_iauth.o
-osi_vnodeops_iauth.o: $(AFS)/osi_vnodeops.c
+osi_vnodeops_iauth.o: $(TOP_SRCDIR)/afs/$(MKAFS_OSTYPE)/osi_vnodeops.c
$(CRULE1) -DAFS_NONFSTRANS -DAFS_AIX_IAUTH_ENV -o osi_vnodeops_iauth.o
${LIBAFSNONFS}: $(AFSAOBJS) $(AFSNONFSOBJS)
$(LD) -r -o ${LIBAFSNONFS} ${AFSAOBJS} ${AFSNONFSOBJS}
-
-
-# Object build rules:
-osi_groups.o: $(AFS)/osi_groups.c
- $(CRULE1)
-osi_file.o: $(AFS)/osi_file.c
- $(CRULE1)
-osi_inode.o: $(AFS)/osi_inode.c
- $(CRULE1)
-osi_misc.o: $(AFS)/osi_misc.c
- $(CRULE1)
-osi_sleep.o: $(AFS)/osi_sleep.c
- $(CRULE1)
-osi_vfsops_nfs.o: $(AFS)/osi_vfsops.c
- $(CRULE1) -o osi_vfsops_nfs.o
-osi_vfsops.o: $(AFS)/osi_vfsops.c
- $(CRULE1) -DAFS_NONFSTRANS
-osi_vm.o: $(AFS)/osi_vm.c
- $(CRULE1)
-osi_vnodeops.o: $(AFS)/osi_vnodeops.c
- $(CRULE1)
-osi_module.o: $(AFS)/osi_module.c
- $(CRULE1)
${AFSMOD}: ${LIBAFSNONFS}
$(LD) -dc -r -o ${AFSMOD} ${LIBAFSNONFS}
-
-# Object build rules:
-osi_groups.o: $(AFS)/osi_groups.c
- $(CRULE1)
-osi_file.o: $(AFS)/osi_file.c
- $(CRULE1)
-osi_inode.o: $(AFS)/osi_inode.c
- $(CRULE1)
-osi_misc.o: $(AFS)/osi_misc.c
- $(CRULE1)
-osi_sleep.o: $(AFS)/osi_sleep.c
- $(CRULE1)
-osi_vfsops_nfs.o: $(AFS)/osi_vfsops.c
- $(CRULE1) -o osi_vfsops_nfs.o
-osi_vfsops.o: $(AFS)/osi_vfsops.c
- $(CRULE1) -DAFS_NONFSTRANS
-osi_vm.o: $(AFS)/osi_vm.c
- $(CRULE1)
-osi_vnodeops.o: $(AFS)/osi_vnodeops.c
- $(CRULE1)
# Object build rules:
-osi_groups.o: $(AFS)/osi_groups.c
- $(CRULE1)
-osi_file.o: $(AFS)/osi_file.c
- $(CRULE1)
-osi_inode.o: $(AFS)/osi_inode.c
- $(CRULE1)
-osi_misc.o: $(AFS)/osi_misc.c
- $(CRULE1)
-osi_sleep.o: $(AFS)/osi_sleep.c
- $(CRULE1)
-osi_vfsops_nfs.o: $(AFS)/osi_vfsops.c
- $(CRULE1) -o osi_vfsops_nfs.o
-osi_vfsops.o: $(AFS)/osi_vfsops.c
- $(CRULE1) -DAFS_NONFSTRANS
-osi_vm.o: $(AFS)/osi_vm.c
- $(CRULE1)
-osi_vnodeops.o: $(AFS)/osi_vnodeops.c
- $(CRULE1)
-osi_module.o: $(AFS)/osi_module.c
- $(CRULE1)
setdef0.o: setdef0.c
$(CRULE1)
setdef1.o: setdef1.c
DEFINES= -DAFSDEBUG -DKERNEL -DAFS -DVICE -DNFS -DUFS -DINET -DQUOTA -DGETMOUNT -DHPONCPLUS
OPTF=${OPT}
OPTF2=${OPT2}
-CFLAGS=-I. -I.. -I../h -I../nfs -I${TOP_OBJDIR}/src/config ${FSINCLUDES} $(DEFINES) $(KDEFS) $(KOPTS) ${DBUG}
+CFLAGS=-I. -I.. -I../h -I../nfs -I../conf -I${TOP_OBJDIR}/src/config ${FSINCLUDES} $(DEFINES) $(KDEFS) $(KOPTS) ${DBUG}
# Name of directory to hold object files and libraries.
KOBJ=STATIC
-# This tells Makefile.common to use its single directory build target.
-#COMPDIRS = single_compdir
# This is the hpux multiple directory target.
COMPDIRS = hpux_compdirs
INSTDIRS = hpux_instdirs
BITS = 64 32
setup:
- -$(RM) -f h net dux machine netinet nfs rpc s200 ufs sys
+ -$(RM) -f h conf net dux machine netinet nfs rpc s200 ufs sys
ln -fs /usr/include/sys h
+ ln -fs /etc/conf conf
ln -fs /etc/conf/net net
ln -fs /etc/conf/dux dux
ln -fs /etc/conf/machine machine
done; \
fi
-hpux_compdirs_libafs: libafs
+hpux_compdirs_libafs: depsrcs libafs
hpux_instdirs_libafs: install_libafs
hpux_destdirs_libafs: dest_libafs
${LIBAFSNONFS}: $(AFSAOBJS) $(AFSNONFSOBJS)
$(AR) cru $@ $?
$(RANLIB) $@
-
-
-# HP specific objects
-osi_groups.o: $(AFS)/osi_groups.c
- $(CRULE1)
-osi_inode.o: $(AFS)/osi_inode.c
- $(CRULE1)
-osi_file.o: $(AFS)/osi_file.c
- $(CRULE1)
-osi_misc.o: $(AFS)/osi_misc.c
- $(CRULE1)
-osi_sleep.o: $(AFS)/osi_sleep.c
- $(CRULE1)
-osi_vfsops_nfs.o: $(AFS)/osi_vfsops.c
- $(CRULE1) -o osi_vfsops_nfs.o
-osi_vfsops.o: $(AFS)/osi_vfsops.c
- $(CRULE1) -DAFS_NONFSTRANS
-osi_vm.o: $(AFS)/osi_vm.c
- $(CRULE1)
-osi_vnodeops.o: $(AFS)/osi_vnodeops.c
- $(CRULE1)
-
-# This is a list of header files compiled with the -g option. It allows
-# examination of AFS structures in a dump.
-osi_debug.o: $(AFS)/osi_debug.c
- $(CRULE4)
-
done
<all>
-irix_compdirs_STATIC.libafs: STATIC.libafs
-irix_compdirs_MODLOAD.libafs: MODLOAD.libafs
+irix_compdirs_STATIC.libafs: depsrcs STATIC.libafs
+irix_compdirs_MODLOAD.libafs: depsrcs MODLOAD.libafs
irix_instdirs_STATIC.libafs: install_STATIC.libafs
irix_instdirs_MODLOAD.libafs: install_MODLOAD.libafs
irix_destdirs_STATIC.libafs: dest_STATIC.libafs
ln -fs libafs.IP20.o ${DEST}/root.client/usr/vice/etc/sgiload/libafs.IP32.o
ln -fs libafs.IP20.nonfs.o ${DEST}/root.client/usr/vice/etc/sgiload/libafs.IP22.nonfs.o
ln -fs libafs.IP20.nonfs.o ${DEST}/root.client/usr/vice/etc/sgiload/libafs.IP32.nonfs.o
-<all>
-
-
-# Object build rules:
-# Common objects
-afs_base64.o: $(AFS)/afs_base64.c
- $(CRULE1)
-osi_groups.o: $(AFS)/osi_groups.c
- $(CRULE1)
-osi_idbg.o: $(AFS)/osi_idbg.c
- $(CRULE1)
-osi_inode.o: $(AFS)/osi_inode.c
- $(CRULE1)
-osi_file.o: $(AFS)/osi_file.c
- $(CRULE1)
-osi_misc.o: $(AFS)/osi_misc.c
- $(CRULE1)
-osi_sleep.o: $(AFS)/osi_sleep.c
- $(CRULE1)
-osi_vfsops_nfs.o: $(AFS)/osi_vfsops.c
- $(CRULE1) -o osi_vfsops_nfs.o
-osi_vfsops.o: $(AFS)/osi_vfsops.c
- $(CRULE1) -DAFS_NONFSTRANS
-osi_vm.o: $(AFS)/osi_vm.c
- $(CRULE1)
-osi_vnodeops.o: $(AFS)/osi_vnodeops.c
- $(CRULE1)
cd ../ ; \
done
-linux_compdirs_libafs: libafs
-linux_compdirs_libafs.mp: libafs.mp
-linux_compdirs_libafs.ep: libafs.ep
-linux_compdirs_libafs.bm: libafs.bm
+linux_compdirs_libafs: depsrcs libafs
+linux_compdirs_libafs.mp: depsrcs libafs.mp
+linux_compdirs_libafs.ep: depsrcs libafs.ep
+linux_compdirs_libafs.bm: depsrcs libafs.bm
linux_instdirs_libafs: install_libafs
linux_instdirs_libafs.mp: install_libafs.mp
linux_instdirs_libafs.ep: install_libafs.ep
$(DEST_LIBAFS_BM): $(LIBAFS_BM)
${INSTALL} -f $? $@
-
-
-# Linux specific objects
-osi_alloc.o: $(AFS)/osi_alloc.c
- $(CRULE1)
-osi_cred.o: $(AFS)/osi_cred.c
- $(CRULE1)
-osi_groups.o: $(AFS)/osi_groups.c
- $(CRULE1)
-osi_file.o: $(AFS)/osi_file.c
- $(CRULE1)
-osi_inode.o: $(AFS)/osi_inode.c
- $(CRULE1)
-osi_misc.o: $(AFS)/osi_misc.c
- $(CRULE1)
-osi_module.o: $(AFS)/osi_module.c
- $(CRULE1)
-osi_sleep.o: $(AFS)/osi_sleep.c
- $(CRULE1)
-osi_sysctl.o: $(AFS)/osi_sysctl.c
- $(CRULE1)
-osi_vfsops.o: $(AFS)/osi_vfsops.c
- $(CRULE1)
-osi_vm.o: $(AFS)/osi_vm.c
- $(CRULE1)
-osi_vnodeops.o: $(AFS)/osi_vnodeops.c
- $(CRULE1)
${LIBAFSNONFS}: $(AFSAOBJS) $(AFSNONFSOBJS)
$(LD) -r -o ${LIBAFSNONFS} ${AFSAOBJS} ${AFSNONFSOBJS}
-
-
-# Object build rules:
-osi_groups.o: $(AFS)/osi_groups.c
- $(CRULE1)
-osi_file.o: $(AFS)/osi_file.c
- $(CRULE1)
-osi_inode.o: $(AFS)/osi_inode.c
- $(CRULE1)
-osi_misc.o: $(AFS)/osi_misc.c
- $(CRULE1)
-osi_sleep.o: $(AFS)/osi_sleep.c
- $(CRULE1)
-osi_vfsops_nfs.o: $(AFS)/osi_vfsops.c
- $(CRULE1) -o osi_vfsops_nfs.o
-osi_vfsops.o: $(AFS)/osi_vfsops.c
- $(CRULE1) -DAFS_NONFSTRANS
-osi_vm.o: $(AFS)/osi_vm.c
- $(CRULE1)
-osi_vnodeops.o: $(AFS)/osi_vnodeops.c
- $(CRULE1)
${LIBAFSNONFS}: $(AFSAOBJS) $(AFSNONFSOBJS)
$(LD) -r -o ${LIBAFSNONFS} ${AFSAOBJS} ${AFSNONFSOBJS}
-
-
-# Object build rules:
-osi_groups.o: $(AFS)/osi_groups.c
- $(CRULE1)
-osi_file.o: $(AFS)/osi_file.c
- $(CRULE1)
-osi_inode.o: $(AFS)/osi_inode.c
- $(CRULE1)
-osi_misc.o: $(AFS)/osi_misc.c
- $(CRULE1)
-osi_sleep.o: $(AFS)/osi_sleep.c
- $(CRULE1)
-osi_vfsops_nfs.o: $(AFS)/osi_vfsops.c
- $(CRULE1) -o osi_vfsops_nfs.o
-osi_vfsops.o: $(AFS)/osi_vfsops.c
- $(CRULE1) -DAFS_NONFSTRANS
-osi_vm.o: $(AFS)/osi_vm.c
- $(CRULE1)
-osi_vnodeops.o: $(AFS)/osi_vnodeops.c
- $(CRULE1)
cd ../ ;\
done
-solaris_compdirs_libafs: libafs
+solaris_compdirs_libafs: depsrcs libafs
solaris_instdirs_libafs: install_libafs
solaris_destdirs_libafs: dest_libafs
dest_libafs: ${LIBAFSNONFS} ${LIBAFS}
${INSTALL} -f ${LIBAFSNONFS} ${DEST}/root.client/usr/vice/etc/modload/libafs${BITS}.nonfs.o
${INSTALL} -f ${LIBAFS} ${DEST}/root.client/usr/vice/etc/modload/libafs${BITS}.o
-
-<all>
-
-# Solaris specific objects
-osi_groups.o: $(AFS)/osi_groups.c
- $(CRULE1)
-osi_inode.o: $(AFS)/osi_inode.c
- $(CRULE1)
-osi_file.o: $(AFS)/osi_file.c
- $(CRULE1)
-osi_sleep.o: $(AFS)/osi_sleep.c
- $(CRULE1)
-osi_vfsops_nfs.o: $(AFS)/osi_vfsops.c
- $(CRULE1) -o osi_vfsops_nfs.o
-osi_vfsops.o: $(AFS)/osi_vfsops.c
- $(CRULE1) -DAFS_NONFSTRANS
-osi_vm.o: $(AFS)/osi_vm.c
- $(CRULE1)
-osi_vnodeops.o: $(AFS)/osi_vnodeops.c
- $(CRULE1)
--- /dev/null
+Makefile.common.in
+Makefile.extradefs
+*.plist
+afs.shutdown
+afs.startup
+redhat.sh
+sgi_master
+sgi_system
--- /dev/null
+util/afs_lhash.c
+util/afs_atomlist.c
+util/uuid.c
+dir/dir.c
+fsint/afsaux.c
+fsint/K*.[ch]
+fsint/*.xg
+rxstat/K*.[ch]
+rxstat/*.xg
+rxstat/rxstat.[ch]
+vlserver/K*.[ch]
+vlserver/*.xg
LIB =../lib
NS_INCL =SRC/../afsweb/netscape_includes
+TOP_OBJ_FSINT = ${TOP_OBJDIR}/src/fsint
+TOP_OBJ_RXSTAT = ${TOP_OBJDIR}/src/rxstat
+TOP_OBJ_VLSERVER = ${TOP_OBJDIR}/src/vlserver
+
+TOP_SRC_AFS = ${TOP_SRCDIR}/afs
+TOP_SRC_RXSTAT = ${TOP_SRCDIR}/rxstat
+TOP_SRC_FSINT = ${TOP_SRCDIR}/fsint
+TOP_SRC_RX = ${TOP_SRCDIR}/rx
+TOP_SRC_VNOPS = ${TOP_SRCDIR}/afs/VNOPS
+TOP_SRC_RXKAD = ${TOP_SRCDIR}/rxkad
+
+COMMON_INCLUDE = -I. -I.. -I../nfs \
+ -I${TOP_SRCDIR} \
+ -I${TOP_SRCDIR}/afs \
+ -I${TOP_SRCDIR}/afs/UKERNEL \
+ -I${TOP_SRCDIR}/config \
+ -I${TOP_SRCDIR}/rx \
+ -I${TOP_SRCDIR}/rx/UKERNEL \
+ -I${TOP_SRCDIR}/rxkad \
+ -I${TOP_SRCDIR}/rxkad/domestic \
+ -I${TOP_SRCDIR}/util \
+ -I${TOP_OBJDIR}/src \
+ -I${TOP_OBJDIR}/src/afs/UKERNEL \
+ -I${TOP_OBJDIR}/src/afs \
+ -I${TOP_OBJDIR}/src/util \
+ -I${TOP_OBJDIR}/src/rxkad \
+ -I${TOP_OBJDIR}/src/config \
+ -I${TOP_OBJDIR}/src/fsint \
+ -I${TOP_OBJDIR}/src/vlserver \
+ -I${TOP_OBJDIR}/src/libuafs \
+ -I${TOP_INCDIR} \
+ -I${TOP_INCDIR}/afs \
+
# Build rules - CC and CFLAGS are defined in system specific MakefileProtos.
all: ${TOP_LIBDIR}/$(LIBJUAFS) ${TOP_LIBDIR}/$(LIBUAFS) linktest
${TOP_LIBDIR}/$(LIBAFSWEB) \
${TOP_LIBDIR}/$(LIBAFSWEBKRB)
-linktest: UAFS/$(LIBUAFS) des/libdes.a
- $(CC) $(TEST_CFLAGS) $(TEST_LDFLAGS) -o linktest ${srcdir}/linktest.c -I${TOP_OBJDIR}/src/config -I${TOP_INCDIR} -I${TOP_INCDIR}/rx -I. UAFS/$(LIBUAFS) des/libdes.a $(TEST_LIBS) $(XLIBS)
-
-ukinstall: install
+linktest: UAFS/$(LIBUAFS) ${TOP_OBJDIR}/lib/libdes.a
+ $(CC) $(TEST_CFLAGS) $(TEST_LDFLAGS) -o linktest ${srcdir}/linktest.c $(COMMON_INCLUDE) -DUKERNEL UAFS/$(LIBUAFS) ${TOP_OBJDIR}/lib/libdes.a $(TEST_LIBS) $(XLIBS)
install: \
${DESTDIR}${libdir}/$(LIBUAFS) \
${DEST}/root.perf/lib/$(LIBJUAFS)
-CRULE1= $(CC) $(OPTF) -DKERNEL $(LIBJUAFS_FLAGS) $(CFLAGS) -c $?
-CRULE2= $(CC) $(OPTF) $(WEBOPTS) -DKERNEL $(LIBJUAFS_FLAGS) $(CFLAGS) -c $?
+CRULE1= $(CC) $(COMMON_INCLUDE) $(OPTF) -DKERNEL $(LIBJUAFS_FLAGS) $(CFLAGS) -c $?
+CRULE2= $(CC) $(COMMON_INCLUDE) $(OPTF) $(WEBOPTS) -DKERNEL $(LIBJUAFS_FLAGS) $(CFLAGS) -c $?
UAFSOBJ = \
$(UOBJ)/afs_atomlist.o \
$(UOBJ)/afs_usrops.o \
$(UOBJ)/xdr_afsuuid.o \
$(UOBJ)/afs_uuid.o \
+ $(UOBJ)/assert.o \
$(UOBJ)/osi_vnodeops.o \
$(UOBJ)/osi_vm.o \
$(UOBJ)/osi_groups.o \
$(WEBOBJ)/afs_usrops.o \
$(WEBOBJ)/xdr_afsuuid.o \
$(WEBOBJ)/afs_uuid.o \
+ $(WEBOBJ)/assert.o \
$(WEBOBJ)/osi_vnodeops.o \
$(WEBOBJ)/osi_vm.o \
$(WEBOBJ)/osi_groups.o \
$(JUAFS)/afs_usrops.o \
$(JUAFS)/xdr_afsuuid.o \
$(JUAFS)/afs_uuid.o \
+ $(JUAFS)/assert.o \
$(JUAFS)/osi_vnodeops.o \
$(JUAFS)/osi_vm.o \
$(JUAFS)/osi_groups.o \
# These files are for the user space library
-$(UOBJ)/afs_atomlist.o: $(AFS)/afs_atomlist.c
- $(CRULE1)
-$(UOBJ)/afs_lhash.o: $(AFS)/afs_lhash.c
+$(UOBJ)/afs_atomlist.o: $(TOP_SRCDIR)/util/afs_atomlist.c
$(CRULE1)
-$(UOBJ)/afs_analyze.o: $(AFS)/afs_analyze.c
+$(UOBJ)/afs_lhash.o: $(TOP_SRCDIR)/util/afs_lhash.c
$(CRULE1)
-$(UOBJ)/afs_axscache.o: $(AFS)/afs_axscache.c
+$(UOBJ)/afs_analyze.o: $(TOP_SRC_AFS)/afs_analyze.c
$(CRULE1)
-$(UOBJ)/afs_buffer.o: $(AFS)/afs_buffer.c
+$(UOBJ)/afs_axscache.o: $(TOP_SRC_AFS)/afs_axscache.c
$(CRULE1)
-$(UOBJ)/afs_cell.o: $(AFS)/afs_cell.c
+$(UOBJ)/afs_buffer.o: $(TOP_SRC_AFS)/afs_buffer.c
$(CRULE1)
-$(UOBJ)/afs_conn.o: $(AFS)/afs_conn.c
+$(UOBJ)/afs_cell.o: $(TOP_SRC_AFS)/afs_cell.c
$(CRULE1)
-$(UOBJ)/afs_dcache.o: $(AFS)/afs_dcache.c
+$(UOBJ)/afs_conn.o: $(TOP_SRC_AFS)/afs_conn.c
$(CRULE1)
-$(UOBJ)/afs_dynroot.o: $(AFS)/afs_dynroot.c
+$(UOBJ)/afs_dcache.o: $(TOP_SRC_AFS)/afs_dcache.c
$(CRULE1)
-$(UOBJ)/afs_init.o: $(AFS)/afs_init.c
+$(UOBJ)/afs_dynroot.o: $(TOP_SRC_AFS)/afs_dynroot.c
$(CRULE1)
-$(UOBJ)/afs_mariner.o: $(AFS)/afs_mariner.c
+$(UOBJ)/afs_init.o: $(TOP_SRC_AFS)/afs_init.c
$(CRULE1)
-$(UOBJ)/afs_osidnlc.o: $(AFS)/afs_osidnlc.c
+$(UOBJ)/afs_mariner.o: $(TOP_SRC_AFS)/afs_mariner.c
$(CRULE1)
-$(UOBJ)/afs_osi.o: $(AFS)/afs_osi.c
+$(UOBJ)/afs_osidnlc.o: $(TOP_SRC_AFS)/afs_osidnlc.c
$(CRULE1)
-$(UOBJ)/afs_osi_pag.o: $(AFS)/afs_osi_pag.c
+$(UOBJ)/afs_osi.o: $(TOP_SRC_AFS)/afs_osi.c
$(CRULE1)
-$(UOBJ)/afs_segments.o: $(AFS)/afs_segments.c
+$(UOBJ)/afs_osi_pag.o: $(TOP_SRC_AFS)/afs_osi_pag.c
$(CRULE1)
-$(UOBJ)/afs_server.o: $(AFS)/afs_server.c
+$(UOBJ)/afs_segments.o: $(TOP_SRC_AFS)/afs_segments.c
$(CRULE1)
-$(UOBJ)/afs_user.o: $(AFS)/afs_user.c
+$(UOBJ)/afs_server.o: $(TOP_SRC_AFS)/afs_server.c
$(CRULE1)
-$(UOBJ)/afs_util.o: $(AFS)/afs_util.c
+$(UOBJ)/afs_user.o: $(TOP_SRC_AFS)/afs_user.c
$(CRULE1)
-$(UOBJ)/afs_vcache.o: $(AFS)/afs_vcache.c
+$(UOBJ)/afs_util.o: $(TOP_SRC_AFS)/afs_util.c
$(CRULE1)
-$(UOBJ)/afs_osi_uio.o: $(AFS)/afs_osi_uio.c
+$(UOBJ)/afs_vcache.o: $(TOP_SRC_AFS)/afs_vcache.c
$(CRULE1)
-$(UOBJ)/afs_vnop_access.o: $(AFS)/afs_vnop_access.c
+$(UOBJ)/afs_osi_uio.o: $(TOP_SRC_AFS)/afs_osi_uio.c
$(CRULE1)
-$(UOBJ)/afs_vnop_attrs.o: $(AFS)/afs_vnop_attrs.c
+$(UOBJ)/afs_vnop_access.o: $(TOP_SRC_VNOPS)/afs_vnop_access.c
$(CRULE1)
-$(UOBJ)/afs_vnop_create.o: $(AFS)/afs_vnop_create.c
+$(UOBJ)/afs_vnop_attrs.o: $(TOP_SRC_VNOPS)/afs_vnop_attrs.c
$(CRULE1)
-$(UOBJ)/afs_vnop_dirops.o: $(AFS)/afs_vnop_dirops.c
+$(UOBJ)/afs_vnop_create.o: $(TOP_SRC_VNOPS)/afs_vnop_create.c
$(CRULE1)
-$(UOBJ)/afs_vnop_fid.o: $(AFS)/afs_vnop_fid.c
+$(UOBJ)/afs_vnop_dirops.o: $(TOP_SRC_VNOPS)/afs_vnop_dirops.c
$(CRULE1)
-$(UOBJ)/afs_vnop_flock.o: $(AFS)/afs_vnop_flock.c
+$(UOBJ)/afs_vnop_fid.o: $(TOP_SRC_VNOPS)/afs_vnop_fid.c
$(CRULE1)
-$(UOBJ)/afs_vnop_link.o: $(AFS)/afs_vnop_link.c
+$(UOBJ)/afs_vnop_flock.o: $(TOP_SRC_VNOPS)/afs_vnop_flock.c
$(CRULE1)
-$(UOBJ)/afs_vnop_lookup.o: $(AFS)/afs_vnop_lookup.c
+$(UOBJ)/afs_vnop_link.o: $(TOP_SRC_VNOPS)/afs_vnop_link.c
$(CRULE1)
-$(UOBJ)/afs_vnop_open.o: $(AFS)/afs_vnop_open.c
+$(UOBJ)/afs_vnop_lookup.o: $(TOP_SRC_VNOPS)/afs_vnop_lookup.c
$(CRULE1)
-$(UOBJ)/afs_vnop_read.o: $(AFS)/afs_vnop_read.c
+$(UOBJ)/afs_vnop_open.o: $(TOP_SRC_VNOPS)/afs_vnop_open.c
$(CRULE1)
-$(UOBJ)/afs_vnop_readdir.o: $(AFS)/afs_vnop_readdir.c
+$(UOBJ)/afs_vnop_read.o: $(TOP_SRC_VNOPS)/afs_vnop_read.c
$(CRULE1)
-$(UOBJ)/afs_vnop_remove.o: $(AFS)/afs_vnop_remove.c
+$(UOBJ)/afs_vnop_readdir.o: $(TOP_SRC_VNOPS)/afs_vnop_readdir.c
$(CRULE1)
-$(UOBJ)/afs_vnop_rename.o: $(AFS)/afs_vnop_rename.c
+$(UOBJ)/afs_vnop_remove.o: $(TOP_SRC_VNOPS)/afs_vnop_remove.c
$(CRULE1)
-$(UOBJ)/afs_vnop_strategy.o: $(AFS)/afs_vnop_strategy.c
+$(UOBJ)/afs_vnop_rename.o: $(TOP_SRC_VNOPS)/afs_vnop_rename.c
$(CRULE1)
-$(UOBJ)/afs_vnop_symlink.o: $(AFS)/afs_vnop_symlink.c
+$(UOBJ)/afs_vnop_strategy.o: $(TOP_SRC_VNOPS)/afs_vnop_strategy.c
$(CRULE1)
-$(UOBJ)/afs_vnop_write.o: $(AFS)/afs_vnop_write.c
+$(UOBJ)/afs_vnop_symlink.o: $(TOP_SRC_VNOPS)/afs_vnop_symlink.c
$(CRULE1)
-$(UOBJ)/afs_volume.o: $(AFS)/afs_volume.c
+$(UOBJ)/afs_vnop_write.o: $(TOP_SRC_VNOPS)/afs_vnop_write.c
$(CRULE1)
-$(UOBJ)/rx_rdwr.o: $(RX)/rx_rdwr.c
+$(UOBJ)/afs_volume.o: $(TOP_SRC_AFS)/afs_volume.c
$(CRULE1)
-$(UOBJ)/afs_cbqueue.o: $(AFS)/afs_cbqueue.c
+$(UOBJ)/rx_rdwr.o: $(TOP_SRC_RX)/rx_rdwr.c
$(CRULE1)
-$(UOBJ)/afs_callback.o: $(AFS)/afs_callback.c
+$(UOBJ)/afs_cbqueue.o: $(TOP_SRC_AFS)/afs_cbqueue.c
$(CRULE1)
-$(UOBJ)/afs_chunk.o: $(AFS)/afs_chunk.c
+$(UOBJ)/afs_callback.o: $(TOP_SRC_AFS)/afs_callback.c
$(CRULE1)
-$(UOBJ)/afs_daemons.o: $(AFS)/afs_daemons.c
+$(UOBJ)/afs_chunk.o: $(TOP_SRC_AFS)/afs_chunk.c
$(CRULE1)
-$(UOBJ)/afs_dir.o: $(AFS)/afs_dir.c
+$(UOBJ)/afs_daemons.o: $(TOP_SRC_AFS)/afs_daemons.c
$(CRULE1)
-$(UOBJ)/AFS_component_version_number.o: $(AFS)/AFS_component_version_number.c
+$(UOBJ)/afs_dir.o: $(TOP_SRCDIR)/dir/dir.c
+ $(CRULE1) -o afs_dir.o
+$(UOBJ)/AFS_component_version_number.o: AFS_component_version_number.c
$(CRULE1)
-$(UOBJ)/afs_lock.o: $(AFS)/afs_lock.c
+$(UOBJ)/afs_lock.o: $(TOP_SRC_AFS)/afs_lock.c
$(CRULE1)
-$(UOBJ)/afs_memcache.o: $(AFS)/afs_memcache.c
+$(UOBJ)/afs_memcache.o: $(TOP_SRC_AFS)/afs_memcache.c
$(CRULE1)
-$(UOBJ)/afs_stat.o: $(AFS)/afs_stat.c
+$(UOBJ)/afs_stat.o: $(TOP_SRC_AFS)/afs_stat.c
$(CRULE1)
-$(UOBJ)/fcrypt.o: $(AFS)/fcrypt.c
+$(UOBJ)/fcrypt.o: $(TOP_SRC_RXKAD)/domestic/fcrypt.c
$(CRULE1)
-$(UOBJ)/crypt_conn.o: $(AFS)/crypt_conn.c
+$(UOBJ)/crypt_conn.o: $(TOP_SRC_RXKAD)/domestic/crypt_conn.c
$(CRULE1)
-$(UOBJ)/rxkad_client.o: $(AFS)/rxkad_client.c
+$(UOBJ)/rxkad_client.o: $(TOP_SRC_RXKAD)/rxkad_client.c
$(CRULE1)
-$(UOBJ)/rxkad_common.o: $(AFS)/rxkad_common.c
+$(UOBJ)/rxkad_common.o: $(TOP_SRC_RXKAD)/rxkad_common.c
$(CRULE1)
-$(UOBJ)/afs_exporter.o: $(AFS)/afs_exporter.c
+$(UOBJ)/afs_exporter.o: $(TOP_SRCDIR)/afs/afs_exporter.c
$(CRULE1)
-$(UOBJ)/afs_nfsclnt.o: $(AFS)/afs_nfsclnt.c
+$(UOBJ)/afs_nfsclnt.o: $(TOP_SRC_AFS)/afs_nfsclnt.c
$(CRULE1)
-$(UOBJ)/afs_nfsdisp.o: $(AFS)/afs_nfsdisp.c
+$(UOBJ)/afs_nfsdisp.o: $(TOP_SRC_AFS)/afs_nfsdisp.c
$(CRULE1)
-$(UOBJ)/afs_nfsdisp_v3.o: $(AFS)/afs_nfsdisp_v3.c
+$(UOBJ)/rx.o: $(TOP_SRC_RX)/rx.c
$(CRULE1)
-$(UOBJ)/rx.o: $(RX)/rx.c
+$(UOBJ)/rx_clock.o: $(TOP_SRC_RX)/rx_clock.c
$(CRULE1)
-$(UOBJ)/rx_clock.o: $(RX)/rx_clock.c
+$(UOBJ)/rx_event.o: $(TOP_SRC_RX)/rx_event.c
$(CRULE1)
-$(UOBJ)/rx_event.o: $(RX)/rx_event.c
+$(UOBJ)/rx_globals.o: $(TOP_SRC_RX)/rx_globals.c
$(CRULE1)
-$(UOBJ)/rx_globals.o: $(RX)/rx_globals.c
+$(UOBJ)/rx_misc.o: $(TOP_SRC_RX)/rx_misc.c
$(CRULE1)
-$(UOBJ)/rx_misc.o: $(RX)/rx_misc.c
+$(UOBJ)/rx_null.o: $(TOP_SRC_RX)/rx_null.c
$(CRULE1)
-$(UOBJ)/rx_null.o: $(RX)/rx_null.c
+$(UOBJ)/rx_getaddr.o: $(TOP_SRC_RX)/rx_getaddr.c
$(CRULE1)
-$(UOBJ)/rx_getaddr.o: $(RX)/rx_getaddr.c
+$(UOBJ)/rx_packet.o: $(TOP_SRC_RX)/rx_packet.c
$(CRULE1)
-$(UOBJ)/rx_packet.o: $(RX)/rx_packet.c
+$(UOBJ)/rx_conncache.o: $(TOP_SRCDIR)/rx/rx_conncache.c
$(CRULE1)
-$(UOBJ)/rx_conncache.o: $(RX)/rx_conncache.c
+$(UOBJ)/xdr_rx.o: $(TOP_SRC_RX)/xdr_rx.c
$(CRULE1)
-$(UOBJ)/xdr_rx.o: $(RX)/xdr_rx.c
+$(UOBJ)/xdr_int32.o: $(TOP_SRC_RX)/xdr_int32.c
$(CRULE1)
-$(UOBJ)/xdr_int32.o: $(RX)/xdr_int32.c
+$(UOBJ)/xdr_int64.o: $(TOP_SRC_RX)/xdr_int64.c
$(CRULE1)
-$(UOBJ)/xdr_int64.o: $(RX)/xdr_int64.c
+$(UOBJ)/afs_usrops.o: $(TOP_SRC_AFS)/UKERNEL/afs_usrops.c
$(CRULE1)
-$(UOBJ)/afs_usrops.o: $(AFS)/afs_usrops.c
+$(UOBJ)/afs_uuid.o: $(TOP_SRCDIR)/util/uuid.c
+ $(CRULE1) -o afs_uuid.o
+$(UOBJ)/assert.o: $(TOP_SRCDIR)/util/assert.c
$(CRULE1)
-$(UOBJ)/afs_uuid.o: $(AFS)/afs_uuid.c
+$(UOBJ)/xdr_afsuuid.o: $(TOP_SRCDIR)/rx/xdr_afsuuid.c
$(CRULE1)
-$(UOBJ)/xdr_afsuuid.o: $(RX)/xdr_afsuuid.c
+$(UOBJ)/osi_vnodeops.o: $(TOP_SRC_AFS)/UKERNEL/osi_vnodeops.c
$(CRULE1)
-$(UOBJ)/osi_vnodeops.o: $(AFS)/osi_vnodeops.c
+$(UOBJ)/osi_vm.o: $(TOP_SRC_AFS)/UKERNEL/osi_vm.c
$(CRULE1)
-$(UOBJ)/osi_vm.o: $(AFS)/osi_vm.c
+$(UOBJ)/osi_groups.o: $(TOP_SRC_AFS)/UKERNEL/osi_groups.c
$(CRULE1)
-$(UOBJ)/osi_groups.o: $(AFS)/osi_groups.c
+$(UOBJ)/Kcallback.ss.o: $(TOP_OBJ_FSINT)/Kcallback.ss.c
$(CRULE1)
-$(UOBJ)/Kcallback.ss.o: $(AFSINT)/Kcallback.ss.c
+$(UOBJ)/Kvice.xdr.o: $(TOP_OBJ_FSINT)/Kvice.xdr.c
$(CRULE1)
-$(UOBJ)/Kvice.xdr.o: $(AFSINT)/Kvice.xdr.c
+$(UOBJ)/Kvice.cs.o: $(TOP_OBJ_FSINT)/Kvice.cs.c
$(CRULE1)
-$(UOBJ)/Kvice.cs.o: $(AFSINT)/Kvice.cs.c
+$(UOBJ)/afsaux.o: $(TOP_SRC_FSINT)/afsaux.c
$(CRULE1)
-$(UOBJ)/afsaux.o: $(AFSINT)/afsaux.c
+$(UOBJ)/xdr_arrayn.o: $(TOP_SRC_RX)/xdr_arrayn.c
$(CRULE1)
-$(UOBJ)/xdr_arrayn.o: $(RX)/xdr_arrayn.c
+$(UOBJ)/Kvldbint.cs.o: $(TOP_OBJ_VLSERVER)/Kvldbint.cs.c
$(CRULE1)
-$(UOBJ)/Kvldbint.cs.o: $(AFSINT)/Kvldbint.cs.c
+$(UOBJ)/Kvldbint.xdr.o: $(TOP_OBJ_VLSERVER)/Kvldbint.xdr.c
$(CRULE1)
-$(UOBJ)/Kvldbint.xdr.o: $(AFSINT)/Kvldbint.xdr.c
+$(UOBJ)/rx_kmutex.o: $(TOP_SRC_RX)/UKERNEL/rx_kmutex.c
$(CRULE1)
-$(UOBJ)/afs_main.o: $(AFS)/afs_main.c
+$(UOBJ)/rx_knet.o: $(TOP_SRC_RX)/UKERNEL/rx_knet.c
$(CRULE1)
-$(UOBJ)/rx_kmutex.o: $(RX)/rx_kmutex.c
+$(UOBJ)/rx_kcommon.o: $(TOP_SRCDIR)/rx/rx_kcommon.c
$(CRULE1)
-$(UOBJ)/rx_knet.o: $(RX)/rx_knet.c
- $(CRULE1)
-$(UOBJ)/rx_kcommon.o: $(RX)/rx_kcommon.c
- $(CRULE1)
-$(UOBJ)/afs_call.o: $(AFS)/afs_call.c
+$(UOBJ)/afs_call.o: $(TOP_SRC_AFS)/afs_call.c
$(CRULE1) -DAFS_NONFSTRANS
-$(UOBJ)/afs_pioctl.o: $(AFS)/afs_pioctl.c
+$(UOBJ)/afs_pioctl.o: $(TOP_SRC_AFS)/afs_pioctl.c
$(CRULE1) -DAFS_NONFSTRANS
-$(UOBJ)/osi_vfsops.o: $(AFS)/osi_vfsops.c
+$(UOBJ)/osi_vfsops.o: $(TOP_SRC_AFS)/UKERNEL/osi_vfsops.c
$(CRULE1) -DAFS_NONFSTRANS
-$(UOBJ)/ktc.o: $(AFS)/ktc.c
+$(UOBJ)/ktc.o: $(TOP_SRCDIR)/auth/ktc.c
$(CRULE1)
-$(UOBJ)/ticket.o: $(AFS)/ticket.c
+$(UOBJ)/ticket.o: $(TOP_SRCDIR)/rxkad/ticket.c
$(CRULE1)
-$(UOBJ)/rxkad_server.o: $(AFS)/rxkad_server.c
+$(UOBJ)/rxkad_server.o: $(TOP_SRCDIR)/rxkad/rxkad_server.c
$(CRULE1)
-$(UOBJ)/ptint.cs.o: $(AFSINT)/ptint.cs.c
+$(UOBJ)/ptint.cs.o: $(TOP_OBJDIR)/src/ptserver/ptint.cs.c
$(CRULE1)
-$(UOBJ)/ptint.xdr.o: $(AFSINT)/ptint.xdr.c
+$(UOBJ)/ptint.xdr.o: $(TOP_OBJDIR)/src/ptserver/ptint.xdr.c
$(CRULE1)
-$(UOBJ)/ptuser.o: $(AFS)/ptuser.c
+$(UOBJ)/ptuser.o: $(TOP_SRCDIR)/ptserver/ptuser.c
$(CRULE1)
-$(UOBJ)/pterror.o: $(AFS)/pterror.c
+$(UOBJ)/pterror.o: $(TOP_OBJDIR)/src/ptserver/pterror.c
$(CRULE1)
-$(UOBJ)/ubikclient.o: $(AFS)/ubikclient.c
+$(UOBJ)/ubikclient.o: $(TOP_SRCDIR)/ubik/ubikclient.c
$(CRULE1)
-$(UOBJ)/ubik_int.cs.o: $(AFSINT)/ubik_int.cs.c
+$(UOBJ)/ubik_int.cs.o: $(TOP_OBJDIR)/src/ubik/ubik_int.cs.c
$(CRULE1)
-$(UOBJ)/ubik_int.xdr.o: $(AFSINT)/ubik_int.xdr.c
+$(UOBJ)/ubik_int.xdr.o: $(TOP_OBJDIR)/src/ubik/ubik_int.xdr.c
$(CRULE1)
-$(UOBJ)/authclient.o: $(AFS)/authclient.c
+$(UOBJ)/authclient.o: $(TOP_SRCDIR)/kauth/authclient.c
$(CRULE1)
-$(UOBJ)/kalocalcell.o: $(AFS)/kalocalcell.c
+$(UOBJ)/kalocalcell.o: $(TOP_SRCDIR)/kauth/kalocalcell.c
$(CRULE1)
-$(UOBJ)/client.o: $(AFS)/client.c
+$(UOBJ)/client.o: $(TOP_SRCDIR)/kauth/client.c
$(CRULE1)
-$(UOBJ)/user.o: $(AFS)/user.c
+$(UOBJ)/user.o: $(TOP_SRCDIR)/kauth/user.c
$(CRULE1)
-$(UOBJ)/hostparse.o: $(AFS)/hostparse.c
+$(UOBJ)/hostparse.o: $(TOP_SRCDIR)/util/hostparse.c
$(CRULE1)
-$(UOBJ)/token.o: $(AFS)/token.c
+$(UOBJ)/token.o: $(TOP_SRCDIR)/kauth/token.c
$(CRULE1)
-$(UOBJ)/acfg_errors.o: $(AFS)/acfg_errors.c
+$(UOBJ)/acfg_errors.o: $(TOP_OBJDIR)/src/auth/acfg_errors.c
$(CRULE1)
-$(UOBJ)/kaaux.o: $(AFS)/kaaux.c
+$(UOBJ)/kaaux.o: $(TOP_SRCDIR)/kauth/kaaux.c
$(CRULE1)
-$(UOBJ)/authcon.o: $(AFS)/authcon.c
+$(UOBJ)/authcon.o: $(TOP_SRCDIR)/auth/authcon.c
$(CRULE1)
-$(UOBJ)/cellconfig.o: $(AFS)/cellconfig.c
+$(UOBJ)/cellconfig.o: $(TOP_SRCDIR)/auth/cellconfig.c
$(CRULE1)
-$(UOBJ)/casestrcpy.o: $(AFS)/casestrcpy.c
+$(UOBJ)/casestrcpy.o: $(TOP_SRCDIR)/util/casestrcpy.c
$(CRULE1)
-$(UOBJ)/dirpath.o: $(AFS)/dirpath.c
+$(UOBJ)/dirpath.o: $(TOP_SRCDIR)/util/dirpath.c
$(CRULE1)
-$(UOBJ)/fileutil.o: $(AFS)/fileutil.c
+$(UOBJ)/fileutil.o: $(TOP_SRCDIR)/util/fileutil.c
$(CRULE1)
-$(UOBJ)/netutils.o: $(AFS)/netutils.c
+$(UOBJ)/netutils.o: $(TOP_SRCDIR)/util/netutils.c
$(CRULE1)
-$(UOBJ)/et_name.o: $(AFS)/et_name.c
+$(UOBJ)/et_name.o: $(TOP_SRCDIR)/comerr/et_name.c
$(CRULE1)
-$(UOBJ)/com_err.o: $(AFS)/com_err.c
+$(UOBJ)/com_err.o: $(TOP_SRCDIR)/comerr/com_err.c
$(CRULE1)
-$(UOBJ)/error_msg.o: $(AFS)/error_msg.c
+$(UOBJ)/error_msg.o: $(TOP_SRCDIR)/comerr/error_msg.c
$(CRULE1)
-$(UOBJ)/uerrors.o: $(AFS)/uerrors.c
+$(UOBJ)/uerrors.o: $(TOP_OBJDIR)/src/ubik/uerrors.c
$(CRULE1)
-$(UOBJ)/kaerrors.o: $(AFS)/kaerrors.c
+$(UOBJ)/kaerrors.o: $(TOP_OBJDIR)/src/kauth/kaerrors.c
$(CRULE1)
-$(UOBJ)/ktc_errors.o: $(AFS)/ktc_errors.c
+$(UOBJ)/ktc_errors.o: $(TOP_OBJDIR)/src/auth/ktc_errors.c
$(CRULE1)
-$(UOBJ)/rxkad_errs.o: $(AFS)/rxkad_errs.c
+$(UOBJ)/rxkad_errs.o: $(TOP_OBJDIR)/src/rxkad/rxkad_errs.c
$(CRULE1)
-$(UOBJ)/kauth.cs.o: $(AFSINT)/kauth.cs.c
+$(UOBJ)/kauth.cs.o: $(TOP_OBJDIR)/src/kauth/kauth.cs.c
$(CRULE1)
-$(UOBJ)/kauth.xdr.o: $(AFSINT)/kauth.xdr.c
+$(UOBJ)/kauth.xdr.o: $(TOP_OBJDIR)/src/kauth/kauth.xdr.c
$(CRULE1)
-$(UOBJ)/rxstat.o: $(AFSINT)/rxstat.c
+$(UOBJ)/rxstat.o: $(TOP_SRC_RXSTAT)/rxstat.c
$(CRULE1)
-$(UOBJ)/Krxstat.ss.o: $(AFSINT)/Krxstat.ss.c
+$(UOBJ)/Krxstat.ss.o: $(TOP_OBJ_RXSTAT)/Krxstat.ss.c
$(CRULE1)
-$(UOBJ)/Krxstat.xdr.o: $(AFSINT)/Krxstat.xdr.c
+$(UOBJ)/Krxstat.xdr.o: $(TOP_OBJ_RXSTAT)/Krxstat.xdr.c
$(CRULE1)
# These files are for the netscape plugin
-$(WEBOBJ)/afs_atomlist.o: $(AFS)/afs_atomlist.c
- $(CRULE2)
-$(WEBOBJ)/afs_lhash.o: $(AFS)/afs_lhash.c
- $(CRULE2)
-$(WEBOBJ)/afs_analyze.o: $(AFS)/afs_analyze.c
+$(WEBOBJ)/afs_atomlist.o: $(TOP_SRCDIR)/util//afs_atomlist.c
$(CRULE2)
-$(WEBOBJ)/afs_axscache.o: $(AFS)/afs_axscache.c
+$(WEBOBJ)/afs_lhash.o: $(TOP_SRCDIR)/util//afs_lhash.c
$(CRULE2)
-$(WEBOBJ)/afs_buffer.o: $(AFS)/afs_buffer.c
+$(WEBOBJ)/afs_analyze.o: $(TOP_SRC_AFS)/afs_analyze.c
$(CRULE2)
-$(WEBOBJ)/afs_cell.o: $(AFS)/afs_cell.c
+$(WEBOBJ)/afs_axscache.o: $(TOP_SRC_AFS)/afs_axscache.c
$(CRULE2)
-$(WEBOBJ)/afs_conn.o: $(AFS)/afs_conn.c
+$(WEBOBJ)/afs_buffer.o: $(TOP_SRC_AFS)/afs_buffer.c
$(CRULE2)
-$(WEBOBJ)/afs_dcache.o: $(AFS)/afs_dcache.c
+$(WEBOBJ)/afs_cell.o: $(TOP_SRC_AFS)/afs_cell.c
$(CRULE2)
-$(WEBOBJ)/afs_dynroot.o: $(AFS)/afs_dynroot.c
+$(WEBOBJ)/afs_conn.o: $(TOP_SRC_AFS)/afs_conn.c
$(CRULE2)
-$(WEBOBJ)/afs_init.o: $(AFS)/afs_init.c
+$(WEBOBJ)/afs_dcache.o: $(TOP_SRC_AFS)/afs_dcache.c
$(CRULE2)
-$(WEBOBJ)/afs_mariner.o: $(AFS)/afs_mariner.c
+$(WEBOBJ)/afs_dynroot.o: $(TOP_SRC_AFS)/afs_dynroot.c
$(CRULE2)
-$(WEBOBJ)/afs_osidnlc.o: $(AFS)/afs_osidnlc.c
+$(WEBOBJ)/afs_init.o: $(TOP_SRC_AFS)/afs_init.c
$(CRULE2)
-$(WEBOBJ)/afs_osi.o: $(AFS)/afs_osi.c
+$(WEBOBJ)/afs_mariner.o: $(TOP_SRC_AFS)/afs_mariner.c
$(CRULE2)
-$(WEBOBJ)/afs_osi_pag.o: $(AFS)/afs_osi_pag.c
+$(WEBOBJ)/afs_osidnlc.o: $(TOP_SRC_AFS)/afs_osidnlc.c
$(CRULE2)
-$(WEBOBJ)/afs_segments.o: $(AFS)/afs_segments.c
+$(WEBOBJ)/afs_osi.o: $(TOP_SRC_AFS)/afs_osi.c
$(CRULE2)
-$(WEBOBJ)/afs_server.o: $(AFS)/afs_server.c
+$(WEBOBJ)/afs_osi_pag.o: $(TOP_SRC_AFS)/afs_osi_pag.c
$(CRULE2)
-$(WEBOBJ)/afs_user.o: $(AFS)/afs_user.c
+$(WEBOBJ)/afs_segments.o: $(TOP_SRC_AFS)/afs_segments.c
$(CRULE2)
-$(WEBOBJ)/afs_util.o: $(AFS)/afs_util.c
+$(WEBOBJ)/afs_server.o: $(TOP_SRC_AFS)/afs_server.c
$(CRULE2)
-$(WEBOBJ)/afs_vcache.o: $(AFS)/afs_vcache.c
+$(WEBOBJ)/afs_user.o: $(TOP_SRC_AFS)/afs_user.c
$(CRULE2)
-$(WEBOBJ)/afs_osi_uio.o: $(AFS)/afs_osi_uio.c
+$(WEBOBJ)/afs_util.o: $(TOP_SRC_AFS)/afs_util.c
$(CRULE2)
-$(WEBOBJ)/afs_vnop_access.o: $(AFS)/afs_vnop_access.c
+$(WEBOBJ)/afs_vcache.o: $(TOP_SRC_AFS)/afs_vcache.c
$(CRULE2)
-$(WEBOBJ)/afs_vnop_attrs.o: $(AFS)/afs_vnop_attrs.c
+$(WEBOBJ)/afs_osi_uio.o: $(TOP_SRC_AFS)/afs_osi_uio.c
$(CRULE2)
-$(WEBOBJ)/afs_vnop_create.o: $(AFS)/afs_vnop_create.c
+$(WEBOBJ)/afs_vnop_access.o: $(TOP_SRC_VNOPS)/afs_vnop_access.c
$(CRULE2)
-$(WEBOBJ)/afs_vnop_dirops.o: $(AFS)/afs_vnop_dirops.c
+$(WEBOBJ)/afs_vnop_attrs.o: $(TOP_SRC_VNOPS)/afs_vnop_attrs.c
$(CRULE2)
-$(WEBOBJ)/afs_vnop_fid.o: $(AFS)/afs_vnop_fid.c
+$(WEBOBJ)/afs_vnop_create.o: $(TOP_SRC_VNOPS)/afs_vnop_create.c
$(CRULE2)
-$(WEBOBJ)/afs_vnop_flock.o: $(AFS)/afs_vnop_flock.c
+$(WEBOBJ)/afs_vnop_dirops.o: $(TOP_SRC_VNOPS)/afs_vnop_dirops.c
$(CRULE2)
-$(WEBOBJ)/afs_vnop_link.o: $(AFS)/afs_vnop_link.c
+$(WEBOBJ)/afs_vnop_fid.o: $(TOP_SRC_VNOPS)/afs_vnop_fid.c
$(CRULE2)
-$(WEBOBJ)/afs_vnop_lookup.o: $(AFS)/afs_vnop_lookup.c
+$(WEBOBJ)/afs_vnop_flock.o: $(TOP_SRC_VNOPS)/afs_vnop_flock.c
$(CRULE2)
-$(WEBOBJ)/afs_vnop_open.o: $(AFS)/afs_vnop_open.c
+$(WEBOBJ)/afs_vnop_link.o: $(TOP_SRC_VNOPS)/afs_vnop_link.c
$(CRULE2)
-$(WEBOBJ)/afs_vnop_read.o: $(AFS)/afs_vnop_read.c
+$(WEBOBJ)/afs_vnop_lookup.o: $(TOP_SRC_VNOPS)/afs_vnop_lookup.c
$(CRULE2)
-$(WEBOBJ)/afs_vnop_readdir.o: $(AFS)/afs_vnop_readdir.c
+$(WEBOBJ)/afs_vnop_open.o: $(TOP_SRC_VNOPS)/afs_vnop_open.c
$(CRULE2)
-$(WEBOBJ)/afs_vnop_remove.o: $(AFS)/afs_vnop_remove.c
+$(WEBOBJ)/afs_vnop_read.o: $(TOP_SRC_VNOPS)/afs_vnop_read.c
$(CRULE2)
-$(WEBOBJ)/afs_vnop_rename.o: $(AFS)/afs_vnop_rename.c
+$(WEBOBJ)/afs_vnop_readdir.o: $(TOP_SRC_VNOPS)/afs_vnop_readdir.c
$(CRULE2)
-$(WEBOBJ)/afs_vnop_strategy.o: $(AFS)/afs_vnop_strategy.c
+$(WEBOBJ)/afs_vnop_remove.o: $(TOP_SRC_VNOPS)/afs_vnop_remove.c
$(CRULE2)
-$(WEBOBJ)/afs_vnop_symlink.o: $(AFS)/afs_vnop_symlink.c
+$(WEBOBJ)/afs_vnop_rename.o: $(TOP_SRC_VNOPS)/afs_vnop_rename.c
$(CRULE2)
-$(WEBOBJ)/afs_vnop_write.o: $(AFS)/afs_vnop_write.c
+$(WEBOBJ)/afs_vnop_strategy.o: $(TOP_SRC_VNOPS)/afs_vnop_strategy.c
$(CRULE2)
-$(WEBOBJ)/afs_volume.o: $(AFS)/afs_volume.c
+$(WEBOBJ)/afs_vnop_symlink.o: $(TOP_SRC_VNOPS)/afs_vnop_symlink.c
$(CRULE2)
-$(WEBOBJ)/rx_rdwr.o: $(RX)/rx_rdwr.c
+$(WEBOBJ)/afs_vnop_write.o: $(TOP_SRC_VNOPS)/afs_vnop_write.c
$(CRULE2)
-$(WEBOBJ)/afs_cbqueue.o: $(AFS)/afs_cbqueue.c
+$(WEBOBJ)/afs_volume.o: $(TOP_SRC_AFS)/afs_volume.c
$(CRULE2)
-$(WEBOBJ)/afs_callback.o: $(AFS)/afs_callback.c
+$(WEBOBJ)/rx_rdwr.o: $(TOP_SRC_RX)/rx_rdwr.c
$(CRULE2)
-$(WEBOBJ)/afs_chunk.o: $(AFS)/afs_chunk.c
+$(WEBOBJ)/afs_cbqueue.o: $(TOP_SRC_AFS)/afs_cbqueue.c
$(CRULE2)
-$(WEBOBJ)/afs_daemons.o: $(AFS)/afs_daemons.c
+$(WEBOBJ)/afs_callback.o: $(TOP_SRC_AFS)/afs_callback.c
$(CRULE2)
-$(WEBOBJ)/afs_dir.o: $(AFS)/afs_dir.c
+$(WEBOBJ)/afs_chunk.o: $(TOP_SRC_AFS)/afs_chunk.c
$(CRULE2)
-$(WEBOBJ)/AFS_component_version_number.o: $(AFS)/AFS_component_version_number.c
+$(WEBOBJ)/afs_daemons.o: $(TOP_SRC_AFS)/afs_daemons.c
$(CRULE2)
-$(WEBOBJ)/afs_lock.o: $(AFS)/afs_lock.c
+$(WEBOBJ)/afs_dir.o: $(TOP_SRCDIR)/dir/dir.c
+ $(CRULE2) -o afs_dir.o
+$(WEBOBJ)/AFS_component_version_number.o: AFS_component_version_number.c
$(CRULE2)
-$(WEBOBJ)/afs_memcache.o: $(AFS)/afs_memcache.c
+$(WEBOBJ)/afs_lock.o: $(TOP_SRC_AFS)/afs_lock.c
$(CRULE2)
-$(WEBOBJ)/afs_stat.o: $(AFS)/afs_stat.c
+$(WEBOBJ)/afs_memcache.o: $(TOP_SRC_AFS)/afs_memcache.c
$(CRULE2)
-$(WEBOBJ)/fcrypt.o: $(AFS)/fcrypt.c
+$(WEBOBJ)/afs_stat.o: $(TOP_SRC_AFS)/afs_stat.c
$(CRULE2)
-$(WEBOBJ)/crypt_conn.o: $(AFS)/crypt_conn.c
+$(WEBOBJ)/fcrypt.o: $(TOP_SRC_RXKAD)/domestic/fcrypt.c
$(CRULE2)
-$(WEBOBJ)/rxkad_client.o: $(AFS)/rxkad_client.c
+$(WEBOBJ)/crypt_conn.o: $(TOP_SRC_RXKAD)/domestic/crypt_conn.c
$(CRULE2)
-$(WEBOBJ)/rxkad_common.o: $(AFS)/rxkad_common.c
+$(WEBOBJ)/rxkad_client.o: $(TOP_SRC_RXKAD)/rxkad_client.c
$(CRULE2)
-$(WEBOBJ)/afs_exporter.o: $(AFS)/afs_exporter.c
+$(WEBOBJ)/rxkad_common.o: $(TOP_SRC_RXKAD)/rxkad_common.c
$(CRULE2)
-$(WEBOBJ)/afs_nfsclnt.o: $(AFS)/afs_nfsclnt.c
+$(WEBOBJ)/afs_exporter.o: $(TOP_SRCDIR)/afs/afs_exporter.c
$(CRULE2)
-$(WEBOBJ)/afs_nfsdisp.o: $(AFS)/afs_nfsdisp.c
+$(WEBOBJ)/afs_nfsclnt.o: $(TOP_SRC_AFS)/afs_nfsclnt.c
$(CRULE2)
-$(WEBOBJ)/afs_nfsdisp_v3.o: $(AFS)/afs_nfsdisp_v3.c
+$(WEBOBJ)/afs_nfsdisp.o: $(TOP_SRC_AFS)/afs_nfsdisp.c
$(CRULE2)
-$(WEBOBJ)/rx.o: $(RX)/rx.c
+$(WEBOBJ)/rx.o: $(TOP_SRC_RX)/rx.c
$(CRULE2)
-$(WEBOBJ)/rx_clock.o: $(RX)/rx_clock.c
+$(WEBOBJ)/rx_clock.o: $(TOP_SRC_RX)/rx_clock.c
$(CRULE2)
-$(WEBOBJ)/rx_event.o: $(RX)/rx_event.c
+$(WEBOBJ)/rx_event.o: $(TOP_SRC_RX)/rx_event.c
$(CRULE2)
-$(WEBOBJ)/rx_globals.o: $(RX)/rx_globals.c
+$(WEBOBJ)/rx_globals.o: $(TOP_SRC_RX)/rx_globals.c
$(CRULE2)
-$(WEBOBJ)/rx_misc.o: $(RX)/rx_misc.c
+$(WEBOBJ)/rx_misc.o: $(TOP_SRC_RX)/rx_misc.c
$(CRULE2)
-$(WEBOBJ)/rx_null.o: $(RX)/rx_null.c
+$(WEBOBJ)/rx_null.o: $(TOP_SRC_RX)/rx_null.c
$(CRULE2)
-$(WEBOBJ)/rx_getaddr.o: $(RX)/rx_getaddr.c
+$(WEBOBJ)/rx_getaddr.o: $(TOP_SRC_RX)/rx_getaddr.c
$(CRULE2)
-$(WEBOBJ)/rx_packet.o: $(RX)/rx_packet.c
+$(WEBOBJ)/rx_packet.o: $(TOP_SRC_RX)/rx_packet.c
$(CRULE2)
-$(WEBOBJ)/rx_conncache.o: $(RX)/rx_conncache.c
+$(WEBOBJ)/rx_conncache.o: $(TOP_SRCDIR)/rx/rx_conncache.c
$(CRULE2)
-$(WEBOBJ)/xdr_rx.o: $(RX)/xdr_rx.c
+$(WEBOBJ)/xdr_rx.o: $(TOP_SRC_RX)/xdr_rx.c
$(CRULE2)
-$(WEBOBJ)/afs_usrops.o: $(AFS)/afs_usrops.c
+$(WEBOBJ)/afs_usrops.o: $(TOP_SRC_AFS)/UKERNEL/afs_usrops.c
$(CRULE2)
-$(WEBOBJ)/afs_uuid.o: $(AFS)/afs_uuid.c
- $(CRULE2)
-$(WEBOBJ)/xdr_afsuuid.o: $(RX)/xdr_afsuuid.c
- $(CRULE2)
-$(WEBOBJ)/osi_vnodeops.o: $(AFS)/osi_vnodeops.c
+$(WEBOBJ)/afs_uuid.o: $(TOP_SRCDIR)/util/uuid.c
+ $(CRULE2) -o afs_uuid.o
+$(WEBOBJ)/assert.o: $(TOP_SRCDIR)/util/assert.c
+ $(CRULE1)
+$(WEBOBJ)/xdr_afsuuid.o: $(TOP_SRCDIR)/rx/xdr_afsuuid.c
$(CRULE2)
-$(WEBOBJ)/osi_vm.o: $(AFS)/osi_vm.c
+$(WEBOBJ)/osi_vnodeops.o: $(TOP_SRC_AFS)/UKERNEL/osi_vnodeops.c
$(CRULE2)
-$(WEBOBJ)/osi_groups.o: $(AFS)/osi_groups.c
+$(WEBOBJ)/osi_vm.o: $(TOP_SRC_AFS)/UKERNEL/osi_vm.c
$(CRULE2)
-$(WEBOBJ)/Kcallback.ss.o: $(AFSINT)/Kcallback.ss.c
+$(WEBOBJ)/osi_groups.o: $(TOP_SRC_AFS)/UKERNEL/osi_groups.c
$(CRULE2)
-$(WEBOBJ)/Kvice.xdr.o: $(AFSINT)/Kvice.xdr.c
+$(WEBOBJ)/Kcallback.ss.o: $(TOP_OBJ_FSINT)/Kcallback.ss.c
$(CRULE2)
-$(WEBOBJ)/Kvice.cs.o: $(AFSINT)/Kvice.cs.c
+$(WEBOBJ)/Kvice.xdr.o: $(TOP_OBJ_FSINT)/Kvice.xdr.c
$(CRULE2)
-$(WEBOBJ)/afsaux.o: $(AFSINT)/afsaux.c
+$(WEBOBJ)/Kvice.cs.o: $(TOP_OBJ_FSINT)/Kvice.cs.c
$(CRULE2)
-$(WEBOBJ)/xdr_arrayn.o: $(RX)/xdr_arrayn.c
+$(WEBOBJ)/afsaux.o: $(TOP_SRC_FSINT)/afsaux.c
$(CRULE2)
-$(WEBOBJ)/Kvldbint.cs.o: $(AFSINT)/Kvldbint.cs.c
+$(WEBOBJ)/xdr_arrayn.o: $(TOP_SRC_RX)/xdr_arrayn.c
$(CRULE2)
-$(WEBOBJ)/Kvldbint.xdr.o: $(AFSINT)/Kvldbint.xdr.c
+$(WEBOBJ)/Kvldbint.cs.o: $(TOP_OBJ_VLSERVER)/Kvldbint.cs.c
$(CRULE2)
-$(WEBOBJ)/afs_main.o: $(AFS)/afs_main.c
+$(WEBOBJ)/Kvldbint.xdr.o: $(TOP_OBJ_VLSERVER)/Kvldbint.xdr.c
$(CRULE2)
-$(WEBOBJ)/rx_kmutex.o: $(RX)/rx_kmutex.c
+$(WEBOBJ)/rx_kmutex.o: $(TOP_SRC_RX)/UKERNEL/rx_kmutex.c
$(CRULE2)
-$(WEBOBJ)/rx_knet.o: $(RX)/rx_knet.c
+$(WEBOBJ)/rx_knet.o: $(TOP_SRC_RX)/UKERNEL/rx_knet.c
$(CRULE2)
-$(WEBOBJ)/rx_kcommon.o: $(RX)/rx_kcommon.c
+$(WEBOBJ)/rx_kcommon.o: $(TOP_SRCDIR)/rx/rx_kcommon.c
$(CRULE2)
-$(WEBOBJ)/afs_call.o: $(AFS)/afs_call.c
+$(WEBOBJ)/afs_call.o: $(TOP_SRC_AFS)/afs_call.c
$(CRULE2) -DAFS_NONFSTRANS
-$(WEBOBJ)/afs_pioctl.o: $(AFS)/afs_pioctl.c
+$(WEBOBJ)/afs_pioctl.o: $(TOP_SRC_AFS)/afs_pioctl.c
$(CRULE2) -DAFS_NONFSTRANS
-$(WEBOBJ)/osi_vfsops.o: $(AFS)/osi_vfsops.c
+$(WEBOBJ)/osi_vfsops.o: $(TOP_SRC_AFS)/UKERNEL/osi_vfsops.c
$(CRULE2) -DAFS_NONFSTRANS
-$(WEBOBJ)/ktc.o: $(AFS)/ktc.c
+$(WEBOBJ)/ktc.o: $(TOP_SRCDIR)/auth/ktc.c
$(CRULE2)
-$(WEBOBJ)/ktc.krb.o: $(AFS)/ktc.c
+$(WEBOBJ)/ktc.krb.o: $(TOP_SRCDIR)/auth/ktc.c
$(CRULE2) -DAFS_KERBEROS_ENV -DMAYBE_NO_KTC
mv ktc.o ktc.krb.o
-$(WEBOBJ)/securehash.o: $(AFS)/securehash.c
+$(WEBOBJ)/securehash.o: $(TOP_SRCDIR)/afsweb/securehash.c
$(CRULE2)
-$(WEBOBJ)/nsafs.o: $(AFS)/nsafs.c
+$(WEBOBJ)/nsafs.o: $(TOP_SRCDIR)/afsweb/nsafs.c
$(CRULE2)
-$(WEBOBJ)/ticket.o: $(AFS)/ticket.c
+$(WEBOBJ)/ticket.o: $(TOP_SRCDIR)/rxkad/ticket.c
$(CRULE2)
-$(WEBOBJ)/rxkad_server.o: $(AFS)/rxkad_server.c
+$(WEBOBJ)/rxkad_server.o: $(TOP_SRCDIR)/rxkad/rxkad_server.c
$(CRULE2)
-$(WEBOBJ)/ptint.cs.o: $(AFSINT)/ptint.cs.c
+$(WEBOBJ)/ptint.cs.o: $(TOP_OBJDIR)/src/ptserver/ptint.cs.c
$(CRULE2)
-$(WEBOBJ)/ptint.xdr.o: $(AFSINT)/ptint.xdr.c
+$(WEBOBJ)/ptint.xdr.o: $(TOP_OBJDIR)/src/ptserver/ptint.xdr.c
$(CRULE2)
-$(WEBOBJ)/ptuser.o: $(AFS)/ptuser.c
+$(WEBOBJ)/ptuser.o: $(TOP_SRCDIR)/ptserver/ptuser.c
$(CRULE2)
-$(WEBOBJ)/pterror.o: $(AFS)/pterror.c
+$(WEBOBJ)/pterror.o: $(TOP_OBJDIR)/src/ptserver/pterror.c
$(CRULE2)
-$(WEBOBJ)/ubikclient.o: $(AFS)/ubikclient.c
+$(WEBOBJ)/ubikclient.o: $(TOP_SRCDIR)/ubik/ubikclient.c
$(CRULE2)
-$(WEBOBJ)/ubik_int.cs.o: $(AFSINT)/ubik_int.cs.c
+$(WEBOBJ)/ubik_int.cs.o: $(TOP_OBJDIR)/src/ubik/ubik_int.cs.c
$(CRULE2)
-$(WEBOBJ)/ubik_int.xdr.o: $(AFSINT)/ubik_int.xdr.c
+$(WEBOBJ)/ubik_int.xdr.o: $(TOP_OBJDIR)/src/ubik/ubik_int.xdr.c
$(CRULE2)
-$(WEBOBJ)/authclient.o: $(AFS)/authclient.c
+$(WEBOBJ)/authclient.o: $(TOP_SRCDIR)/kauth/authclient.c
$(CRULE2)
-$(WEBOBJ)/kalocalcell.o: $(AFS)/kalocalcell.c
+$(WEBOBJ)/kalocalcell.o: $(TOP_SRCDIR)/kauth/kalocalcell.c
$(CRULE2)
-$(WEBOBJ)/client.o: $(AFS)/client.c
+$(WEBOBJ)/client.o: $(TOP_SRCDIR)/kauth/client.c
$(CRULE2)
-$(WEBOBJ)/user.o: $(AFS)/user.c
+$(WEBOBJ)/user.o: $(TOP_SRCDIR)/kauth/user.c
$(CRULE2)
-$(WEBOBJ)/hostparse.o: $(AFS)/hostparse.c
+$(WEBOBJ)/hostparse.o: $(TOP_SRCDIR)/util/hostparse.c
$(CRULE2)
-$(WEBOBJ)/token.o: $(AFS)/token.c
+$(WEBOBJ)/token.o: $(TOP_SRCDIR)/kauth/token.c
$(CRULE2)
-$(WEBOBJ)/acfg_errors.o: $(AFS)/acfg_errors.c
+$(WEBOBJ)/acfg_errors.o: $(TOP_OBJDIR)/src/auth/acfg_errors.c
$(CRULE2)
-$(WEBOBJ)/kaaux.o: $(AFS)/kaaux.c
+$(WEBOBJ)/kaaux.o: $(TOP_SRCDIR)/kauth/kaaux.c
$(CRULE2)
-$(WEBOBJ)/kauth.cs.o: $(AFSINT)/kauth.cs.c
+$(WEBOBJ)/kauth.cs.o: $(TOP_OBJDIR)/src/kauth/kauth.cs.c
$(CRULE2)
-$(WEBOBJ)/kauth.xdr.o: $(AFSINT)/kauth.xdr.c
+$(WEBOBJ)/kauth.xdr.o: $(TOP_OBJDIR)/src/kauth/kauth.xdr.c
$(CRULE2)
-$(WEBOBJ)/authcon.o: $(AFS)/authcon.c
+$(WEBOBJ)/authcon.o: $(TOP_SRCDIR)/auth/authcon.c
$(CRULE2)
-$(WEBOBJ)/cellconfig.o: $(AFS)/cellconfig.c
+$(WEBOBJ)/cellconfig.o: $(TOP_SRCDIR)/auth/cellconfig.c
$(CRULE2)
-$(WEBOBJ)/casestrcpy.o: $(AFS)/casestrcpy.c
+$(WEBOBJ)/casestrcpy.o: $(TOP_SRCDIR)/util/casestrcpy.c
$(CRULE1)
-$(WEBOBJ)/dirpath.o: $(AFS)/dirpath.c
+$(WEBOBJ)/dirpath.o: $(TOP_SRCDIR)/util/dirpath.c
$(CRULE1)
-$(WEBOBJ)/fileutil.o: $(AFS)/fileutil.c
+$(WEBOBJ)/fileutil.o: $(TOP_SRCDIR)/util/fileutil.c
$(CRULE1)
-$(WEBOBJ)/netutils.o: $(AFS)/netutils.c
+$(WEBOBJ)/netutils.o: $(TOP_SRCDIR)/util/netutils.c
$(CRULE1)
-$(WEBOBJ)/et_name.o: $(AFS)/et_name.c
+$(WEBOBJ)/et_name.o: $(TOP_SRCDIR)/comerr/et_name.c
$(CRULE2)
-$(WEBOBJ)/com_err.o: $(AFS)/com_err.c
+$(WEBOBJ)/com_err.o: $(TOP_SRCDIR)/comerr/com_err.c
$(CRULE2)
-$(WEBOBJ)/error_msg.o: $(AFS)/error_msg.c
+$(WEBOBJ)/error_msg.o: $(TOP_SRCDIR)/comerr/error_msg.c
$(CRULE2)
-$(WEBOBJ)/uerrors.o: $(AFS)/uerrors.c
+$(WEBOBJ)/uerrors.o: $(TOP_OBJDIR)/src/ubik/uerrors.c
$(CRULE2)
-$(WEBOBJ)/kaerrors.o: $(AFS)/kaerrors.c
+$(WEBOBJ)/kaerrors.o: $(TOP_OBJDIR)/src/kauth/kaerrors.c
$(CRULE2)
-$(WEBOBJ)/ktc_errors.o: $(AFS)/ktc_errors.c
+$(WEBOBJ)/ktc_errors.o: $(TOP_OBJDIR)/src/auth/ktc_errors.c
$(CRULE2)
-$(WEBOBJ)/rxkad_errs.o: $(AFS)/rxkad_errs.c
+$(WEBOBJ)/rxkad_errs.o: $(TOP_OBJDIR)/src/rxkad/rxkad_errs.c
$(CRULE2)
-$(WEBOBJ)/rxstat.o: $(AFSINT)/rxstat.c
+$(WEBOBJ)/rxstat.o: $(TOP_SRC_RXSTAT)/rxstat.c
$(CRULE2)
-$(WEBOBJ)/Krxstat.ss.o: $(AFSINT)/Krxstat.ss.c
+$(WEBOBJ)/Krxstat.ss.o: $(TOP_OBJ_RXSTAT)/Krxstat.ss.c
$(CRULE2)
-$(WEBOBJ)/Krxstat.xdr.o: $(AFSINT)/Krxstat.xdr.c
+$(WEBOBJ)/Krxstat.xdr.o: $(TOP_OBJ_RXSTAT)/Krxstat.xdr.c
$(CRULE2)
# These are for libjuafs.a
# Used for linking with libafsauthent and libafsrpc
-$(JUAFS)/afs_atomlist.o: $(AFS)/afs_atomlist.c
- $(CRULE1);
-$(JUAFS)/afs_lhash.o: $(AFS)/afs_lhash.c
- $(CRULE1);
-$(JUAFS)/afs_analyze.o: $(AFS)/afs_analyze.c
- $(CRULE1);
-$(JUAFS)/afs_axscache.o: $(AFS)/afs_axscache.c
- $(CRULE1);
-$(JUAFS)/afs_buffer.o: $(AFS)/afs_buffer.c
- $(CRULE1);
-$(JUAFS)/afs_cell.o: $(AFS)/afs_cell.c
- $(CRULE1);
-$(JUAFS)/afs_conn.o: $(AFS)/afs_conn.c
- $(CRULE1);
-$(JUAFS)/afs_dcache.o: $(AFS)/afs_dcache.c
- $(CRULE1);
-$(JUAFS)/afs_dynroot.o: $(AFS)/afs_dynroot.c
- $(CRULE1);
-$(JUAFS)/afs_init.o: $(AFS)/afs_init.c
- $(CRULE1);
-$(JUAFS)/afs_mariner.o: $(AFS)/afs_mariner.c
- $(CRULE1);
-$(JUAFS)/afs_osidnlc.o: $(AFS)/afs_osidnlc.c
- $(CRULE1);
-$(JUAFS)/afs_osi.o: $(AFS)/afs_osi.c
- $(CRULE1);
-$(JUAFS)/afs_osi_pag.o: $(AFS)/afs_osi_pag.c
- $(CRULE1);
-$(JUAFS)/afs_segments.o: $(AFS)/afs_segments.c
- $(CRULE1);
-$(JUAFS)/afs_server.o: $(AFS)/afs_server.c
- $(CRULE1);
-$(JUAFS)/afs_user.o: $(AFS)/afs_user.c
- $(CRULE1);
-$(JUAFS)/afs_util.o: $(AFS)/afs_util.c
- $(CRULE1);
-$(JUAFS)/afs_vcache.o: $(AFS)/afs_vcache.c
- $(CRULE1);
-$(JUAFS)/afs_osi_uio.o: $(AFS)/afs_osi_uio.c
- $(CRULE1);
-$(JUAFS)/afs_vnop_access.o: $(AFS)/afs_vnop_access.c
- $(CRULE1);
-$(JUAFS)/afs_vnop_attrs.o: $(AFS)/afs_vnop_attrs.c
- $(CRULE1);
-$(JUAFS)/afs_vnop_create.o: $(AFS)/afs_vnop_create.c
- $(CRULE1);
-$(JUAFS)/afs_vnop_dirops.o: $(AFS)/afs_vnop_dirops.c
- $(CRULE1);
-$(JUAFS)/afs_vnop_fid.o: $(AFS)/afs_vnop_fid.c
- $(CRULE1);
-$(JUAFS)/afs_vnop_flock.o: $(AFS)/afs_vnop_flock.c
- $(CRULE1);
-$(JUAFS)/afs_vnop_link.o: $(AFS)/afs_vnop_link.c
- $(CRULE1);
-$(JUAFS)/afs_vnop_lookup.o: $(AFS)/afs_vnop_lookup.c
- $(CRULE1);
-$(JUAFS)/afs_vnop_open.o: $(AFS)/afs_vnop_open.c
- $(CRULE1);
-$(JUAFS)/afs_vnop_read.o: $(AFS)/afs_vnop_read.c
- $(CRULE1);
-$(JUAFS)/afs_vnop_readdir.o: $(AFS)/afs_vnop_readdir.c
- $(CRULE1);
-$(JUAFS)/afs_vnop_remove.o: $(AFS)/afs_vnop_remove.c
- $(CRULE1);
-$(JUAFS)/afs_vnop_rename.o: $(AFS)/afs_vnop_rename.c
- $(CRULE1);
-$(JUAFS)/afs_vnop_strategy.o: $(AFS)/afs_vnop_strategy.c
- $(CRULE1);
-$(JUAFS)/afs_vnop_symlink.o: $(AFS)/afs_vnop_symlink.c
- $(CRULE1);
-$(JUAFS)/afs_vnop_write.o: $(AFS)/afs_vnop_write.c
- $(CRULE1);
-$(JUAFS)/afs_volume.o: $(AFS)/afs_volume.c
- $(CRULE1);
-$(JUAFS)/rx_rdwr.o: $(RX)/rx_rdwr.c
- $(CRULE1);
-$(JUAFS)/afs_cbqueue.o: $(AFS)/afs_cbqueue.c
- $(CRULE1);
-$(JUAFS)/afs_callback.o: $(AFS)/afs_callback.c
- $(CRULE1);
-$(JUAFS)/afs_chunk.o: $(AFS)/afs_chunk.c
- $(CRULE1);
-$(JUAFS)/afs_daemons.o: $(AFS)/afs_daemons.c
- $(CRULE1);
-$(JUAFS)/afs_dir.o: $(AFS)/afs_dir.c
- $(CRULE1);
-$(JUAFS)/AFS_component_version_number.o: $(AFS)/AFS_component_version_number.c
- $(CRULE1);
-$(JUAFS)/afs_lock.o: $(AFS)/afs_lock.c
- $(CRULE1);
-$(JUAFS)/afs_memcache.o: $(AFS)/afs_memcache.c
- $(CRULE1);
-$(JUAFS)/afs_stat.o: $(AFS)/afs_stat.c
- $(CRULE1);
-$(JUAFS)/fcrypt.o: $(AFS)/fcrypt.c
- $(CRULE1);
-$(JUAFS)/crypt_conn.o: $(AFS)/crypt_conn.c
- $(CRULE1);
-$(JUAFS)/rxkad_client.o: $(AFS)/rxkad_client.c
- $(CRULE1);
-$(JUAFS)/rxkad_common.o: $(AFS)/rxkad_common.c
- $(CRULE1);
-$(JUAFS)/afs_exporter.o: $(AFS)/afs_exporter.c
- $(CRULE1);
-$(JUAFS)/afs_nfsclnt.o: $(AFS)/afs_nfsclnt.c
- $(CRULE1);
-$(JUAFS)/afs_nfsdisp.o: $(AFS)/afs_nfsdisp.c
- $(CRULE1);
-$(JUAFS)/afs_nfsdisp_v3.o: $(AFS)/afs_nfsdisp_v3.c
- $(CRULE1);
-$(JUAFS)/rx.o: $(RX)/rx.c
- $(CRULE1);
-$(JUAFS)/rx_clock.o: $(RX)/rx_clock.c
- $(CRULE1);
-$(JUAFS)/rx_event.o: $(RX)/rx_event.c
- $(CRULE1);
-$(JUAFS)/rx_globals.o: $(RX)/rx_globals.c
- $(CRULE1);
-$(JUAFS)/rx_misc.o: $(RX)/rx_misc.c
- $(CRULE1);
-$(JUAFS)/rx_null.o: $(RX)/rx_null.c
- $(CRULE1);
-$(JUAFS)/rx_getaddr.o: $(RX)/rx_getaddr.c
- $(CRULE1);
-$(JUAFS)/rx_packet.o: $(RX)/rx_packet.c
- $(CRULE1);
-$(JUAFS)/rx_conncache.o: $(RX)/rx_conncache.c
- $(CRULE1);
-$(JUAFS)/xdr_rx.o: $(RX)/xdr_rx.c
- $(CRULE1);
-$(JUAFS)/xdr_int64.o: $(RX)/xdr_int64.c
- $(CRULE1);
-$(JUAFS)/afs_usrops.o: $(AFS)/afs_usrops.c
- $(CRULE1);
-$(JUAFS)/afs_uuid.o: $(AFS)/afs_uuid.c
- $(CRULE1);
-$(JUAFS)/xdr_afsuuid.o: $(RX)/xdr_afsuuid.c
- $(CRULE1);
-$(JUAFS)/osi_vnodeops.o: $(AFS)/osi_vnodeops.c
- $(CRULE1);
-$(JUAFS)/osi_vm.o: $(AFS)/osi_vm.c
- $(CRULE1);
-$(JUAFS)/osi_groups.o: $(AFS)/osi_groups.c
- $(CRULE1);
-$(JUAFS)/Kcallback.ss.o: $(AFSINT)/Kcallback.ss.c
- $(CRULE1);
-$(JUAFS)/Kvice.xdr.o: $(AFSINT)/Kvice.xdr.c
- $(CRULE1);
-$(JUAFS)/Kvice.cs.o: $(AFSINT)/Kvice.cs.c
- $(CRULE1);
-$(JUAFS)/afsaux.o: $(AFSINT)/afsaux.c
- $(CRULE1);
-$(JUAFS)/xdr_arrayn.o: $(RX)/xdr_arrayn.c
- $(CRULE1);
-$(JUAFS)/Kvldbint.cs.o: $(AFSINT)/Kvldbint.cs.c
- $(CRULE1);
-$(JUAFS)/Kvldbint.xdr.o: $(AFSINT)/Kvldbint.xdr.c
- $(CRULE1);
-$(JUAFS)/afs_main.o: $(AFS)/afs_main.c
- $(CRULE1);
-$(JUAFS)/rx_knet.o: $(RX)/rx_knet.c
- $(CRULE1);
-$(JUAFS)/rx_kcommon.o: $(RX)/rx_kcommon.c
- $(CRULE1);
-$(JUAFS)/afs_call.o: $(AFS)/afs_call.c
- $(CRULE1) -DAFS_NONFSTRANS;
-$(JUAFS)/afs_pioctl.o: $(AFS)/afs_pioctl.c
- $(CRULE1) -DAFS_NONFSTRANS;
-$(JUAFS)/osi_vfsops.o: $(AFS)/osi_vfsops.c
- $(CRULE1) -DAFS_NONFSTRANS;
-$(JUAFS)/ktc.o: $(AFS)/ktc.c
- $(CRULE1);
-$(JUAFS)/ticket.o: $(AFS)/ticket.c
- $(CRULE1);
-$(JUAFS)/rxkad_server.o: $(AFS)/rxkad_server.c
- $(CRULE1);
-$(JUAFS)/ptint.cs.o: $(AFSINT)/ptint.cs.c
- $(CRULE1);
-$(JUAFS)/ptint.xdr.o: $(AFSINT)/ptint.xdr.c
- $(CRULE1);
-$(JUAFS)/ptuser.o: $(AFS)/ptuser.c
- $(CRULE1);
-$(JUAFS)/pterror.o: $(AFS)/pterror.c
- $(CRULE1);
-$(JUAFS)/ubikclient.o: $(AFS)/ubikclient.c
- $(CRULE1);
-$(JUAFS)/ubik_int.cs.o: $(AFSINT)/ubik_int.cs.c
- $(CRULE1);
-$(JUAFS)/ubik_int.xdr.o: $(AFSINT)/ubik_int.xdr.c
- $(CRULE1);
-$(JUAFS)/authclient.o: $(AFS)/authclient.c
- $(CRULE1);
-$(JUAFS)/kalocalcell.o: $(AFS)/kalocalcell.c
- $(CRULE1);
-$(JUAFS)/client.o: $(AFS)/client.c
- $(CRULE1);
-$(JUAFS)/user.o: $(AFS)/user.c
- $(CRULE1);
-$(JUAFS)/hostparse.o: $(AFS)/hostparse.c
- $(CRULE1);
-$(JUAFS)/token.o: $(AFS)/token.c
- $(CRULE1);
-$(JUAFS)/acfg_errors.o: $(AFS)/acfg_errors.c
- $(CRULE1);
-$(JUAFS)/kaaux.o: $(AFS)/kaaux.c
- $(CRULE1);
-$(JUAFS)/authcon.o: $(AFS)/authcon.c
- $(CRULE1);
-$(JUAFS)/cellconfig.o: $(AFS)/cellconfig.c
- $(CRULE1);
-$(JUAFS)/casestrcpy.o: $(AFS)/casestrcpy.c
- $(CRULE1);
-$(JUAFS)/dirpath.o: $(AFS)/dirpath.c
- $(CRULE1);
-$(JUAFS)/fileutil.o: $(AFS)/fileutil.c
- $(CRULE1);
-$(JUAFS)/netutils.o: $(AFS)/netutils.c
- $(CRULE1);
-$(JUAFS)/et_name.o: $(AFS)/et_name.c
- $(CRULE1);
-$(JUAFS)/com_err.o: $(AFS)/com_err.c
- $(CRULE1);
-$(JUAFS)/error_msg.o: $(AFS)/error_msg.c
- $(CRULE1);
-$(JUAFS)/uerrors.o: $(AFS)/uerrors.c
- $(CRULE1);
-$(JUAFS)/kaerrors.o: $(AFS)/kaerrors.c
- $(CRULE1);
-$(JUAFS)/ktc_errors.o: $(AFS)/ktc_errors.c
- $(CRULE1);
-$(JUAFS)/rxkad_errs.o: $(AFS)/rxkad_errs.c
- $(CRULE1);
-$(JUAFS)/kauth.cs.o: $(AFSINT)/kauth.cs.c
- $(CRULE1);
-$(JUAFS)/kauth.xdr.o: $(AFSINT)/kauth.xdr.c
- $(CRULE1);
-$(JUAFS)/rxstat.o: $(AFSINT)/rxstat.c
- $(CRULE1);
-$(JUAFS)/Krxstat.ss.o: $(AFSINT)/Krxstat.ss.c
- $(CRULE1);
-$(JUAFS)/Krxstat.xdr.o: $(AFSINT)/Krxstat.xdr.c
- $(CRULE1);
+$(JUAFS)/afs_atomlist.o: $(TOP_SRCDIR)/util/afs_atomlist.c
+ $(CRULE1)
+$(JUAFS)/afs_lhash.o: $(TOP_SRCDIR)/util//afs_lhash.c
+ $(CRULE1)
+$(JUAFS)/afs_analyze.o: $(TOP_SRC_AFS)/afs_analyze.c
+ $(CRULE1)
+$(JUAFS)/afs_axscache.o: $(TOP_SRC_AFS)/afs_axscache.c
+ $(CRULE1)
+$(JUAFS)/afs_buffer.o: $(TOP_SRC_AFS)/afs_buffer.c
+ $(CRULE1)
+$(JUAFS)/afs_cell.o: $(TOP_SRC_AFS)/afs_cell.c
+ $(CRULE1)
+$(JUAFS)/afs_conn.o: $(TOP_SRC_AFS)/afs_conn.c
+ $(CRULE1)
+$(JUAFS)/afs_dcache.o: $(TOP_SRC_AFS)/afs_dcache.c
+ $(CRULE1)
+$(JUAFS)/afs_dynroot.o: $(TOP_SRC_AFS)/afs_dynroot.c
+ $(CRULE1)
+$(JUAFS)/afs_init.o: $(TOP_SRC_AFS)/afs_init.c
+ $(CRULE1)
+$(JUAFS)/afs_mariner.o: $(TOP_SRC_AFS)/afs_mariner.c
+ $(CRULE1)
+$(JUAFS)/afs_osidnlc.o: $(TOP_SRC_AFS)/afs_osidnlc.c
+ $(CRULE1)
+$(JUAFS)/afs_osi.o: $(TOP_SRC_AFS)/afs_osi.c
+ $(CRULE1)
+$(JUAFS)/afs_osi_pag.o: $(TOP_SRC_AFS)/afs_osi_pag.c
+ $(CRULE1)
+$(JUAFS)/afs_segments.o: $(TOP_SRC_AFS)/afs_segments.c
+ $(CRULE1)
+$(JUAFS)/afs_server.o: $(TOP_SRC_AFS)/afs_server.c
+ $(CRULE1)
+$(JUAFS)/afs_user.o: $(TOP_SRC_AFS)/afs_user.c
+ $(CRULE1)
+$(JUAFS)/afs_util.o: $(TOP_SRC_AFS)/afs_util.c
+ $(CRULE1)
+$(JUAFS)/afs_vcache.o: $(TOP_SRC_AFS)/afs_vcache.c
+ $(CRULE1)
+$(JUAFS)/afs_osi_uio.o: $(TOP_SRC_AFS)/afs_osi_uio.c
+ $(CRULE1)
+$(JUAFS)/afs_vnop_access.o: $(TOP_SRC_VNOPS)/afs_vnop_access.c
+ $(CRULE1)
+$(JUAFS)/afs_vnop_attrs.o: $(TOP_SRC_VNOPS)/afs_vnop_attrs.c
+ $(CRULE1)
+$(JUAFS)/afs_vnop_create.o: $(TOP_SRC_VNOPS)/afs_vnop_create.c
+ $(CRULE1)
+$(JUAFS)/afs_vnop_dirops.o: $(TOP_SRC_VNOPS)/afs_vnop_dirops.c
+ $(CRULE1)
+$(JUAFS)/afs_vnop_fid.o: $(TOP_SRC_VNOPS)/afs_vnop_fid.c
+ $(CRULE1)
+$(JUAFS)/afs_vnop_flock.o: $(TOP_SRC_VNOPS)/afs_vnop_flock.c
+ $(CRULE1)
+$(JUAFS)/afs_vnop_link.o: $(TOP_SRC_VNOPS)/afs_vnop_link.c
+ $(CRULE1)
+$(JUAFS)/afs_vnop_lookup.o: $(TOP_SRC_VNOPS)/afs_vnop_lookup.c
+ $(CRULE1)
+$(JUAFS)/afs_vnop_open.o: $(TOP_SRC_VNOPS)/afs_vnop_open.c
+ $(CRULE1)
+$(JUAFS)/afs_vnop_read.o: $(TOP_SRC_VNOPS)/afs_vnop_read.c
+ $(CRULE1)
+$(JUAFS)/afs_vnop_readdir.o: $(TOP_SRC_VNOPS)/afs_vnop_readdir.c
+ $(CRULE1)
+$(JUAFS)/afs_vnop_remove.o: $(TOP_SRC_VNOPS)/afs_vnop_remove.c
+ $(CRULE1)
+$(JUAFS)/afs_vnop_rename.o: $(TOP_SRC_VNOPS)/afs_vnop_rename.c
+ $(CRULE1)
+$(JUAFS)/afs_vnop_strategy.o: $(TOP_SRC_VNOPS)/afs_vnop_strategy.c
+ $(CRULE1)
+$(JUAFS)/afs_vnop_symlink.o: $(TOP_SRC_VNOPS)/afs_vnop_symlink.c
+ $(CRULE1)
+$(JUAFS)/afs_vnop_write.o: $(TOP_SRC_VNOPS)/afs_vnop_write.c
+ $(CRULE1)
+$(JUAFS)/afs_volume.o: $(TOP_SRC_AFS)/afs_volume.c
+ $(CRULE1)
+$(JUAFS)/rx_rdwr.o: $(TOP_SRC_RX)/rx_rdwr.c
+ $(CRULE1)
+$(JUAFS)/afs_cbqueue.o: $(TOP_SRC_AFS)/afs_cbqueue.c
+ $(CRULE1)
+$(JUAFS)/afs_callback.o: $(TOP_SRC_AFS)/afs_callback.c
+ $(CRULE1)
+$(JUAFS)/afs_chunk.o: $(TOP_SRC_AFS)/afs_chunk.c
+ $(CRULE1)
+$(JUAFS)/afs_daemons.o: $(TOP_SRC_AFS)/afs_daemons.c
+ $(CRULE1)
+$(JUAFS)/afs_dir.o: $(TOP_SRCDIR)/dir/dir.c
+ $(CRULE1) -o afs_dir.o
+$(JUAFS)/AFS_component_version_number.o: AFS_component_version_number.c
+ $(CRULE1)
+$(JUAFS)/afs_lock.o: $(TOP_SRC_AFS)/afs_lock.c
+ $(CRULE1)
+$(JUAFS)/afs_memcache.o: $(TOP_SRC_AFS)/afs_memcache.c
+ $(CRULE1)
+$(JUAFS)/afs_stat.o: $(TOP_SRC_AFS)/afs_stat.c
+ $(CRULE1)
+$(JUAFS)/fcrypt.o: $(TOP_SRC_RXKAD)/domestic/fcrypt.c
+ $(CRULE1)
+$(JUAFS)/crypt_conn.o: $(TOP_SRC_RXKAD)/domestic/crypt_conn.c
+ $(CRULE1)
+$(JUAFS)/rxkad_client.o: $(TOP_SRC_RXKAD)/rxkad_client.c
+ $(CRULE1)
+$(JUAFS)/rxkad_common.o: $(TOP_SRC_RXKAD)/rxkad_common.c
+ $(CRULE1)
+$(JUAFS)/afs_exporter.o: $(TOP_SRCDIR)/afs/afs_exporter.c
+ $(CRULE1)
+$(JUAFS)/afs_nfsclnt.o: $(TOP_SRC_AFS)/afs_nfsclnt.c
+ $(CRULE1)
+$(JUAFS)/afs_nfsdisp.o: $(TOP_SRC_AFS)/afs_nfsdisp.c
+ $(CRULE1)
+$(JUAFS)/rx.o: $(TOP_SRC_RX)/rx.c
+ $(CRULE1)
+$(JUAFS)/rx_clock.o: $(TOP_SRC_RX)/rx_clock.c
+ $(CRULE1)
+$(JUAFS)/rx_event.o: $(TOP_SRC_RX)/rx_event.c
+ $(CRULE1)
+$(JUAFS)/rx_globals.o: $(TOP_SRC_RX)/rx_globals.c
+ $(CRULE1)
+$(JUAFS)/rx_misc.o: $(TOP_SRC_RX)/rx_misc.c
+ $(CRULE1)
+$(JUAFS)/rx_null.o: $(TOP_SRC_RX)/rx_null.c
+ $(CRULE1)
+$(JUAFS)/rx_getaddr.o: $(TOP_SRC_RX)/rx_getaddr.c
+ $(CRULE1)
+$(JUAFS)/rx_packet.o: $(TOP_SRC_RX)/rx_packet.c
+ $(CRULE1)
+$(JUAFS)/rx_conncache.o: $(TOP_SRCDIR)/rx/rx_conncache.c
+ $(CRULE1)
+$(JUAFS)/xdr_rx.o: $(TOP_SRC_RX)/xdr_rx.c
+ $(CRULE1)
+$(JUAFS)/xdr_int64.o: $(TOP_SRC_RX)/xdr_int64.c
+ $(CRULE1)
+$(JUAFS)/afs_usrops.o: $(TOP_SRC_AFS)/UKERNEL/afs_usrops.c
+ $(CRULE1)
+$(JUAFS)/afs_uuid.o: $(TOP_SRCDIR)/util/uuid.c
+ $(CRULE1) -o afs_uuid.o
+$(JUAFS)/assert.o: $(TOP_SRCDIR)/util/assert.c
+ $(CRULE1)
+$(JUAFS)/xdr_afsuuid.o: $(TOP_SRCDIR)/rx/xdr_afsuuid.c
+ $(CRULE1)
+$(JUAFS)/osi_vnodeops.o: $(TOP_SRC_AFS)/UKERNEL/osi_vnodeops.c
+ $(CRULE1)
+$(JUAFS)/osi_vm.o: $(TOP_SRC_AFS)/UKERNEL/osi_vm.c
+ $(CRULE1)
+$(JUAFS)/osi_groups.o: $(TOP_SRC_AFS)/UKERNEL/osi_groups.c
+ $(CRULE1)
+$(JUAFS)/Kcallback.ss.o: $(TOP_OBJ_FSINT)/Kcallback.ss.c
+ $(CRULE1)
+$(JUAFS)/Kvice.xdr.o: $(TOP_OBJ_FSINT)/Kvice.xdr.c
+ $(CRULE1)
+$(JUAFS)/Kvice.cs.o: $(TOP_OBJ_FSINT)/Kvice.cs.c
+ $(CRULE1)
+$(JUAFS)/afsaux.o: $(TOP_SRC_FSINT)/afsaux.c
+ $(CRULE1)
+$(JUAFS)/xdr_arrayn.o: $(TOP_SRC_RX)/xdr_arrayn.c
+ $(CRULE1)
+$(JUAFS)/Kvldbint.cs.o: $(TOP_OBJ_VLSERVER)/Kvldbint.cs.c
+ $(CRULE1)
+$(JUAFS)/Kvldbint.xdr.o: $(TOP_OBJ_VLSERVER)/Kvldbint.xdr.c
+ $(CRULE1)
+$(JUAFS)/rx_knet.o: $(TOP_SRC_RX)/UKERNEL/rx_knet.c
+ $(CRULE1)
+$(JUAFS)/rx_kcommon.o: $(TOP_SRCDIR)/rx/rx_kcommon.c
+ $(CRULE1)
+$(JUAFS)/afs_call.o: $(TOP_SRC_AFS)/afs_call.c
+ $(CRULE1) -DAFS_NONFSTRANS
+$(JUAFS)/afs_pioctl.o: $(TOP_SRC_AFS)/afs_pioctl.c
+ $(CRULE1) -DAFS_NONFSTRANS
+$(JUAFS)/osi_vfsops.o: $(TOP_SRC_AFS)/UKERNEL/osi_vfsops.c
+ $(CRULE1) -DAFS_NONFSTRANS
+$(JUAFS)/ktc.o: $(TOP_SRCDIR)/auth/ktc.c
+ $(CRULE1)
+$(JUAFS)/ticket.o: $(TOP_SRCDIR)/rxkad/ticket.c
+ $(CRULE1)
+$(JUAFS)/rxkad_server.o: $(TOP_SRCDIR)/rxkad/rxkad_server.c
+ $(CRULE1)
+$(JUAFS)/ptint.cs.o: $(TOP_OBJDIR)/src/ptserver/ptint.cs.c
+ $(CRULE1)
+$(JUAFS)/ptint.xdr.o: $(TOP_OBJDIR)/src/ptserver/ptint.xdr.c
+ $(CRULE1)
+$(JUAFS)/ptuser.o: $(TOP_SRCDIR)/ptserver/ptuser.c
+ $(CRULE1)
+$(JUAFS)/pterror.o: $(TOP_OBJDIR)/src/ptserver/pterror.c
+ $(CRULE1)
+$(JUAFS)/ubikclient.o: $(TOP_SRCDIR)/ubik/ubikclient.c
+ $(CRULE1)
+$(JUAFS)/ubik_int.cs.o: $(TOP_OBJDIR)/src/ubik/ubik_int.cs.c
+ $(CRULE1)
+$(JUAFS)/ubik_int.xdr.o: $(TOP_OBJDIR)/src/ubik/ubik_int.xdr.c
+ $(CRULE1)
+$(JUAFS)/authclient.o: $(TOP_SRCDIR)/kauth/authclient.c
+ $(CRULE1)
+$(JUAFS)/kalocalcell.o: $(TOP_SRCDIR)/kauth/kalocalcell.c
+ $(CRULE1)
+$(JUAFS)/client.o: $(TOP_SRCDIR)/kauth/client.c
+ $(CRULE1)
+$(JUAFS)/user.o: $(TOP_SRCDIR)/kauth/user.c
+ $(CRULE1)
+$(JUAFS)/hostparse.o: $(TOP_SRCDIR)/util/hostparse.c
+ $(CRULE1)
+$(JUAFS)/token.o: $(TOP_SRCDIR)/kauth/token.c
+ $(CRULE1)
+$(JUAFS)/acfg_errors.o: $(TOP_OBJDIR)/src/auth/acfg_errors.c
+ $(CRULE1)
+$(JUAFS)/kaaux.o: $(TOP_SRCDIR)/kauth/kaaux.c
+ $(CRULE1)
+$(JUAFS)/authcon.o: $(TOP_SRCDIR)/auth/authcon.c
+ $(CRULE1)
+$(JUAFS)/cellconfig.o: $(TOP_SRCDIR)/auth/cellconfig.c
+ $(CRULE1)
+$(JUAFS)/casestrcpy.o: $(TOP_SRCDIR)/util/casestrcpy.c
+ $(CRULE1)
+$(JUAFS)/dirpath.o: $(TOP_SRCDIR)/util/dirpath.c
+ $(CRULE1)
+$(JUAFS)/fileutil.o: $(TOP_SRCDIR)/util/fileutil.c
+ $(CRULE1)
+$(JUAFS)/netutils.o: $(TOP_SRCDIR)/util/netutils.c
+ $(CRULE1)
+$(JUAFS)/et_name.o: $(TOP_SRCDIR)/comerr/et_name.c
+ $(CRULE1)
+$(JUAFS)/com_err.o: $(TOP_SRCDIR)/comerr/com_err.c
+ $(CRULE1)
+$(JUAFS)/error_msg.o: $(TOP_SRCDIR)/comerr/error_msg.c
+ $(CRULE1)
+$(JUAFS)/uerrors.o: $(TOP_OBJDIR)/src/ubik/uerrors.c
+ $(CRULE1)
+$(JUAFS)/kaerrors.o: $(TOP_OBJDIR)/src/kauth/kaerrors.c
+ $(CRULE1)
+$(JUAFS)/ktc_errors.o: $(TOP_OBJDIR)/src/auth/ktc_errors.c
+ $(CRULE1)
+$(JUAFS)/rxkad_errs.o: $(TOP_OBJDIR)/src/rxkad/rxkad_errs.c
+ $(CRULE1)
+$(JUAFS)/kauth.cs.o: $(TOP_OBJDIR)/src/kauth/kauth.cs.c
+ $(CRULE1)
+$(JUAFS)/kauth.xdr.o: $(TOP_OBJDIR)/src/kauth/kauth.xdr.c
+ $(CRULE1)
+$(JUAFS)/rxstat.o: $(TOP_SRC_RXSTAT)/rxstat.c
+ $(CRULE1)
+$(JUAFS)/Krxstat.ss.o: $(TOP_OBJ_RXSTAT)/Krxstat.ss.c
+ $(CRULE1)
+$(JUAFS)/Krxstat.xdr.o: $(TOP_OBJ_RXSTAT)/Krxstat.xdr.c
+ $(CRULE1)
clean:
${DEST}/root.afsweb/usr/lib/$(LIBAFSWEBKRB): AFSWEB/$(LIBAFSWEBKRB)
${INSTALL} $? $@
-${DEST}/root.perf/include/afs/param.h: afs/param.h
+${DEST}/root.perf/include/afs/param.h: $(TOP_INCDIR)/afs/param.h
${INSTALL} $? $@
-${DEST}/root.perf/include/afs/stds.h: afs/stds.h
+${DEST}/root.perf/include/afs/stds.h: $(TOP_INCDIR)/afs/stds.h
${INSTALL} $? $@
-${DEST}/root.perf/include/afs/afs_sysnames.h: afs/afs_sysnames.h
+${DEST}/root.perf/include/afs/afs_sysnames.h: $(TOP_INCDIR)/afs/afs_sysnames.h
${INSTALL} $? $@
-${DEST}/root.perf/include/afs/afs_stats.h: afs/afs_stats.h
+${DEST}/root.perf/include/afs/afs_stats.h: $(TOP_INCDIR)/afs/afs_stats.h
${INSTALL} $? $@
-${DEST}/root.perf/include/afs/sysincludes.h: afs/sysincludes.h
+${DEST}/root.perf/include/afs/sysincludes.h: $(TOP_SRCDIR)/afs/sysincludes.h
${INSTALL} $? $@
-${DEST}/root.perf/include/afs/afs_usrops.h: afs/afs_usrops.h
+${DEST}/root.perf/include/afs/afs_usrops.h: $(TOP_SRCDIR)/afs/UKERNEL/afs_usrops.h
${INSTALL} $? $@
-${DEST}/root.perf/lib/libdes.a: des/libdes.a
+${DEST}/root.perf/lib/libdes.a: ${TOP_OBJDIR}/lib/libdes.a
${INSTALL} $? $@
${DEST}/root.perf/lib/$(LIBUAFS): UAFS/$(LIBUAFS)
${DEST}/root.perf/lib/$(LIBJUAFS): JUAFS/$(LIBJUAFS)
${INSTALL} $? $@
+#
+# Common directory and other build targets
+#
+UAFS:
+ mkdir -p $@
+
+JUAFS:
+ mkdir -p $@
+
+AFSWEB:
+ mkdir -p $@
+
+setup_common:
+ -$(RM) -f h net netinet rpc ufs nfs machine sys inet nsapi
+ -ln -s /usr/include/sys h
+ -ln -s /usr/include/net net
+ -ln -s /usr/include/netinet netinet
+ -ln -s /usr/include/rpc rpc
+ -ln -s /usr/include/sys sys
+ -ln -s /usr/include/nfs nfs
+ -ln -s /usr/include/inet inet
+ -ln -s /usr/include/ufs ufs
+ -ln -s $(NS_INCL) nsapi
+
+setup_uafs: UAFS setup_common
+ -$(RM) -f UAFS/Makefile UAFS/Makefile.common
+ ln -s ../Makefile UAFS/Makefile
+ ln -s ../Makefile.common UAFS/Makefile.common
+
+setup_juafs: JUAFS setup_common
+ -$(RM) -f JUAFS/Makefile JUAFS/Makefile.common
+ ln -s ../Makefile JUAFS/Makefile
+ ln -s ../Makefile.common JUAFS/Makefile.common
+
+setup_nsafs: AFSWEB setup_common
+ -$(RM) -f AFSWEB/Makefile AFSWEB/Makefile.common
+ ln -s ../Makefile AFSWEB/Makefile
+ ln -s ../Makefile.common AFSWEB/Makefile.common
+
+UAFS/$(LIBUAFS): setup_uafs
+ cd UAFS; \
+ $(MAKE) $(LIBUAFS) DESTDIR=${DESTDIR} LIBJUAFS_FLAGS=; \
+ $(RANLIB) $(LIBUAFS)
+
+JUAFS/$(LIBJUAFS): setup_juafs
+ cd JUAFS; \
+ $(MAKE) $(LIBJUAFS) DESTDIR=${DESTDIR} LIBJUAFS_FLAGS=-DAFS_WEB_ENHANCEMENTS; \
+ $(RANLIB) $(LIBJUAFS)
+
+AFSWEB/$(LIBAFSWEB): setup_nsafs
+ cd AFSWEB; \
+ $(MAKE) $(LIBAFSWEB) DESTDIR=${DESTDIR}; \
+ $(RANLIB) $(LIBAFSWEB)
+
+AFSWEB/$(LIBAFSWEBKRB): setup_nsafs
+ cd AFSWEB; \
+ $(MAKE) $(LIBAFSWEBKRB) DESTDIR=${DESTDIR}; \
+ $(RANLIB) $(LIBAFSWEBKRB)
+include ${TOP_OBJDIR}/src/config/Makefile.version
include Makefile.common
-setup_common:
- -$(RM) -f h net netinet rpc ufs nfs machine sys inet nsapi
- -ln -s /usr/include/sys h
- -ln -s /usr/include/net net
- -ln -s /usr/include/netinet netinet
- -ln -s /usr/include/rpc rpc
- -ln -s /usr/include/sys sys
- -ln -s /usr/include/nfs nfs
- -ln -s /usr/include/inet inet
- -ln -s /usr/include/ufs ufs
- -ln -s $(NS_INCL) nsapi
-
-setup_uafs: UAFS setup_common
- -$(RM) -f UAFS/Makefile UAFS/Makefile.common
- ln -s ../Makefile UAFS/Makefile
- ln -s ../Makefile.common UAFS/Makefile.common
-
-setup_juafs: JUAFS setup_common
- -$(RM) -f JUAFS/Makefile JUAFS/Makefile.common
- ln -s ../Makefile JUAFS/Makefile
- ln -s ../Makefile.common JUAFS/Makefile.common
-
-UAFS:
- mkdir -p $@
-
-JUAFS:
- mkdir -p $@
-
-setup_nsafs: AFSWEB setup_common
- -$(RM) -f AFSWEB/Makefile AFSWEB/Makefile.common
- ln -s ../Makefile AFSWEB/Makefile
- ln -s ../Makefile.common AFSWEB/Makefile.common
-
-AFSWEB:
- mkdir -p $@
-
-UAFS/$(LIBUAFS): setup_uafs
- cd UAFS; \
- $(MAKE) $(LIBUAFS) LIBJUAFS_FLAGS=
-
-JUAFS/$(LIBJUAFS): setup_juafs
- cd JUAFS; \
- $(MAKE) $(LIBJUAFS) LIBJUAFS_FLAGS=-DAFS_WEB_ENHANCEMENTS
-
-AFSWEB/$(LIBAFSWEB): setup_nsafs
- cd AFSWEB; \
- $(MAKE) $(LIBAFSWEB)
-
-AFSWEB/$(LIBAFSWEBKRB): setup_nsafs
- cd AFSWEB; \
- $(MAKE) $(LIBAFSWEBKRB)
-
-# Below this line are targets when in the COMMON directory:
-
$(LIBUAFS): $(UAFSOBJ)
-$(RM) -f $(LIBUAFS)
$(AR) $(ARFLAGS) $(LIBUAFS) $(UAFSOBJ) $(AFS)/afsl.exp
include Makefile.common
-setup_common:
- -$(RM) -f h net netinet rpc ufs nfs machine sys inet nsapi
- -ln -s /usr/include/sys h
- -ln -s /usr/include/net net
- -ln -s /usr/include/netinet netinet
- -ln -s /usr/include/rpc rpc
- -ln -s /usr/include/sys sys
- -ln -s /usr/include/nfs nfs
- -ln -s /usr/include/inet inet
- -ln -s /usr/include/ufs ufs
- -ln -s $(NS_INCL) nsapi
-
-setup_uafs: UAFS setup_common
- -$(RM) -f UAFS/Makefile UAFS/Makefile.common
- ln -s ../Makefile UAFS/Makefile
- ln -s ../Makefile.common UAFS/Makefile.common
-
-setup_juafs: JUAFS setup_common
- -$(RM) -f JUAFS/Makefile JUAFS/Makefile.common
- ln -s ../Makefile JUAFS/Makefile
- ln -s ../Makefile.common JUAFS/Makefile.common
-
-UAFS:
- mkdir -p $@
-
-JUAFS:
- mkdir -p $@
-
-setup_nsafs: AFSWEB setup_common
- -$(RM) -f AFSWEB/Makefile AFSWEB/Makefile.common
- ln -s ../Makefile AFSWEB/Makefile
- ln -s ../Makefile.common AFSWEB/Makefile.common
-
-AFSWEB:
- mkdir -p $@
-
-UAFS/$(LIBUAFS): setup_uafs
- cd UAFS; \
- $(MAKE) $(LIBUAFS) DESTDIR=${DESTDIR} LIBJUAFS_FLAGS=; \
- ranlib $(LIBUAFS)
-
-JUAFS/$(LIBJUAFS): setup_juafs
- cd JUAFS; \
- $(MAKE) $(LIBJUAFS) DESTDIR=${DESTDIR} LIBJUAFS_FLAGS=-DAFS_WEB_ENHANCEMENTS; \
- ranlib $(LIBJUAFS)
-
-AFSWEB/$(LIBAFSWEB): setup_nsafs
- cd AFSWEB; \
- $(MAKE) $(LIBAFSWEB) DESTDIR=${DESTDIR}
-
-AFSWEB/$(LIBAFSWEBKRB): setup_nsafs
- cd AFSWEB; \
- $(MAKE) $(LIBAFSWEBKRB) DESTDIR=${DESTDIR}
-
-# Below this line are targets when in the COMMON directory:
-
$(LIBUAFS): $(UAFSOBJ)
-$(RM) -f $(LIBUAFS)
$(AR) $(ARFLAGS) $(LIBUAFS) $(UAFSOBJ)
include Makefile.common
-setup_common:
- -$(RM) -f h net netinet rpc ufs nfs machine sys inet nsapi
- -ln -s /usr/include/sys h
- -ln -s /usr/include/net net
- -ln -s /usr/include/netinet netinet
- -ln -s /usr/include/rpc rpc
- -ln -s /usr/include/sys sys
- -ln -s /usr/include/nfs nfs
- -ln -s /usr/include/inet inet
- -ln -s /usr/include/ufs ufs
- -ln -s $(NS_INCL) nsapi
-
-setup_uafs: UAFS setup_common
- -$(RM) -f UAFS/Makefile UAFS/Makefile.common
- ln -s ../Makefile UAFS/Makefile
- ln -s ../Makefile.common UAFS/Makefile.common
-
-UAFS:
- mkdir -p $@
-
-JUAFS:
- mkdir -p $@
-
-setup_nsafs: AFSWEB setup_common
- -$(RM) -f AFSWEB/Makefile AFSWEB/Makefile.common
- ln -s ../Makefile AFSWEB/Makefile
- ln -s ../Makefile.common AFSWEB/Makefile.common
-
-setup_juafs: JUAFS setup_common
- -$(RM) -f JUAFS/Makefile JUAFS/Makefile.common
- ln -s ../Makefile JUAFS/Makefile
- ln -s ../Makefile.common JUAFS/Makefile.common
-
-AFSWEB:
- mkdir -p $@
-
-UAFS/$(LIBUAFS): setup_uafs
- cd UAFS; \
- $(MAKE) $(LIBUAFS) LIBJUAFS_FLAGS=
-
-JUAFS/$(LIBJUAFS): setup_juafs
- cd JUAFS; \
- $(MAKE) $(LIBJUAFS) DESTDIR=${DESTDIR} LIBJUAFS_FLAGS=-DAFS_WEB_ENHANCEMENTS
-
-AFSWEB/$(LIBAFSWEB): setup_nsafs
- cd AFSWEB; \
- $(MAKE) $(LIBAFSWEB)
-
-AFSWEB/$(LIBAFSWEBKRB): setup_nsafs
- cd AFSWEB; \
- $(MAKE) $(LIBAFSWEBKRB)
-
-# Below this line are targets when in the COMMON directory:
-
$(LIBUAFS): $(UAFSOBJ)
-$(RM) -f $(LIBUAFS)
$(AR) $(ARFLAGS) $(LIBUAFS) $(UAFSOBJ)
include Makefile.common
-setup_common:
- -$(RM) -f h net netinet rpc ufs nfs machine sys inet nsapi
- -ln -s /usr/include/sys h
- -ln -s /usr/include/net net
- -ln -s /usr/include/netinet netinet
- -ln -s /usr/include/rpc rpc
- -ln -s /usr/include/sys sys
- -ln -s /usr/include/nfs nfs
- -ln -s /usr/include/inet inet
- -ln -s /usr/include/ufs ufs
- -ln -s $(NS_INCL) nsapi
-
-setup_uafs: UAFS setup_common
- -$(RM) -f UAFS/Makefile UAFS/Makefile.common
- ln -s ../Makefile UAFS/Makefile
- ln -s ../Makefile.common UAFS/Makefile.common
-
-setup_juafs: JUAFS setup_common
- -$(RM) -f JUAFS/Makefile JUAFS/Makefile.common
- ln -s ../Makefile JUAFS/Makefile
- ln -s ../Makefile.common JUAFS/Makefile.common
-
-UAFS:
- mkdir -p $@
-
-JUAFS:
- mkdir -p $@
-
-setup_nsafs: AFSWEB setup_common
- -$(RM) -f AFSWEB/Makefile AFSWEB/Makefile.common
- ln -s ../Makefile AFSWEB/Makefile
- ln -s ../Makefile.common AFSWEB/Makefile.common
-
-AFSWEB:
- mkdir -p $@
-
-JUAFS/$(LIBJUAFS): setup_juafs
- cd JUAFS; \
- $(MAKE) $(LIBJUAFS) DESTDIR=${DESTDIR} LIBJUAFS_FLAGS=-DAFS_WEB_ENHANCEMENTS
-
-UAFS/$(LIBUAFS): setup_uafs
- cd UAFS; \
- $(MAKE) $(LIBUAFS) DESTDIR=${DESTDIR} LIBJUAFS_FLAGS=
-
-AFSWEB/$(LIBAFSWEB): setup_nsafs
- cd AFSWEB; \
- $(MAKE) $(LIBAFSWEB) DESTDIR=${DESTDIR}
-
-AFSWEB/$(LIBAFSWEBKRB): setup_nsafs
- cd AFSWEB; \
- $(MAKE) $(LIBAFSWEBKRB) DESTDIR=${DESTDIR}
-
-# Below this line are targets when in the COMMON directory:
-
$(LIBUAFS): $(UAFSOBJ)
-$(RM) -f $(LIBUAFS)
$(AR) $(ARFLAGS) $(LIBUAFS) $(UAFSOBJ)
include Makefile.common
-setup_common:
- -$(RM) -f h net netinet rpc ufs nfs machine sys inet nsapi
- -ln -s /usr/include/sys h
- -ln -s /usr/include/net net
- -ln -s /usr/include/netinet netinet
- -ln -s /usr/include/rpc rpc
- -ln -s /usr/include/sys sys
- -ln -s /usr/include/nfs nfs
- -ln -s /usr/include/inet inet
- -ln -s /usr/include/ufs ufs
- -ln -s $(NS_INCL) nsapi
-
-setup_uafs: UAFS setup_common
- -$(RM) -f UAFS/Makefile UAFS/Makefile.common
- ln -s ../Makefile UAFS/Makefile
- ln -s ../Makefile.common UAFS/Makefile.common
-
-setup_juafs: JUAFS setup_common
- -$(RM) -f JUAFS/Makefile JUAFS/Makefile.common
- ln -s ../Makefile JUAFS/Makefile
- ln -s ../Makefile.common JUAFS/Makefile.common
-
-UAFS:
- mkdir -p $@
-
-JUAFS:
- mkdir -p $@
-
-setup_nsafs: AFSWEB setup_common
- -$(RM) -f AFSWEB/Makefile AFSWEB/Makefile.common
- ln -s ../Makefile AFSWEB/Makefile
- ln -s ../Makefile.common AFSWEB/Makefile.common
-
-AFSWEB:
- mkdir -p $@
-
-UAFS/$(LIBUAFS): setup_uafs
- cd UAFS; \
- $(MAKE) $(LIBUAFS) LIBJUAFS_FLAGS=
-
-JUAFS/$(LIBJUAFS): setup_juafs
- cd JUAFS; \
- $(MAKE) $(LIBJUAFS) DESTDIR=${DESTDIR} LIBJUAFS_FLAGS=-DAFS_WEB_ENHANCEMENTS
-
-AFSWEB/$(LIBAFSWEB): setup_nsafs
- cd AFSWEB; \
- $(MAKE) $(LIBAFSWEB)
-
-AFSWEB/$(LIBAFSWEBKRB): setup_nsafs
- cd AFSWEB; \
- $(MAKE) $(LIBAFSWEBKRB)
-
-# Below this line are targets when in the COMMON directory:
-
$(LIBUAFS): $(UAFSOBJ)
-$(RM) -f $(LIBUAFS)
$(AR) $(ARFLAGS) $(LIBUAFS) $(UAFSOBJ)
include Makefile.common
-setup_common:
- -$(RM) -f h net netinet rpc ufs nfs machine sys inet nsapi
- -ln -s /usr/include/sys h
- -ln -s /usr/include/net net
- -ln -s /usr/include/netinet netinet
- -ln -s /usr/include/rpc rpc
- -ln -s /usr/include/sys sys
- -ln -s /usr/include/nfs nfs
- -ln -s /usr/include/inet inet
- -ln -s /usr/include/ufs ufs
- -ln -s $(NS_INCL) nsapi
-
-setup_uafs: UAFS setup_common
- -$(RM) -f UAFS/Makefile UAFS/Makefile.common
- ln -s ../Makefile UAFS/Makefile
- ln -s ../Makefile.common UAFS/Makefile.common
-
-setup_juafs: JUAFS setup_common
- -$(RM) -f JUAFS/Makefile JUAFS/Makefile.common
- ln -s ../Makefile JUAFS/Makefile
- ln -s ../Makefile.common JUAFS/Makefile.common
-
-UAFS:
- mkdir -p $@
-
-JUAFS:
- mkdir -p $@
-
-setup_nsafs: AFSWEB setup_common
- -$(RM) -f AFSWEB/Makefile AFSWEB/Makefile.common
- ln -s ../Makefile AFSWEB/Makefile
- ln -s ../Makefile.common AFSWEB/Makefile.common
-
-AFSWEB:
- mkdir -p $@
-
-UAFS/$(LIBUAFS): setup_uafs
- cd UAFS; \
- $(MAKE) $(LIBUAFS) LIBJUAFS_FLAGS=
-
-JUAFS/$(LIBJUAFS): setup_juafs
- cd JUAFS; \
- $(MAKE) $(LIBJUAFS) LIBJUAFS_FLAGS=-DAFS_WEB_ENHANCEMENTS
-
-AFSWEB/$(LIBAFSWEB): setup_nsafs
- cd AFSWEB; \
- $(MAKE) $(LIBAFSWEB)
-
-AFSWEB/$(LIBAFSWEB): setup_nsafs
- cd AFSWEB; \
- $(MAKE) $(LIBAFSWEBKRB)
-
-# Below this line are targets when in the COMMON directory:
-
$(LIBUAFS): $(UAFSOBJ)
-$(RM) -f $(LIBUAFS)
$(AR) $(ARFLAGS) $(LIBUAFS) $(UAFSOBJ)
include Makefile.common
-setup_common:
- -$(RM) -f h net netinet rpc ufs nfs machine sys inet nsapi
- -ln -s /usr/include/sys h
- -ln -s /usr/include/net net
- -ln -s /usr/include/netinet netinet
- -ln -s /usr/include/rpc rpc
- -ln -s /usr/include/sys sys
- -ln -s /usr/include/nfs nfs
- -ln -s /usr/include/inet inet
- -ln -s /usr/include/ufs ufs
- -ln -s $(NS_INCL) nsapi
-
-setup_uafs: UAFS setup_common
- -$(RM) -f UAFS/Makefile UAFS/Makefile.common
- ln -s ../Makefile UAFS/Makefile
- ln -s ../Makefile.common UAFS/Makefile.common
-
-setup_juafs: JUAFS setup_common
- -$(RM) -f JUAFS/Makefile JUAFS/Makefile.common
- ln -s ../Makefile JUAFS/Makefile
- ln -s ../Makefile.common JUAFS/Makefile.common
-
-UAFS:
- mkdir -p $@
-
-JUAFS:
- mkdir -p $@
-
-setup_nsafs: AFSWEB setup_common
- -$(RM) -f AFSWEB/Makefile AFSWEB/Makefile.common
- ln -s ../Makefile AFSWEB/Makefile
- ln -s ../Makefile.common AFSWEB/Makefile.common
-
-AFSWEB:
- mkdir -p $@
-
-UAFS/$(LIBUAFS): setup_uafs
- cd UAFS; \
- $(MAKE) $(LIBUAFS) DESTDIR=${DESTDIR} LIBJUAFS_FLAGS=
-
-JUAFS/$(LIBJUAFS): setup_juafs
- cd JUAFS; \
- $(MAKE) $(LIBJUAFS) DESTDIR=${DESTDIR} LIBJUAFS_FLAGS=-DAFS_WEB_ENHANCEMENTS
-
-AFSWEB/$(LIBAFSWEB): setup_nsafs
- cd AFSWEB; \
- $(MAKE) $(LIBAFSWEB) DESTDIR=${DESTDIR}
-
-AFSWEB/$(LIBAFSWEBKRB): setup_nsafs
- cd AFSWEB; \
- $(MAKE) $(LIBAFSWEBKRB) DESTDIR=${DESTDIR}
-
-# Below this line are targets when in the COMMON directory:
-
$(LIBUAFS): $(UAFSOBJ)
-$(RM) -f $(LIBUAFS)
$(AR) $(ARFLAGS) $(LIBUAFS) $(UAFSOBJ)
include Makefile.common
-setup_common:
- -$(RM) -f h net netinet rpc ufs nfs machine sys inet nsapi
- -ln -s /usr/include/sys h
- -ln -s /usr/include/net net
- -ln -s /usr/include/netinet netinet
- -ln -s /usr/include/rpc rpc
- -ln -s /usr/include/sys sys
- -ln -s /usr/include/nfs nfs
- -ln -s /usr/include/inet inet
- -ln -s /usr/include/ufs ufs
- -ln -s $(NS_INCL) nsapi
-
-setup_uafs: UAFS setup_common
- -$(RM) -f UAFS/Makefile UAFS/Makefile.common
- ln -s ../Makefile UAFS/Makefile
- ln -s ../Makefile.common UAFS/Makefile.common
-
-setup_juafs: JUAFS setup_common
- -$(RM) -f JUAFS/Makefile JUAFS/Makefile.common
- ln -s ../Makefile JUAFS/Makefile
- ln -s ../Makefile.common JUAFS/Makefile.common
-
-UAFS:
- mkdir -p $@
-
-JUAFS:
- mkdir -p $@
-
-setup_nsafs: AFSWEB setup_common
- -$(RM) -f AFSWEB/Makefile AFSWEB/Makefile.common
- ln -s ../Makefile AFSWEB/Makefile
- ln -s ../Makefile.common AFSWEB/Makefile.common
-
-AFSWEB:
- mkdir -p $@
-
-JUAFS/$(LIBJUAFS): setup_juafs
- cd JUAFS; \
- $(MAKE) $(LIBJUAFS) DESTDIR=${DESTDIR} LIBJUAFS_FLAGS=-DAFS_WEB_ENHANCEMENTS
-
-UAFS/$(LIBUAFS): setup_uafs
- cd UAFS; \
- $(MAKE) $(LIBUAFS) DESTDIR=${DESTDIR} LIBJUAFS_FLAGS=
-
-AFSWEB/$(LIBAFSWEB): setup_nsafs
-cd AFSWEB; \
- $(MAKE) $(LIBAFSWEB) DESTDIR=${DESTDIR}
-
-AFSWEB/$(LIBAFSWEBKRB): setup_nsafs
- cd AFSWEB; \
- $(MAKE) $(LIBAFSWEBKRB) DESTDIR=${DESTDIR}
-
-# Below this line are targets when in the COMMON directory:
-
$(LIBUAFS): $(UAFSOBJ)
-$(RM) -f $(LIBUAFS)
$(AR) $(ARFLAGS) $(LIBUAFS) $(UAFSOBJ)
include Makefile.common
-setup_common:
- -$(RM) -f h net netinet rpc ufs nfs machine sys inet nsapi
- -ln -s /usr/include/sys h
- -ln -s /usr/include/net net
- -ln -s /usr/include/netinet netinet
- -ln -s /usr/include/rpc rpc
- -ln -s /usr/include/sys sys
- -ln -s /usr/include/nfs nfs
- -ln -s /usr/include/inet inet
- -ln -s /usr/include/ufs ufs
- -ln -s $(NS_INCL) nsapi
-
-setup_uafs: UAFS setup_common
- -$(RM) -f UAFS/Makefile UAFS/Makefile.common
- ln -s ../Makefile UAFS/Makefile
- ln -s ../Makefile.common UAFS/Makefile.common
-
-setup_juafs: JUAFS setup_common
- -$(RM) -f JUAFS/Makefile JUAFS/Makefile.common
- ln -s ../Makefile JUAFS/Makefile
- ln -s ../Makefile.common JUAFS/Makefile.common
-
-UAFS:
- mkdir -p $@
-
-JUAFS:
- mkdir -p $@
-
-setup_nsafs: AFSWEB setup_common
- -$(RM) -f AFSWEB/Makefile AFSWEB/Makefile.common
- ln -s ../Makefile AFSWEB/Makefile
- ln -s ../Makefile.common AFSWEB/Makefile.common
-
-AFSWEB:
- mkdir -p $@
-
-UAFS/$(LIBUAFS): setup_uafs
- cd UAFS; \
- $(MAKE) $(LIBUAFS) LIBJUAFS_FLAGS=
-
-JUAFS/$(LIBJUAFS): setup_juafs
- cd JUAFS; \
- $(MAKE) $(LIBJUAFS) DESTDIR=${DESTDIR} LIBJUAFS_FLAGS=-DAFS_WEB_ENHANCEMENTS
-
-AFSWEB/$(LIBAFSWEB): setup_nsafs
- cd AFSWEB; \
- $(MAKE) $(LIBAFSWEB)
-
-AFSWEB/$(LIBAFSWEBKRB): setup_nsafs
- cd AFSWEB; \
- $(MAKE) $(LIBAFSWEBKRB)
-
-# Below this line are targets when in the COMMON directory:
-
$(LIBUAFS): $(UAFSOBJ)
-$(RM) -f $(LIBUAFS)
$(AR) $(ARFLAGS) $(LIBUAFS) $(UAFSOBJ)
-$(RM) -f $(LIBAFSWEB)
${LD} -G -M../mapfile -o $(LIBAFSWEB) $(AFSWEBOBJ) ${DES}/libdes.a $(WEBLIBS)
-
$(LIBAFSWEBKRB): $(AFSWEBOBJKRB) $(DES)/libdes.a
-$(RM) -f $(LIBAFSWEBKRB)
${LD} -G -M../mapfile -o $(LIBAFSWEBKRB) $(AFSWEBOBJKRB) ${DES}/libdes.a $(WEBLIBS)
RCSID("$Header$");
+#include <sys/socket.h>
+#include <sys/stat.h>
#include <sys/types.h>
+
#include <rx/rx.h>
-#include <afs/afs_usrops.h>
+#include <afs/sysincludes.h>
+#include <afs_usrops.h>
void uafs_Shutdown(void);
all: ${TOP_LIBDIR}/liblwp.a ${TOP_INCDIR}/lock.h ${TOP_INCDIR}/lwp.h ${TOP_INCDIR}/preempt.h ${TOP_INCDIR}/timer.h
+depinstall: ${TOP_INCDIR}/lock.h ${TOP_INCDIR}/lwp.h ${TOP_INCDIR}/preempt.h ${TOP_INCDIR}/timer.h
+
+
#
# Build rules
#
RCSID("$Header$");
-#include "../lwp.h"
+#include "lwp.h"
#include "seltest.h"
/* Put this in lwp.h? */
RCSID("$Header$");
-#include "../lwp.h"
+#include "lwp.h"
#include "seltest.h"
extern int IOMGR_Select(int, fd_set *, fd_set *, fd_set *, struct timeval *);
RCSID("$Header$");
-#include "../lwp.h"
+#include "lwp.h"
#include "seltest.h"
#ifdef NEEDS_ALLOCFDSET
${TOP_LIBDIR}/libsys.a
-all: ukinstall ptserver pts pt_util db_verify ${TOP_LIBDIR}/libprot.a ${TOP_INCDIR}/afs/prclient.h ${TOP_INCDIR}/afs/prerror.h ${TOP_INCDIR}/afs/print.h ${TOP_INCDIR}/afs/prserver.h ${TOP_INCDIR}/afs/ptclient.h ${TOP_INCDIR}/afs/pterror.h ${TOP_INCDIR}/afs/ptint.h ${TOP_INCDIR}/afs/ptserver.h readgroup readpwd testpt
+all: ptserver pts pt_util db_verify ${TOP_LIBDIR}/libprot.a \
+ depinstall readgroup readpwd testpt
+
+depinstall: \
+ ptint.cs.c ptint.xdr.c \
+ ${TOP_INCDIR}/afs/prclient.h \
+ ${TOP_INCDIR}/afs/prerror.h \
+ ${TOP_INCDIR}/afs/print.h \
+ ${TOP_INCDIR}/afs/prserver.h \
+ ${TOP_INCDIR}/afs/ptclient.h \
+ ${TOP_INCDIR}/afs/pterror.h \
+ ${TOP_INCDIR}/afs/ptint.h \
+ ${TOP_INCDIR}/afs/ptserver.h
#
# Build targets
#
# Installation targets
#
-ukinstall: ${UKERNELDIR}/afs \
- ${UKERNELDIR}/afsint/ptint.h \
- ${UKERNELDIR}/afsint/ptint.cs.c \
- ${UKERNELDIR}/afsint/ptint.xdr.c \
- ${UKERNELDIR}/afs/ptuser.c \
- ${UKERNELDIR}/afs/ptclient.h \
- ${UKERNELDIR}/afs/pterror.c \
- ${UKERNELDIR}/afs/pterror.h \
- ${UKERNELDIR}/afs/ptserver.h
-
install: \
${DESTDIR}${afssrvlibexecdir}/ptserver \
${DESTDIR}${afssrvbindir}/pts \
${DESTDIR}${includedir}/afs/ptint.h \
${DESTDIR}${includedir}/afs/ptserver.h
-${UKERNELDIR}/afs:
- mkdir -p $@
-
-${UKERNELDIR}/afs/ptuser.c: ptuser.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afs/ptclient.h: ptclient.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afs/pterror.c: pterror.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afs/pterror.h: pterror.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afs/ptserver.h: ptserver.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afsint/ptint.h: Kptint.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afsint/ptint.cs.c: Kptint.cs.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afsint/ptint.xdr.c: Kptint.xdr.c
- ${INSTALL} $? $@
-
${DEST}/root.server/usr/afs/bin/ptserver: ptserver
${INSTALL} $? $@
*/
#if defined(UKERNEL)
-#include "../afs/lock.h"
-#include "../afs/ubik.h"
-#include "../afsint/ptint.h"
-#include "../afs/ptserver.h"
+#include "afs/lock.h"
+#include "ubik.h"
+#include "afs/ptint.h"
+#include "afs/ptserver.h"
#else /* defined(UKERNEL) */
#include <lock.h>
#include <ubik.h>
*/
#if defined(UKERNEL)
-#include "../afsint/ptint.h"
+#include "afs/ptint.h"
#else /* defined(UKERNEL) */
#include "ptint.h"
#endif /* defined(UKERNEL) */
#include <afsconfig.h>
#if defined(UKERNEL)
-#include "../afs/param.h"
+#include "afs/param.h"
#else
#include <afs/param.h>
#endif
RCSID("$Header$");
#if defined(UKERNEL)
-#include "../afs/sysincludes.h"
-#include "../afs/afs_usrops.h"
-#include "../afs/afsincludes.h"
-#include "../afs/stds.h"
-#include "../rx/rx.h"
-#include "../rx/xdr.h"
-#include "../rx/rxkad.h"
-#include "../afs/auth.h"
-#include "../afs/cellconfig.h"
-#include "../afs/afsutil.h"
-#include "../afs/ptclient.h"
-#include "../afs/pterror.h"
+#include "afs/sysincludes.h"
+#include "afs_usrops.h"
+#include "afsincludes.h"
+#include "afs/stds.h"
+#include "rx/rx.h"
+#include "rx/xdr.h"
+#include "rx/rxkad.h"
+#include "afs/auth.h"
+#include "afs/cellconfig.h"
+#include "afs/afsutil.h"
+#include "afs/ptclient.h"
+#include "afs/pterror.h"
#else /* defined(UKERNEL) */
#include <afs/stds.h>
#include <ctype.h>
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
#ifdef AFS_AIX41_ENV
-#include "../rx/rx_kcommon.h"
+#include "rx/rx_kcommon.h"
static struct protosw parent_proto; /* udp proto switch */
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../rx/rx_kcommon.h"
+#include "rx/rx_kcommon.h"
int osi_NetReceive(osi_socket so, struct sockaddr_in *addr, struct iovec *dvec,
int nvecs, int *alength)
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
#ifdef AFS_DUX40_ENV
-#include "../rx/rx_kcommon.h"
+#include "rx/rx_kcommon.h"
static struct protosw parent_proto; /* udp proto switch */
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
#ifdef AFS_FBSD40_ENV
-#include "../rx/rx_kcommon.h"
+#include "rx/rx_kcommon.h"
#ifdef RXK_LISTENER_ENV
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../h/types.h"
-#include "../h/param.h"
-#include "../rx/rx_kcommon.h"
-#include "../h/user.h"
-#include "../h/tihdr.h"
+#include "h/types.h"
+#include "h/param.h"
+#include "rx/rx_kcommon.h"
+#include "h/user.h"
+#include "h/tihdr.h"
#include <xti.h>
/* Define this here, used externally */
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../rx/rx_kcommon.h"
-#include "../h/tcp-param.h"
+#include "rx/rx_kcommon.h"
+#include "h/tcp-param.h"
/* This must be loaded after proc.h to avoid macro collision with a variable*/
-#include "../netinet/udp_var.h"
+#include "netinet/udp_var.h"
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../rx/rx_kcommon.h"
-#include "../rx/rx_kmutex.h"
-#include "../rx/rx_kernel.h"
+#include "rx/rx_kcommon.h"
+#include "rx_kmutex.h"
+#include "rx/rx_kernel.h"
#ifdef CONFIG_SMP
#ifndef RX_KMUTEX_H_
#define RX_KMUTEX_H_
-#include "../rx/rx_kernel.h" /* for osi_Panic() */
+#include "rx/rx_kernel.h" /* for osi_Panic() */
/* AFS_GLOBAL_RXLOCK_KERNEL is defined so that the busy tq code paths are
* used. The thread can sleep when sending packets.
* Linux implementation.
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
#ifdef AFS_LINUX22_ENV
-#include "../rx/rx_kcommon.h"
+#include "rx/rx_kcommon.h"
#if defined(AFS_LINUX24_ENV)
-#include "../h/smp_lock.h"
+#include "h/smp_lock.h"
#endif
#include <asm/uaccess.h>
LIBS=librx.a ${TOP_LIBDIR}/liblwp.a ${TOP_LIBDIR}/libcmd.a \
${TOP_LIBDIR}/util.a
-KSRCS = rx.c rx.h rx_clock.c rx_clock.h rx_event.c rx_event.h \
- rx_globals.c rx_globals.h rx_kernel.h rx_misc.h \
- rx_null.c rx_null.h rx_queue.h rx_getaddr.c rx_packet.c rx_packet.h \
- rx_multi.h rx_kcommon.h rx_kcommon.c rx_prototypes.h \
- xdr.c xdr.h xdr_array.c xdr_arrayn.c xdr_rx.c rx_misc.c rx_rdwr.c \
- xdr_afsuuid.c rx_trace.h xdr_int64.c xdr_int32.c xdr_prototypes.h
-UKSRCS = $(KSRCS) rx_conncache.c
-
all: \
- includes kinstall ukinstall \
+ includes \
${TOP_LIBDIR}/librx.a
+depinstall: includes
+
install-djgpp: \
- includes kinstall ukinstall \
+ includes \
${TOP_INCDIR}/rx/rx_xmit_nt.h \
${TOP_LIBDIR}/librx-djgpp.a
${TOP_INCDIR}/rx/rx_xmit_nt.h: rx_xmit_nt.h
${INSTALL} $? $@
-kinstall: \
- ${KERNELDIR}/rx \
- ${KERNELDIR}/rx/rx.c \
- ${KERNELDIR}/rx/rx_clock.c \
- ${KERNELDIR}/rx/rx_clock.h \
- ${KERNELDIR}/rx/rx_event.c \
- ${KERNELDIR}/rx/rx_event.h \
- ${KERNELDIR}/rx/rx_getaddr.c \
- ${KERNELDIR}/rx/rx_globals.c \
- ${KERNELDIR}/rx/rx_globals.h \
- ${KERNELDIR}/rx/rx.h \
- ${KERNELDIR}/rx/rx_kcommon.c \
- ${KERNELDIR}/rx/rx_kcommon.h \
- ${KERNELDIR}/rx/rx_kernel.h \
- ${KERNELDIR}/rx/rx_kmutex.c \
- ${KERNELDIR}/rx/rx_kmutex.h \
- ${KERNELDIR}/rx/rx_knet.c \
- ${KERNELDIR}/rx/rx_misc.c \
- ${KERNELDIR}/rx/rx_misc.h \
- ${KERNELDIR}/rx/rx_multi.h \
- ${KERNELDIR}/rx/rx_null.c \
- ${KERNELDIR}/rx/rx_null.h \
- ${KERNELDIR}/rx/rx_packet.c \
- ${KERNELDIR}/rx/rx_packet.h \
- ${KERNELDIR}/rx/rx_prototypes.h \
- ${KERNELDIR}/rx/rx_queue.h \
- ${KERNELDIR}/rx/rx_rdwr.c \
- ${KERNELDIR}/rx/rx_trace.h \
- ${KERNELDIR}/rx/xdr_afsuuid.c \
- ${KERNELDIR}/rx/xdr_array.c \
- ${KERNELDIR}/rx/xdr_arrayn.c \
- ${KERNELDIR}/rx/xdr.c \
- ${KERNELDIR}/rx/xdr.h \
- ${KERNELDIR}/rx/xdr_prototypes.h \
- ${KERNELDIR}/rx/xdr_int32.c \
- ${KERNELDIR}/rx/xdr_int64.c \
- ${KERNELDIR}/rx/xdr_rx.c
-
-ukinstall: \
- ${UKERNELDIR}/rx \
- ${UKERNELDIR}/rx/rx.c \
- ${UKERNELDIR}/rx/rx_clock.c \
- ${UKERNELDIR}/rx/rx_clock.h \
- ${UKERNELDIR}/rx/rx_conncache.c \
- ${UKERNELDIR}/rx/rx_event.c \
- ${UKERNELDIR}/rx/rx_event.h \
- ${UKERNELDIR}/rx/rx_getaddr.c \
- ${UKERNELDIR}/rx/rx_globals.c \
- ${UKERNELDIR}/rx/rx_globals.h \
- ${UKERNELDIR}/rx/rx.h \
- ${UKERNELDIR}/rx/rx_kcommon.c \
- ${UKERNELDIR}/rx/rx_kcommon.h \
- ${UKERNELDIR}/rx/rx_kernel.h \
- ${UKERNELDIR}/rx/rx_kmutex.c \
- ${UKERNELDIR}/rx/rx_kmutex.h \
- ${UKERNELDIR}/rx/rx_knet.c \
- ${UKERNELDIR}/rx/rx_misc.c \
- ${UKERNELDIR}/rx/rx_misc.h \
- ${UKERNELDIR}/rx/rx_multi.h \
- ${UKERNELDIR}/rx/rx_null.c \
- ${UKERNELDIR}/rx/rx_null.h \
- ${UKERNELDIR}/rx/rx_packet.c \
- ${UKERNELDIR}/rx/rx_packet.h \
- ${UKERNELDIR}/rx/rx_prototypes.h \
- ${UKERNELDIR}/rx/rx_queue.h \
- ${UKERNELDIR}/rx/rx_rdwr.c \
- ${UKERNELDIR}/rx/rx_trace.h \
- ${UKERNELDIR}/rx/xdr_afsuuid.c \
- ${UKERNELDIR}/rx/xdr_array.c \
- ${UKERNELDIR}/rx/xdr_arrayn.c \
- ${UKERNELDIR}/rx/xdr.c \
- ${UKERNELDIR}/rx/xdr.h \
- ${UKERNELDIR}/rx/xdr_prototypes.h \
- ${UKERNELDIR}/rx/xdr_int32.c \
- ${UKERNELDIR}/rx/xdr_int64.c \
- ${UKERNELDIR}/rx/xdr_rx.c
-
-
-${UKERNELDIR}/rx:
- mkdir -p $@
-
-${KERNELDIR}/rx:
- mkdir -p $@
-
-${KERNELDIR}/rx/rx.c: rx.c
- ${INSTALL} $? $@
-
-${KERNELDIR}/rx/rx_clock.c: rx_clock.c
- ${INSTALL} $? $@
-
-${KERNELDIR}/rx/rx_clock.h: rx_clock.h
- ${INSTALL} $? $@
-
-${KERNELDIR}/rx/rx_event.c: rx_event.c
- ${INSTALL} $? $@
-
-${KERNELDIR}/rx/rx_event.h: rx_event.h
- ${INSTALL} $? $@
-
-${KERNELDIR}/rx/rx_getaddr.c: rx_getaddr.c
- ${INSTALL} $? $@
-
-${KERNELDIR}/rx/rx_globals.c: rx_globals.c
- ${INSTALL} $? $@
-
-${KERNELDIR}/rx/rx_globals.h: rx_globals.h
- ${INSTALL} $? $@
-
-${KERNELDIR}/rx/rx.h: rx.h
- ${INSTALL} $? $@
-
-${KERNELDIR}/rx/rx_kcommon.c: rx_kcommon.c
- ${INSTALL} $? $@
-
-${KERNELDIR}/rx/rx_kcommon.h: rx_kcommon.h
- ${INSTALL} $? $@
-
-${KERNELDIR}/rx/rx_kernel.h: rx_kernel.h
- ${INSTALL} $? $@
-
-${KERNELDIR}/rx/rx_kmutex.c: ${MKAFS_OSTYPE}/rx_kmutex.c
- ${INSTALL} $? $@
-
-${KERNELDIR}/rx/rx_kmutex.h: ${MKAFS_OSTYPE}/rx_kmutex.h
- ${INSTALL} $? $@
-
-${KERNELDIR}/rx/rx_knet.c: ${MKAFS_OSTYPE}/rx_knet.c
- ${INSTALL} $? $@
-
-${KERNELDIR}/rx/rx_misc.c: rx_misc.c
- ${INSTALL} $? $@
-
-${KERNELDIR}/rx/rx_misc.h: rx_misc.h
- ${INSTALL} $? $@
-
-${KERNELDIR}/rx/rx_multi.h: rx_multi.h
- ${INSTALL} $? $@
-
-${KERNELDIR}/rx/rx_null.c: rx_null.c
- ${INSTALL} $? $@
-
-${KERNELDIR}/rx/rx_null.h: rx_null.h
- ${INSTALL} $? $@
-
-${KERNELDIR}/rx/rx_packet.c: rx_packet.c
- ${INSTALL} $? $@
-
-${KERNELDIR}/rx/rx_packet.h: rx_packet.h
- ${INSTALL} $? $@
-
-${KERNELDIR}/rx/rx_prototypes.h: rx_prototypes.h
- ${INSTALL} $? $@
-
-${KERNELDIR}/rx/rx_queue.h: rx_queue.h
- ${INSTALL} $? $@
-
-${KERNELDIR}/rx/rx_rdwr.c: rx_rdwr.c
- ${INSTALL} $? $@
-
-${KERNELDIR}/rx/rx_trace.h: rx_trace.h
- ${INSTALL} $? $@
-
-${KERNELDIR}/rx/xdr_afsuuid.c: xdr_afsuuid.c
- ${INSTALL} $? $@
-
-${KERNELDIR}/rx/xdr_array.c: xdr_array.c
- ${INSTALL} $? $@
-
-${KERNELDIR}/rx/xdr_arrayn.c: xdr_arrayn.c
- ${INSTALL} $? $@
-
-${KERNELDIR}/rx/xdr.c: xdr.c
- ${INSTALL} $? $@
-
-${KERNELDIR}/rx/xdr.h: xdr.h
- ${INSTALL} $? $@
-
-${KERNELDIR}/rx/xdr_prototypes.h: xdr_prototypes.h
- ${INSTALL} $? $@
-
-${KERNELDIR}/rx/xdr_int32.c: xdr_int32.c
- ${INSTALL} $? $@
-
-${KERNELDIR}/rx/xdr_int64.c: xdr_int64.c
- ${INSTALL} $? $@
-
-${KERNELDIR}/rx/xdr_rx.c: xdr_rx.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/rx/rx_clock.c: rx_clock.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/rx/rx_clock.h: rx_clock.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/rx/rx_conncache.c: rx_conncache.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/rx/rx.c: rx.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/rx/rx_event.c: rx_event.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/rx/rx_event.h: rx_event.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/rx/rx_getaddr.c: rx_getaddr.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/rx/rx_globals.c: rx_globals.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/rx/rx_globals.h: rx_globals.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/rx/rx.h: rx.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/rx/rx_kcommon.c: rx_kcommon.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/rx/rx_kcommon.h: UKERNEL/rx_kcommon.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/rx/rx_kernel.h: rx_kernel.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/rx/rx_kmutex.c: UKERNEL/rx_kmutex.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/rx/rx_kmutex.h: UKERNEL/rx_kmutex.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/rx/rx_knet.c: UKERNEL/rx_knet.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/rx/rx_misc.c: rx_misc.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/rx/rx_misc.h : rx_misc.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/rx/rx_multi.h: rx_multi.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/rx/rx_null.c: rx_null.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/rx/rx_null.h: rx_null.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/rx/rx_packet.c: rx_packet.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/rx/rx_packet.h: rx_packet.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/rx/rx_prototypes.h: rx_prototypes.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/rx/rx_queue.h: rx_queue.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/rx/rx_rdwr.c: rx_rdwr.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/rx/rx_trace.h: rx_trace.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/rx/xdr_afsuuid.c: xdr_afsuuid.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/rx/xdr_array.c: xdr_array.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/rx/xdr_arrayn.c: xdr_arrayn.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/rx/xdr.c: xdr.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/rx/xdr.h: xdr.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/rx/xdr_prototypes.h: xdr_prototypes.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/rx/xdr_int32.c: xdr_int32.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/rx/xdr_int64.c: xdr_int64.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/rx/xdr_rx.c: xdr_rx.c
- ${INSTALL} $? $@
-
install: \
${DESTDIR}${libdir}/librx.a \
${DESTDIR}${includedir}/rx/rx_packet.h \
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../rx/rx_kcommon.h"
+#include "rx/rx_kcommon.h"
int osi_NetReceive(osi_socket so, struct sockaddr_in *addr, struct iovec *dvec,
int nvecs, int *alength)
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
#if defined(AFS_SUN5_ENV) && defined(KERNEL)
-#include "../rx/rx_kcommon.h"
-#include "../rx/rx_kmutex.h"
-#include "../rx/rx_kernel.h"
+#include "rx/rx_kcommon.h"
+#include "rx_kmutex.h"
+#include "rx/rx_kernel.h"
#include <errno.h>
#include <sys/tiuser.h>
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
#ifdef AFS_SUN5_ENV
-#include "../rx/rx_kcommon.h"
+#include "rx/rx_kcommon.h"
#ifdef AFS_SUN56_ENV
-#include "../inet/common.h"
-#include "../sys/tiuser.h"
-#include "../sys/t_kuser.h"
-#include "../sys/stropts.h"
-#include "../sys/stream.h"
-#include "../sys/tihdr.h"
-#include "../sys/fcntl.h"
+#include "inet/common.h"
+#include "sys/tiuser.h"
+#include "sys/t_kuser.h"
+#include "sys/stropts.h"
+#include "sys/stream.h"
+#include "sys/tihdr.h"
+#include "sys/fcntl.h"
#ifdef AFS_SUN58_ENV
-#include "../netinet/ip6.h"
+#include "netinet/ip6.h"
#define ipif_local_addr ipif_lcl_addr
#ifndef V4_PART_OF_V6
#define V4_PART_OF_V6(v6) v6.s6_addr32[3]
#endif
#endif
-#include "../inet/ip.h"
-#include "../inet/ip_if.h"
-#include "../netinet/udp.h"
+#include "inet/ip.h"
+#include "inet/ip_if.h"
+#include "netinet/udp.h"
/*
* Function pointers for kernel socket routines
#else /* AFS_SUN56_ENV */
-#include "../inet/common.h"
-#include "../sys/tiuser.h"
-#include "../sys/t_kuser.h"
-#include "../sys/ioctl.h"
-#include "../sys/stropts.h"
-#include "../sys/stream.h"
-#include "../sys/strsubr.h"
-#include "../sys/vnode.h"
-#include "../sys/stropts.h"
-#include "../sys/tihdr.h"
-#include "../sys/timod.h"
-#include "../sys/fcntl.h"
-#include "../sys/debug.h"
-#include "../inet/common.h"
-#include "../inet/mi.h"
-#include "../netinet/udp.h"
+#include "inet/common.h"
+#include "sys/tiuser.h"
+#include "sys/t_kuser.h"
+#include "sys/ioctl.h"
+#include "sys/stropts.h"
+#include "sys/stream.h"
+#include "sys/strsubr.h"
+#include "sys/vnode.h"
+#include "sys/stropts.h"
+#include "sys/tihdr.h"
+#include "sys/timod.h"
+#include "sys/fcntl.h"
+#include "sys/debug.h"
+#include "inet/common.h"
+#include "inet/mi.h"
+#include "netinet/udp.h"
extern dev_t afs_udp_rdev;
#ifndef _RX_KCOMMON_H_
#define _RX_KCOMMON_H_
-#include "../afs/sysincludes.h"
-#include "../afs/afsincludes.h"
-#include "../afs/afsincludes.h"
-#include "../rx/rx_globals.h"
-#include "../rx/rx_kmutex.h"
-#include "../afs/lock.h"
-#include "../rx/rx.h"
-#include "../rx/rx_globals.h"
-#include "../afs/longc_procs.h"
-#include "../afs/afs_stats.h"
+#include "afs/sysincludes.h"
+#include "afsincludes.h"
+#include "afsincludes.h"
+#include "rx/rx_globals.h"
+#include "rx_kmutex.h"
+#include "afs/lock.h"
+#include "rx/rx.h"
+#include "rx/rx_globals.h"
+#include "afs/longc_procs.h"
+#include "afs/afs_stats.h"
extern struct usr_ifnet *usr_ifnet;
extern struct usr_in_ifaddr *usr_in_ifaddr;
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../rx/rx_kcommon.h"
+#include "rx/rx_kcommon.h"
#define SECONDS_TO_SLEEP 0
--- /dev/null
+rx_*.[ch]
+rx.[ch]
+xdr*.[ch]
+MKAFS_OSTYPE/*.[ch]
#include <afsconfig.h>
#ifdef KERNEL
-#include "../afs/param.h"
+#include "afs/param.h"
#else
#include <afs/param.h>
#endif
RCSID("$Header$");
#ifdef KERNEL
-#include "../afs/sysincludes.h"
-#include "../afs/afsincludes.h"
+#include "afs/sysincludes.h"
+#include "afsincludes.h"
#ifndef UKERNEL
-#include "../h/types.h"
-#include "../h/time.h"
-#include "../h/stat.h"
+#include "h/types.h"
+#include "h/time.h"
+#include "h/stat.h"
#ifdef AFS_OSF_ENV
#include <net/net_globals.h>
#endif /* AFS_OSF_ENV */
#ifdef AFS_LINUX20_ENV
-#include "../h/socket.h"
+#include "h/socket.h"
#endif
-#include "../netinet/in.h"
-#include "../afs/afs_args.h"
-#include "../afs/afs_osi.h"
+#include "netinet/in.h"
+#include "afs/afs_args.h"
+#include "afs/afs_osi.h"
#if (defined(AFS_AUX_ENV) || defined(AFS_AIX_ENV))
-#include "../h/systm.h"
+#include "h/systm.h"
#endif
#ifdef RXDEBUG
#undef RXDEBUG /* turn off debugging */
#endif /* RXDEBUG */
#if defined(AFS_SGI_ENV)
-#include "../sys/debug.h"
+#include "sys/debug.h"
#endif
-#include "../afsint/afsint.h"
+#include "afsint.h"
#ifdef AFS_ALPHA_ENV
#undef kmem_alloc
#undef kmem_free
#undef register
#endif /* AFS_ALPHA_ENV */
#else /* !UKERNEL */
-#include "../afs/sysincludes.h"
-#include "../afs/afsincludes.h"
+#include "afs/sysincludes.h"
+#include "afsincludes.h"
#endif /* !UKERNEL */
-#include "../afs/lock.h"
-#include "../rx/rx_kmutex.h"
-#include "../rx/rx_kernel.h"
-#include "../rx/rx_clock.h"
-#include "../rx/rx_queue.h"
-#include "../rx/rx.h"
-#include "../rx/rx_globals.h"
-#include "../rx/rx_trace.h"
+#include "afs/lock.h"
+#include "rx_kmutex.h"
+#include "rx_kernel.h"
+#include "rx_clock.h"
+#include "rx_queue.h"
+#include "rx.h"
+#include "rx_globals.h"
+#include "rx_trace.h"
#define AFSOP_STOP_RXCALLBACK 210 /* Stop CALLBACK process */
#define AFSOP_STOP_AFS 211 /* Stop AFS process */
#define AFSOP_STOP_BKG 212 /* Stop BKG process */
-#include "../afsint/afsint.h"
+#include "afsint.h"
extern afs_int32 afs_termState;
#ifdef AFS_AIX41_ENV
#include "sys/lockl.h"
#include "sys/lock_def.h"
#endif /* AFS_AIX41_ENV */
-# include "../afsint/rxgen_consts.h"
+# include "rxgen_consts.h"
#else /* KERNEL */
# include <sys/types.h>
# include <errno.h>
#endif
#ifdef KERNEL
-#include "../rx/rx_kmutex.h"
-#include "../rx/rx_kernel.h"
-#include "../rx/rx_clock.h"
-#include "../rx/rx_event.h"
-#include "../rx/rx_queue.h"
-#include "../rx/rx_packet.h"
-#include "../rx/rx_misc.h"
-#include "../rx/rx_multi.h"
-#include "../netinet/in.h"
-#include "../sys/socket.h"
+#include "rx_kmutex.h"
+#include "rx_kernel.h"
+#include "rx_clock.h"
+#include "rx_event.h"
+#include "rx_queue.h"
+#include "rx_packet.h"
+#include "rx_misc.h"
+#include "rx_multi.h"
+#include "netinet/in.h"
+#include "sys/socket.h"
#else /* KERNEL */
# include <sys/types.h>
# include <stdio.h>
#ifdef AFS_PTHREAD_ENV
-# include <rx/rx_pthread.h>
+# include "rx_pthread.h"
#else
# include "rx_lwp.h"
#endif
#endif /* _RX_ End of rx.h */
#ifdef KERNEL
-#include "../rx/rx_prototypes.h"
+#include "rx/rx_prototypes.h"
#else
#include "rx_prototypes.h"
#endif
/* See rx_clock.h for calling conventions */
#ifdef KERNEL
-#include "../afs/param.h"
+#include "afs/param.h"
#else
#include <afs/param.h>
#endif
#ifdef KERNEL
#ifndef UKERNEL
-#include "../rx/rx_clock.h"
-#include "../h/types.h"
-#include "../h/time.h"
+#include "rx/rx_clock.h"
+#include "h/types.h"
+#include "h/time.h"
#else /* !UKERNEL */
-#include "../afs/sysincludes.h"
-#include "../afs/afsincludes.h"
-#include "../rx/rx.h"
-#include "../rx/rx_clock.h"
+#include "afs/sysincludes.h"
+#include "afsincludes.h"
+#include "rx/rx.h"
+#include "rx/rx_clock.h"
#endif /* !UKERNEL */
#else /* KERNEL */
#include <sys/time.h>
#ifdef KERNEL
#if defined(AFS_AIX_ENV) || defined(AFS_AUX_ENV)
-#include "../h/systm.h"
-#include "../h/time.h"
+#include "h/systm.h"
+#include "h/time.h"
#endif /* System V */
#else /* KERNEL */
#ifndef AFS_NT40_ENV
#define clock_Sec() ((!clock_haveCurrentTime)? clock_UpdateTime(), clock_now.sec:clock_now.sec)
#endif /* AFS_USE_GETTIMEOFDAY || AFS_PTHREAD_ENV */
#else /* KERNEL */
-#include "../afs/afs_osi.h"
+#include "afs/afs_osi.h"
#define clock_Init()
#if defined(AFS_SGI61_ENV) || defined(AFS_HPUX_ENV) || defined(AFS_LINUX_64BIT_KERNEL)
#define clock_GetTime(cv) osi_GetTime((osi_timeval_t *)cv)
*/
#ifdef UKERNEL
-#include "../afs/param.h"
+#include "afs/param.h"
#else
#include <afs/param.h>
#endif
RCSID("$Header$");
#ifdef UKERNEL
-#include "../afs/sysincludes.h"
-#include "../afs/afsincludes.h"
-#include "../rx/rx.h"
+#include "afs/sysincludes.h"
+#include "afsincludes.h"
+#include "rx/rx.h"
#else /* ! UKERNEL */
#include <sys/types.h>
#include <errno.h>
#include <afsconfig.h>
#ifdef KERNEL
-#include "../afs/param.h"
+#include "afs/param.h"
#else
#include <afs/param.h>
#endif
#ifdef KERNEL
#ifndef UKERNEL
-#include "../afs/afs_osi.h"
+#include "afs/afs_osi.h"
#else /* !UKERNEL */
-#include "../afs/sysincludes.h"
-#include "../afs/afsincludes.h"
+#include "afs/sysincludes.h"
+#include "afsincludes.h"
#endif /* !UKERNEL */
-#include "../rx/rx_clock.h"
-#include "../rx/rx_queue.h"
-#include "../rx/rx_event.h"
-#include "../rx/rx_kernel.h"
-#include "../rx/rx_kmutex.h"
+#include "rx/rx_clock.h"
+#include "rx/rx_queue.h"
+#include "rx/rx_event.h"
+#include "rx/rx_kernel.h"
+#include "rx_kmutex.h"
#ifdef RX_ENABLE_LOCKS
-#include "../rx/rx.h"
+#include "rx/rx.h"
#endif /* RX_ENABLE_LOCKS */
-#include "../rx/rx_globals.h"
+#include "rx/rx_globals.h"
#if defined(AFS_SGI_ENV)
-#include "../sys/debug.h"
+#include "sys/debug.h"
/* These are necessary to get curproc (used by GLOCK asserts) to work. */
-#include "../h/proc.h"
+#include "h/proc.h"
#if !defined(AFS_SGI64_ENV) && !defined(UKERNEL)
-#include "../h/user.h"
+#include "h/user.h"
#endif
extern void *osi_Alloc();
#endif
#define _EVENT_
#ifdef KERNEL
-#include "../rx/rx_queue.h"
-#include "../rx/rx_clock.h"
+#include "rx/rx_queue.h"
+#include "rx/rx_clock.h"
#else /* KERNEL */
#include "rx_queue.h"
#include "rx_clock.h"
#endif
#else /* KERNEL */
#ifdef UKERNEL
-#include "../rx/rx_kcommon.h"
+#include "rx/rx_kcommon.h"
#else /* UKERNEL */
-#include "../rx/rx.h"
+#include "rx/rx.h"
#endif /* UKERNEL */
#endif /* KERNEL */
#include <afsconfig.h>
#ifdef KERNEL
-#include "../afs/param.h"
+#include "afs/param.h"
#else
#include <afs/param.h>
#endif
#ifdef KERNEL
#ifndef UKERNEL
-#include "../h/types.h"
+#include "h/types.h"
#else /* !UKERNEL */
-#include "../afs/sysincludes.h"
+#include "afs/sysincludes.h"
#endif /* UKERNEL */
#endif /* KERNEL */
/* RX: Globals for internal use, basically */
#ifdef KERNEL
-#include "../rx/rx.h"
+#include "rx/rx.h"
#else /* KERNEL */
# include "rx.h"
#endif /* KERNEL */
*/
#include <afsconfig.h>
-#include "../afs/param.h"
+#include "afs/param.h"
RCSID("$Header$");
-#include "../rx/rx_kcommon.h"
+#include "rx/rx_kcommon.h"
#ifdef AFS_HPUX110_ENV
-#include "../h/tihdr.h"
+#include "h/tihdr.h"
#include <xti.h>
#endif
-#include "../afsint/afsint.h"
+#include "afsint.h"
#ifdef AFS_DARWIN60_ENV
struct ifnet *rxi_FindIfnet(afs_uint32 addr, struct ifaddr **pifad);
* rx_kcommon.h - Common kernel RX header for all system types.
*/
+#ifdef UKERNEL
+#include <UKERNEL/rx_kcommon.h>
+#else
+
#ifndef _RX_KCOMMON_H_
#define _RX_KCOMMON_H_
typedef unsigned short etap_event_t;
#endif
#endif
-#include "../h/types.h"
-#include "../h/param.h"
+#include "h/types.h"
+#include "h/param.h"
#ifndef AFS_LINUX22_ENV
-#include "../h/systm.h"
+#include "h/systm.h"
#endif
-#include "../h/time.h"
+#include "h/time.h"
#ifdef AFS_SUN56_ENV
-#include "../h/vfs.h" /* stops SUN56 socketvar.h warnings */
-#include "../h/stropts.h" /* stops SUN56 socketvar.h warnings */
-#include "../h/stream.h" /* stops SUN56 socketvar.h errors */
-#include "../h/disp.h"
+#include "h/vfs.h" /* stops SUN56 socketvar.h warnings */
+#include "h/stropts.h" /* stops SUN56 socketvar.h warnings */
+#include "h/stream.h" /* stops SUN56 socketvar.h errors */
+#include "h/disp.h"
#endif
-#include "../h/socket.h"
+#include "h/socket.h"
#if !defined(AFS_LINUX22_ENV) && !defined(AFS_OBSD_ENV)
-#include "../h/socketvar.h"
+#include "h/socketvar.h"
#if !defined(AFS_SUN5_ENV) && !defined(AFS_XBSD_ENV)
-#include "../h/domain.h"
-#include "../h/dir.h"
-#include "../h/buf.h"
-#include "../h/mbuf.h"
+#include "h/domain.h"
+#include "h/dir.h"
+#include "h/buf.h"
+#include "h/mbuf.h"
#else /* !defined(AFS_SUN5_ENV) && !defined(AFS_XBSD_ENV) */
#if defined(AFS_FBSD_ENV)
-#include "../h/dirent.h"
-#include "../h/socket.h"
-#include "../h/domain.h"
-#include "../h/buf.h"
-#include "../h/mbuf.h"
+#include "h/dirent.h"
+#include "h/socket.h"
+#include "h/domain.h"
+#include "h/buf.h"
+#include "h/mbuf.h"
#endif /* AFS_FBSD_ENV */
#endif /* !defined(AFS_SUN5_ENV) && !defined(AFS_XBSD_ENV) */
#endif /* !defined(AFS_LINUX22_ENV) && !defined(AFS_OBSD_ENV) */
#ifdef AFS_SGI62_ENV
-#include "../h/hashing.h"
+#include "h/hashing.h"
#endif
#ifdef AFS_FBSD_ENV
-#include "../h/sysctl.h"
+#include "h/sysctl.h"
#endif
#ifdef AFS_OBSD_ENV
-#include "../h/socket.h"
-#include "../h/domain.h"
-#include "../h/buf.h"
-#include "../net/if.h"
-#include "../h/signalvar.h"
+#include "h/socket.h"
+#include "h/domain.h"
+#include "h/buf.h"
+#include "net/if.h"
+#include "h/signalvar.h"
#endif /* AFS_OBSD_ENV */
-#include "../netinet/in.h"
-#include "../net/route.h"
-#include "../netinet/in_systm.h"
-#include "../netinet/ip.h"
+#include "netinet/in.h"
+#include "net/route.h"
+#include "netinet/in_systm.h"
+#include "netinet/ip.h"
#if !defined(AFS_HPUX110_ENV) && !defined(AFS_LINUX22_ENV) && !defined(AFS_DARWIN60_ENV) && !defined(AFS_OBSD_ENV)
-#include "../netinet/in_pcb.h"
+#include "netinet/in_pcb.h"
#endif /* ! AFS_HPUX110_ENV && ! AFS_LINUX22_ENV */
#ifndef AFS_LINUX22_ENV
#if !defined(AFS_DARWIN60_ENV)
-#include "../netinet/ip_var.h"
+#include "netinet/ip_var.h"
#endif
-#include "../netinet/ip_icmp.h"
+#include "netinet/ip_icmp.h"
#endif /* AFS_LINUX22_ENV */
-#include "../netinet/udp.h"
+#include "netinet/udp.h"
#if !defined(AFS_SGI62_ENV) && !defined(AFS_LINUX22_ENV) && !defined(AFS_DARWIN60_ENV)
-#include "../netinet/udp_var.h"
+#include "netinet/udp_var.h"
#endif
#if defined(AFS_HPUX102_ENV) || (defined(AFS_SGI62_ENV) && !defined(AFS_SGI64_ENV))
-#include "../h/user.h"
+#include "h/user.h"
#endif
#ifdef AFS_LINUX22_ENV
#define _LINUX_CODA_FS_I
struct coda_inode_info {};
-#include "../h/sched.h"
-#include "../h/netdevice.h"
+#include "h/sched.h"
+#include "h/netdevice.h"
#else
#if !defined(AFS_OBSD_ENV)
-#include "../h/proc.h"
-#include "../h/file.h"
+#include "h/proc.h"
+#include "h/file.h"
#endif
#endif
-#include "../net/if.h"
+#include "net/if.h"
#if !defined(AFS_HPUX110_ENV) && !defined(AFS_LINUX22_ENV) && !defined(AFS_DARWIN60_ENV)
-#include "../netinet/in_var.h"
+#include "netinet/in_var.h"
#endif /* ! AFS_HPUX110_ENV && ! AFS_LINUX22_ENV */
#if !defined(AFS_LINUX22_ENV) && !defined(AFS_DUX40_ENV)
-#include "../rpc/types.h"
+#include "rpc/types.h"
#endif
-#include "../afs/afs_osi.h"
-#include "../rx/rx_kmutex.h"
-#include "../afs/lock.h"
-#include "../rx/xdr.h"
-#include "../rx/rx.h"
-#include "../rx/rx_globals.h"
-#include "../afs/longc_procs.h"
-#include "../afs/afs_stats.h"
-#include "../h/errno.h"
+#include "afs/afs_osi.h"
+#include "rx_kmutex.h"
+#include "afs/lock.h"
+#include "rx/xdr.h"
+#include "rx/rx.h"
+#include "rx/rx_globals.h"
+#include "afs/longc_procs.h"
+#include "afs/afs_stats.h"
+#include "h/errno.h"
#ifdef KERNEL
-#include "../afs/sysincludes.h"
-#include "../afs/afsincludes.h"
+#include "afs/sysincludes.h"
+#include "afsincludes.h"
#endif
#if defined(AFS_OBSD_ENV)
#include "../netinet/in_pcb.h"
#endif /* AFS_XBSD_ENV */
#endif /* _RX_KCOMMON_H_ */
+
+#endif
#define osi_YieldIfPossible()
#define osi_WakeupAndYieldIfPossible(x) rx_Wakeup(x)
-#include "../afs/longc_procs.h"
+#include "afs/longc_procs.h"
#endif /* __RX_KERNEL_INCL_ */
#ifdef KERNEL
#include <afs/sysincludes.h>
-#include <afs/afsincludes.h>
+#include <afsincludes.h>
#else
#ifdef AFS_NT40_ENV
#include <winsock2.h>
RCSID("$Header$");
#ifdef KERNEL
-#include "../rx/rx_kernel.h"
-#include "../rx/rx_multi.h"
+#include "rx/rx_kernel.h"
+#include "rx/rx_multi.h"
#else /* KERNEL */
# include "rx_user.h"
# include "rx_multi.h"
#define _RX_MULTI_
#ifdef KERNEL
-#include "../rx/rx.h"
+#include "rx/rx.h"
#else /* KERNEL */
# include "rx.h"
#endif /* KERNEL */
#ifdef KERNEL
#ifndef UKERNEL
-#include "../h/types.h"
+#include "h/types.h"
#else /* !UKERNEL */
#include "afs/sysincludes.h"
#endif /* !UKERNEL */
-#include "../rx/rx.h"
+#include "rx/rx.h"
#else /* KERNEL */
#include "rx.h"
#endif /* KERNEL */
#include <afsconfig.h>
#ifdef KERNEL
-#include "../afs/param.h"
+#include "afs/param.h"
#else
#include <afs/param.h>
#endif
#ifdef KERNEL
#if defined(UKERNEL)
-#include "../afs/sysincludes.h"
-#include "../afs/afsincludes.h"
-#include "../rx/rx_kcommon.h"
-#include "../rx/rx_clock.h"
-#include "../rx/rx_queue.h"
-#include "../rx/rx_packet.h"
+#include "afs/sysincludes.h"
+#include "afsincludes.h"
+#include "rx/rx_kcommon.h"
+#include "rx/rx_clock.h"
+#include "rx/rx_queue.h"
+#include "rx/rx_packet.h"
#else /* defined(UKERNEL) */
-#include "../h/types.h"
+#include "h/types.h"
#ifndef AFS_LINUX20_ENV
-#include "../h/systm.h"
+#include "h/systm.h"
#endif
#if defined(AFS_SGI_ENV) || defined(AFS_HPUX110_ENV)
-#include "../afs/sysincludes.h"
+#include "afs/sysincludes.h"
#endif
-#include "../h/socket.h"
+#include "h/socket.h"
#if !defined(AFS_SUN5_ENV) && !defined(AFS_LINUX20_ENV)
#if !defined(AFS_OSF_ENV) && !defined(AFS_AIX41_ENV)
-#include "../sys/mount.h" /* it gets pulled in by something later anyway */
+#include "sys/mount.h" /* it gets pulled in by something later anyway */
#endif
-#include "../h/mbuf.h"
+#include "h/mbuf.h"
#endif
-#include "../netinet/in.h"
-#include "../afs/afs_osi.h"
-#include "../rx/rx_kmutex.h"
-#include "../rx/rx_clock.h"
-#include "../rx/rx_queue.h"
+#include "netinet/in.h"
+#include "afs/afs_osi.h"
+#include "rx_kmutex.h"
+#include "rx/rx_clock.h"
+#include "rx/rx_queue.h"
#ifdef AFS_SUN5_ENV
#include <sys/sysmacros.h>
#endif
-#include "../rx/rx_packet.h"
+#include "rx/rx_packet.h"
#endif /* defined(UKERNEL) */
-#include "../rx/rx_globals.h"
+#include "rx/rx_globals.h"
#else /* KERNEL */
#include "sys/types.h"
#include <sys/stat.h>
#include <afsconfig.h>
#ifdef KERNEL
-#include "../afs/param.h"
+#include "afs/param.h"
#else
#include <afs/param.h>
#endif
#ifdef KERNEL
#ifndef UKERNEL
#if defined(AFS_DARWIN_ENV) || defined(AFS_XBSD_ENV)
-#include "../afs/sysincludes.h"
+#include "afs/sysincludes.h"
#else
-#include "../h/types.h"
-#include "../h/time.h"
-#include "../h/stat.h"
+#include "h/types.h"
+#include "h/time.h"
+#include "h/stat.h"
#ifdef AFS_OSF_ENV
#include <net/net_globals.h>
#endif /* AFS_OSF_ENV */
#ifdef AFS_LINUX20_ENV
-#include "../h/socket.h"
+#include "h/socket.h"
#endif
-#include "../netinet/in.h"
+#include "netinet/in.h"
#if defined(AFS_SGI_ENV)
-#include "../afs/sysincludes.h"
+#include "afs/sysincludes.h"
#endif
#endif
-#include "../afs/afs_args.h"
-#include "../afs/afs_osi.h"
+#include "afs/afs_args.h"
+#include "afs/afs_osi.h"
#if (defined(AFS_AUX_ENV) || defined(AFS_AIX_ENV))
-#include "../h/systm.h"
+#include "h/systm.h"
#endif
#else /* !UKERNEL */
-#include "../afs/sysincludes.h"
+#include "afs/sysincludes.h"
#endif /* !UKERNEL */
#ifdef RXDEBUG
#undef RXDEBUG /* turn off debugging */
#endif /* RXDEBUG */
-#include "../rx/rx_kmutex.h"
-#include "../rx/rx_kernel.h"
-#include "../rx/rx_clock.h"
-#include "../rx/rx_queue.h"
-#include "../rx/rx.h"
-#include "../rx/rx_globals.h"
-#include "../afs/lock.h"
-#include "../afsint/afsint.h"
+#include "rx_kmutex.h"
+#include "rx/rx_kernel.h"
+#include "rx/rx_clock.h"
+#include "rx/rx_queue.h"
+#include "rx/rx.h"
+#include "rx/rx_globals.h"
+#include "afs/lock.h"
+#include "afsint.h"
#ifdef AFS_ALPHA_ENV
#undef kmem_alloc
#undef kmem_free
#include <afsconfig.h>
#ifdef KERNEL
-#include "../afs/param.h"
+#include "afs/param.h"
#else
#include <afs/param.h>
#endif
RCSID("$Header$");
#ifdef KERNEL
-#include "../h/types.h"
-#include "../h/uio.h"
-#include "../rx/rx_stream.h"
+#include "h/types.h"
+#include "h/uio.h"
+#include "rx/rx_stream.h"
#else /* KERNEL */
#include "rx_stream.h"
#endif /* KERNEL */
#define _RX_STREAM_
#ifdef KERNEL
-#include "../rx/rx.h"
+#include "rx/rx.h"
#else /* KERNEL */
#include <sys/types.h>
#include <sys/uio.h>
#endif
#include <sys/stat.h>
#include <signal.h>
-#include "../rx_clock.h"
-#include "../rx.h"
-#include "../rx_globals.h"
-#include "../rx_null.h"
+#include "rx_clock.h"
+#include "rx.h"
+#include "rx_globals.h"
+#include "rx_null.h"
#include <errno.h>
#include <afs/afsutil.h>
#endif
#include <signal.h>
#include <sys/stat.h>
-#include "../rx_clock.h"
-#include "../rx.h"
-#include "../rx_globals.h"
-#include "../rx_null.h"
+#include "rx_clock.h"
+#include "rx.h"
+#include "rx_globals.h"
+#include "rx_null.h"
int error; /* Return this error number on a call */
int print = 0, eventlog = 0, rxlog = 0;
#include <afsconfig.h>
#ifdef KERNEL
-#include "../afs/param.h"
+#include "afs/param.h"
#else
#include <afs/param.h>
#endif
#if defined(KERNEL) && !defined(UKERNEL)
#ifdef AFS_LINUX20_ENV
-#include "../h/string.h"
+#include "h/string.h"
#if 0
#define bzero(A, C) memset((A), 0, (C))
#endif
#ifdef KERNEL
#include <sys/param.h>
#ifdef AFS_LINUX20_ENV
-#include "../h/string.h"
+#include "h/string.h"
#if 0
#define bzero(A,C) memset((A), 0, (C))
#endif
#if defined(KERNEL) && !defined(UKERNEL)
#include <sys/param.h>
#ifdef AFS_LINUX20_ENV
-#include "../h/string.h"
+#include "h/string.h"
#if 0
#define bzero(A,C) memset((A), 0, (C))
#endif
#include <afsconfig.h>
#ifdef KERNEL
-#include "../afs/param.h"
+#include "afs/param.h"
#else
#include <afs/param.h>
#endif
#if defined(KERNEL) && !defined(UKERNEL)
#ifdef AFS_LINUX20_ENV
-#include "../h/string.h"
+#include "h/string.h"
#else
#include <sys/param.h>
#include <sys/systm.h>
/* I don't like this, but some of these defs depend on rx.h */
#if defined(KERNEL) && defined(UKERNEL)
-#include "../afs/sysincludes.h"
-#include "../rx/rx.h"
+#include "afs/sysincludes.h"
+#include "rx/rx.h"
#else
#include "rx/rx.h"
#endif
*/
#ifdef KERNEL
-#include "../afs/param.h"
+#include "afs/param.h"
#else
#include <afs/param.h>
#endif
#ifdef KERNEL
#ifndef UKERNEL
-#include "../h/types.h"
-#include "../h/uio.h"
+#include "h/types.h"
+#include "h/uio.h"
#ifdef AFS_OSF_ENV
#include <net/net_globals.h>
#endif /* AFS_OSF_ENV */
#ifdef AFS_LINUX20_ENV
-#include "../h/socket.h"
+#include "h/socket.h"
#else
-#include "../rpc/types.h"
+#include "rpc/types.h"
#endif
#ifdef AFS_ALPHA_ENV
#undef kmem_alloc
#define u_quad_t __u_quad_t
#endif
#endif
-#include "../rx/xdr.h"
-#include "../netinet/in.h"
+#include "rx/xdr.h"
+#include "netinet/in.h"
#else /* !UKERNEL */
-#include "../afs/sysincludes.h"
-#include "../rpc/types.h"
-#include "../rpc/xdr.h"
+#include "afs/sysincludes.h"
+#include "rpc/types.h"
+#include "rpc/xdr.h"
#endif /* !UKERNEL */
-#include "../rx/rx.h"
+#include "rx/rx.h"
-#include "../afs/longc_procs.h"
+#include "afs/longc_procs.h"
#else /* KERNEL */
#include <sys/types.h>
GOAL=rxgen
CFLAGS=-I. -I${TOP_INCDIR} -I${TOP_OBJDIR}/src/config ${XCFLAGS}
-all: ukinstall rxgen ${TOP_INCDIR}/afs/rxgen_consts.h
+all: rxgen ${TOP_INCDIR}/afs/rxgen_consts.h
rxgen: $(OBJS) AFS_component_version_number.c
$(CC) $(CFLAGS) $(OBJS) $(XLIBS) -o $@
#
install: ${DESTDIR}${bindir}/rxgen ${DESTDIR}${includedir}/afs/rxgen_consts.h
-ukinstall: \
- ${UKERNELDIR}/afs \
- ${UKERNELDIR}/afs/rxgen_consts.h
-
-${UKERNELDIR}/afs:
- mkdir -p ${UKERNELDIR}/afs
-
-${UKERNELDIR}/afs/rxgen_consts.h: rxgen_consts.h
- ${INSTALL} $? $@
-
${DEST}/bin/rxgen: rxgen
${INSTALL} $? $@
f_print(fout, "/* Machine generated file -- Do NOT edit */\n\n");
if (xflag) {
if (kflag) {
- f_print(fout, "#include \"../afs/param.h\"\n");
+ f_print(fout, "#include \"afs/param.h\"\n");
} else {
f_print(fout, "#include <afs/param.h>\n");
}
}
if (currfile && (include = extendfile(currfile,".h"))) {
if (kflag) {
- f_print(fout, "#include \"../afsint/%s\"\n\n",include);
+ f_print(fout, "#include \"%s\"\n\n",include);
} else
f_print(fout, "#include \"%s\"\n\n", include);
free(include);
} else {
/* In case we can't include the interface's own header file... */
if (kflag) {
- f_print(fout, "#include \"../h/types.h\"\n");
- f_print(fout, "#include \"../h/socket.h\"\n");
- f_print(fout, "#include \"../h/file.h\"\n");
- f_print(fout, "#include \"../h/stat.h\"\n");
- f_print(fout, "#include \"../netinet/in.h\"\n");
- f_print(fout, "#include \"../h/time.h\"\n");
- f_print(fout, "#include \"../rx/xdr.h\"\n");
- f_print(fout, "#include \"../afsint/rxgen_consts.h\"\n");
+ f_print(fout, "#include \"h/types.h\"\n");
+ f_print(fout, "#include \"h/socket.h\"\n");
+ f_print(fout, "#include \"h/file.h\"\n");
+ f_print(fout, "#include \"h/stat.h\"\n");
+ f_print(fout, "#include \"netinet/in.h\"\n");
+ f_print(fout, "#include \"h/time.h\"\n");
+ f_print(fout, "#include \"rx/xdr.h\"\n");
+ f_print(fout, "#include \"rxgen_consts.h\"\n");
} else {
f_print(fout, "#include <rx/xdr.h>\n");
}
f_print(fout, "#ifdef KERNEL\n");
f_print(fout, "/* The following 'ifndefs' are not a good solution to the vendor's omission of surrounding all system includes with 'ifndef's since it requires that this file is included after the system includes...*/\n");
f_print(fout, "#include <afsconfig.h>\n");
- f_print(fout, "#include \"../afs/param.h\"\n");
+ f_print(fout, "#include \"afs/param.h\"\n");
f_print(fout, "#ifdef UKERNEL\n");
- f_print(fout, "#include \"../afs/sysincludes.h\"\n");
- f_print(fout, "#include \"../rx/xdr.h\"\n");
- f_print(fout, "#include \"../rx/rx.h\"\n");
+ f_print(fout, "#include \"afs/sysincludes.h\"\n");
+ f_print(fout, "#include \"rx/xdr.h\"\n");
+ f_print(fout, "#include \"rx/rx.h\"\n");
if (xflag) {
- f_print(fout, "#include \"../rx/rx_globals.h\"\n");
+ f_print(fout, "#include \"rx/rx_globals.h\"\n");
}
f_print(fout, "#else /* UKERNEL */\n");
- f_print(fout, "#include \"../h/types.h\"\n");
+ f_print(fout, "#include \"h/types.h\"\n");
f_print(fout, "#ifndef SOCK_DGRAM /* XXXXX */\n");
- f_print(fout, "#include \"../h/socket.h\"\n");
+ f_print(fout, "#include \"h/socket.h\"\n");
f_print(fout, "#endif\n");
f_print(fout, "#ifndef DTYPE_SOCKET /* XXXXX */\n");
f_print(fout, "#ifdef AFS_DEC_ENV\n");
- f_print(fout, "#include \"../h/smp_lock.h\"\n");
+ f_print(fout, "#include \"h/smp_lock.h\"\n");
f_print(fout, "#endif\n");
f_print(fout, "#ifndef AFS_LINUX22_ENV\n");
- f_print(fout, "#include \"../h/file.h\"\n");
+ f_print(fout, "#include \"h/file.h\"\n");
f_print(fout, "#endif\n");
f_print(fout, "#endif\n");
f_print(fout, "#ifndef S_IFMT /* XXXXX */\n");
- f_print(fout, "#include \"../h/stat.h\"\n");
+ f_print(fout, "#include \"h/stat.h\"\n");
f_print(fout, "#endif\n");
f_print(fout, "#ifndef IPPROTO_UDP /* XXXXX */\n");
- f_print(fout, "#include \"../netinet/in.h\"\n");
+ f_print(fout, "#include \"netinet/in.h\"\n");
f_print(fout, "#endif\n");
f_print(fout, "#ifndef DST_USA /* XXXXX */\n");
- f_print(fout, "#include \"../h/time.h\"\n");
+ f_print(fout, "#include \"h/time.h\"\n");
f_print(fout, "#endif\n");
f_print(fout, "#ifndef AFS_LINUX22_ENV\n");
- f_print(fout, "#include \"../rpc/types.h\"\n");
+ f_print(fout, "#include \"rpc/types.h\"\n");
f_print(fout, "#endif /* AFS_LINUX22_ENV */\n");
f_print(fout, "#ifndef XDR_GETLONG /* XXXXX */\n");
f_print(fout, "#ifdef AFS_LINUX22_ENV\n");
f_print(fout, "#define u_quad_t __u_quad_t\n");
f_print(fout, "#endif\n");
f_print(fout, "#endif\n");
- f_print(fout, "#include \"../rx/xdr.h\"\n");
+ f_print(fout, "#include \"rx/xdr.h\"\n");
f_print(fout, "#endif /* XDR_GETLONG */\n");
f_print(fout, "#endif /* UKERNEL */\n");
- f_print(fout, "#include \"../afsint/rxgen_consts.h\"\n");
- f_print(fout, "#include \"../afs/afs_osi.h\"\n");
- f_print(fout, "#include \"../rx/rx.h\"\n");
+ f_print(fout, "#include \"rxgen_consts.h\"\n");
+ f_print(fout, "#include \"afs_osi.h\"\n");
+ f_print(fout, "#include \"rx/rx.h\"\n");
if (xflag) {
- f_print(fout, "#include \"../rx/rx_globals.h\"\n");
+ f_print(fout, "#include \"rx/rx_globals.h\"\n");
}
f_print(fout, "#else /* KERNEL */\n");
f_print(fout, "#include <afs/param.h>\n");
f_print(fout, "/* Machine generated file -- Do NOT edit */\n\n");
if (currfile && (include = extendfile(currfile,".h"))) {
if (kflag) {
- f_print(fout, "#include \"../afsint/%s\"\n\n",include);
+ f_print(fout, "#include \"%s\"\n\n",include);
} else {
f_print(fout,"#include \"%s\"\n\n",include);
}
free(include);
} else {
if (kflag) {
- f_print(fout, "#include \"../h/types.h\"\n");
- f_print(fout, "#include \"../h/socket.h\"\n");
- f_print(fout, "#include \"../h/file.h\"\n");
- f_print(fout, "#include \"../h/stat.h\"\n");
- f_print(fout, "#include \"../netinet/in.h\"\n");
- f_print(fout, "#include \"../h/time.h\"\n");
- f_print(fout, "#include \"../rpc/types.h\"\n");
- f_print(fout, "#include \"../rx/xdr.h\"\n");
- f_print(fout, "#include \"../afsint/rxgen_consts.h\"\n");
- f_print(fout, "#include \"../afs/afs_osi.h\"\n");
- f_print(fout, "#include \"../rx/rx.h\"\n");
+ f_print(fout, "#include \"h/types.h\"\n");
+ f_print(fout, "#include \"h/socket.h\"\n");
+ f_print(fout, "#include \"h/file.h\"\n");
+ f_print(fout, "#include \"h/stat.h\"\n");
+ f_print(fout, "#include \"netinet/in.h\"\n");
+ f_print(fout, "#include \"h/time.h\"\n");
+ f_print(fout, "#include \"rpc/types.h\"\n");
+ f_print(fout, "#include \"rx/xdr.h\"\n");
+ f_print(fout, "#include \"rxgen_consts.h\"\n");
+ f_print(fout, "#include \"afs/afs_osi.h\"\n");
+ f_print(fout, "#include \"rx/rx.h\"\n");
if (xflag) {
- f_print(fout, "#include \"../rx/rx_globals.h\"\n");
+ f_print(fout, "#include \"rx/rx_globals.h\"\n");
}
} else {
f_print(fout, "#include <sys/types.h>\n");
f_print(fout, "/* Machine generated file -- Do NOT edit */\n\n");
if (currfile && (include = extendfile(currfile,".h"))) {
if (kflag) {
- f_print(fout, "#include \"../afsint/%s\"\n",include);
+ f_print(fout, "#include \"%s\"\n",include);
} else {
f_print(fout,"#include \"%s\"\n\n",include);
}
free(include);
} else {
if (kflag) {
- f_print(fout, "#include \"../h/types.h\"\n");
- f_print(fout, "#include \"../h/socket.h\"\n");
- f_print(fout, "#include \"../h/file.h\"\n");
- f_print(fout, "#include \"../h/stat.h\"\n");
- f_print(fout, "#include \"../netinet/in.h\"\n");
- f_print(fout, "#include \"../h/time.h\"\n");
- f_print(fout, "#include \"../rpc/types.h\"\n");
- f_print(fout, "#include \"../rx/xdr.h\"\n");
- f_print(fout, "#include \"../afsint/rxgen_consts.h\"\n");
- f_print(fout, "#include \"../afs/afs_osi.h\"\n");
- f_print(fout, "#include \"../rx/rx.h\"\n");
+ f_print(fout, "#include \"h/types.h\"\n");
+ f_print(fout, "#include \"h/socket.h\"\n");
+ f_print(fout, "#include \"h/file.h\"\n");
+ f_print(fout, "#include \"h/stat.h\"\n");
+ f_print(fout, "#include \"netinet/in.h\"\n");
+ f_print(fout, "#include \"h/time.h\"\n");
+ f_print(fout, "#include \"rpc/types.h\"\n");
+ f_print(fout, "#include \"rx/xdr.h\"\n");
+ f_print(fout, "#include \"rxgen_consts.h\"\n");
+ f_print(fout, "#include \"afs/afs_osi.h\"\n");
+ f_print(fout, "#include \"rx/rx.h\"\n");
if (xflag) {
- f_print(fout, "#include \"../rx/rx_globals.h\"\n");
+ f_print(fout, "#include \"rx/rx_globals.h\"\n");
}
} else {
f_print(fout, "#include <sys/types.h>\n");
${TOP_LIBDIR}/liblwp.a \
${TOP_LIBDIR}/libsys.a
-all: kinstall ukinstall ${TOP_LIBDIR}/librxkad.a fc_test \
- ${TOP_INCDIR}/rx/rxkad.h ${TOP_INCDIR}/rx/rxkad_prototypes.h \
+all: ${TOP_LIBDIR}/librxkad.a fc_test depinstall
+
+depinstall: \
+ ${TOP_INCDIR}/rx/rxkad.h \
+ ${TOP_INCDIR}/rx/rxkad_prototypes.h \
${TOP_INCDIR}/rx/fcrypt.h
#
# Install targets
#
-kinstall: \
- ${KERNELDIR}/afs/private_data.h \
- ${KERNELDIR}/afs/rxkad.h \
- ${KERNELDIR}/afs/rxkad_prototypes.h \
- ${KERNELDIR}/afs/sboxes.h \
- ${KERNELDIR}/afs/fcrypt.h \
- ${KERNELDIR}/afs/fcrypt.c \
- ${KERNELDIR}/afs/crypt_conn.c \
- ${KERNELDIR}/afs/rxkad_client.c \
- ${KERNELDIR}/afs/rxkad_common.c
-
-${KERNELDIR}/afs/private_data.h: private_data.h
- ${INSTALL} $? $@
-
-${KERNELDIR}/afs/rxkad.h: rxkad.h
- ${INSTALL} $? $@
-
-${KERNELDIR}/afs/rxkad_prototypes.h: rxkad_prototypes.h
- ${INSTALL} $? $@
-
-${KERNELDIR}/afs/sboxes.h: sboxes.h
- ${INSTALL} $? $@
-
-${KERNELDIR}/afs/fcrypt.h: fcrypt.h
- ${INSTALL} $? $@
-
-${KERNELDIR}/afs/fcrypt.c: fcrypt.c
- ${INSTALL} $? $@
-
-${KERNELDIR}/afs/crypt_conn.c: crypt_conn.c
- ${INSTALL} $? $@
-
-${KERNELDIR}/afs/rxkad_client.c: rxkad_client.c
- ${INSTALL} $? $@
-
-${KERNELDIR}/afs/rxkad_common.c: rxkad_common.c
- ${INSTALL} $? $@
-
-ukinstall: \
- ${UKERNELDIR}/afs \
- ${UKERNELDIR}/rx \
- ${UKERNELDIR}/afs/private_data.h \
- ${UKERNELDIR}/afs/rxkad.h \
- ${UKERNELDIR}/afs/rxkad_prototypes.h \
- ${UKERNELDIR}/afs/fcrypt.h \
- ${UKERNELDIR}/rx/rxkad.h \
- ${UKERNELDIR}/rx/rxkad_prototypes.h \
- ${UKERNELDIR}/rx/fcrypt.h \
- ${UKERNELDIR}/afs/sboxes.h \
- ${UKERNELDIR}/afs/fcrypt.c \
- ${UKERNELDIR}/afs/crypt_conn.c \
- ${UKERNELDIR}/afs/rxkad_client.c \
- ${UKERNELDIR}/afs/rxkad_common.c \
- ${UKERNELDIR}/afs/ticket.c \
- ${UKERNELDIR}/afs/rxkad_server.c \
- ${UKERNELDIR}/afs/lifetimes.h \
- ${UKERNELDIR}/afs/rxkad_errs.c
-
-
-${UKERNELDIR}/afs:
- mkdir -p $?
-
-${UKERNELDIR}/rx:
- mkdir -p $?
-
-${UKERNELDIR}/afs/private_data.h: private_data.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afs/rxkad.h: rxkad.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afs/rxkad_prototypes.h: rxkad_prototypes.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afs/fcrypt.h: fcrypt.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/rx/rxkad_prototypes.h: rxkad_prototypes.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afs/lifetimes.h: lifetimes.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afs/ticket.c: ticket.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afs/sboxes.h: sboxes.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afs/fcrypt.c: fcrypt.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afs/crypt_conn.c: crypt_conn.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afs/rxkad_client.c: rxkad_client.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afs/rxkad_errs.c: rxkad_errs.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afs/rxkad_server.c: rxkad_server.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afs/rxkad_common.c: rxkad_common.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/rx/rxkad.h: rxkad.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/rx/fcrypt.h: fcrypt.h
- ${INSTALL} $? $@
-
install: \
${DESTDIR}${libdir}/librxkad.a \
${DESTDIR}${includedir}/rx/fcrypt.h \
#include <afsconfig.h>
#ifdef KERNEL
-#include "../afs/param.h"
+#include "afs/param.h"
#else
#include <afs/param.h>
#endif
RCSID("$Header$");
#ifdef KERNEL
-#include "../afs/stds.h"
+#include "afs/stds.h"
#ifndef UKERNEL
-#include "../h/types.h"
-#include "../rx/rx.h"
-#include "../netinet/in.h"
+#include "h/types.h"
+#include "rx/rx.h"
+#include "netinet/in.h"
#else /* !UKERNEL */
-#include "../afs/sysincludes.h"
-#include "../rx/rx.h"
+#include "afs/sysincludes.h"
+#include "rx/rx.h"
#endif /* !UKERNEL */
#else /* !KERNEL */
#include <afs/stds.h>
#include <afsconfig.h>
#ifdef KERNEL
-#include "../afs/param.h"
+#include "afs/param.h"
#else
#include <afs/param.h>
#endif
#define DEBUG 0
#ifdef KERNEL
#ifndef UKERNEL
-#include "../afs/stds.h"
-#include "../h/types.h"
+#include "afs/stds.h"
+#include "h/types.h"
#ifndef AFS_LINUX20_ENV
-#include "../netinet/in.h"
+#include "netinet/in.h"
#endif
#else /* UKERNEL */
-#include "../afs/sysincludes.h"
-#include "../afs/stds.h"
+#include "afs/sysincludes.h"
+#include "afs/stds.h"
#endif /* UKERNEL */
#ifdef AFS_LINUX22_ENV
#include <asm/byteorder.h>
#endif
-#include "../afs/longc_procs.h"
+#include "afs/longc_procs.h"
#else /* KERNEL */
--- /dev/null
+rxkad.h
+rxkad_prototypes.h
+rxkad_client.[ch]
+rxkad_common.c
+private_data.h
+domestic/*.[ch]
extern int rxkad_EpochWasSet; /* TRUE => we called rx_SetEpoch */
-#ifdef KERNEL
-#include "../afs/rxkad_prototypes.h"
-#else
#include "rxkad_prototypes.h"
-#endif
#endif /* TRANSARC_RXKAD_RXKAD_H */
#include <afsconfig.h>
#ifdef KERNEL
-#include "../afs/param.h"
+#include "afs/param.h"
#else
#include <afs/param.h>
#endif
RCSID("$Header$");
#ifdef KERNEL
-#include "../afs/stds.h"
+#include "afs/stds.h"
#ifndef UKERNEL
-#include "../h/types.h"
-#include "../h/time.h"
+#include "h/types.h"
+#include "h/time.h"
#ifdef AFS_LINUX20_ENV
-#include "../h/socket.h"
+#include "h/socket.h"
#endif
-#include "../netinet/in.h"
+#include "netinet/in.h"
#else /* !UKERNEL */
-#include "../afs/sysincludes.h"
+#include "afs/sysincludes.h"
#endif /* !UKERNEL */
#ifndef AFS_LINUX22_ENV
-#include "../rpc/types.h"
-#include "../rx/xdr.h"
+#include "rpc/types.h"
+#include "rx/xdr.h"
#endif
-#include "../rx/rx.h"
+#include "rx/rx.h"
#else /* ! KERNEL */
#include <afs/stds.h>
#include <sys/types.h>
#include <rx/rx.h>
#include <rx/xdr.h>
#ifdef AFS_PTHREAD_ENV
-#include "../rxkad/rxkad.h"
+#include "rxkad/rxkad.h"
#endif /* AFS_PTHREAD_ENV */
#endif /* KERNEL */
#include <afsconfig.h>
#ifdef KERNEL
-#include "../afs/param.h"
+#include "afs/param.h"
#else
#include <afs/param.h>
#endif
#ifdef KERNEL
#ifndef UKERNEL
-#include "../afs/stds.h"
-#include "../afs/afs_osi.h"
+#include "afs/stds.h"
+#include "afs/afs_osi.h"
#ifdef AFS_AIX_ENV
-#include "../h/systm.h"
+#include "h/systm.h"
#endif
#ifdef AFS_DARWIN60_ENV
-#include "../h/kernel.h"
+#include "h/kernel.h"
#endif
-#include "../h/types.h"
-#include "../h/time.h"
+#include "h/types.h"
+#include "h/time.h"
#ifndef AFS_LINUX22_ENV
-#include "../rpc/types.h"
-#include "../rx/xdr.h"
+#include "rpc/types.h"
+#include "rx/xdr.h"
#endif /* AFS_LINUX22_ENV */
#else /* !UKERNEL */
-#include "../afs/sysincludes.h"
-#include "../afs/afsincludes.h"
+#include "afs/sysincludes.h"
+#include "afsincludes.h"
#endif /* !UKERNEL */
-#include "../rx/rx.h"
+#include "rx/rx.h"
#else /* KERNEL */
#include <afs/stds.h>
#define _RXKAD_PROTOTYPES_H
/* till the typedefs are moved elsewhere */
-#ifdef KERNEL
-#include "../afs/fcrypt.h"
-#else
#include "rx/fcrypt.h"
-#endif
-#include "../rx/rx.h"
+#include "rx/rx.h"
/* domestic/crypt_conn.c */
extern afs_int32 rxkad_DecryptPacket (const struct rx_connection *conn,
#include <afsconfig.h>
#if defined(UKERNEL)
-#include "../afs/param.h"
+#include "afs/param.h"
#else
#include <afs/param.h>
#endif
RCSID("$Header$");
#if defined(UKERNEL)
-#include "../afs/sysincludes.h"
-#include "../afs/afsincludes.h"
-#include "../afs/stds.h"
-#include "../rx/xdr.h"
-#include "../rx/rx.h"
-#include "../des/des.h"
-#include "../afs/lifetimes.h"
-#include "../afs/rxkad.h"
+#include "afs/sysincludes.h"
+#include "afsincludes.h"
+#include "afs/stds.h"
+#include "rx/xdr.h"
+#include "rx/rx.h"
+#include "des/des.h"
+#include "rxkad/lifetimes.h"
+#include "rx/rxkad.h"
#else /* defined(UKERNEL) */
#include <afs/stds.h>
#include <sys/types.h>
srcdir=@srcdir@
include @TOP_OBJDIR@/src/config/Makefile.config
-KSRCS=rxstat.c rxstat.h Krxstat.ss.c Krxstat.xdr.c
-
-CFLAGS=-I. -I${srcdir} -I${TOP_OBJDIR}/src/config -I${TOP_INCDIR} ${XCFLAGS}
+CFLAGS=-I. -I${srcdir} -I${TOP_OBJDIR}/src/config -I${TOP_OBJDIR}/src -I${TOP_INCDIR} ${XCFLAGS}
LIBOBJS = rxstat.cs.o rxstat.ss.o rxstat.xdr.o rxstat.o
-all: kinstall ukinstall ${TOP_INCDIR}/rx/rxstat.h ${TOP_LIBDIR}/librxstat.a
+all: depinstall ${TOP_LIBDIR}/librxstat.a
+
+depinstall: \
+ ${TOP_INCDIR}/rx/rxstat.h Krxstat.cs.c Krxstat.ss.c Krxstat.xdr.c
#
# Build targets
${DEST}/include/rx/rxstat.h: rxstat.h
${INSTALL} $? $@
-kinstall: ${KERNELDIR}/afsint \
- ${KERNELDIR}/afsint/rxstat.c \
- ${KERNELDIR}/afsint/rxstat.h \
- ${KERNELDIR}/afsint/Krxstat.ss.c \
- ${KERNELDIR}/afsint/Krxstat.xdr.c
-
-${KERNELDIR}/afsint:
- mkdir -p $?
-
-${KERNELDIR}/afsint/rxstat.c: rxstat.c
- ${INSTALL} $? $@
-
-${KERNELDIR}/afsint/rxstat.h: rxstat.h
- ${INSTALL} $? $@
-
-${KERNELDIR}/afsint/Krxstat.ss.c: Krxstat.ss.c
- ${INSTALL} $? $@
-
-${KERNELDIR}/afsint/Krxstat.xdr.c: Krxstat.xdr.c
- ${INSTALL} $? $@
-
-ukinstall: ${UKERNELDIR}/afsint \
- ${UKERNELDIR}/afsint/rxstat.c \
- ${UKERNELDIR}/afsint/rxstat.h \
- ${UKERNELDIR}/afsint/Krxstat.ss.c \
- ${UKERNELDIR}/afsint/Krxstat.xdr.c
-
-${UKERNELDIR}/afsint:
- mkdir -p $?
-
-${UKERNELDIR}/afsint/rxstat.c: rxstat.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afsint/rxstat.h: rxstat.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afsint/Krxstat.ss.c: Krxstat.ss.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afsint/Krxstat.xdr.c: Krxstat.xdr.c
- ${INSTALL} $? $@
-
#
# Misc. targets
#
*/
#ifdef UKERNEL
-#include "../afs/param.h"
+#include "afs/param.h"
#else
#include <afs/param.h>
#endif
RCSID("$Header$");
#ifdef UKERNEL
-#include "../afs/sysincludes.h"
-#include "../afs/afsincludes.h"
-#include "rxstat.h"
+#include "afs/sysincludes.h"
+#include "afsincludes.h"
+#include "rxstat/rxstat.h"
#else /* UKERNEL */
#include <afs/stds.h>
#include <rx/rx.h>
-#include "rxstat.h"
+#include "rxstat/rxstat.h"
#ifdef KERNEL
-#include "../sys/errno.h"
+#include "sys/errno.h"
#else /* KERNEL */
#include <errno.h>
#endif /* KERNEL */
${TOP_INCDIR}/afs/afs.exp \
${TOP_INCDIR}/afs/xfsattrs.h \
${TOP_LIBDIR}/afs.exp \
- ${TOP_LIBDIR}/libsys.a \
- ${KERNELDIR}/afs \
- ${KERNELDIR}/afs/xfsattrs.h \
- ${UKERNELDIR}/afs \
- ${UKERNELDIR}/afs/afsl.exp
+ ${TOP_LIBDIR}/libsys.a
libsys.a: ${OBJECTS} ${RMTOBJS} AFS_component_version_number.o
-$(RM) -f $@
${TOP_LIBDIR}/libsys.a: libsys.a
${INSTALL} $? $@
-${UKERNELDIR}/afs:
- mkdir -p $@
-
-${UKERNELDIR}/afs/afsl.exp: afsl.exp
- ${INSTALL} $? $@
-
-${KERNELDIR}/afs:
- mkdir -p $@
-
-${KERNELDIR}/afs/xfsattrs.h: xfsattrs.h
- ${INSTALL} $? $@
-
install: \
${DESTDIR}${libdir}/afs/libsys.a \
${DESTDIR}${sbindir}/rmtsysd \
BUTMINCLUDE =-I${TOP_INCDIR}
CC = ${MT_CC}
-CFLAGS=-I. -I${srcdir} ${DBG} -w -I${TOP_OBJDIR}/src/config ${MT_CFLAGS} @XBSA_CFLAGS@ ${BUTMINCLUDE} \
+CFLAGS=-I. -I${srcdir} -I${TOP_SRCDIR}/volser ${DBG} -w -I${TOP_OBJDIR}/src/config ${MT_CFLAGS} @XBSA_CFLAGS@ ${BUTMINCLUDE} \
-I../bucoord -I../volser
LDFLAGS = ${DBG} ${XLDFLAGS}
#include <afs/param.h>
-#include <afs/afscbint.h> /*Callback interface defs*/
+#include <fsint/afscbint.h> /*Callback interface defs*/
int afs_cb_inited = 0;
struct interfaceAddr afs_cb_interface;
static int init_afs_cb() {
${TOP_LIBDIR}/libcom_err.a ${TOP_LIBDIR}/libcmd.a \
${TOP_LIBDIR}/util.a ${TOP_LIBDIR}/libsys.a ${XLIBS}
-all: ukinstall ${TOP_LIBDIR}/libubik.a ${TOP_INCDIR}/ubik.h ${TOP_INCDIR}/ubik_int.h udebug utst_server utst_client
+all: depinstall ${TOP_LIBDIR}/libubik.a udebug utst_server utst_client
+
+depinstall: \
+ ubik_int.cs.c ubik_int.xdr.c \
+ ${TOP_INCDIR}/ubik.h \
+ ${TOP_INCDIR}/ubik_int.h
utst_server: utst_server.o utst_int.ss.o utst_int.xdr.o libubik.a
${CC} ${CFLAGS} -o utst_server utst_server.o utst_int.ss.o utst_int.xdr.o libubik.a $(LIBS)
${DEST}/include/ubik_int.h: ubik_int.h
${INSTALL} $? $@
-ukinstall: ${UKERNELDIR}/afs ${UKERNELDIR}/afsint \
- ${UKERNELDIR}/afsint/ubik_int.h \
- ${UKERNELDIR}/afsint/ubik_int.cs.c \
- ${UKERNELDIR}/afsint/ubik_int.xdr.c \
- ${UKERNELDIR}/afs/ubik.h \
- ${UKERNELDIR}/afs/ubikclient.c \
- ${UKERNELDIR}/afs/uerrors.c
-
-${UKERNELDIR}/afs:
- mkdir -p $@
-
-${UKERNELDIR}/afsint:
- mkdir -p $@
-
-${UKERNELDIR}/afsint/ubik_int.h: Kubik_int.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afsint/ubik_int.cs.c: Kubik_int.cs.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afsint/ubik_int.xdr.c: Kubik_int.xdr.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afs/ubik.h: ubik.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afs/ubikclient.c: ubikclient.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afs/uerrors.c: uerrors.c
- ${INSTALL} $? $@
-
#
# Misc. targets
#
#endif
#if defined(UKERNEL)
-#include "../afsint/ubik_int.h"
+#include "ubik_int.h"
#else /* defined(UKERNEL) */
#include <ubik_int.h>
#endif /* defined(UKERNEL) */
};
#if defined(UKERNEL)
-#include "../afs/lock.h"
+#include "afs/lock.h"
#else /* defined(UKERNEL) */
#include <lock.h> /* just to make sure we've go this */
#endif /* defined(UKERNEL) */
#include <afsconfig.h>
#if defined(UKERNEL)
-#include "../afs/param.h"
+#include "afs/param.h"
#else
#include <afs/param.h>
#endif
RCSID("$Header$");
#if defined(UKERNEL)
-#include "../afs/sysincludes.h"
-#include "../afs/afsincludes.h"
-#include "../afs/stds.h"
-#include "../rx/xdr.h"
-#include "../rx/rx.h"
-#include "../afs/lock.h"
-#include "../afs/rxgen_consts.h"
-#include "../afs/ubik.h"
-#include "../afs/pthread_glock.h"
+#include "afs/sysincludes.h"
+#include "afsincludes.h"
+#include "afs/stds.h"
+#include "rx/xdr.h"
+#include "rx/rx.h"
+#include "afs/lock.h"
+#include "afs/rxgen_consts.h"
+#include "ubik.h"
+#include "afs/pthread_glock.h"
#else /* defined(UKERNEL) */
#include <afs/stds.h>
#include <afs/pthread_glock.h>
#######################################################################
test tests: usd_test
-
-kinstall:
- @echo No kernel source here.
-
-
-
-
dirpath.o fileutil.o netutils.o flipbase64.o \
afs_atomlist.o afs_lhash.o snprintf.o ${REGEX_OBJ}
-all: ukinstall kinstall \
+all: includes \
+ ${TOP_LIBDIR}/util.a \
+ ${TOP_LIBDIR}/libafsutil.a \
+ sys
+
+includes: \
${TOP_INCDIR}/afs/dirpath.h \
${TOP_INCDIR}/afs/pthread_nosigs.h \
${TOP_INCDIR}/afs/assert.h \
${TOP_INCDIR}/afs/pthread_glock.h \
${TOP_INCDIR}/afs/afs_atomlist.h \
${TOP_INCDIR}/afs/afs_lhash.h \
- ${TOP_INCDIR}/potpourri.h \
- ${TOP_LIBDIR}/util.a \
- ${TOP_LIBDIR}/libafsutil.a \
- sys
+ ${TOP_INCDIR}/potpourri.h
+
+depinstall: includes
dirpath.h: ${srcdir}/dirpath.hin Makefile
( sed \
${DEST}/bin/sys: sys
${INSTALL} $? $@
-
-kinstall: ${KDIR}/vice.h \
- ${KDIR}/afs_base64.c \
- ${KDIR}/afs_uuid.c \
- ${KDIR}/afs_atomlist.c \
- ${KDIR}/afs_atomlist.h \
- ${KDIR}/afs_lhash.c \
- ${KDIR}/afs_lhash.h
-
-${KDIR}/vice.h: ${srcdir}/vice.h
- ${INSTALL} $? $@
-
-${KDIR}/afs_base64.c: ${srcdir}/base64.c
- ${INSTALL} $? $@
-
-${KDIR}/afs_uuid.c: ${srcdir}/uuid.c
- ${INSTALL} $? $@
-
-${KDIR}/afs_atomlist.c: ${srcdir}/afs_atomlist.c
- ${INSTALL} $? $@
-
-${KDIR}/afs_atomlist.h: ${srcdir}/afs_atomlist.h
- ${INSTALL} $? $@
-
-${KDIR}/afs_lhash.c: ${srcdir}/afs_lhash.c
- ${INSTALL} $? $@
-
-${KDIR}/afs_lhash.h: ${srcdir}/afs_lhash.h
- ${INSTALL} $? $@
-
-ukinstall: \
- ${UKDIR}/afs_uuid.c \
- ${UKDIR}/afs_atomlist.c \
- ${UKDIR}/afs_atomlist.h \
- ${UKDIR}/afs_lhash.c \
- ${UKDIR}/afs_lhash.h \
- ${UKDIR}/pthread_glock.h \
- ${UKDIR}/vice.h \
- ${UKDIR}/errors.h \
- ${UKDIR}/afsutil.h \
- ${UKDIR}/afsutil_prototypes.h \
- ${UKDIR}/dirpath.h \
- ${UKDIR}/dirpath.c \
- ${UKDIR}/fileutil.h \
- ${UKDIR}/fileutil.c \
- ${UKDIR}/netutils.h \
- ${UKDIR}/netutils.c \
- ${UKDIR}/casestrcpy.c \
- ${UKDIR}/hostparse.c
-
-${UKDIR}/errors.h: ${srcdir}/errors.h
- ${INSTALL} $? $@
-
-${UKDIR}/afsutil.h: ${srcdir}/afsutil.h
- ${INSTALL} $? $@
-
-${UKDIR}/afsutil_prototypes.h: ${srcdir}/afsutil_prototypes.h
- ${INSTALL} $? $@
-
-${UKDIR}/dirpath.h: dirpath.h
- ${INSTALL} $? $@
-
-${UKDIR}/dirpath.c: ${srcdir}/dirpath.c
- ${INSTALL} $? $@
-
-${UKDIR}/fileutil.h: ${srcdir}/fileutil.h
- ${INSTALL} $? $@
-
-${UKDIR}/fileutil.c: ${srcdir}/fileutil.c
- ${INSTALL} $? $@
-
-${UKDIR}/netutils.h: ${srcdir}/netutils.h
- ${INSTALL} $? $@
-
-${UKDIR}/netutils.c: ${srcdir}/netutils.c
- ${INSTALL} $? $@
-
-${UKDIR}/casestrcpy.c: ${srcdir}/casestrcpy.c
- ${INSTALL} $? $@
-
-${UKDIR}/hostparse.c: ${srcdir}/hostparse.c
- ${INSTALL} $? $@
-
-${UKDIR}/pthread_glock.h: ${srcdir}/pthread_glock.h
- ${INSTALL} $? $@
-
-${UKDIR}/vice.h: ${srcdir}/vice.h
- ${INSTALL} $? $@
-
-${UKDIR}/afs_uuid.c: ${srcdir}/uuid.c
- ${INSTALL} $? $@
-
-${UKDIR}/afs_atomlist.c: ${srcdir}/afs_atomlist.c
- ${INSTALL} $? $@
-
-${UKDIR}/afs_atomlist.h: ${srcdir}/afs_atomlist.h
- ${INSTALL} $? $@
-
-${UKDIR}/afs_lhash.c: ${srcdir}/afs_lhash.c
- ${INSTALL} $? $@
-
-${UKDIR}/afs_lhash.h: ${srcdir}/afs_lhash.h
- ${INSTALL} $? $@
-
#
# Misc targets
#
RCSID("$Header$");
#ifdef KERNEL
-#include "../afs/afs_atomlist.h"
+#include "afs_atomlist.h"
#else /* KERNEL */
#include "afs_atomlist.h"
#endif /* KERNEL */
RCSID("$Header$");
#ifdef KERNEL
-#include "../afs/afs_atomlist.h"
-#include "../afs/afs_lhash.h"
+#include "afs_atomlist.h"
+#include "afs_lhash.h"
#else /* KERNEL */
#include "afs_atomlist.h"
#include "afs_lhash.h"
RCSID("$Header$");
#ifdef UKERNEL
-#include "../afs/sysincludes.h"
-#include "../afs/afsutil.h"
+#include "afs/sysincludes.h"
+#include "afs/afsutil.h"
#else /* UKERNEL */
#include <stdio.h>
#include <sys/types.h>
#include <afsconfig.h>
#ifdef KERNEL
-#include "../afs/param.h"
+#include "afs/param.h"
#else
#include <afs/param.h>
#endif
#endif
#include <ctype.h>
#ifdef KERNEL
-#include "../afs/sysincludes.h"
-#include "../afs/afsincludes.h"
+#include "afs/sysincludes.h"
+#include "afsincludes.h"
#else
#ifdef __FreeBSD__
#include <sys/types.h>
main() { printf("b32 not required for this operating system.\n"); exit(1); }
#else
-#include "../afsutil.h"
+#include "afsutil.h"
char *prog = "b32";
main() { printf("b64 not required for this operating system.\n"); exit(1); }
#else
-#include "../afsutil.h"
+#include "afsutil.h"
char *prog = "b64";
main() { printf("fb64 not required for this operating system.\n"); exit(1); }
#else
-#include "../afsutil.h"
+#include "afsutil.h"
char *prog = "fb64";
#include <afsconfig.h>
#ifdef KERNEL
-#include "../afs/param.h"
+#include "afs/param.h"
#else
#include <afs/param.h>
#endif
RCSID("$Header$");
#ifdef KERNEL
-#include "../afs/sysincludes.h"
-#include "../afs/afsincludes.h"
+#include "afs/sysincludes.h"
+#include "afsincludes.h"
#define uuid_memcmp(A,B,C) memcmp(A, B, C)
#define uuid_memcpy(A,B,C) memcpy(A, B, C)
#else /* KERNEL */
# *linux* - Builds kdump-X.Y.Z according to kernel version
kdump-linux-@LINUX_VERSION@.o: kdump.c ${INCLS} AFS_component_version_number.c
${CC} $(DBG) -I${LINUX_KERNEL_PATH}/include -I${TOP_INCDIR}/afs \
+ -I${TOP_OBJDIR}/src \
+ -I${TOP_OBJDIR}/src/afs/${MKAFS_OSTYPE} \
-I${TOP_OBJDIR}/src/config -I${TOP_OBJDIR}/src/libafs/afs \
+ -I${TOP_SRCDIR} -I${TOP_SRCDIR}/afs/${MKAFS_OSTYPE} \
-I${TOP_INCDIR} ${XCFLAGS} -o kdump-linux-${LINUX_VERSION}.o \
-c ${srcdir}/kdump.c
# *alpha_linux* - Builds kdump-X.Y.Z according to kernel version
kdump-alpha_linux-@LINUX_VERSION@.o: kdump.c ${INCLS} AFS_component_version_number.c
${CC} $(DBG) -I${LINUX_KERNEL_PATH}/include -I${TOP_INCDIR}/afs \
+ -I${TOP_OBJDIR}/src \
+ -I${TOP_OBJDIR}/src/afs/${MKAFS_OSTYPE} \
-I${TOP_OBJDIR}/src/config -I${TOP_OBJDIR}/src/libafs/afs \
+ -I${TOP_SRCDIR} -I${TOP_SRCDIR}/afs/${MKAFS_OSTYPE} \
-I${TOP_INCDIR} ${XCFLAGS} -mno-fp-regs -ffixed-8 \
-o kdump-alpha_linux-${LINUX_VERSION}.o -c ${srcdir}/kdump.c ;; \
#endif
#include <afs/afsint.h>
-#include "../vlserver/vldbint.h"
-#include "../afs/lock.h"
+#include "vlserver/vldbint.h"
+#include "afs/lock.h"
#define KERNEL
#define KDUMP_SIZE_T int
#endif /* AFS_SGI61_ENV */
-#include "../afs/afs.h" /* XXXX Getting it from the obj tree XXX */
-#include "../afs/afs_axscache.h" /* XXXX Getting it from the obj tree XXX */
+#include "afs/afs.h" /* XXXX Getting it from the obj tree XXX */
+#include "afs/afs_axscache.h" /* XXXX Getting it from the obj tree XXX */
#include <afs/afs_stats.h>
#include <afs/cmd.h>
printf("\ti_op=0x%x, i_dev=0x%x, i_rdev=0x%x, i_sb=0x%x\n",
vep->i_op, vep->i_dev, vep->i_rdev, vep->i_sb);
#ifdef AFS_LINUX24_ENV
+#ifdef AFS_PARISC_LINUX24_ENV
+ printf("\ti_sem: count=%d, wait=0x%x\n",
+ vep->i_sem.count, vep->i_sem.wait);
+#else
printf("\ti_sem: count=%d, sleepers=%d, wait=0x%x\n",
vep->i_sem.count, vep->i_sem.sleepers, vep->i_sem.wait);
+#endif
#else
printf("\ti_sem: count=%d, waking=%d, wait=0x%x\n",
vep->i_sem.count, vep->i_sem.waking, vep->i_sem.wait);
include @TOP_OBJDIR@/src/config/Makefile.config
-CFLAGS=-DNINTERFACE -I${TOP_OBJDIR}/src/config -I. -I${TOP_INCDIR} -I${TOP_INCDIR}/afs \
+CFLAGS=-DNINTERFACE -I${TOP_OBJDIR}/src/config -I. -I${TOP_INCDIR} -I${TOP_INCDIR}/afs -I${TOP_OBJDIR} -I${TOP_OBJDIR}/fsint\
${XCFLAGS} -DRXDEBUG
LDFLAGS = ${DBUG} ${XLDFLAGS}
#include <afs/nfs.h> /* yuck. This is an abomination. */
#include <lwp.h>
#include <rx/rx.h>
-#include <afs/afscbint.h>
+#include <afscbint.h>
#include <afs/afsutil.h>
#include <lock.h>
#include <afs/ihandle.h>
${TOP_LIBDIR}/libsys.a \
${TOP_LIBDIR}/util.a
-KSRCS=Kvldbint.cs.c Kvldbint.xdr.c vl_opcodes.h vldbint.h
-UKSRCS=$(KSRCS)
-
OBJS=vldbint.xdr.o vldbint.cs.o vl_errors.o
-CDIR=../../../src/vlserver
-
all: \
vlserver vlclient cnvldb vlserver cnvldb vldb_check \
- ${TOP_LIBDIR}/libvldb.a \
+ Kvldbint.cs.c Kvldbint.xdr.c vldbint.h \
+ ${TOP_LIBDIR}/libvldb.a depinstall
+
+depinstall: \
+ Kvldbint.cs.c Kvldbint.xdr.c vldbint.h \
${TOP_INCDIR}/afs/vl_opcodes.h \
${TOP_INCDIR}/afs/vlserver.h \
${TOP_INCDIR}/afs/vldbint.h \
- ${TOP_INCDIR}/afs/cnvldb.h \
- ${KERNELDIR}/afsint/Kvldbint.cs.c \
- ${KERNELDIR}/afsint/Kvldbint.xdr.c \
- ${KERNELDIR}/afsint/vl_opcodes.h \
- ${KERNELDIR}/afsint/vldbint.h \
- ${UKERNELDIR}/afsint/Kvldbint.cs.c \
- ${UKERNELDIR}/afsint/Kvldbint.xdr.c \
- ${UKERNELDIR}/afsint/vl_opcodes.h \
- ${UKERNELDIR}/afsint/vldbint.h
-
+ ${TOP_INCDIR}/afs/cnvldb.h
vldb_check: vldb_check.o
$(CC) ${CFLAGS} -o vldb_check vldb_check.o ${XLIBS} \
system: install
-kinstall: $(KSRCS)
- ${INSTALL} $(KSRCS) ${KERNELDIR}/afsint
-
-ukinstall webinstall: ${UKERNELDIR}/afsint $(UKSRCS)
- ${INSTALL} $(UKSRCS) ${UKERNELDIR}/afsint
-
-${UKERNELDIR}/afsint:
- mkdir -p $@
-
${DEST}/root.server/usr/afs/bin/vlserver: vlserver
${INSTALL} $? $@
${TOP_INCDIR}/afs/cnvldb.h: cnvldb.h
${INSTALL} $? $@
-${KERNELDIR}/afsint/Kvldbint.cs.c: Kvldbint.cs.c
- ${INSTALL} $? $@
-
-${KERNELDIR}/afsint/Kvldbint.xdr.c: Kvldbint.xdr.c
- ${INSTALL} $? $@
-
-${KERNELDIR}/afsint/vl_opcodes.h: vl_opcodes.h
- ${INSTALL} $? $@
-
-${KERNELDIR}/afsint/vldbint.h: vldbint.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afsint/Kvldbint.cs.c: Kvldbint.cs.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afsint/Kvldbint.xdr.c: Kvldbint.xdr.c
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afsint/vl_opcodes.h: vl_opcodes.h
- ${INSTALL} $? $@
-
-${UKERNELDIR}/afsint/vldbint.h: vldbint.h
- ${INSTALL} $? $@
-
install: \
${DESTDIR}${afssrvlibexecdir}/vlserver \
${DESTDIR}${afssrvsbindir}/vldb_convert \
#include <mntent.h>
#ifdef AFS_SGI_EFS_IOPS_ENV
#define ROOTINO EFS_ROOTINO
-#include "../sgiefs/efs.h"
+#include "sgiefs/efs.h"
#endif
#else
#ifdef AFS_LINUX22_ENV
#define __ASSERT_H__
#ifdef AFS_SGI_EFS_IOPS_ENV
-#include "../sgiefs/libefs.h"
+#include "sgiefs/libefs.h"
extern int Log();
/* afs_efs_figet() replaces the SGI library routine because we are malloc'ing
all: listVicepx updateDirInode testpart
-kinstall:
- @echo No kernel source here.
-
install:
${OBJECTS}: ${PUBLICHEADERS} ${TOP_INCDIR}/lwp.h ${TOP_INCDIR}/lock.h ${TOP_INCDIR}/afs/afsint.h ../filesignal.h ../vutils.h ../vldb.h ../salvage.h ../volinodes.h ../qiin.h
#include <stdio.h>
#include <sys/types.h>
-#include "../../util/afsutil.h"
+#include "util/afsutil.h"
void Usage(void)
{
#ifdef AFS_SGI_EFS_IOPS_ENV
#define ROOTINO EFS_ROOTINO
#include <sys/fs/efs.h>
-#include "../sgiefs/efs.h" /* until 5.1 release */
+#include "sgiefs/efs.h" /* until 5.1 release */
#endif
#include <mntent.h>
#include "partition.h"
#ifdef AFS_SGI_EFS_IOPS_ENV
-#include "../sgiefs/efs.h"
+#include "sgiefs/efs.h"
#endif
#include <afs/xfsattrs.h>
abort();
}
-void
-InitErrTabs()
+void InitErrTabs(void)
{
initialize_KA_error_table();
initialize_RXK_error_table();
#include "volser.h"
#include "volint.h"
+
+#include <volser_prototypes.h>
+
extern int DoLogging;
extern struct volser_trans *FindTrans(), *NewTrans(),*TransList();
extern struct afsconf_dir *tdir;
+/*
+ * 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
+ */
+
+#ifndef _VOLSER_PROTOTYPES_H
+#define _VOLSER_PROTOTYPES_H
+
+/* common.c */
+
+/* vsprocs.c */
+extern void MapPartIdIntoName(afs_int32 partId, char *partName);
+extern int yesprompt(char *str);
+extern int PrintError(char *msg, afs_int32 errcode);
+extern int UV_SetSecurity(register struct rx_securityClass *as, afs_int32 aindex);
+extern struct rx_connection *UV_Bind(afs_int32 aserver, afs_int32 port);
+extern void SubEnumerateEntry(struct nvldbentry *entry);
+extern void EnumerateEntry(struct nvldbentry *entry);
+extern int UV_NukeVolume(afs_int32 server, afs_int32 partid, afs_int32 volid);
+extern int UV_PartitionInfo(afs_int32 server, char *pname, struct diskPartition *partition);
+extern int UV_CreateVolume(afs_int32 aserver, afs_int32 apart, char *aname, afs_int32 *anewid);
+extern int UV_CreateVolume2(afs_int32 aserver, afs_int32 apart, char *aname, afs_int32 aquota,
+ afs_int32 aspare1, afs_int32 aspare2, afs_int32 aspare3, afs_int32 aspare4, afs_int32 *anewid);
+extern int UV_AddVLDBEntry(afs_int32 aserver, afs_int32 apart, char *aname, afs_int32 aid);
+extern int UV_DeleteVolume(afs_int32 aserver, afs_int32 apart, afs_int32 avolid);
+extern void sigint_handler(int x);
+extern int UV_MoveVolume(afs_int32 afromvol, afs_int32 afromserver,
+ afs_int32 afrompart, afs_int32 atoserver, afs_int32 atopart);
+extern int UV_BackupVolume(afs_int32 aserver, afs_int32 apart, afs_int32 avolid);
+extern int UV_ReleaseVolume(afs_int32 afromvol, afs_int32 afromserver, afs_int32 afrompart, int forceflag);
+extern void dump_sig_handler(int x);
+extern int UV_DumpVolume(afs_int32 afromvol, afs_int32 afromserver, afs_int32 afrompart,
+ afs_int32 fromdate, afs_int32 (*DumpFunction)(), char *rock);
+extern int UV_RestoreVolume(afs_int32 toserver, afs_int32 topart, afs_int32 tovolid,
+ char tovolname[], int flags, afs_int32 (*WriteData)(), char *rock);
+extern int UV_LockRelease(afs_int32 volid);
+extern int UV_AddSite(afs_int32 server, afs_int32 part, afs_int32 volid);
+extern int UV_RemoveSite(afs_int32 server, afs_int32 part, afs_int32 volid);
+extern int UV_ChangeLocation(afs_int32 server, afs_int32 part, afs_int32 volid);
+extern int UV_ListPartitions(afs_int32 aserver, struct partList *ptrPartList, afs_int32 *cntp);
+extern int UV_ZapVolumeClones(afs_int32 aserver, afs_int32 apart, struct volDescription *volPtr, afs_int32 arraySize);
+extern int UV_GenerateVolumeClones(afs_int32 aserver, afs_int32 apart, struct volDescription *volPtr, afs_int32 arraySize);
+extern int UV_ListVolumes(afs_int32 aserver, afs_int32 apart, int all, struct volintInfo **resultPtr, afs_int32 *size);
+extern int UV_XListVolumes(afs_int32 a_serverID, afs_int32 a_partID, int a_all,
+ struct volintXInfo **a_resultPP, afs_int32 *a_numEntsInResultP);
+extern int UV_ListOneVolume(afs_int32 aserver, afs_int32 apart, afs_int32 volid, struct volintInfo **resultPtr);
+extern int UV_XListOneVolume(afs_int32 a_serverID, afs_int32 a_partID,
+ afs_int32 a_volID, struct volintXInfo **a_resultPP);
+extern int sortVolumes(const void *a, const void *b);
+extern int UV_SyncVolume(afs_int32 aserver, afs_int32 apart, char *avolname, int flags);
+extern int UV_SyncVldb(afs_int32 aserver, afs_int32 apart, int flags, int force);
+extern afs_int32 VolumeExists(afs_int32 server, afs_int32 partition, afs_int32 volumeid);
+extern afs_int32 CheckVldbRWBK(struct nvldbentry *entry, afs_int32 *modified);
+extern int CheckVldbRO(struct nvldbentry *entry, afs_int32 *modified);
+extern afs_int32 CheckVldb(struct nvldbentry *entry, afs_int32 *modified);
+extern int UV_SyncServer(afs_int32 aserver, afs_int32 apart, int flags, int force);
+extern int UV_RenameVolume(struct nvldbentry *entry, char oldname[], char newname[]);
+extern int UV_VolserStatus(afs_int32 server, transDebugInfo **rpntr, afs_int32 *rcount);
+extern int UV_VolumeZap(afs_int32 server, afs_int32 part, afs_int32 volid);
+extern int UV_SetVolume(afs_int32 server, afs_int32 partition, afs_int32 volid, afs_int32 transflag, afs_int32 setflag, int sleeptime);
+extern int UV_SetVolumeInfo(afs_int32 server, afs_int32 partition, afs_int32 volid, volintInfo *infop);
+extern void MapNetworkToHost(struct nvldbentry *old, struct nvldbentry *new);
+extern void MapHostToNetwork(struct nvldbentry *entry);
+
+#endif
#include <afs/procmgmt.h> /* signal(), kill(), wait(), etc. */
#include <setjmp.h>
+#include <volser_prototypes.h>
+
afs_int32 VolumeExists(), CheckVldbRWBK(), CheckVldb();
struct ubik_client *cstruct;
afs_int32 vldbEntryIndex;
};
+/* Utility macros used by rest of this source file */
+#define EPRINT(ec, es) \
+ fprintf(STDERR, "\n"); \
+ fprintf(STDERR, (es)); \
+ PrintError(" ",ec);
+
+#define EPRINT1(ec, es, ep1) \
+ fprintf(STDERR, "\n"); \
+ fprintf(STDERR, (es), (ep1)); \
+ PrintError(" ",ec);
+
+#define EPRINT2(ec, es, ep1, ep2) \
+ fprintf(STDERR, "\n"); \
+ fprintf(STDERR, (es), (ep1), (ep2)); \
+ PrintError(" ",ec);
+
+#define EPRINT3(ec, es, ep1, ep2, ep3) \
+ fprintf(STDERR, "\n"); \
+ fprintf(STDERR, (es), (ep1), (ep2), (ep3)); \
+ PrintError(" ",ec);
+
+#define EGOTO(where, ec, es) \
+ if (ec) { \
+ EPRINT((ec),(es)); \
+ error = (ec); \
+ goto where; \
+ }
+
+#define EGOTO1(where, ec, es, ep1) \
+ if (ec) { \
+ EPRINT1((ec),(es),(ep1)); \
+ error = (ec); \
+ goto where; \
+ }
+
+#define EGOTO2(where, ec, es, ep1, ep2) \
+ if (ec) { \
+ EPRINT2((ec),(es),(ep1),(ep2)); \
+ error = (ec); \
+ goto where; \
+ }
+
+#define EGOTO3(where, ec, es, ep1, ep2, ep3) \
+ if (ec) { \
+ EPRINT3((ec),(es),(ep1),(ep2),(ep3)); \
+ error = (ec); \
+ goto where; \
+ }
+
+#define VPRINT(es) \
+ { if (verbose) { fprintf(STDOUT, (es)); fflush(STDOUT); } }
+#define VPRINT1(es, p) \
+ { if (verbose) { fprintf(STDOUT, (es), (p)); fflush(STDOUT); } }
+#define VPRINT2(es, p1, p2) \
+ { if (verbose) { fprintf(STDOUT, (es), (p1), (p2)); fflush(STDOUT); } }
+#define VPRINT3(es, p1, p2, p3) \
+ { if (verbose) { fprintf(STDOUT, (es), (p1), (p2), (p3)); fflush(STDOUT); } }
+#define VDONE \
+ { if (verbose) { fprintf(STDOUT, " done\n"); fflush(STDOUT); } }
+
+
+
+/* getting rid of this */
+#define ERROR_EXIT(code) {error=(code); goto error_exit;}
+
+
+/* Protos for static routines */
+static afs_int32 CheckAndDeleteVolume(struct rx_connection *aconn,
+ afs_int32 apart, afs_int32 okvol, afs_int32 delvol);
+static int DelVol (struct rx_connection *conn, afs_int32 vid, afs_int32 part, afs_int32 flags);
+static int GetTrans (struct nvldbentry *vldbEntryPtr, afs_int32 index, struct rx_connection **connPtr,
+ afs_int32 *transPtr, afs_int32 *timePtr);
+static int SimulateForwardMultiple(struct rx_connection *fromconn, afs_int32 fromtid,
+ afs_int32 fromdate, manyDests *tr, afs_int32 flags, void *cookie, manyResults *results);
+static int rel_compar (struct release *r1, struct release *r2);
+static afs_int32 CheckVolume(volintInfo *volumeinfo, afs_int32 aserver, afs_int32 apart,
+ afs_int32 *modentry, afs_uint32 *maxvolid);
+
+
/*map the partition <partId> into partition name <partName>*/
void MapPartIdIntoName(afs_int32 partId, char *partName)
{
/* if <okvol> is allright(indicated by beibg able to
* start a transaction, delete the <delvol> */
-static afs_int32 CheckAndDeleteVolume(aconn,apart,okvol,delvol)
-struct rx_connection *aconn;
-afs_int32 apart,okvol,delvol;
+static afs_int32 CheckAndDeleteVolume(struct rx_connection *aconn,
+ afs_int32 apart, afs_int32 okvol, afs_int32 delvol)
{
afs_int32 error,code,tid,rcode;
aconn = UV_Bind(aserver, AFSCONF_VOLUMEPORT);
/* next the next 3 available ids from the VLDB */
- vcode = ubik_Call(VL_GetNewVolumeId,cstruct, 0, 3, anewid);
- if(vcode) {
- fprintf(STDERR,"Could not get an Id for volume %s\n",aname);
- error = vcode;
- goto cfail;
- }
+ vcode = ubik_Call(VL_GetNewVolumeId, cstruct, 0, 3, anewid);
+ EGOTO1(cfail, vcode, "Could not get an Id for volume %s\n",aname);
+
code = AFSVolCreateVolume(aconn, apart, aname, volser_RW, 0, anewid, &tid);
- if (code) {
- fprintf(STDERR,"Failed to create the volume %s %u \n",aname,*anewid);
- error = code;
- goto cfail;
- }
+ EGOTO2(cfail, vcode, "Failed to create the volume %s %u \n",aname,*anewid);
code = AFSVolSetInfo(aconn, tid, &tstatus);
- if (code) {
- fprintf(STDERR,"Could not change quota (error %d), continuing...\n", code);
- }
+ EPRINT1(code, "Could not change quota (error %d), continuing...\n", code);
code = AFSVolSetFlags(aconn, tid, 0); /* bring it online (mark it InService */
- if (code) {
- fprintf(STDERR,"Could not bring the volume %s %u online \n",aname,*anewid);
- error = code;
- goto cfail;
- }
- if(verbose) fprintf(STDOUT,"Volume %s %u created and brought online\n",aname,*anewid);
+ EGOTO2(cfail, vcode, "Could not bring the volume %s %u online \n",aname,*anewid);
+
+ VPRINT2("Volume %s %u created and brought online\n",aname,*anewid);
+
/* set up the vldb entry for this volume */
strncpy(entry.name, aname,VOLSER_OLDMAXVOLNAME);
entry.nServers = 1;
if(vcode) {
fprintf(STDERR,"Could not create a VLDB entry for the volume %s %u\n", aname,*anewid);
/*destroy the created volume*/
- if(verbose) {
- fprintf(STDOUT,"Deleting the newly created volume %u\n",*anewid);
- }
+ VPRINT1("Deleting the newly created volume %u\n",*anewid);
AFSVolDeleteVolume(aconn,tid);
error = vcode;
goto cfail;
}
- if(verbose) fprintf(STDOUT,"Created the VLDB entry for the volume %s %u\n",aname,*anewid);
+ VPRINT2("Created the VLDB entry for the volume %s %u\n",aname,*anewid);
/* volume created, now terminate the transaction and release the connection*/
code = AFSVolEndTrans(aconn, tid, &rcode);/*if it crashes before this
the volume will come online anyway when transaction timesout , so if
error = vcode;
goto cfail;
}
- if(verbose) fprintf(STDOUT,"Created the VLDB entry for the volume %s %u\n",aname,aid);
+ VPRINT2("Created the VLDB entry for the volume %s %u\n",aname,aid);
cfail:
if(aconn) rx_DestroyConnection(aconn);
return error;
}
-#define ERROR_EXIT(code) {error=(code); goto error_exit;}
-
/* Delete the volume <volid>on <aserver> <apart>
* the physical entry gets removed from the vldb only if the ref count
* becomes zero
code = ubik_Call(VL_SetLock, cstruct, 0, avolid, avoltype, VLOP_DELETE);
if (code) {
if (code != VL_NOENT) {
- fprintf(STDERR,"Could not lock VLDB entry for the volume %u\n", avolid);
- ERROR_EXIT(code);
+ EGOTO1(error_exit, code, "Could not lock VLDB entry for the volume %u\n", avolid);
}
notinvldb = 1;
} else {
islocked = 1;
code = VLDB_GetEntryByID(avolid, avoltype, &entry);
- if (code) {
- fprintf(STDERR,"Could not fetch VLDB entry for volume %u\n",avolid);
- ERROR_EXIT(code);
- }
+ EGOTO1(error_exit, code, "Could not fetch VLDB entry for volume %u\n",avolid);
MapHostToNetwork(&entry);
if (verbose)
if (code == VNOVOL) {
notondisk = 1;
} else {
- fprintf(STDERR,"Transaction on volume %u failed\n", avolid);
- ERROR_EXIT(code);
+ EGOTO1(error_exit, code, "Transaction on volume %u failed\n", avolid);
}
}
else {
- if (verbose) {
- fprintf(STDOUT,"Trying to delete the volume %u ...", avolid);
- fflush(STDOUT);
- }
+ VPRINT1("Trying to delete the volume %u ...", avolid);
+
code = AFSVolDeleteVolume(aconn, ttid);
- if (code) {
- fprintf(STDERR,"Could not delete the volume %u \n", avolid);
- ERROR_EXIT(code);
- }
+ EGOTO1(error_exit, code, "Could not delete the volume %u \n", avolid);
+
code = AFSVolEndTrans(aconn, ttid, &rcode);
code = (code ? code : rcode);
ttid = 0;
- if (code) {
- fprintf(STDERR,"Could not end the transaction for the volume %u \n",avolid);
- ERROR_EXIT(code);
- }
- if (verbose)
- fprintf(STDOUT," done\n");
+ EGOTO1(error_exit, code, "Could not end the transaction for the volume %u \n",avolid);
+ VDONE;
}
/* Now update the VLDB entry.
ERROR_EXIT(0);
}
- if (verbose)
- fprintf(STDOUT,"Marking the backup volume %u deleted in the VLDB\n", avolid);
+ VPRINT1("Marking the backup volume %u deleted in the VLDB\n", avolid);
entry.flags &= ~BACK_EXISTS;
vtype = BACKVOL;
fflush(STDOUT);
}
code = AFSVolDeleteVolume(aconn, ttid);
- if (code) {
- fprintf(STDERR,"Could not delete the volume %u \n", entry.volumeId[BACKVOL]);
- ERROR_EXIT(code);
- }
+ EGOTO1(error_exit, code, "Could not delete the volume %u \n", entry.volumeId[BACKVOL]);
+
code = AFSVolEndTrans(aconn, ttid, &rcode);
ttid = 0;
code = (code ? code : rcode);
- if (code) {
- fprintf(STDERR,"Could not end the transaction for the volume %u \n",
+ EGOTO1(error_exit, code, "Could not end the transaction for the volume %u \n",
entry.volumeId[BACKVOL]);
- ERROR_EXIT(code);
- }
if (verbose)
fprintf(STDOUT," done\n");
}
if (verbose)
fprintf(STDOUT,"Last reference to the VLDB entry for %u - deleting entry\n", avolid);
code = ubik_Call(VL_DeleteEntry, cstruct, 0, avolid, vtype);
- if (code) {
- fprintf(STDERR,"Could not delete the VLDB entry for the volume %u \n",avolid);
- ERROR_EXIT(code);
- }
+ EGOTO1(error_exit, code, "Could not delete the VLDB entry for the volume %u \n",avolid);
} else {
MapNetworkToHost(&entry, &storeEntry);
code = VLDB_ReplaceEntry(avolid, vtype, &storeEntry,
(LOCKREL_OPCODE | LOCKREL_AFSID | LOCKREL_TIMESTAMP));
- if (code) {
- fprintf(STDERR,"Could not update the VLDB entry for the volume %u \n", avolid);
- ERROR_EXIT(code);
- }
+ EGOTO1(error_exit, code, "Could not update the VLDB entry for the volume %u \n", avolid);
}
islocked = 0;
error_exit:
- if (error) PrintError("", error);
+ if (error) EPRINT(error, "\n");
if (notondisk && notinvldb) {
- fprintf(STDERR,"Volume %u does not exist %s\n",
+ EPRINT2(VOLSERNOVOL,"Volume %u does not exist %s\n",
avolid, ((notinvldb == 2)?"on server and partition":""));
- PrintError("", VOLSERNOVOL);
if (!error) error = VOLSERNOVOL;
}
else if (notondisk) {
code = ubik_Call(VL_ReleaseLock,cstruct, 0, avolid, -1,
(LOCKREL_OPCODE | LOCKREL_AFSID | LOCKREL_TIMESTAMP));
if (code) {
- fprintf(STDERR,"Could not release the lock on the VLDB entry for the volume %u \n",
+ EPRINT1(code, "Could not release the lock on the VLDB entry for the volume %u \n",
avolid);
- PrintError("", code);
if (!error) error = code;
}
}
return;
}
-#define ONERR(ec, es, ep) if (ec) { fprintf(STDERR, (es), (ep)); PrintError(" ",ec); error = (ec); goto mfail; }
-#define VPRINT(es) if (verbose) { fprintf(STDOUT, (es)); fflush(STDOUT); }
-#define VPRINT1(es, vol) if (verbose) { fprintf(STDOUT, (es), (vol)); fflush(STDOUT); }
-#define VPRINT2(es, vol1, vol2) if (verbose) { fprintf(STDOUT, (es), (vol1), (vol2)); fflush(STDOUT); }
-#define VDONE if (verbose) { fprintf(STDOUT, " done\n"); fflush(STDOUT); }
-
/* Move volume <afromvol> on <afromserver> <afrompart> to <atoserver>
* <atopart>. The operation is almost idempotent
*/
-UV_MoveVolume(afromvol, afromserver, afrompart, atoserver, atopart)
- afs_int32 afromvol;
- afs_int32 afromserver, atoserver;
- afs_int32 afrompart, atopart;
+int UV_MoveVolume(afs_int32 afromvol, afs_int32 afromserver,
+ afs_int32 afrompart, afs_int32 atoserver, afs_int32 atopart)
{
struct rx_connection *toconn, *fromconn ;
afs_int32 fromtid, totid, clonetid;
}
vcode = VLDB_GetEntryByID(afromvol, -1, &entry);
- ONERR (vcode, "Could not fetch the entry for the volume %u from the VLDB \n", afromvol);
+ EGOTO1(mfail, vcode, "Could not fetch the entry for the volume %u from the VLDB \n", afromvol);
if (entry.volumeId[RWVOL] != afromvol)
{
}
vcode = ubik_Call(VL_SetLock, cstruct, 0,afromvol, RWVOL, VLOP_MOVE);
- ONERR (vcode, "Could not lock entry for volume %u \n", afromvol);
+ EGOTO1(mfail, vcode, "Could not lock entry for volume %u \n", afromvol);
islocked = 1;
vcode = VLDB_GetEntryByID (afromvol, RWVOL, &entry);
- ONERR (vcode, "Could not fetch the entry for the volume %u from the VLDB \n", afromvol);
+ EGOTO1(mfail, vcode, "Could not fetch the entry for the volume %u from the VLDB \n", afromvol);
backupId = entry.volumeId[BACKVOL];
MapHostToNetwork(&entry);
}
vcode = ubik_Call(VL_ReleaseLock, cstruct, 0, afromvol, -1,
(LOCKREL_OPCODE | LOCKREL_AFSID | LOCKREL_TIMESTAMP));
- ONERR (vcode, " Could not release lock on the VLDB entry for the volume %u \n",
+ EGOTO1(mfail, vcode, " Could not release lock on the VLDB entry for the volume %u \n",
afromvol);
return VOLSERVOLMOVED;
{ /* volume exists - delete it */
VPRINT1("Setting flags on leftover source volume %u ...", afromvol);
code = AFSVolSetFlags(fromconn, fromtid, VTDeleteOnSalvage | VTOutOfService);
- ONERR (code, "Failed to set flags on the leftover source volume %u\n", afromvol);
+ EGOTO1(mfail, code, "Failed to set flags on the leftover source volume %u\n", afromvol);
VDONE;
VPRINT1("Deleting leftover source volume %u ...", afromvol);
code = AFSVolDeleteVolume(fromconn,fromtid);
- ONERR (code, "Failed to delete the leftover source volume %u\n", afromvol);
+ EGOTO1(mfail, code, "Failed to delete the leftover source volume %u\n", afromvol);
VDONE;
VPRINT1("Ending transaction on leftover source volume %u ...", afromvol);
code = AFSVolEndTrans(fromconn, fromtid, &rcode);
fromtid = 0;
if (!code) code = rcode;
- ONERR (code, "Could not end the transaction for the leftover source volume %u \n", afromvol);
+ EGOTO1(mfail, code, "Could not end the transaction for the leftover source volume %u \n", afromvol);
VDONE;
}
{ /* backup volume exists - delete it */
VPRINT1("Setting flags on leftover backup volume %u ...", backupId);
code = AFSVolSetFlags(fromconn, fromtid, VTDeleteOnSalvage | VTOutOfService);
- ONERR (code, "Failed to set flags on the backup volume %u\n", backupId);
+ EGOTO1(mfail, code, "Failed to set flags on the backup volume %u\n", backupId);
VDONE;
VPRINT1("Deleting leftover backup volume %u ...", backupId);
code = AFSVolDeleteVolume(fromconn,fromtid);
- ONERR (code, "Could not delete the leftover backup volume %u\n", backupId);
+ EGOTO1(mfail, code, "Could not delete the leftover backup volume %u\n", backupId);
VDONE;
VPRINT1("Ending transaction on leftover backup volume %u ...", backupId);
code = AFSVolEndTrans(fromconn, fromtid, &rcode);
fromtid = 0;
if (!code) code = rcode;
- ONERR (code,"Could not end the transaction for the leftover backup volume %u \n",backupId);
+ EGOTO1(mfail, code,"Could not end the transaction for the leftover backup volume %u\n",backupId);
VDONE;
}
if (afrompart == atopart)
{
same = VLDB_IsSameAddrs (afromserver, atoserver, &error);
- if (error)
+ EGOTO2(mfail, error, "Failed to get info about server's %d address(es) from vlserver (err=%d); aborting call!\n",
+ afromserver, error);
+
+ if ( same )
{
- fprintf(STDERR, "Failed to get info about server's %d address(es) from vlserver (err=%d); aborting call!\n",
- afromserver, error);
- goto mfail;
+ EGOTO1(mfail, VOLSERVOLMOVED, "Warning: Moving volume %u to its home partition ignored!\n", afromvol);
}
- if (same) ONERR (VOLSERVOLMOVED,
- "Warning: Moving volume %u to its home partition ignored!\n", afromvol);
}
pntg = 1;
VPRINT1("Starting transaction on source volume %u ...", afromvol);
code = AFSVolTransCreate(fromconn, afromvol, afrompart, ITBusy, &fromtid);
- ONERR (code, "Failed to create transaction on the volume %u\n", afromvol);
+ EGOTO1(mfail, code, "Failed to create transaction on the volume %u\n", afromvol);
VDONE;
/* Get a clone id */
VPRINT1("Allocating new volume id for clone of volume %u ...", afromvol);
newVol = 0;
vcode = ubik_Call (VL_GetNewVolumeId, cstruct, 0, 1, &newVol);
- ONERR (vcode, "Could not get an ID for the clone of volume %u from the VLDB\n", afromvol);
+ EGOTO1(mfail, vcode, "Could not get an ID for the clone of volume %u from the VLDB\n", afromvol);
VDONE;
/* Do the clone. Default flags on clone are set to delete on salvage and out of service */
VPRINT1("Cloning source volume %u ...", afromvol);
strcpy(vname, "move-clone-temp");
code = AFSVolClone(fromconn, fromtid, 0,readonlyVolume, vname, &newVol);
- ONERR (code, "Failed to clone the source volume %u\n", afromvol);
+ EGOTO1(mfail, code, "Failed to clone the source volume %u\n", afromvol);
VDONE;
/* lookup the name of the volume we just cloned */
volid = afromvol;
code = AFSVolGetName(fromconn, fromtid, &volName);
- ONERR (code, "Failed to get the name of the volume %u\n", newVol);
+ EGOTO1(mfail, code, "Failed to get the name of the volume %u\n", newVol);
VPRINT1("Ending the transaction on the source volume %u ...", afromvol);
rcode = 0;
code = AFSVolEndTrans(fromconn, fromtid, &rcode);
fromtid = 0;
if (!code) code = rcode;
- ONERR (code, "Failed to end the transaction on the source volume %u\n", afromvol);
+ EGOTO1(mfail, code, "Failed to end the transaction on the source volume %u\n", afromvol);
VDONE;
/* ***
VPRINT1("Starting transaction on the cloned volume %u ...", newVol);
code = AFSVolTransCreate (fromconn, newVol, afrompart, ITOffline, &clonetid);
- ONERR (code, "Failed to start a transaction on the cloned volume%u\n", newVol);
+ EGOTO1(mfail, code, "Failed to start a transaction on the cloned volume%u\n", newVol);
VDONE;
VPRINT1("Setting flags on cloned volume %u ...", newVol);
code = AFSVolSetFlags (fromconn, clonetid, VTDeleteOnSalvage|VTOutOfService); /*redundant */
- ONERR (code, "Could not set falgs on the cloned volume %u\n", newVol);
+ EGOTO1(mfail, code, "Could not set falgs on the cloned volume %u\n", newVol);
VDONE;
/* remember time from which we've dumped the volume */
VPRINT1("Getting status of cloned volume %u ...", newVol);
code = AFSVolGetStatus (fromconn, clonetid, &tstatus);
- ONERR (code, "Failed to get the status of the cloned volume %u\n", newVol);
+ EGOTO1(mfail, code, "Failed to get the status of the cloned volume %u\n", newVol);
VDONE;
fromDate = tstatus.creationDate-CLOCKSKEW;
volumeInfo.volEntries_val = (volintInfo *)0;/*this hints the stub to allocate space*/
volumeInfo.volEntries_len = 0;
code = AFSVolListOneVolume(fromconn, afrompart, afromvol, &volumeInfo);
- ONERR (code, "Failed to get the volint Info of the cloned volume %u\n", afromvol);
+ EGOTO1(mfail, code, "Failed to get the volint Info of the cloned volume %u\n", afromvol);
infop = (volintInfo *) volumeInfo.volEntries_val;
infop->maxquota = -1; /* Else it will replace the default quota */
*/
VPRINT1("Deleting pre-existing volume %u on destination ...", volid);
code = AFSVolDeleteVolume(toconn, totid);
- ONERR (code, "Could not delete the pre-existing volume %u on destination\n", volid);
+ EGOTO1(mfail, code, "Could not delete the pre-existing volume %u on destination\n", volid);
VDONE;
VPRINT1("Ending transaction on pre-existing volume %u on destination ...", volid);
code = AFSVolEndTrans(toconn, totid, &rcode);
totid = 0;
if (!code) code = rcode;
- ONERR (code, "Could not end the transaction on pre-existing volume %u on destination\n",
+ EGOTO1(mfail, code, "Could not end the transaction on pre-existing volume %u on destination\n",
volid);
VDONE;
}
VPRINT1("Creating the destination volume %u ...", volid);
code = AFSVolCreateVolume (toconn, atopart, volName, volser_RW, volid, &volid, &totid);
- ONERR (code, "Failed to create the destination volume %u\n", volid);
+ EGOTO1(mfail, code, "Failed to create the destination volume %u\n", volid);
VDONE;
strncpy(tmpName, volName, VOLSER_OLDMAXVOLNAME);
VPRINT1("Setting volume flags on destination volume %u ...", volid);
code = AFSVolSetFlags (toconn, totid, (VTDeleteOnSalvage | VTOutOfService));
- ONERR(code, "Failed to set the flags on the destination volume %u\n", volid);
+ EGOTO1(mfail, code, "Failed to set the flags on the destination volume %u\n", volid);
VDONE;
/***
cookie.parent = entry.volumeId[RWVOL];
cookie.clone = 0;
code = AFSVolForward(fromconn, clonetid, 0, &destination, totid, &cookie);
- ONERR (code, "Failed to move data for the volume %u\n", volid);
+ EGOTO1(mfail, code, "Failed to move data for the volume %u\n", volid);
VDONE;
VPRINT1("Ending transaction on cloned volume %u ...", newVol);
code = AFSVolEndTrans(fromconn, clonetid, &rcode);
if (!code) code = rcode;
clonetid = 0;
- ONERR (code, "Failed to end the transaction on the cloned volume %u\n", newVol);
+ EGOTO1(mfail, code, "Failed to end the transaction on the cloned volume %u\n", newVol);
VDONE;
/* ***
VPRINT1("Starting transaction on source volume %u ...", afromvol);
code = AFSVolTransCreate(fromconn, afromvol, afrompart, ITBusy, &fromtid);
- ONERR (code, "Failed to create a transaction on the source volume %u\n", afromvol);
+ EGOTO1(mfail, code, "Failed to create a transaction on the source volume %u\n", afromvol);
VDONE;
/* now do the incremental */
VPRINT1("Doing the incremental dump from source to destination for volume %u ... ", afromvol);
code = AFSVolForward(fromconn, fromtid, fromDate, &destination, totid,&cookie);
- ONERR (code, "Failed to do the incremental dump from rw volume on old site to rw volume on newsite\n", 0);
+ EGOTO(mfail, code, "Failed to do the incremental dump from rw volume on old site to rw volume on newsite\n");
VDONE;
/* now adjust the flags so that the new volume becomes official */
VPRINT1("Setting volume flags on old source volume %u ...", afromvol);
code = AFSVolSetFlags(fromconn, fromtid, VTOutOfService);
- ONERR (code, "Failed to set the flags to make old source volume offline\n", 0);
+ EGOTO(mfail, code, "Failed to set the flags to make old source volume offline\n");
VDONE;
VPRINT1("Setting volume flags on new source volume %u ...", afromvol);
code = AFSVolSetFlags(toconn, totid, 0);
- ONERR (code, "Failed to set the flags to make new source volume online\n", 0);
+ EGOTO(mfail, code, "Failed to set the flags to make new source volume online\n");
VDONE;
#ifdef ENABLE_BUGFIX_1165
VPRINT1("Setting volume status on destination volume %u ...", volid);
code = AFSVolSetInfo(toconn, totid, infop);
- ONERR (code, "Failed to set volume status on the destination volume %u\n", volid);
+ EGOTO1(mfail, code, "Failed to set volume status on the destination volume %u\n", volid);
VDONE;
#endif
code = AFSVolEndTrans(toconn, totid, &rcode);
totid = 0;
if (!code) code = rcode;
- ONERR (code, "Failed to end the transaction on the volume %u on the new site\n", afromvol);
+ EGOTO1(mfail, code, "Failed to end the transaction on the volume %u on the new site\n", afromvol);
VDONE;
Lp_SetRWValue(&entry, afromserver, afrompart, atoserver, atopart);
/* set forwarding pointer for moved volumes */
VPRINT1("Setting forwarding pointer for volume %u ...", afromvol);
code = AFSVolSetForwarding(fromconn, fromtid, atoserver);
- ONERR (code, "Failed to set the forwarding pointer for the volume %u\n", afromvol);
+ EGOTO1(mfail, code, "Failed to set the forwarding pointer for the volume %u\n", afromvol);
VDONE;
}
VPRINT1("Deleting old volume %u on source ...", afromvol);
code = AFSVolDeleteVolume(fromconn,fromtid); /* zap original volume */
- ONERR (code, "Failed to delete the old volume %u on source\n", afromvol);
+ EGOTO1(mfail, code, "Failed to delete the old volume %u on source\n", afromvol);
VDONE;
VPRINT1("Ending transaction on old volume %u on the source ...", afromvol);
code = AFSVolEndTrans(fromconn, fromtid, &rcode);
fromtid = 0;
if (!code) code = rcode;
- ONERR (code, "Failed to end the transaction on the old volume %u on the source\n", afromvol);
+ EGOTO1(mfail, code, "Failed to end the transaction on the old volume %u on the source\n", afromvol);
VDONE;
/* Delete the backup volume on the original site */
{
VPRINT1("Setting flags on backup volume %u on source ...", backupId);
code = AFSVolSetFlags(fromconn, fromtid, VTDeleteOnSalvage | VTOutOfService);
- ONERR (code, "Failed to set the flags on the backup volume on source\n", 0);
+ EGOTO1(mfail, code, "Failed to set the flags on the backup volume %u on the source\n", backupId);
VDONE;
VPRINT1("Deleting the backup volume %u on the source ...", backupId);
code = AFSVolDeleteVolume(fromconn,fromtid);
- ONERR (code, "Failed to delete the backup volume on source\n", 0);
+ EGOTO1(mfail, code, "Failed to delete the backup volume %u on the source\n", backupId);
VDONE;
VPRINT1("Ending transaction on backup volume %u on source ...", backupId);
code = AFSVolEndTrans(fromconn,fromtid, &rcode);
fromtid = 0;
if (!code) code = rcode;
- ONERR (code, "Failed to end the transaction on the backup volume %u on source\n", 0);
+ EGOTO1(mfail, code, "Failed to end the transaction on the backup volume %u on the source\n", backupId);
VDONE;
}
else code = 0; /* no backup volume? that's okay */
fromtid = 0;
VPRINT1("Starting transaction on the cloned volume %u ...", newVol);
code = AFSVolTransCreate(fromconn, newVol, afrompart, ITOffline, &clonetid);
- ONERR (code, "Failed to start a transaction on the cloned volume%u\n", newVol);
+ EGOTO1(mfail, code, "Failed to start a transaction on the cloned volume%u\n", newVol);
VDONE;
/* now delete the clone */
VPRINT1("Deleting the cloned volume %u ...", newVol);
code = AFSVolDeleteVolume(fromconn, clonetid);
- ONERR (code, "Failed to delete the cloned volume %u\n", newVol);
+ EGOTO1(mfail, code, "Failed to delete the cloned volume %u\n", newVol);
VDONE;
VPRINT1("Ending transaction on cloned volume %u ...", newVol);
code = AFSVolEndTrans(fromconn, clonetid, &rcode);
if (!code) code = rcode;
clonetid = 0;
- ONERR (code, "Failed to end the transaction on the cloned volume %u\n", newVol);
+ EGOTO1(mfail, code, "Failed to end the transaction on the cloned volume %u\n", newVol);
VDONE;
/* fall through */
* volume exists or not
*/
if (backexists) {
- if(verbose)
- fprintf(STDOUT,"Re-cloning backup volume %u ...", backupID);
- fflush(STDOUT);
+ VPRINT1("Re-cloning backup volume %u ...", backupID);
code = AFSVolReClone(aconn, ttid, backupID);
if (code) {
}
}
else {
- if (verbose)
- fprintf(STDOUT,"Creating a new backup clone %u ...", backupID);
- fflush(STDOUT);
+ VPRINT1("Creating a new backup clone %u ...", backupID);
strcpy(vname, entry.name);
strcat(vname,".backup");
goto bfail;
}
- if (verbose)
- fprintf(STDOUT,"done\n");
+ VDONE;
/* Will update the vldb below */
}
vldbEntryPtr->volumeId[ROVOL] = volid;
- if (verbose) fprintf(STDOUT,"done.\n");
+ VDONE;
/* The following is a bit redundant, since create sets these flags by default */
code = AFSVolSetFlags(*connPtr, *transPtr, VTDeleteOnSalvage | VTOutOfService);
* latest RO volume on the replication site
*/
else {
- if (verbose) {
- fprintf(STDOUT,"Updating existing ro volume %u on %s ...\n",
- volid, hostutil_GetNameByINet(vldbEntryPtr->serverNumber[index]));
- fflush(STDOUT);
- }
+ VPRINT2("Updating existing ro volume %u on %s ...\n",
+ volid, hostutil_GetNameByINet(vldbEntryPtr->serverNumber[index]));
code = AFSVolGetStatus(*connPtr, *transPtr, &tstatus);
if (code) {
/* Clone or reclone the volume */
if (roexists) {
- if (verbose)
- fprintf(STDERR, "Recloning RW volume ...\n");
-
+ VPRINT1("Recloning RW volume %u...", cloneVolId);
code = AFSVolReClone(fromconn, clonetid, cloneVolId);
ONERROR(code, afromvol, "Failed to reclone the RW volume %u\n");
+ VDONE;
} else {
if (roclone) {
strcpy(vname, entry.name);
strcat(vname, ".readonly");
- if (verbose)
- fprintf(STDERR, "Cloning RW volume ...\n");
+ VPRINT("Cloning RW volume %u to permanent RO...");
} else {
strcpy(vname, "readonly-clone-temp");
- if (verbose)
- fprintf(STDERR, "Cloning RW volume to temporary RO ...\n");
+ VPRINT("Cloning RW volume %u to temporary RO...");
}
code = AFSVolClone(fromconn, clonetid, 0, readonlyVolume, vname, &cloneVolId);
ONERROR(code, afromvol, "Failed to clone the RW volume %u\n");
+ VDONE;
}
/* Get the time the RW was created for future information */
+ VPRINT1("Getting status of RW volume %u...", cloneVolId);
code = AFSVolGetStatus(fromconn, clonetid, &volstatus);
ONERROR(code, cloneVolId, "Failed to get the status of the RW volume %u\n");
+ VDONE;
rwcrdate = volstatus.creationDate;
/* End the transaction on the RW volume */
+ VPRINT1("Ending cloning transaction on RW volume %u...", cloneVolId);
code = AFSVolEndTrans(fromconn, clonetid, &rcode);
clonetid = 0;
ONERROR((code?code:rcode), cloneVolId, "Failed to end cloning transaction on RW %u\n");
+ VDONE;
/* Remember clone volume ID in case we fail or are interrupted */
entry.cloneId = cloneVolId;
if (roclone) {
/* Bring the RO clone online - though not if it's a temporary clone */
+ VPRINT1("Starting transaction on RO clone volume %u...", cloneVolId);
code = AFSVolTransCreate(fromconn, cloneVolId, afrompart, ITOffline, &onlinetid);
ONERROR(code, cloneVolId, "Failed to start transaction on volume %u\n");
+ VDONE;
+ VPRINT1("Setting volume flags for volume %u...", cloneVolId);
tcode = AFSVolSetFlags(fromconn, onlinetid, 0);
+ VDONE;
+ VPRINT1("Ending transaction on volume %u...", cloneVolId);
code = AFSVolEndTrans(fromconn, onlinetid, &rcode);
ONERROR((code?code:rcode), cloneVolId, "Failed to end transaction on RO clone %u\n");
+ VDONE;
ONERROR(tcode, cloneVolId, "Could not bring volume %u on line\n");
* temporarily unavailable.
*/
MapNetworkToHost(&entry, &storeEntry);
+ VPRINT1("Replacing VLDB entry for %s...", entry.name);
vcode = VLDB_ReplaceEntry(afromvol, RWVOL, &storeEntry, 0);
ONERROR(vcode, entry.name, "Could not update vldb entry for %s.\n");
+ VDONE;
}
}
memset(results.manyResults_val, 0, (sizeof(afs_int32)*nservers+1));
/* Create a transaction on the cloned volume */
+ VPRINT1("Starting transaction on cloned volume %u...", cloneVolId);
code = AFSVolTransCreate(fromconn, cloneVolId, afrompart, ITBusy, &fromtid);
if (!fullrelease && code)
ONERROR(VOLSERNOVOL, afromvol,"Old clone is inaccessible. Try vos release -f %u.\n");
ONERROR(code, 0, "Failed to create transaction on the release clone\n");
+ VDONE;
/* For each index in the VLDB */
for (vldbindex=0; vldbindex<entry.nServers; ) {
}
code = DelVol (fromconn, cloneVolId, afrompart, ITOffline);
ONERROR (code, cloneVolId, "Failed to delete volume %u.\n");
- if (verbose)
- fprintf(STDOUT," done\n");
+ VDONE;
}
entry.cloneId = 0;
entry.serverFlags[i] &= ~NEW_REPSITE;
/* Update the VLDB */
- if (verbose) {
- fprintf(STDOUT,"updating VLDB ...");
- fflush(STDOUT);
- }
+ VPRINT("updating VLDB ...");
+
MapNetworkToHost(&entry, &storeEntry);
vcode = VLDB_ReplaceEntry(afromvol, RWVOL, &storeEntry,
LOCKREL_OPCODE | LOCKREL_AFSID | LOCKREL_TIMESTAMP);
ONERROR(vcode, afromvol, " Could not update VLDB entry for volume %u\n");
- if (verbose)
- fprintf(STDOUT," done\n");
+ VDONE;
rfail:
if (clonetid) {
}
-void dump_sig_handler(x)
+void dump_sig_handler(int x)
{
fprintf(STDERR,"\nSignal handler: vos dump operation\n");
longjmp(env,0);
/* get connections to the servers */
fromconn = UV_Bind(afromserver, AFSCONF_VOLUMEPORT);
code = AFSVolTransCreate(fromconn, afromvol, afrompart, ITBusy, &fromtid);
- if (code) {
- fprintf(STDERR,"Could not start transaction on the volume %u to be dumped\n", afromvol);
- ERROR_EXIT(code);
- }
+ EGOTO1(error_exit, code, "Could not start transaction on the volume %u to be dumped\n", afromvol);
- if (verbose) {
- if (!fromdate)
- fprintf(STDERR,"Full Dump ...");
- else
- fprintf(STDERR,"Incremental Dump (as of %.24s) ...",
+ if (!fromdate)
+{ VPRINT("Full Dump ..."); }
+ else
+{
+ VPRINT1("Incremental Dump (as of %.24s) ...",
ctime((time_t *)&fromdate));
- fflush(STDERR);
- }
+}
fromcall = rx_NewCall(fromconn);
code = StartAFSVolDump(fromcall, fromtid, fromdate);
- if (code) {
- fprintf(STDERR,"Could not start the dump process \n");
- ERROR_EXIT(code);
- }
- if (code = DumpFunction(fromcall, rock)) {
- fprintf(STDERR,"Error while dumping volume \n");
- ERROR_EXIT(code);
- }
+ EGOTO(error_exit, code, "Could not start the dump process \n");
- if (verbose)
- fprintf(STDERR,"completed\n");
+ code = DumpFunction(fromcall, rock);
+ EGOTO(error_exit, code, "Error while dumping volume \n");
+
+ VPRINT("completed\n");
error_exit:
if (fromcall) {
}/* at this point we have a volume id to use/reuse for the volume to be restored */
if(strlen(tovolname) > (VOLSER_OLDMAXVOLNAME - 1)) {
- fprintf(STDERR,"The volume name %s exceeds the maximum limit of (VOLSER_OLDMAXVOLNAME -1 ) bytes\n",tovolname);
- error = VOLSERBADOP;
- goto refail;
+ EGOTO1(refail, VOLSERBADOP, "The volume name %s exceeds the maximum limit of (VOLSER_OLDMAXVOLNAME -1 ) bytes\n",tovolname);
}
MapPartIdIntoName(topart, partName);
fprintf(STDOUT,"Restoring volume %s Id %u on server %s partition %s ..", tovolname,
code = AFSVolCreateVolume(toconn, topart, tovolname, volsertype, 0,&pvolid, &totid);
if (code){
if (flags & RV_FULLRST) { /* full restore: delete then create anew */
- if(verbose) {
- fprintf(STDOUT,"Deleting the previous volume %u ...",pvolid);
- fflush(STDOUT);
- }
+ VPRINT1("Deleting the previous volume %u ...",pvolid);
+
code = AFSVolTransCreate(toconn, pvolid, topart, ITOffline, &totid);
- if (code) {
- fprintf(STDERR,"Failed to start transaction on %u\n",pvolid);
- error = code;
- goto refail;
- }
+ EGOTO1(refail, code, "Failed to start transaction on %u\n",pvolid);
+
code = AFSVolSetFlags(toconn, totid, VTDeleteOnSalvage | VTOutOfService);
- if (code){
- fprintf(STDERR,"Could not set flags on volume %u \n",pvolid);
- error = code;
- goto refail;
- }
+ EGOTO1(refail, code, "Could not set flags on volume %u \n",pvolid);
+
code = AFSVolDeleteVolume(toconn,totid);
- if (code){
- fprintf(STDERR,"Could not delete volume %u\n",pvolid);
- error = code;
- goto refail;
- }
+ EGOTO1(refail, code, "Could not delete volume %u\n",pvolid);
+
code = AFSVolEndTrans(toconn, totid, &rcode);
totid = 0;
if (!code) code = rcode;
- if (code) {
- fprintf(STDERR,"Could not end transaction on %u\n",pvolid);
- error = code;
- goto refail;
- }
- if (verbose) fprintf(STDOUT," done\n");
+ EGOTO1(refail, code, "Could not end transaction on %u\n",pvolid);
+
+ VDONE;
+
code = AFSVolCreateVolume(toconn, topart, tovolname, volsertype, 0,&pvolid, &totid);
- if (code){
- fprintf(STDERR,"Could not create new volume %u\n",pvolid);
- error = code;
- goto refail;}
+ EGOTO1(refail, code, "Could not create new volume %u\n",pvolid);
}
else{
-
code = AFSVolTransCreate(toconn, pvolid, topart, ITOffline, &totid);
- if (code) {
- fprintf(STDERR,"Failed to start transaction on %u\n",pvolid);
- error = code;
- goto refail;
- }
+ EGOTO1(refail, code, "Failed to start transaction on %u\n",pvolid);
}
}
cookie.parent = pvolid;
if (!vcode) MapHostToNetwork(&entry);
if(vcode == VL_NOENT) { /* it doesnot exist already */
/*make the vldb return this indication specifically*/
- if (verbose) fprintf(STDOUT,"------- Creating a new VLDB entry ------- \n");
+ VPRINT("------- Creating a new VLDB entry ------- \n");
strcpy(entry.name, tovolname);
entry.nServers = 1;
entry.serverNumber[0] = toserver;/*should be indirect */
* if its different from new site.
*/
same = VLDB_IsSameAddrs(toserver, entry.serverNumber[index], &errcode);
- if (errcode) {
- fprintf(STDERR,"Failed to get info about server's %d address(es) from vlserver (err=%d)\n",
+ EPRINT2(errcode, "Failed to get info about server's %d address(es) from vlserver (err=%d)\n",
toserver, errcode);
- }
if ( (!errcode && !same) || (entry.serverPartition[index] != topart) ) {
tempconn = UV_Bind(entry.serverNumber[index], AFSCONF_VOLUMEPORT);
- if (verbose) {
- MapPartIdIntoName(entry.serverPartition[index], apartName);
- fprintf(STDOUT,"Deleting the previous volume %u on server %s, partition %s ...",
+
+ MapPartIdIntoName(entry.serverPartition[index], apartName);
+ VPRINT3("Deleting the previous volume %u on server %s, partition %s ...",
pvolid,
hostutil_GetNameByINet(entry.serverNumber[index]), apartName);
- fflush(STDOUT);
- }
code = AFSVolTransCreate(tempconn, pvolid, entry.serverPartition[index], ITOffline, &temptid);
if (!code){
code = AFSVolSetFlags(tempconn, temptid, VTDeleteOnSalvage | VTOutOfService);
error = code;
goto refail;
}
- if(verbose) fprintf(STDOUT," done\n");
+ VDONE;
MapPartIdIntoName(entry.serverPartition[index],partName);
}
}
afs_int32 vcode;
- if (verbose) fprintf(STDERR,"Binding to the VLDB server\n");
+ VPRINT("Binding to the VLDB server\n");
vcode = ubik_Call(VL_ReleaseLock,cstruct, 0,volid,-1,LOCKREL_OPCODE | LOCKREL_AFSID | LOCKREL_TIMESTAMP );
if(vcode) {
fprintf(STDERR,"Could not unlock the entry for volume number %u in VLDB \n",volid);
PrintError("",vcode);
return (vcode);
}
- if (verbose) fprintf(STDERR,"VLDB updated\n");
+ VPRINT("VLDB updated\n");
return 0;
}
goto asfail;
}
- if (verbose) fprintf(STDOUT,"Adding a new site ...");
- fflush(STDOUT);
+ VPRINT("Adding a new site ...");
entry.serverNumber[entry.nServers] = server;
entry.serverPartition[entry.nServers] = part;
entry.serverFlags[entry.nServers] = (ITSROVOL | RO_DONTUSE);
goto asfail;
}
islocked = 0;
- if (verbose) fprintf(STDOUT," done\n");
+ VDONE;
asfail:
if (islocked) {
if((entry.nServers == 1) && (entry.flags & RW_EXISTS))
entry.flags &= ~RO_EXISTS;
if(entry.nServers < 1) { /*this is the last ref */
- if(verbose) fprintf(STDOUT,"Deleting the VLDB entry for %u ...",volid);
+ VPRINT1("Deleting the VLDB entry for %u ...",volid);
fflush(STDOUT);
vcode = ubik_Call(VL_DeleteEntry,cstruct, 0,volid, ROVOL);
if(vcode) {
PrintError("",vcode);
return(vcode);
}
- if (verbose) fprintf(STDOUT," done\n");
+ VDONE;
}
MapNetworkToHost(&entry,&storeEntry);
fprintf(STDOUT,"Deleting the replication site for volume %u ...",volid);
ubik_Call(VL_ReleaseLock,cstruct, 0, volid, RWVOL, LOCKREL_OPCODE | LOCKREL_AFSID | LOCKREL_TIMESTAMP);
return(vcode);
}
- if(verbose) fprintf(STDOUT," done\n");
+ VDONE;
}
return 0;
}
ubik_Call(VL_ReleaseLock,cstruct, 0, volid, RWVOL, LOCKREL_OPCODE | LOCKREL_AFSID | LOCKREL_TIMESTAMP);
return(vcode);
}
- if(verbose) fprintf(STDOUT," done\n");
+ VDONE;
}
return 0;
}
}
if(success) curPtr->volFlags |= CLONEZAPPED;
if(!success) fprintf(STDERR,"Could not zap volume %u\n",curPtr->volCloneId);
- if(success && verbose) fprintf(STDOUT,"Clone of %s %u deleted\n", curPtr->volName,curPtr->volCloneId);
+ if(success) VPRINT2("Clone of %s %u deleted\n", curPtr->volName,curPtr->volCloneId);
curPos++;
tid = 0;
}
curPtr->volFlags |= CLONEVALID;
/*make a clone of curParentId and record as curPtr->volCloneId */
code = AFSVolTransCreate(aconn, curPtr->volId, apart, ITOffline, &tid);
- if(verbose && code) fprintf(STDERR,"Clone for volume %s %u failed \n",curPtr->volName,curPtr->volId);
+ if(code) VPRINT2("Clone for volume %s %u failed \n",curPtr->volName,curPtr->volId);
if(code) {
curPtr->volFlags &= ~CLONEVALID; /*cant clone */
curPos++;
fprintf(STDERR,"WARNING: could not end transaction\n");
continue;
}
- if(verbose) fprintf(STDOUT,"********** Cloned %s temporary %u\n",cloneName,curPtr->volCloneId);
+ VPRINT2("********** Cloned %s temporary %u\n",cloneName,curPtr->volCloneId);
code = AFSVolEndTrans(aconn, tid, &rcode);
if(code || rcode) {
curPtr->volFlags &= ~CLONEVALID;
}
error_exit:
- if (verbose) {
- fprintf(STDOUT,"\n_______________________________\n");
- }
+ VPRINT("\n_______________________________\n");
return(error);
}
aconn = UV_Bind(aserver,AFSCONF_VOLUMEPORT);
/* If a volume ID were given, search for it on each partition */
- if (volumeid = atol(avolname)) {
+ if ((volumeid = atol(avolname))) {
for (j=0; j<pcnt; j++) {
code = AFSVolListOneVolume(aconn, PartList.partId[j], volumeid, &volumeInfo);
if (code) {
pcnt = 1;
}
- if (verbose) {
- fprintf(STDOUT,"Processing volume entries ...\n");
- fflush(STDOUT);
- }
-
+ VPRINT("Processing volume entries ...\n");
+
/* Step through the array of partitions */
for (i = 0; i < pcnt; i++) {
apart = PartList.partId[i];
}/* thru all partitions */
- if (verbose) {
- fprintf(STDOUT, "Total entries: %u, Failed to process %d, Changed %d\n",
+ VPRINT3("Total entries: %u, Failed to process %d, Changed %d\n",
tentries, failures, modifications);
- }
error_exit:
/* Now check if the maxvolid is larger than that stored in the VLDB */
}
error_exit:
- if (verbose) {
- fprintf(STDOUT,"\n_______________________________\n");
- }
+ VPRINT("\n_______________________________\n");
if (islocked) {
code = ubik_Call(VL_ReleaseLock, cstruct, 0, entry->volumeId[RWVOL], RWVOL,
attributes.Mask |= VLLIST_PARTITION;
}
- if (verbose) {
- fprintf(STDOUT,"Processing VLDB entries ...\n");
- fflush(STDOUT);
- }
+ VPRINT("Processing VLDB entries ...\n");
/* While we need to collect more VLDB entries */
for (si=0; si != -1; si=nsi) {
vlentry = &arrayEntries.nbulkentries_val[j];
MapHostToNetwork(vlentry);
- if (verbose) {
- fprintf(STDOUT,"Processing VLDB entry %d ...\n", j+1);
- fflush(STDOUT);
- }
+ VPRINT1("Processing VLDB entry %d ...\n", j+1);
code = CheckVldb(vlentry, &modified);
if (code) {
}
}
- if (verbose) {
- fprintf(STDOUT,"Total entries: %u, Failed to process %d, Changed %d\n",
+ VPRINT3("Total entries: %u, Failed to process %d, Changed %d\n",
tentries, failures, modifications);
- }
error_exit:
if (aconn)
error = vcode;
goto rvfail;
}
- if(verbose) fprintf(STDOUT,"Recorded the new name %s in VLDB\n",newname);
+ VPRINT1("Recorded the new name %s in VLDB\n",newname);
/*at this stage the intent to rename is recorded in the vldb, as far as the vldb
is concerned, oldname is lost */
if(entry->flags & RW_EXISTS) {
code = AFSVolSetIdsTypes(aconn, tid, newname,RWVOL, entry->volumeId[RWVOL],entry->volumeId[ROVOL],entry->volumeId[BACKVOL]);
if(!code) {
- if(verbose) printf("Renamed rw volume %s to %s\n",oldname,newname);
+ VPRINT2("Renamed rw volume %s to %s\n",oldname,newname);
code = AFSVolEndTrans(aconn, tid, &rcode);
tid = 0;
if(code) {
code = AFSVolSetIdsTypes(aconn, tid,nameBuffer ,BACKVOL, entry->volumeId[RWVOL],0,0);
if(!code) {
- if(verbose) fprintf(STDOUT,"Renamed backup volume to %s \n",nameBuffer);
+ VPRINT1("Renamed backup volume to %s \n",nameBuffer);
code = AFSVolEndTrans(aconn, tid, &rcode);
tid = 0;
if(code) {
}
code = AFSVolSetIdsTypes(aconn, tid, nameBuffer,ROVOL, entry->volumeId[RWVOL],0,0);
if(!code) {
- if(verbose) fprintf(STDOUT,"Renamed RO volume %s on host %s\n",
+ VPRINT2("Renamed RO volume %s on host %s\n",
nameBuffer,
hostutil_GetNameByINet(entry->serverNumber[i]));
code = AFSVolEndTrans(aconn, tid, &rcode);