Supply SMB_CFG_FILE in CFLAGS. The newly imported smbfs-1.4.2

allows us to supply our own value for this, overriding the
default /usr/local/etc/nsmb.conf, which is not appropriate for
base system configuration files.
This commit is contained in:
Sheldon Hearn 2001-12-20 16:21:47 +00:00
parent 2731c8aafa
commit d7e394992c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=88286

View file

@ -12,7 +12,7 @@ SRCS= rcfile.c ctx.c cfopt.c subr.c nls.c rap.c mbuf.c rq.c file.c \
kiconv.c \
nb.c nb_name.c nb_net.c nbns_rq.c
CONTRIBDIR= ${.CURDIR}/../../contrib/smbfs
CFLAGS+= -I${CONTRIBDIR}/include
CFLAGS+= -DSMB_CFG_FILE=\"/etc/nsmb.conf\" -I${CONTRIBDIR}/include
.PATH: ${CONTRIBDIR}/lib/smb