diff options
author | sheldonh <sheldonh@FreeBSD.org> | 2001-12-14 11:41:22 +0000 |
---|---|---|
committer | sheldonh <sheldonh@FreeBSD.org> | 2001-12-14 11:41:22 +0000 |
commit | 551d694f64492d4841014ae147153c9ca632408c (patch) | |
tree | a6563e2409fea18ff81d15c248055df33169e326 /sbin/mount_smbfs | |
parent | e19de1ca7045af9c082151e6054a81cbed69548f (diff) | |
download | FreeBSD-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/mount_smbfs')
-rw-r--r-- | sbin/mount_smbfs/Makefile | 23 |
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> |