summaryrefslogtreecommitdiffstats
path: root/bin/rcp
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-02-04 02:49:19 +0000
committerkris <kris@FreeBSD.org>2002-02-04 02:49:19 +0000
commitbb3058824aaee9ffba249f78c494575dcb057340 (patch)
tree7e1b63048b9193a35ed0fb49b4e6b0728cd3cab1 /bin/rcp
parent19c38bbaee1217082d79a8533d92dfd65a1cc7cf (diff)
downloadFreeBSD-src-bb3058824aaee9ffba249f78c494575dcb057340.zip
FreeBSD-src-bb3058824aaee9ffba249f78c494575dcb057340.tar.gz
Lock down with WFORMAT=1 except those directories with unfixed warnings.
Tested on i386 and alpha.
Diffstat (limited to 'bin/rcp')
-rw-r--r--bin/rcp/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/rcp/Makefile b/bin/rcp/Makefile
index b266813..1f4f0c6 100644
--- a/bin/rcp/Makefile
+++ b/bin/rcp/Makefile
@@ -6,10 +6,12 @@ SRCS= rcp.c util.c
CFLAGS+=-DBINDIR=${BINDIR}
WARNS= 0
+WFORMAT?= 0
+
.if exists(${DESTDIR}${LIBDIR}/libkrb.a) && defined(MAKE_KERBEROS4)
SRCS+= krcmd.c kcmd.c rcmd_util.c
DPADD= ${LIBUTIL} ${LIBKRB} ${LIBCRYPTO}
-CFLAGS+=-DKERBEROS -DCRYPT -DHAVE_CONFIG_H \
+CFLAGS+=-DCRYPT -DHAVE_CONFIG_H \
-I${.CURDIR}/../../kerberosIV/include \
-I${.CURDIR}/../../crypto/kerberosIV/include \
-I${.CURDIR}/../../crypto/kerberosIV/lib/roken \
OpenPOWER on IntegriCloud