187874Ssheldonh# $FreeBSD$
287874Ssheldonh
387874SsheldonhPROG=	mount_smbfs
487874SsheldonhSRCS=	mount_smbfs.c getmntopts.c
587874SsheldonhMAN=	mount_smbfs.8
687874Ssheldonh
7117172SgordonMOUNTDIR=	${.CURDIR}/../../sbin/mount
887874SsheldonhCONTRIBDIR=	${.CURDIR}/../../contrib/smbfs
987874SsheldonhCFLAGS+=	-DSMBFS -I${MOUNTDIR} -I${CONTRIBDIR}/include
1087874Ssheldonh
11145872StakawataLDADD=	-lsmb -lkiconv
12145872StakawataDPADD=	${LIBSMB} ${LIBKICONV}
1387874Ssheldonh
1487874Ssheldonh# Needs to be dynamically linked for optional dlopen() access to
1587874Ssheldonh# userland libiconv (see the -E option).
1687874Ssheldonh#
17139112SruNO_SHARED?=	NO
1887874Ssheldonh
1987874Ssheldonh.PATH:	${CONTRIBDIR}/mount_smbfs
20152467Srodrigc.PATH:  ${MOUNTDIR}
2187874Ssheldonh
2287874Ssheldonh.include <bsd.prog.mk>
23