xref: /freebsd/usr.sbin/mount_smbfs/Makefile (revision 81f79bdd8b325713077b12ab4aefbb670b515929)
1# $FreeBSD$
2
3PROG=	mount_smbfs
4SRCS=	mount_smbfs.c getmntopts.c
5WARNS?=	0
6MAN=	mount_smbfs.8
7
8MOUNTDIR=	${.CURDIR}/../../sbin/mount
9CONTRIBDIR=	${.CURDIR}/../../contrib/smbfs
10CFLAGS+=	-DSMBFS -I${MOUNTDIR} -I${CONTRIBDIR}/include
11
12LDADD+= -lsmb
13DPADD+= ${LIBSMB}
14
15# Needs to be dynamically linked for optional dlopen() access to
16# userland libiconv (see the -E option).
17#
18NOSHARED?=	NO
19
20.PATH:	${CONTRIBDIR}/mount_smbfs
21
22.include <bsd.prog.mk>
23