187874Ssheldonh# $FreeBSD: releng/10.3/lib/libsmb/Makefile 258125 2013-11-14 09:25:29Z glebius $ 287874Ssheldonh 3258125Sglebius.include <bsd.own.mk> 4258125Sglebius 5136701SobrienCONTRIBDIR= ${.CURDIR}/../../contrib/smbfs 6136701Sobrien.PATH: ${CONTRIBDIR}/lib/smb 787874Ssheldonh 8136701SobrienLIB= smb 9195767SkensmithSHLIB_MAJOR= 4 10152285SruDPADD= ${LIBKICONV} 11152285SruLDADD= -lkiconv 1287874Ssheldonh 1387874SsheldonhSRCS= rcfile.c ctx.c cfopt.c subr.c nls.c rap.c mbuf.c rq.c file.c \ 1487874Ssheldonh print.c \ 1587874Ssheldonh kiconv.c \ 1687874Ssheldonh nb.c nb_name.c nb_net.c nbns_rq.c 1787874Ssheldonh 18136881SruWARNS?= 1 19136701SobrienCFLAGS+= -DSMB_CFG_FILE=\"/etc/nsmb.conf\" -I${CONTRIBDIR}/include 2087874Ssheldonh 21258125Sglebius.if ${MK_ICONV} != "no" 22258125SglebiusCFLAGS+= -DHAVE_ICONV=1 23258125Sglebius.endif 24258125Sglebius 2587874Ssheldonh.include <bsd.lib.mk> 26