From 85519b003ada2a5da1e30e333332b15afadcb563 Mon Sep 17 00:00:00 2001 From: Sheldon Hearn Date: Fri, 14 Dec 2001 11:41:22 +0000 Subject: Add bmake glue for src/contrib/smbfs and connect userland smbfs support to the build. The MFC reminder below is subject to approval prior to 4.5-RELEASE. Reviewed by: bp, fjoe MFC: 1 week --- sbin/mount_smbfs/Makefile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 sbin/mount_smbfs/Makefile (limited to 'sbin/mount_smbfs') 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 -- cgit v1.2.3