glebius bb108535ba Merge r257888, r258049 from head:
- Use system libiconv, instead of trying to dlopen() it.
  - Just disable recoding support in libsmb if built WITHOUT_ICONV.

PR:		183153
Approved by:	re (kib)
2013-11-14 09:25:29 +00:00

18 lines
351 B
Makefile

# $FreeBSD$
PROG= mount_smbfs
SRCS= mount_smbfs.c getmntopts.c
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}
.PATH: ${CONTRIBDIR}/mount_smbfs
.PATH: ${MOUNTDIR}
.include <bsd.prog.mk>