summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/mtree/BSD.include.dist2
-rw-r--r--include/Makefile2
-rw-r--r--lib/libautofs/Makefile9
-rw-r--r--lib/libautofs/libautofs.c2
-rw-r--r--sys/conf/NOTES1
-rw-r--r--sys/conf/files3
-rw-r--r--sys/conf/options1
-rw-r--r--sys/modules/Makefile1
8 files changed, 16 insertions, 5 deletions
diff --git a/etc/mtree/BSD.include.dist b/etc/mtree/BSD.include.dist
index e6cad09..f7850f8 100644
--- a/etc/mtree/BSD.include.dist
+++ b/etc/mtree/BSD.include.dist
@@ -54,6 +54,8 @@
..
..
fs
+ autofs
+ ..
devfs
..
fdescfs
diff --git a/include/Makefile b/include/Makefile
index 0fd1dd9b..e6a23e5 100644
--- a/include/Makefile
+++ b/include/Makefile
@@ -43,7 +43,7 @@ LSUBDIRS= cam/scsi dev/an dev/bktr dev/firewire dev/ic dev/iicbus \
isofs/cd9660 netatm/ipatm netatm/sigpvc netatm/spans netatm/uni \
netgraph/atm security/mac_biba security/mac_bsdextended \
security/mac_lomac security/mac_mls security/mac_partition \
- ufs/ffs ufs/ufs
+ ufs/ffs ufs/ufs fs/autofs
.if !defined(NO_BLUETOOTH)
LSUBSUBDIRS= netgraph/bluetooth/include
diff --git a/lib/libautofs/Makefile b/lib/libautofs/Makefile
index 92945c9..4166366 100644
--- a/lib/libautofs/Makefile
+++ b/lib/libautofs/Makefile
@@ -1,14 +1,17 @@
-# $Id: Makefile,v 1.3 2004/08/31 08:49:56 bright Exp $
+# $Id: Makefile,v 1.4 2004/08/31 16:26:24 bright Exp $
# $FreeBSD$
LIB=autofs
SHLIB_MAJOR= 1
SHLIB_MINOR= 0
WARNS=4
-CFLAGS+= -I${.CURDIR}/../autofs -Werror
-CFLAGS+= -g
+#CFLAGS+= -I${.CURDIR}/../autofs -Werror
+#CFLAGS+= -g
+
+#CFLAGS+= -I${.CURDIR}/../../sys
SRCS= libautofs.c
+INCS= libautofs.h
MAN+= libautofs.3
.include <bsd.lib.mk>
diff --git a/lib/libautofs/libautofs.c b/lib/libautofs/libautofs.c
index f68e904..7d2e26a 100644
--- a/lib/libautofs/libautofs.c
+++ b/lib/libautofs/libautofs.c
@@ -43,7 +43,7 @@
#include <sys/stat.h>
#include <sys/sysctl.h>
-#include <autofs.h>
+#include <fs/autofs/autofs.h>
#include "libautofs.h"
diff --git a/sys/conf/NOTES b/sys/conf/NOTES
index 43a8709..33e66a8 100644
--- a/sys/conf/NOTES
+++ b/sys/conf/NOTES
@@ -744,6 +744,7 @@ options FFS #Fast filesystem
options NFSCLIENT #Network File System client
# The rest are optional:
+options AUTOFS #Auto File System
options CD9660 #ISO 9660 filesystem
options FDESCFS #File descriptor filesystem
options HPFS #OS/2 File system
diff --git a/sys/conf/files b/sys/conf/files
index 0874c7a..2d675b0 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -858,6 +858,9 @@ dev/xe/if_xe_pccard.c optional xe pccard
dev/zs/zs.c optional zs
dev/zs/zs_sbus.c optional zs fhc
dev/zs/zs_sbus.c optional zs sbus
+fs/autofs/autofs_vnops.c optional autofs
+fs/autofs/autofs_vfsops.c optional autofs
+fs/autofs/autofs_util.c optional autofs
fs/deadfs/dead_vnops.c standard
fs/devfs/devfs_devs.c standard
fs/devfs/devfs_rule.c standard
diff --git a/sys/conf/options b/sys/conf/options
index f7ac6d2..0ea8f9e 100644
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -161,6 +161,7 @@ INCLUDE_CONFIG_FILE opt_config.h
# time, since the corresponding lkms cannot work if there are any static
# dependencies. Unusability is enforced by hiding the defines for the
# options in a never-included header.
+AUTOFS opt_dontuse.h
CD9660 opt_dontuse.h
CODA opt_dontuse.h
EXT2FS opt_dontuse.h
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 8964983..a502b5c 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -27,6 +27,7 @@ SUBDIR= ${_3dfx} \
ath \
${_ath_hal} \
aue \
+ autofs \
${_awi} \
axe \
bfe \
OpenPOWER on IntegriCloud