25 lines
627 B
Makefile
25 lines
627 B
Makefile
# @(#)Makefile 8.1 (Berkeley) 6/4/93
|
|
# $FreeBSD$
|
|
|
|
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>
|