Reduce warnings as part of WARNS=6 cleaning, stage 4/6 (or so):
[dragonfly.git] / sbin / mount_smbfs / Makefile
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.4 2005/02/28 13:57:40 joerg Exp $
3
4 PROG=   mount_smbfs
5 SRCS=   mount_smbfs.c getmntopts.c
6 WARNS?= 6
7 MAN=    mount_smbfs.8
8
9 MOUNTDIR=       ${.CURDIR}/../mount
10 CONTRIBDIR=     ${.CURDIR}/../../contrib/smbfs
11 CFLAGS+=        -DSMBFS -I${MOUNTDIR} -I${CONTRIBDIR}/include
12
13 LDADD+= -lsmb
14 DPADD+= ${LIBSMB}
15
16 # Needs to be dynamically linked for optional dlopen() access to
17 # userland libiconv (see the -E option).
18 #
19 NOSHARED?=      NO
20
21 .PATH:  ${CONTRIBDIR}/mount_smbfs
22
23 .include <bsd.prog.mk>