ff6d9a44ba
Approved by: jkh
26 lines
764 B
Makefile
26 lines
764 B
Makefile
# @(#)Makefile 8.1 (Berkeley) 7/19/93
|
|
# $FreeBSD$
|
|
|
|
PROG= rlogin
|
|
SRCS= rlogin.c
|
|
CFLAGS+=-Wall
|
|
CFLAGS+=-I${.CURDIR}/../../libexec/rlogind
|
|
|
|
BINMODE=4555
|
|
INSTALLFLAGS=-fschg
|
|
|
|
.if exists(${DESTDIR}${LIBDIR}/libkrb.a) && defined(MAKE_KERBEROS4) && !defined(NO_OPENSSL) && !defined(NOCRYPT)
|
|
SRCS+= krcmd.c kcmd.c rcmd_util.c
|
|
DPADD= ${LIBUTIL} ${LIBKRB} ${LIBCRYPTO} ${LIBCRYPT} ${LIBCOM_ERR}
|
|
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
|
|
LDADD= -lutil -lkrb -lcrypto -lcrypt -lcom_err
|
|
DISTRIBUTION= krb4
|
|
.PATH: ${.CURDIR}/../../crypto/kerberosIV/appl/bsd
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|