xref: /dragonfly/sbin/mount_smbfs/Makefile (revision 92c825d6)
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
5MAN=	mount_smbfs.8
6
7CONTRIBDIR=	${.CURDIR}/../../contrib/smbfs
8CFLAGS+=	-DSMBFS -I${CONTRIBDIR}/include
9
10LDADD+= -lsmb
11DPADD+= ${LIBSMB}
12
13# Needs to be dynamically linked for optional dlopen() access to
14# userland libiconv (see the -E option).
15#
16.if !defined(REALLY_NOSHARED)
17.undef NOSHARED
18.endif
19
20.PATH:	${CONTRIBDIR}/mount_smbfs
21
22.include <bsd.prog.mk>
23