mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-31 04:45:39 +01:00
r312452-r312512: - Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones This simplifies pathing in make/displayed output - Use .CURDIR:H instead of .CURDIR to simplify pathing in output, etc
26 lines
445 B
Makefile
26 lines
445 B
Makefile
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
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>
|