85519b003a
support to the build. The MFC reminder below is subject to <re@FreeBSD.org> approval prior to 4.5-RELEASE. Reviewed by: bp, fjoe MFC: 1 week
24 lines
451 B
Makefile
24 lines
451 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= mount_smbfs
|
|
SRCS= mount_smbfs.c getmntopts.c
|
|
WARNS?= 2
|
|
NO_WERROR= yes
|
|
MAN= mount_smbfs.8
|
|
|
|
MOUNTDIR= ${.CURDIR}/../mount
|
|
CONTRIBDIR= ${.CURDIR}/../../contrib/smbfs
|
|
CFLAGS+= -DSMBFS -I${MOUNTDIR} -I${CONTRIBDIR}/include
|
|
|
|
LDADD+= -lsmb
|
|
DPADD+= ${LIBSMB}
|
|
|
|
# Needs to be dynamically linked for optional dlopen() access to
|
|
# userland libiconv (see the -E option).
|
|
#
|
|
NOSHARED?= NO
|
|
|
|
.PATH: ${CONTRIBDIR}/mount_smbfs
|
|
|
|
.include <bsd.prog.mk>
|