xref: /dragonfly/sbin/mount_smbfs/Makefile (revision 984263bc)
1# $FreeBSD: src/sbin/mount_smbfs/Makefile,v 1.1.2.3 2001/12/20 16:28:30 sheldonh Exp $
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