2003-04-04 11:50:43 +04:00
|
|
|
# $NetBSD: Makefile,v 1.3 2003/04/04 07:50:43 jdolecek Exp $
|
2003-02-18 23:35:28 +03:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
PROG= mount_smbfs
|
2003-03-22 15:43:57 +03:00
|
|
|
SRCS= mount_smbfs.c
|
2003-02-18 23:35:28 +03: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
|
|
|
|
MAN= mount_smbfs.8
|
|
|
|
|
|
|
|
SMBDIST=${NETBSDSRCDIR}/dist/smbfs
|
|
|
|
|
2003-03-22 15:43:57 +03:00
|
|
|
CPPFLAGS+= -I${NETBSDSRCDIR}/sys -I${SMBDIST}/include
|
2003-02-18 23:35:28 +03:00
|
|
|
|
|
|
|
.PATH: ${SMBDIST}/mount_smbfs ${SMBDIST}/lib/smb
|
|
|
|
|
|
|
|
DPADD+=${LIBUTIL}
|
|
|
|
LDADD+=-lutil
|
|
|
|
|
2003-04-04 11:50:43 +04:00
|
|
|
.if ${MKSHARE} != "no"
|
|
|
|
.PATH: ${SMBDIST}/examples
|
|
|
|
FILESDIR= /usr/share/examples/smbfs
|
|
|
|
FILES= dot.nsmbrc
|
|
|
|
.endif
|
|
|
|
|
2003-02-18 23:35:28 +03:00
|
|
|
.include <bsd.prog.mk>
|