set ${SYS_NAME}/dest; $(MKDIR_IF_NEEDED)
$(MAKE) install "COMPILE_PART1=cd src; cd" "COMPILE_PART2=; $(MAKE) install SYS_NAME=${SYS_NAME} DESTDIR=`pwd`/${SYS_NAME}/dest/ TOP_SRCDIR=@TOP_SRCDIR@ SRCDIR=`pwd`/${SYS_NAME}/dest/" "COMPILE_PART3=; $(MAKE) test SYS_NAME=${SYS_NAME} DESTDIR=`pwd`/${SYS_NAME}/dest/ TOP_SRCDIR=@TOP_SRCDIR@ SRCDIR=`pwd`/${SYS_NAME}/dest/" "COMPILE_CLEAN=; $(MAKE) clean SYS_NAME=${SYS_NAME} DESTDIR=`pwd`/${SYS_NAME}/dest/ TOP_SRCDIR=@TOP_SRCDIR@ SRCDIR=`pwd`/${SYS_NAME}/dest/" SYS_NAME=${SYS_NAME}
+all_nolibafs:
+ set ${SYS_NAME}/dest; $(MKDIR_IF_NEEDED)
+ $(MAKE) install TARGET=finale_nolibafs "COMPILE_PART1=cd src; cd" "COMPILE_PART2=; $(MAKE) install SYS_NAME=${SYS_NAME} DESTDIR=`pwd`/${SYS_NAME}/dest/ TOP_SRCDIR=@TOP_SRCDIR@ SRCDIR=`pwd`/${SYS_NAME}/dest/" "COMPILE_PART3=; $(MAKE) test SYS_NAME=${SYS_NAME} DESTDIR=`pwd`/${SYS_NAME}/dest/ TOP_SRCDIR=@TOP_SRCDIR@ SRCDIR=`pwd`/${SYS_NAME}/dest/" "COMPILE_CLEAN=; $(MAKE) clean SYS_NAME=${SYS_NAME} DESTDIR=`pwd`/${SYS_NAME}/dest/ TOP_SRCDIR=@TOP_SRCDIR@ SRCDIR=`pwd`/${SYS_NAME}/dest/" SYS_NAME=${SYS_NAME}
+
+only_libafs:
+ set ${SYS_NAME}/dest; $(MKDIR_IF_NEEDED)
+ $(MAKE) install TARGET=libafs "COMPILE_PART1=cd src; cd" "COMPILE_PART2=; $(MAKE) install SYS_NAME=${SYS_NAME} DESTDIR=`pwd`/${SYS_NAME}/dest/ TOP_SRCDIR=@TOP_SRCDIR@ SRCDIR=`pwd`/${SYS_NAME}/dest/" "COMPILE_PART3=; $(MAKE) test SYS_NAME=${SYS_NAME} DESTDIR=`pwd`/${SYS_NAME}/dest/ TOP_SRCDIR=@TOP_SRCDIR@ SRCDIR=`pwd`/${SYS_NAME}/dest/" "COMPILE_CLEAN=; $(MAKE) clean SYS_NAME=${SYS_NAME} DESTDIR=`pwd`/${SYS_NAME}/dest/ TOP_SRCDIR=@TOP_SRCDIR@ SRCDIR=`pwd`/${SYS_NAME}/dest/" SYS_NAME=${SYS_NAME}
+
project: cmd comerr
config:
fsint: project kfsint
-kfsint: lwp rxgen rxincls
+kfsint: lwp rxgen rxincls
${COMPILE_PART1} fsint ${COMPILE_PART2}
export2: project fsint
libafsauthent libadmin
${COMPILE_PART1} finale ${COMPILE_PART2}
+finale_nolibafs: project cmd comerr afsd allrcmds butc tbutc libuafs audit kauth log package \
+ ptserver scout bu_utils ubik uss bozo vfsck volser \
+ venus update xstat afsmonitor dauth tests libafsrpc \
+ libafsauthent libadmin
+ ${COMPILE_PART1} finale ${COMPILE_PART2}
+
# Use washtool to ensure MakefileProto is current and obj/libafs exists.
libafs_setup: config export
/bin/rm -f config.log config.cache config.status Makefile
/bin/rm -f src/config/afsconfig.h src/config/Makefile.${SYS_NAME}
/bin/rm -f src/libafs/Makefile src/libafs/MakefileProto.${MKAFS_OSTYPE}
- /bin/rm -f src/libuafs/Makefile src/kauth/Kkauth.cs.c
+ /bin/rm -f src/libuafs/Makefile afs.ppc_darwin.plist src/pam/Makefile
+
+pristine: distclean
+ /bin/rm -f src/config/afsconfig.h.in configure aclocal.m4
links:
echo "Remove the obj directory"
[ --enable-fast-restart enable fast startup of file server without salvaging],, enable_fast_restart="no")
AC_ARG_ENABLE( bitmap-later,
[ --enable-bitmap-later enable fast startup of file server by not reading bitmap till needed],, enable_bitmap_later="no")
+AC_ARG_WITH(dux-kernel-headers,
+[ --with-dux-kernel-headers=path use the kernel headers found at path(optional, defaults to first match in /usr/sys)]
+)
AC_ARG_WITH(linux-kernel-headers,
[ --with-linux-kernel-headers=path use the kernel headers found at path(optional, defaults to /usr/src/linux)]
)
AC_ARG_ENABLE(kernel-module,
[ --disable-kernel-module disable compilation of the kernel module (defaults to enabled)],, enable_kernel_module="yes"
)
+AC_ARG_ENABLE(redhat-buildsys,
+[ --enable-redhat-buildsys enable compilation of the redhat build system kernel (defaults to disabled)],, enable_redhat_buildsys="no"
+)
AC_PROG_CC
if test -f "$LINUX_KERNEL_PATH/include/linux/version.h"; then
linux_kvers=`fgrep UTS_RELEASE $LINUX_KERNEL_PATH/include/linux/version.h |awk 'BEGIN { FS="\"" } { print $2 }'|tail -1`
if test "x$linux_kvers" = "x"; then
- AC_MSG_ERROR(Linux headers lack version definition)
- exit 1
+ if test -f "$LINUX_KERNEL_PATH/include/linux/version-up.h"; then
+ linux_kvers=`fgrep UTS_RELEASE $LINUX_KERNEL_PATH/include/linux/version-up.h |awk 'BEGIN { FS="\"" } { print $2 }'|tail -1`
+ if test "x$linux_kvers" = "x"; then
+
+ AC_MSG_ERROR(Linux headers lack version definition [2])
+ exit 1
+ else
+ LINUX_VERSION="$linux_kvers"
+ fi
+ else
+ AC_MSG_ERROR(Linux headers lack version definition)
+ exit 1
+ fi
else
LINUX_VERSION="$linux_kvers"
fi
AC_MSG_RESULT(linux)
if test "x$enable_kernel_module" = "xyes"; then
LINUX_FS_STRUCT_INODE_HAS_I_BYTES
+ LINUX_FS_STRUCT_ADDRESS_SPACE_HAS_PAGE_LOCK
LINUX_INODE_SETATTR_RETURN_TYPE
LINUX_NEED_RHCONFIG
LINUX_WHICH_MODULES
+ if test "x$ac_cv_linux_func_inode_setattr_returns_int" = "xyes" ; then
+ AC_DEFINE(INODE_SETATTR_NOT_VOID)
+ fi
+ if test "x$ac_cv_linux_fs_struct_inode_has_i_bytes" = "xyes"; then
+ AC_DEFINE(STRUCT_INODE_HAS_I_BYTES)
+ fi
+ if test "x$ac_cv_linux_fs_struct_address_space_has_page_lock" = "xyes"; then
+ AC_DEFINE(STRUCT_ADDRESS_SPACE_HAS_PAGE_LOCK)
+ fi
:
fi
;;
*-solaris*)
MKAFS_OSTYPE=SOLARIS
AC_MSG_RESULT(sun4)
+ SOLARIS_UFSVFS_HAS_DQRWLOCK
;;
*-hpux*)
MKAFS_OSTYPE=HPUX
*-osf*)
MKAFS_OSTYPE=DUX
AC_MSG_RESULT(alpha_dux)
+ if test "x$enable_kernel_module" = "xyes"; then
+ if test "x$with_dux_kernel_headers" != "x"; then
+ HEADER_RT=`ls ${with_dux_kernel_headers}/rt_preempt.h | head -1 | sed 's,/rt_preempt.h,,;s,/usr/sys/,,'`
+ else
+ HEADER_RT=`ls /usr/sys/*/rt_preempt.h | head -1 | sed 's,/rt_preempt.h,,;s,/usr/sys/,,'`
+ fi
+ fi
+ if test "$HEADER_RT" = "*" ; then
+ AC_MSG_ERROR([Need a configured kernel directory])
+ fi
+ AC_SUBST([HEADER_RT])
;;
*-darwin*)
MKAFS_OSTYPE=DARWIN
;;
esac
+if test "x$with_afs_sysname" != "x"; then
+ AFS_SYSNAME="$with_afs_sysname"
+else
+ AC_MSG_CHECKING(your AFS sysname)
+ case $host in
+ i?86-*-freebsd4.2*)
+ AFS_SYSNAME="i386_fbsd_42"
+ ;;
+ hppa-hp-hpux11*)
+ AFS_SYSNAME="hp_ux110"
+ ;;
+ hppa-hp-hpux10*)
+ AFS_SYSNAME="hp_ux102"
+ ;;
+ powerpc-apple-darwin1.2*)
+ AFS_SYSNAME="ppc_darwin_12"
+ ;;
+ powerpc-apple-darwin1.3*)
+ AFS_SYSNAME="ppc_darwin_13"
+ ;;
+ sparc-sun-solaris2.5*)
+ AFS_SYSNAME="sun4x_55"
+ ;;
+ sparc-sun-solaris2.6)
+ AFS_SYSNAME="sun4x_56"
+ ;;
+ sparc-sun-solaris2.7)
+ AFS_SYSNAME="sun4x_57"
+ ;;
+ sparc-sun-solaris2.8)
+ AFS_SYSNAME="sun4x_58"
+ ;;
+ alpha*-dec-osf4.0*)
+ AFS_SYSNAME="alpha_dux40"
+ ;;
+ alpha*-dec-osf5.0*)
+ AFS_SYSNAME="alpha_dux50"
+ ;;
+ mips-sgi-irix6.5)
+ AFS_SYSNAME="sgi_65"
+ ;;
+ powerpc-*-linux*)
+ AFS_SYSNAME="ppc_linuxXX"
+ ;;
+ alpha*-linux*)
+ AFS_SYSNAME="alpha_linux_XX"
+ ;;
+ sparc-*-linux*)
+ AFS_SYSNAME="sparc_linuxXX"
+ ;;
+ sparc64-*-linux*)
+ AFS_SYSNAME="sparc64_linuxXX"
+ ;;
+ i?86-*-linux*)
+ AFS_SYSNAME="i386_linuxXX"
+ ;;
+ power*-ibm-aix4.2*)
+ AFS_SYSNAME="rs_aix42"
+ ;;
+ power*-ibm-aix4.3*)
+ AFS_SYSNAME="rs_aix42"
+ ;;
+ default)
+ AC_MSG_ERROR(An AFS sysname is required)
+ exit 1
+ ;;
+ esac
+ case $AFS_SYSNAME in
+ *_linux*)
+ AFS_SYSKVERS=`echo $LINUX_VERSION | awk -F\. '{print $1 $2}'`
+ _AFS_SYSNAME=`echo $AFS_SYSNAME|sed s/XX\$/$AFS_SYSKVERS/`
+ AFS_SYSNAME="$_AFS_SYSNAME"
+ ;;
+ esac
+ AC_MSG_RESULT($AFS_SYSNAME)
+fi
+
+
if test "x${MKAFS_OSTYPE}" = "xIRIX"; then
echo Skipping library tests because they confuse Irix.
else
AC_DEFINE(BITMAP_LATER)
fi
-# Should autocompute a default
-if test "x$with_afs_sysname" != "x"; then
- AFS_SYSNAME="$with_afs_sysname"
-else
- AC_MSG_ERROR(An AFS sysname is required)
- exit 1
-fi
-
if test "$enable_bos_restricted_mode" = "yes"; then
AC_DEFINE(BOS_RESTRICTED_MODE)
fi
AC_OUTPUT( \
Makefile \
+src/config/Makefile.version-NOCML \
src/config/Makefile.${AFS_SYSNAME} \
src/libafs/MakefileProto.${MKAFS_OSTYPE} \
+src/pam/Makefile \
+src/afsd/afs.ppc_darwin.plist \
)
* osi_cred.c - Linux cred handling routines.
*
*/
-#include "../afs/param.h"
#include <afsconfig.h>
+#include "../afs/param.h"
-RCSID("$Header: /tmp/cvstemp/openafs/src/afs/LINUX/osi_cred.c,v 1.3 2001/07/11 04:03:24 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/afs/LINUX/osi_cred.c,v 1.4 2001/07/15 07:22:26 hartmans Exp $");
#include "../afs/sysincludes.h"
#include "../afs/afsincludes.h"
* directory or online at http://www.openafs.org/dl/license10.html
*/
-#include "../afs/param.h" /* Should be always first */
#include <afsconfig.h>
+#include "../afs/param.h"
-RCSID("$Header: /tmp/cvstemp/openafs/src/afs/LINUX/osi_file.c,v 1.5 2001/07/11 04:03:24 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/afs/LINUX/osi_file.c,v 1.6 2001/07/15 07:22:26 hartmans Exp $");
#include "../afs/sysincludes.h" /* Standard vendor system headers */
#include "../afs/afsincludes.h" /* Afs-based standard headers */
* Linux support routines.
*
*/
-#include "../afs/param.h"
#include <afsconfig.h>
+#include "../afs/param.h"
-RCSID("$Header: /tmp/cvstemp/openafs/src/afs/LINUX/osi_misc.c,v 1.5 2001/07/11 04:03:24 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/afs/LINUX/osi_misc.c,v 1.6 2001/07/15 07:22:26 hartmans Exp $");
#include "../afs/sysincludes.h"
#include "../afs/afsincludes.h"
* Linux module support routines.
*
*/
-#include "../afs/param.h"
#include <afsconfig.h>
+#include "../afs/param.h"
-RCSID("$Header: /tmp/cvstemp/openafs/src/afs/LINUX/osi_module.c,v 1.5 2001/07/11 04:03:24 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/afs/LINUX/osi_module.c,v 1.6 2001/07/15 07:22:26 hartmans Exp $");
#include "../afs/sysincludes.h"
#include "../afs/afsincludes.h"
* stat calls.
*/
-#include "../afs/param.h"
#include <afsconfig.h>
+#include "../afs/param.h"
-RCSID("$Header: /tmp/cvstemp/openafs/src/afs/LINUX/osi_vnodeops.c,v 1.7 2001/07/11 04:03:24 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/afs/LINUX/osi_vnodeops.c,v 1.8 2001/07/15 07:22:26 hartmans Exp $");
#include "../afs/sysincludes.h"
#include "../afs/afsincludes.h"
* afs_index
*/
-#include "../afs/param.h" /* Should be always first */
#include <afsconfig.h>
+#include "../afs/param.h"
-RCSID("$Header: /tmp/cvstemp/openafs/src/afs/VNOPS/afs_vnop_lookup.c,v 1.5 2001/07/11 04:03:25 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/afs/VNOPS/afs_vnop_lookup.c,v 1.6 2001/07/15 07:22:27 hartmans Exp $");
#include "../afs/sysincludes.h" /* Standard vendor system headers */
#include "../afs/afsincludes.h" /* Afs-based standard headers */
*
*/
-#include "../afs/param.h" /* Should be always first */
#include <afsconfig.h>
+#include "../afs/param.h"
-RCSID("$Header: /tmp/cvstemp/openafs/src/afs/VNOPS/afs_vnop_readdir.c,v 1.6 2001/07/11 04:03:25 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/afs/VNOPS/afs_vnop_readdir.c,v 1.7 2001/07/15 07:22:27 hartmans Exp $");
#include "../afs/sysincludes.h" /* Standard vendor system headers */
#include "../afs/afsincludes.h" /* Afs-based standard headers */
* directory or online at http://www.openafs.org/dl/license10.html
*/
-#include "../afs/param.h" /* Should be always first */
#include <afsconfig.h>
+#include "../afs/param.h"
-RCSID("$Header: /tmp/cvstemp/openafs/src/afs/afs_call.c,v 1.5 2001/07/11 04:03:23 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/afs/afs_call.c,v 1.6 2001/07/15 07:22:24 hartmans Exp $");
#include "../afs/sysincludes.h" /* Standard vendor system headers */
#include "../afs/afsincludes.h" /* Afs-based standard headers */
* directory or online at http://www.openafs.org/dl/license10.html
*/
-#include "../afs/param.h" /* Should be always first */
#include <afsconfig.h>
+#include "../afs/param.h"
-RCSID("$Header: /tmp/cvstemp/openafs/src/afs/afs_daemons.c,v 1.3 2001/07/11 04:03:23 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/afs/afs_daemons.c,v 1.4 2001/07/15 07:22:24 hartmans Exp $");
#include "../afs/sysincludes.h" /* Standard vendor system headers */
#include "../afs/afsincludes.h" /* Afs-based standard headers */
* directory or online at http://www.openafs.org/dl/license10.html
*/
-#include "../afs/param.h" /* Should be always first */
#include <afsconfig.h>
+#include "../afs/param.h"
-RCSID("$Header: /tmp/cvstemp/openafs/src/afs/afs_pioctl.c,v 1.7 2001/07/11 04:03:23 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/afs/afs_pioctl.c,v 1.8 2001/07/15 07:22:25 hartmans Exp $");
#include "../afs/sysincludes.h" /* Standard vendor system headers */
#include "../afs/afsincludes.h" /* Afs-based standard headers */
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
-<plist version="0.9">
-<dict>
- <key>CFBundleDevelopmentRegion</key>
- <string>English</string>
- <key>CFBundleExecutable</key>
- <string>afs</string>
- <key>CFBundleIdentifier</key>
- <string>org.openafs.filesystems.afs</string>
- <key>CFBundleInfoDictionaryVersion</key>
- <string>6.0</string>
- <key>CFBundleName</key>
- <string>afs</string>
- <key>CFBundlePackageType</key>
- <string>KEXT</string>
- <key>CFBundleShortVersionString</key>
- <string>1.0.3</string>
- <key>CFBundleSignature</key>
- <string>????</string>
- <key>CFBundleVersion</key>
- <string>1.0.3</string>
- <key>OSBundleLibraries</key>
- <dict>
- <key>com.apple.kernel.bsd</key>
- <string>1.0.0b1</string>
- <key>com.apple.kernel.mach</key>
- <string>1.0.0b1</string>
- </dict>
-</dict>
-</plist>
#
# compilation and link editor flags
-DBG=-g -Wall
+DBG=-g
OPTMZ=-O2
PAM_CFLAGS = -O2 -Dlinux -DLINUX_PAM -fPIC
# Put -O2 here to _ensure_ all Makefiles pick it up.
AS=as
CP=cp
LD=ld
-MT_CC=gcc
+MT_CC=cc
MV=mv
RANLIB=ranlib
RM=rm
+++ /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
-
-AFS_component_version_number.o: AFS_component_version_number.c
-
-AFS_component_version_number.c:
- echo 'char cml_version_number[]="@(#) OpenAFS devel built ' `date +"%Y-%m-%d"` '";' >AFS_component_version_number.c;
- echo 'char* AFSVersion = "openafs devel"; ' >>AFS_component_version_number.c;
-
-noversion: install
-
* *
\*******************************************************************/
-#include <afs/param.h>
#include <afsconfig.h>
+#include <afs/param.h>
-RCSID("$Header: /tmp/cvstemp/openafs/src/lwp/lwp.c,v 1.7 2001/07/11 04:03:27 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/lwp/lwp.c,v 1.8 2001/07/15 07:22:29 hartmans Exp $");
#include <stdlib.h>
#include <stdio.h>
* Carnegie-Mellon University *
* *
\*******************************************************************/
-#include <afs/param.h>
#include <afsconfig.h>
+#include <afs/param.h>
-RCSID("$Header: /tmp/cvstemp/openafs/src/lwp/preempt.c,v 1.6 2001/07/11 04:03:28 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/lwp/preempt.c,v 1.7 2001/07/15 07:22:29 hartmans Exp $");
#if defined(AFS_LINUX20_ENV) || defined(AFS_DARWIN_ENV) || defined(AFS_FBSD_ENV) || defined(AFS_DJGPP_ENV)
/* process.c - manage lwp context switches be means of setjmp/longjmp. */
-#include <afs/param.h>
#include <afsconfig.h>
+#include <afs/param.h>
-RCSID("$Header: /tmp/cvstemp/openafs/src/lwp/process.c,v 1.6 2001/07/11 04:03:28 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/lwp/process.c,v 1.7 2001/07/15 07:22:30 hartmans Exp $");
#include <stdio.h>
#include <assert.h>
+++ /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
-
-SHELL=/bin/sh
-KERNELDIR = ../libafs/
-
-COMPONENT=afs
-include ../config/Makefile.${SYS_NAME}
-
-LIBDIR = ${DESTDIR}lib/
- LIBSA = ${LIBDIR}afs/libprot.a ${LIBDIR}libubik.a
-AFSLIBS = ${DESTDIR}lib/librxkad.a \
- ${LIBDIR}afs/libsys.a ${DESTDIR}lib/libdes.a \
- ${LIBDIR}librx.a ${LIBDIR}liblwp.a ${LIBDIR}afs/libaudit.a \
- ${LIBDIR}afs/libcmd.a ${LIBDIR}afs/libcom_err.a ${LIBDIR}afs/util.a
-
-LDFLAGS = ${SHARE_LDFLAGS}
- LIBS = ${LIBDIR}afs/libkauth.a ${LIBSA} ${LIBDIR}afs/libauth.a \
- ${AFSLIBS} ${PAMLIBS}
- KLIBS = ${LIBDIR}afs/libkauth.krb.a ${LIBSA} ${LIBDIR}afs/libauth.krb.a \
- ${AFSLIBS} ${PAMLIBS}
- SHOBJS = afs_auth.o afs_account.o afs_session.o afs_password.o \
- afs_pam_msg.o afs_message.o afs_util.o AFS_component_version_number.o
- OBJS = $(SHOBJS) test_pam.o
-INCLUDES = -I${TOP_SRCDIR}/config -I${DESTDIR}include \
- -I/usr/include -I/usr/include/sys
-CFLAGS = ${DEBUG} ${INCLUDES} ${PAM_CFLAGS}
-
-TARGETS = pam_afs.so.1 test_pam pam_afs.krb.so.1
-
-include ../config/Makefile.version
-
-system all: $(TARGETS)
-
-afs_setcred.o: afs_setcred.c afs_pam_msg.h afs_message.h afs_util.h
- ${CC} ${CFLAGS} -c afs_setcred.c -o afs_setcred.o
-
-afs_setcred_krb.o: afs_setcred.c afs_pam_msg.h afs_message.h afs_util.h
- ${CC} ${CFLAGS} -DAFS_KERBEROS_ENV -c afs_setcred.c -o afs_setcred_krb.o
-
-pam_afs.so.1: $(SHOBJS) afs_setcred.o
- set -x; \
- case "$(SYS_NAME)" in \
- hp_ux*) \
- $(LD) $(LDFLAGS) -c mapfile.hp -o $@ afs_setcred.o \
- $(SHOBJS) $(LIBS) ;; \
- sun*_5*) \
- $(LD) $(LDFLAGS) -M mapfile -o $@ afs_setcred.o \
- $(SHOBJS) $(LIBS) ;; \
- *linux*) \
- $(CC) $(LDFLAGS) -o $@ afs_setcred.o $(SHOBJS) $(LIBS) ;;\
- *fbsd*) \
- $(CC) $(LDFLAGS) -o $@ afs_setcred.o $(SHOBJS) $(LIBS) ;;\
- * ) \
- echo No link line for system $(SYS_NAME). ;; \
- esac
-
-pam_afs.krb.so.1: $(SHOBJS) afs_setcred_krb.o
- set -x; \
- case "$(SYS_NAME)" in \
- hp_ux*) \
- $(LD) $(LDFLAGS) -c mapfile.hp -o $@ \
- afs_setcred_krb.o $(SHOBJS) $(LDFLAGS) $(KLIBS) ;; \
- sun*_5*) \
- $(LD) $(LDFLAGS) -M mapfile -o $@ \
- afs_setcred_krb.o $(SHOBJS) $(LDFLAGS) $(KLIBS) ;; \
- *linux*) \
- $(CC) $(LDFLAGS) -o $@ afs_setcred_krb.o $(SHOBJS) $(KLIBS) ;;\
- *fbsd*) \
- $(CC) $(LDFLAGS) -o $@ afs_setcred_krb.o $(SHOBJS) $(KLIBS) ;;\
- * ) \
- echo No link line for system $(SYS_NAME). ;; \
- esac
-
-test_pam: test_pam.o
- set -x; \
- case "$(SYS_NAME)" in \
- hp_ux*) \
- $(CC) $(CFLAGS) -o $@ test_pam.o ${PAMLIBS};; \
- sun*_5*) \
- $(CC) $(CFLAGS) -o $@ test_pam.o ${PAMLIBS};; \
- *linux*) \
- $(CC) $(CFLAGS) -rdynamic -o $@ test_pam.o -lpam -ldl;; \
- *fbsd*) \
- $(CC) $(CFLAGS) -rdynamic -o $@ test_pam.o -lpam ;; \
- *) \
- echo No link line for system $(SYS_NAME). ;; \
- esac
-
-clean:
- /bin/rm -f $(TARGETS) $(OBJS) afs_setcred.o afs_setcred_krb.o core *~ AFS_component_version_number.c
-
-install: all
- ${INSTALL} -s pam_afs.so.1 ${DESTDIR}lib/pam_afs.so.1
- ${INSTALL} -s pam_afs.krb.so.1 ${DESTDIR}lib/pam_afs.krb.so.1
-
-afs_auth.o: afs_auth.c afs_pam_msg.h afs_message.h afs_util.h
-afs_pam_msg.o: afs_pam_msg.c afs_pam_msg.h afs_message.h
-afs_message.o: afs_message.c afs_message.h
-afs_util.o: afs_util.c afs_util.h
-/* $Id: pt_util.c,v 1.3 2001/07/11 04:03:28 hartmans Exp $ */
+/* $Id: pt_util.c,v 1.4 2001/07/15 07:22:30 hartmans Exp $ */
/*
*
#include <string.h>
#include <sys/file.h>
-#include <afs/param.h>
#include <afsconfig.h>
+#include <afs/param.h>
-RCSID("$Header: /tmp/cvstemp/openafs/src/ptserver/pt_util.c,v 1.3 2001/07/11 04:03:28 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/ptserver/pt_util.c,v 1.4 2001/07/15 07:22:30 hartmans Exp $");
#include <lock.h>
#include <netinet/in.h>
* directory or online at http://www.openafs.org/dl/license10.html
*/
-#include <afs/param.h>
#include <afsconfig.h>
+#include <afs/param.h>
-RCSID("$Header: /tmp/cvstemp/openafs/src/ptserver/ptserver.c,v 1.3 2001/07/11 04:03:28 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/ptserver/ptserver.c,v 1.4 2001/07/15 07:22:31 hartmans Exp $");
#include <afs/stds.h>
#ifdef AFS_AIX32_ENV
* directory or online at http://www.openafs.org/dl/license10.html
*/
-#include <afs/param.h>
#include <afsconfig.h>
+#include <afs/param.h>
-RCSID("$Header: /tmp/cvstemp/openafs/src/util/dirpath.c,v 1.8 2001/07/11 04:03:29 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/util/dirpath.c,v 1.9 2001/07/15 07:22:31 hartmans Exp $");
#include <stddef.h>
#include <stdlib.h>
case ${SYS_NAME} in \
alpha_linux* ) \
for lv in ${LINUX_VERS}; do \
- ${CC} -g -I${LINUX_SRCDIR}$$lv/include -I${DESTDIR}include -I${SRCDIR}include ${XCFLAGS} -mno-fp-regs -ffixed-8 -o kdump-$$lv.o -c kdump.c ; \
+ ${CC} -g -I${LINUX_SRCDIR}$$lv/include -I${DESTDIR}include -I${TOP_SRCDIR}/config -I${SRCDIR}include ${XCFLAGS} -mno-fp-regs -ffixed-8 -o kdump-$$lv.o -c kdump.c ; \
done ;; \
*linux* ) \
for lv in ${LINUX_VERS}; do \
- ${CC} -g -I${LINUX_SRCDIR}$$lv/include -I${DESTDIR}include -I${SRCDIR}include ${XCFLAGS} -o kdump-$$lv.o -c kdump.c ; \
+ ${CC} -g -I${LINUX_SRCDIR}$$lv/include -I${DESTDIR}include -I${TOP_SRCDIR}/config -I${SRCDIR}include ${XCFLAGS} -o kdump-$$lv.o -c kdump.c ; \
done ;; \
alpha_osf1 | alpha_osf20 | alpha_osf30 | alpha_osf32 | alpha_osf32c| alpha_dux?? ) \
${CC} -g ${CFLAGS} -I/usr/sys/include -I/usr/sys/BINARY -I/usr/sys/AFS -DDEBUGGER -c kdump.c ;;\
case $$CPU_KDEFS in \
*-64*) ${CC} -D_KMEMUSER -woff 1178 \
-g -I${DESTDIR}include \
+ -I${TOP_SRCDIR}/config \
$$CPU_KDEFS \
${XCFLAGS64} \
-c kdump.c -o kdump.$$IP.o \
;; \
*) ${CC} -D_KMEMUSER -woff 1178 \
-g -I${DESTDIR}include \
+ -I${TOP_SRCDIR}/config \
$$CPU_KDEFS \
${XCFLAGS} -DAFS_32BIT_KERNEL_ENV \
-c kdump.c -o kdump.$$IP.o \
done \
;; \
*) \
- ${CC} -g -I${DESTDIR}include -I${SRCDIR}include ${XCFLAGS} -c kdump.c ;; \
+ ${CC} -g -I${DESTDIR}include -I${TOP_SRCDIR}/config -I${SRCDIR}include ${XCFLAGS} -c kdump.c ;; \
esac ;
kdump64.o : kdump.c ${INCLS} AFS_component_version_number.c
-set -x; \
case ${SYS_NAME} in \
sun4x_57 | hp_ux11* ) \
- ${CC} -g -I${DESTDIR}include -I${SRCDIR}include ${XCFLAGS64} -o kdump64.o -c kdump.c ;; \
+ ${CC} -g -I${DESTDIR}include -I${TOP_SRCDIR}/config -I${SRCDIR}include ${XCFLAGS64} -o kdump64.o -c kdump.c ;; \
esac
kdump: kdump.o
/*
* All Rights Reserved
*/
-#include <afs/param.h>
#include <afsconfig.h>
+#include <afs/param.h>
-RCSID("$Header: /tmp/cvstemp/openafs/src/venus/fstrace.c,v 1.4 2001/07/11 04:03:30 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/venus/fstrace.c,v 1.5 2001/07/15 07:22:32 hartmans Exp $");
#include <stdio.h>
#include <sys/types.h>
*/
-#include <afs/param.h>
#include <afsconfig.h>
+#include <afs/param.h>
-RCSID("$Header: /tmp/cvstemp/openafs/src/vol/partition.c,v 1.6 2001/07/11 04:03:31 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/vol/partition.c,v 1.7 2001/07/15 07:22:32 hartmans Exp $");
#include <ctype.h>
#ifdef AFS_NT40_ENV
* directory or online at http://www.openafs.org/dl/license10.html
*/
-#include <afs/param.h>
#include <afsconfig.h>
+#include <afs/param.h>
-RCSID("$Header: /tmp/cvstemp/openafs/src/volser/volmain.c,v 1.5 2001/07/11 04:03:31 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/volser/volmain.c,v 1.6 2001/07/15 07:22:32 hartmans Exp $");
#include <sys/types.h>
#ifdef AFS_NT40_ENV