27 lines
575 B
Makefile
27 lines
575 B
Makefile
# $NetBSD: Makefile,v 1.3 2003/04/04 07:50:43 jdolecek Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
PROG= mount_smbfs
|
|
SRCS= mount_smbfs.c
|
|
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
|
|
|
|
CPPFLAGS+= -I${NETBSDSRCDIR}/sys -I${SMBDIST}/include
|
|
|
|
.PATH: ${SMBDIST}/mount_smbfs ${SMBDIST}/lib/smb
|
|
|
|
DPADD+=${LIBUTIL}
|
|
LDADD+=-lutil
|
|
|
|
.if ${MKSHARE} != "no"
|
|
.PATH: ${SMBDIST}/examples
|
|
FILESDIR= /usr/share/examples/smbfs
|
|
FILES= dot.nsmbrc
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|