2001-12-14 11:41:22 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2014-05-06 04:22:01 +00:00
|
|
|
.include <src.opts.mk>
|
2013-11-12 15:09:28 +00:00
|
|
|
|
2016-02-04 21:16:35 +00:00
|
|
|
PACKAGE=lib${LIB}
|
2017-01-20 04:35:00 +00:00
|
|
|
CONTRIBDIR= ${SRCTOP}/contrib/smbfs
|
2004-10-19 18:06:29 +00:00
|
|
|
.PATH: ${CONTRIBDIR}/lib/smb
|
2001-12-14 11:41:22 +00:00
|
|
|
|
2004-10-19 18:06:29 +00:00
|
|
|
LIB= smb
|
2009-07-19 17:25:24 +00:00
|
|
|
SHLIB_MAJOR= 4
|
2014-11-25 11:07:26 +00:00
|
|
|
LIBADD= kiconv
|
2001-12-14 11:41:22 +00:00
|
|
|
|
|
|
|
SRCS= rcfile.c ctx.c cfopt.c subr.c nls.c rap.c mbuf.c rq.c file.c \
|
|
|
|
print.c \
|
|
|
|
kiconv.c \
|
|
|
|
nb.c nb_name.c nb_net.c nbns_rq.c
|
|
|
|
|
2004-10-24 10:42:15 +00:00
|
|
|
WARNS?= 1
|
2004-10-19 18:06:29 +00:00
|
|
|
CFLAGS+= -DSMB_CFG_FILE=\"/etc/nsmb.conf\" -I${CONTRIBDIR}/include
|
2001-12-14 11:41:22 +00:00
|
|
|
|
2013-11-12 15:09:28 +00:00
|
|
|
.if ${MK_ICONV} != "no"
|
|
|
|
CFLAGS+= -DHAVE_ICONV=1
|
|
|
|
.endif
|
|
|
|
|
2001-12-14 11:41:22 +00:00
|
|
|
.include <bsd.lib.mk>
|