summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>2001-12-14 11:41:22 +0000
committersheldonh <sheldonh@FreeBSD.org>2001-12-14 11:41:22 +0000
commit551d694f64492d4841014ae147153c9ca632408c (patch)
treea6563e2409fea18ff81d15c248055df33169e326 /sbin
parente19de1ca7045af9c082151e6054a81cbed69548f (diff)
downloadFreeBSD-src-551d694f64492d4841014ae147153c9ca632408c.zip
FreeBSD-src-551d694f64492d4841014ae147153c9ca632408c.tar.gz
Add bmake glue for src/contrib/smbfs and connect userland smbfs
support to the build. The MFC reminder below is subject to <re@FreeBSD.org> approval prior to 4.5-RELEASE. Reviewed by: bp, fjoe MFC: 1 week
Diffstat (limited to 'sbin')
-rw-r--r--sbin/Makefile1
-rw-r--r--sbin/mount_smbfs/Makefile23
2 files changed, 24 insertions, 0 deletions
diff --git a/sbin/Makefile b/sbin/Makefile
index 7fd49dd..16c31c0 100644
--- a/sbin/Makefile
+++ b/sbin/Makefile
@@ -53,6 +53,7 @@ SUBDIR= adjkerntz \
mount_ntfs \
mount_nullfs \
mount_portalfs \
+ mount_smbfs \
mount_std \
mount_umapfs \
mount_unionfs \
diff --git a/sbin/mount_smbfs/Makefile b/sbin/mount_smbfs/Makefile
new file mode 100644
index 0000000..01252fe
--- /dev/null
+++ b/sbin/mount_smbfs/Makefile
@@ -0,0 +1,23 @@
+# $FreeBSD$
+
+PROG= mount_smbfs
+SRCS= mount_smbfs.c getmntopts.c
+WARNS?= 2
+NO_WERROR= yes
+MAN= mount_smbfs.8
+
+MOUNTDIR= ${.CURDIR}/../mount
+CONTRIBDIR= ${.CURDIR}/../../contrib/smbfs
+CFLAGS+= -DSMBFS -I${MOUNTDIR} -I${CONTRIBDIR}/include
+
+LDADD+= -lsmb
+DPADD+= ${LIBSMB}
+
+# Needs to be dynamically linked for optional dlopen() access to
+# userland libiconv (see the -E option).
+#
+NOSHARED?= NO
+
+.PATH: ${CONTRIBDIR}/mount_smbfs
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud