aboutsummaryrefslogtreecommitdiff
path: root/sbin/mount_smbfs
diff options
context:
space:
mode:
authorSheldon Hearn <sheldonh@FreeBSD.org>2001-12-14 11:41:22 +0000
committerSheldon Hearn <sheldonh@FreeBSD.org>2001-12-14 11:41:22 +0000
commit85519b003ada2a5da1e30e333332b15afadcb563 (patch)
treea6563e2409fea18ff81d15c248055df33169e326 /sbin/mount_smbfs
parente578c6f17ca7a0f3ab1bc7e8f06249187bcec067 (diff)
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
Notes
Notes: svn path=/head/; revision=87874
Diffstat (limited to 'sbin/mount_smbfs')
-rw-r--r--sbin/mount_smbfs/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/sbin/mount_smbfs/Makefile b/sbin/mount_smbfs/Makefile
new file mode 100644
index 000000000000..01252fe81873
--- /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>