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