mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-27 21:44:34 +01:00
c368d11dd2
- 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.
20 lines
358 B
Makefile
20 lines
358 B
Makefile
# @(#)Makefile 8.1 (Berkeley) 7/19/93
|
|
|
|
PROG= rsh
|
|
SRCS= rsh.c
|
|
|
|
.if exists(${DESTDIR}/usr/lib/libkrb.a) && (defined(MAKE_KERBEROS) \
|
|
|| defined(MAKE_EBONES))
|
|
CFLAGS+=-DKERBEROS -DCRYPT
|
|
SRCS+= krcmd.c kcmd.c
|
|
DPADD= ${LIBKRB} ${LIBDES}
|
|
LDADD= -lkrb -ldes
|
|
.endif
|
|
|
|
BINOWN= root
|
|
BINMODE=4555
|
|
INSTALLFLAGS=-fschg
|
|
.PATH: ${.CURDIR}/../rlogin
|
|
|
|
.include <bsd.prog.mk>
|