2001-12-14 12:41:22 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PROG= mount_smbfs
|
|
|
|
SRCS= mount_smbfs.c getmntopts.c
|
2004-10-19 20:09:29 +02:00
|
|
|
WARNS?= 6
|
2001-12-14 12:41:22 +01:00
|
|
|
MAN= mount_smbfs.8
|
|
|
|
|
2003-07-02 18:43:14 +02:00
|
|
|
MOUNTDIR= ${.CURDIR}/../../sbin/mount
|
2001-12-14 12:41:22 +01:00
|
|
|
CONTRIBDIR= ${.CURDIR}/../../contrib/smbfs
|
|
|
|
CFLAGS+= -DSMBFS -I${MOUNTDIR} -I${CONTRIBDIR}/include
|
|
|
|
|
2004-02-05 23:44:25 +01:00
|
|
|
LDADD= -lsmb
|
|
|
|
DPADD= ${LIBSMB}
|
2001-12-14 12:41:22 +01:00
|
|
|
|
|
|
|
# Needs to be dynamically linked for optional dlopen() access to
|
|
|
|
# userland libiconv (see the -E option).
|
|
|
|
#
|
2004-12-21 10:59:45 +01:00
|
|
|
NO_SHARED?= NO
|
2001-12-14 12:41:22 +01:00
|
|
|
|
|
|
|
.PATH: ${CONTRIBDIR}/mount_smbfs
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|