1994-05-26 06:18:55 +00:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 7/19/93
|
1998-03-26 18:15:00 +00:00
|
|
|
# $Id$
|
1994-05-26 06:18:55 +00:00
|
|
|
|
|
|
|
PROG= rcp
|
1994-09-29 13:06:54 +00:00
|
|
|
SRCS= rcp.c util.c
|
1997-09-28 08:32:59 +00:00
|
|
|
CFLAGS+=-Wall
|
1994-09-29 13:06:54 +00:00
|
|
|
|
1997-09-28 08:32:59 +00:00
|
|
|
.if exists(${DESTDIR}/usr/lib/libkrb.a) && defined(MAKE_KERBEROS4)
|
|
|
|
SRCS+= krcmd.c kcmd.c rcmd_util.c encrypt.c
|
1994-09-29 13:06:54 +00:00
|
|
|
DPADD= ${LIBKRB} ${LIBDES}
|
1997-09-28 08:32:59 +00:00
|
|
|
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
|
1994-09-29 13:06:54 +00:00
|
|
|
LDADD= -lkrb -ldes
|
1994-11-20 23:18:15 +00:00
|
|
|
DISTRIBUTION= krb
|
1997-09-28 08:32:59 +00:00
|
|
|
.PATH: ${.CURDIR}/../../crypto/kerberosIV/appl/bsd
|
1994-09-29 13:06:54 +00:00
|
|
|
.endif
|
|
|
|
|
1998-03-26 19:41:18 +00:00
|
|
|
BINOWN= root
|
|
|
|
BINMODE=4555
|
|
|
|
INSTALLFLAGS=-fschg
|
1994-09-29 13:06:54 +00:00
|
|
|
|
1994-05-26 06:18:55 +00:00
|
|
|
.include <bsd.prog.mk>
|