diff options
author | csgr <csgr@FreeBSD.org> | 1994-09-29 13:06:54 +0000 |
---|---|---|
committer | csgr <csgr@FreeBSD.org> | 1994-09-29 13:06:54 +0000 |
commit | e9bb220eefc37eecee5de118173282f633485000 (patch) | |
tree | d7768b90fa6e2ae30b1a6c769ed4e2de71513bb8 /usr.bin/rlogin | |
parent | 44fa06583856e697515ef16cc1a96b4e0c280303 (diff) | |
download | FreeBSD-src-e9bb220eefc37eecee5de118173282f633485000.zip FreeBSD-src-e9bb220eefc37eecee5de118173282f633485000.tar.gz |
First level of changes for bringing in eBones (kerberos).
- Get rid of inverse logic (NOKERBEROS and NOEBONES) in src/makefile,
and replace with MAKE_KERBEROS and MAKE_EBONES. (Far fewer contortions,
and both default to off.) IF YOU WANT KERBEROS, YOU HAVE TO EXPLICITLY
DEFINE ONE OF THESE.
- Make Makefiles kerberos-aware.
Diffstat (limited to 'usr.bin/rlogin')
-rw-r--r-- | usr.bin/rlogin/Makefile | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/usr.bin/rlogin/Makefile b/usr.bin/rlogin/Makefile index 4eacdee..134885d 100644 --- a/usr.bin/rlogin/Makefile +++ b/usr.bin/rlogin/Makefile @@ -2,10 +2,15 @@ PROG= rlogin SRCS= rlogin.c -#krcmd.c kcmd.c -#DPADD= ${LIBKRB} ${LIBDES} -#CFLAGS+=-DKERBEROS -DCRYPT -#LDADD= -lkrb -ldes + +.if exists(${DESTDIR}/usr/lib/libkrb.a) && (defined(MAKE_KERBEROS) \ + || defined(MAKE_EBONES)) +SRCS+= krcmd.c kcmd.c +DPADD= ${LIBKRB} ${LIBDES} +CFLAGS+=-DKERBEROS -DCRYPT +LDADD= -lkrb -ldes +.endif + BINOWN= root BINMODE=4555 INSTALLFLAGS=-fschg |