summaryrefslogtreecommitdiffstats
path: root/sbin/mount_smbfs
diff options
context:
space:
mode:
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 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