1# $FreeBSD$ 2 3.include <src.opts.mk> 4 5CONFS= nsmb.conf 6CONFSMODE= 600 7PACKAGE=lib${LIB} 8CONTRIBDIR= ${SRCTOP}/contrib/smbfs 9.PATH: ${CONTRIBDIR}/lib/smb 10 11LIB= smb 12SHLIB_MAJOR= 4 13LIBADD= kiconv 14 15SRCS= rcfile.c ctx.c cfopt.c subr.c nls.c rap.c mbuf.c rq.c file.c \ 16 print.c \ 17 kiconv.c \ 18 nb.c nb_name.c nb_net.c nbns_rq.c 19 20WARNS?= 1 21CFLAGS+= -DSMB_CFG_FILE=\"/etc/nsmb.conf\" -I${CONTRIBDIR}/include 22 23.if ${MK_ICONV} != "no" 24CFLAGS+= -DHAVE_ICONV=1 25.endif 26 27.include <bsd.lib.mk> 28