xref: /freebsd/usr.sbin/mount_smbfs/Makefile (revision b403e40637c56f8c4fd314bf2c62aab3f9f3735b)
1# $FreeBSD$
2
3PROG=	mount_smbfs
4SRCS=	mount_smbfs.c getmntopts.c
5WARNS?=	0
6MAN=	mount_smbfs.8
7
8MOUNTDIR=	${.CURDIR}/../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