summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mount_smbfs
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 /usr.sbin/mount_smbfs
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 'usr.sbin/mount_smbfs')
-rw-r--r--usr.sbin/mount_smbfs/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/usr.sbin/mount_smbfs/Makefile b/usr.sbin/mount_smbfs/Makefile
new file mode 100644
index 0000000..01252fe
--- /dev/null
+++ b/usr.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