freebsd-nq/lib/libsmb/Makefile
Brad Davis 27e35a09ef Move nsmb.conf to lib/libsmb/
This leverages CONFS to do the install

Approved by:	re (pkgbase, blanket), bapt (mentor)
Differential Revision:	https://reviews.freebsd.org/D17243
2018-09-20 09:31:27 +00:00

28 lines
477 B
Makefile

# $FreeBSD$
.include <src.opts.mk>
CONFS= nsmb.conf
CONFSMODE= 600
PACKAGE=lib${LIB}
CONTRIBDIR= ${SRCTOP}/contrib/smbfs
.PATH: ${CONTRIBDIR}/lib/smb
LIB= smb
SHLIB_MAJOR= 4
LIBADD= kiconv
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
WARNS?= 1
CFLAGS+= -DSMB_CFG_FILE=\"/etc/nsmb.conf\" -I${CONTRIBDIR}/include
.if ${MK_ICONV} != "no"
CFLAGS+= -DHAVE_ICONV=1
.endif
.include <bsd.lib.mk>