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