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