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