diff --git a/acinclude.m4 b/acinclude.m4 index 5478a22b1c..61c79ff6bd 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -463,11 +463,11 @@ else vm=${v#*.} AFS_SYSNAME="amd64_fbsd_${vM}${vm}" ;; - i386-*-dragonfly2.2*) - AFS_SYSNAME="i386_dfbsd_23" - ;; - i386-*-dragonfly2.3*) - AFS_SYSNAME="i386_dfbsd_23" + i386-*-dragonfly?.*) + v=${host#*dragonfly} + vM=${v%.*} + vm=${v#*.} + AFS_SYSNAME="i386_dfbsd_${vM}${vm}" ;; i?86-*-netbsd*1.6[[M-Z]]*) AFS_SYSNAME="i386_nbsd20" diff --git a/src/afs/DFBSD/osi_inode.h b/src/afs/DFBSD/osi_inode.h new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/afs/UKERNEL/sysincludes.h b/src/afs/UKERNEL/sysincludes.h index 013b94814f..51aea2bdc1 100644 --- a/src/afs/UKERNEL/sysincludes.h +++ b/src/afs/UKERNEL/sysincludes.h @@ -11,7 +11,7 @@ #define __AFS_SYSINCLUDESH__ 1 #include -#if !defined(AFS_USR_DARWIN_ENV) && !defined(AFS_USR_FBSD_ENV) /* must be included after KERNEL undef'd */ +#if !defined(AFS_USR_DARWIN_ENV) && !defined(AFS_USR_FBSD_ENV) && !defined(AFS_USR_DFBSD_ENV) /* must be included after KERNEL undef'd */ #include #endif #include @@ -20,7 +20,7 @@ #include #include -#if !defined(AFS_USR_DARWIN_ENV) && !defined(AFS_USR_FBSD_ENV) /* must be included after KERNEL undef'd */ +#if !defined(AFS_USR_DARWIN_ENV) && !defined(AFS_USR_FBSD_ENV) && !defined(AFS_USR_DFBSD_ENV) /* must be included after KERNEL undef'd */ #include #include #include @@ -114,7 +114,10 @@ #define FREAD 0x0001 #endif /* AFS_USR_LINUX22_ENV */ -#if defined(AFS_USR_DARWIN_ENV) || defined(AFS_USR_FBSD_ENV) +#if defined(AFS_USR_DARWIN_ENV) || defined(AFS_USR_FBSD_ENV) || defined(AFS_USR_DFBSD_ENV) +#ifdef _KERNEL +#undef _KERNEL +#endif #ifdef KERNEL #undef KERNEL #define AFS_USR_UNDEF_KERNEL_ENV 1 diff --git a/src/afsd/afsd.c b/src/afsd/afsd.c index 4e8b6e5d55..f1433cc79e 100644 --- a/src/afsd/afsd.c +++ b/src/afsd/afsd.c @@ -994,7 +994,7 @@ doSweepAFSCache(int *vFilesFound, #if defined(AFS_SGI62_ENV) || defined(AFS_DARWIN90_ENV) printf("\tinode=%" AFS_INT64_FMT ", reclen=%d, name='%s'\n", currp->d_ino, currp->d_reclen, currp->d_name); -#elif defined(AFS_DFBSD_ENV) +#elif defined(AFS_DFBSD_ENV) || defined(AFS_USR_DFBSD_ENV) printf("\tinode=%ld, name='%s'\n", (long)currp->d_ino, currp->d_name); #else printf("\tinode=%ld, reclen=%d, name='%s'\n", (long)currp->d_ino, diff --git a/src/config/afs_sysnames.h b/src/config/afs_sysnames.h index 011f1256b6..7272ec2319 100644 --- a/src/config/afs_sysnames.h +++ b/src/config/afs_sysnames.h @@ -293,6 +293,10 @@ #define SYS_NAME_ID_i386_dfbsd_22 3900 #define SYS_NAME_ID_i386_dfbsd_23 3901 +#define SYS_NAME_ID_i386_dfbsd_24 3902 +#define SYS_NAME_ID_i386_dfbsd_25 3903 +#define SYS_NAME_ID_i386_dfbsd_26 3904 +#define SYS_NAME_ID_i386_dfbsd_27 3905 #define SYS_NAME_ID_amd64_obsd36 4005 #define SYS_NAME_ID_amd64_obsd37 4006 diff --git a/src/libafs/MakefileProto.DFBSD.in b/src/libafs/MakefileProto.DFBSD.in index 65b6af2ca2..41e1b51406 100644 --- a/src/libafs/MakefileProto.DFBSD.in +++ b/src/libafs/MakefileProto.DFBSD.in @@ -56,6 +56,9 @@ all: setup: echo "skipping" +install: + echo "skipping" + # Below this line are targets when in the COMMON directory: LIBAFS = libafsnfs.ko LIBAFSNONFS = libafs.ko diff --git a/src/libuafs/MakefileProto.DFBSD.in b/src/libuafs/MakefileProto.DFBSD.in index 65daf9c560..07e95a61df 100644 --- a/src/libuafs/MakefileProto.DFBSD.in +++ b/src/libuafs/MakefileProto.DFBSD.in @@ -7,7 +7,10 @@ # srcdir=@srcdir@ include @TOP_OBJDIR@/src/config/Makefile.config - +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ # System specific build commands and flags CC = @CC@