xref: /dragonfly/sbin/mount_smbfs/Makefile (revision 6e285212)
1# $FreeBSD: src/sbin/mount_smbfs/Makefile,v 1.1.2.3 2001/12/20 16:28:30 sheldonh Exp $
2# $DragonFly: src/sbin/mount_smbfs/Makefile,v 1.2 2003/06/17 04:27:33 dillon Exp $
3
4PROG=	mount_smbfs
5SRCS=	mount_smbfs.c getmntopts.c
6WARNS?=	2
7NO_WERROR=	yes
8MAN=	mount_smbfs.8
9
10MOUNTDIR=	${.CURDIR}/../mount
11CONTRIBDIR=	${.CURDIR}/../../contrib/smbfs
12CFLAGS+=	-DSMBFS -I${MOUNTDIR} -I${CONTRIBDIR}/include
13
14LDADD+= -lsmb
15DPADD+= ${LIBSMB}
16
17# Needs to be dynamically linked for optional dlopen() access to
18# userland libiconv (see the -E option).
19#
20NOSHARED?=	NO
21
22.PATH:	${CONTRIBDIR}/mount_smbfs
23
24.include <bsd.prog.mk>
25