summaryrefslogtreecommitdiffstats
path: root/bin/rcp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'bin/rcp/Makefile')
-rw-r--r--bin/rcp/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/bin/rcp/Makefile b/bin/rcp/Makefile
index adaf5c4..d4fa4e8 100644
--- a/bin/rcp/Makefile
+++ b/bin/rcp/Makefile
@@ -3,17 +3,19 @@
PROG= rcp
SRCS= rcp.c util.c
+CFLAGS+=-DBINDIR=${BINDIR}
.if exists(${DESTDIR}${LIBDIR}/libkrb.a) && defined(MAKE_KERBEROS4)
-SRCS+= krcmd.c kcmd.c rcmd_util.c encrypt.c
+SRCS+= krcmd.c kcmd.c rcmd_util.c
DPADD= ${LIBUTIL} ${LIBKRB} ${LIBDES}
CFLAGS+=-DKERBEROS -DCRYPT -DHAVE_CONFIG_H \
-I${.CURDIR}/../../kerberosIV/include \
-I${.CURDIR}/../../crypto/kerberosIV/include \
-I${.CURDIR}/../../crypto/kerberosIV/lib/roken \
- -I${.CURDIR}/../../crypto/kerberosIV/appl/bsd
+ -I${.CURDIR}/../../crypto/kerberosIV/appl/bsd \
+ -I${.CURDIR}
LDADD= -lutil -lkrb -ldes
-DISTRIBUTION= krb
+DISTRIBUTION= krb4
.PATH: ${.CURDIR}/../../crypto/kerberosIV/appl/bsd
.endif
OpenPOWER on IntegriCloud