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