]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - lib/libsmb/Makefile
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / lib / libsmb / Makefile
1 # $FreeBSD$
2
3 .include <bsd.own.mk>
4
5 CONTRIBDIR=     ${.CURDIR}/../../contrib/smbfs
6 .PATH: ${CONTRIBDIR}/lib/smb
7
8 LIB=    smb
9 SHLIB_MAJOR=    4
10 DPADD=  ${LIBKICONV}
11 LDADD=  -lkiconv
12
13 SRCS=   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
18 WARNS?= 1
19 CFLAGS+= -DSMB_CFG_FILE=\"/etc/nsmb.conf\" -I${CONTRIBDIR}/include
20
21 .if ${MK_ICONV} != "no"
22 CFLAGS+= -DHAVE_ICONV=1
23 .endif
24
25 .include <bsd.lib.mk>