freebsd-dev/usr.sbin/mount_smbfs/Makefile
Craig Rodrigues c76b3c840a Convert mount_smbfs to use nmount().
Reviewed by:	bp (smbfs maintainer)
2005-11-16 02:47:12 +00:00

24 lines
485 B
Makefile

# $FreeBSD$
PROG= mount_smbfs
SRCS= mount_smbfs.c getmntopts.c
WARNS?= 6
MAN= mount_smbfs.8
MOUNTDIR= ${.CURDIR}/../../sbin/mount
CONTRIBDIR= ${.CURDIR}/../../contrib/smbfs
CFLAGS+= -DSMBFS -I${MOUNTDIR} -I${CONTRIBDIR}/include
LDADD= -lsmb -lkiconv
DPADD= ${LIBSMB} ${LIBKICONV}
# Needs to be dynamically linked for optional dlopen() access to
# userland libiconv (see the -E option).
#
NO_SHARED?= NO
.PATH: ${CONTRIBDIR}/mount_smbfs
.PATH: ${MOUNTDIR}
.include <bsd.prog.mk>