25 lines
669 B
Makefile
25 lines
669 B
Makefile
# @(#)Makefile 8.1 (Berkeley) 6/4/93
|
|
# $Id: Makefile,v 1.9 1998/08/06 21:35:47 markm Exp $
|
|
|
|
PROG= rlogind
|
|
SRCS= rlogind.c
|
|
MAN8= rlogind.8
|
|
DPADD= ${LIBUTIL}
|
|
LDADD= -lutil
|
|
CFLAGS+= -Wall
|
|
|
|
.if exists(${DESTDIR}${LIBDIR}/libkrb.a) && defined(MAKE_KERBEROS4)
|
|
SRCS+= encrypt.c
|
|
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
|
|
DPADD= ${LIBKRB} ${LIBDES} ${LIBCRYPT}
|
|
LDADD+= -lkrb -ldes -lcrypt
|
|
DISTRIBUTION= krb
|
|
.PATH: ${.CURDIR}/../../crypto/kerberosIV/appl/bsd
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|