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