diff options
| author | thorpej <thorpej@NetBSD.org> | 2000-06-23 06:01:10 +0000 |
|---|---|---|
| committer | thorpej <thorpej@NetBSD.org> | 2000-06-23 06:01:10 +0000 |
| commit | df83a2a3cd9ac3b2e5e3dca3a433f2238e9c5e79 (patch) | |
| tree | bd7847ad3be21e3746f293242155cdbc42f6ef98 /libexec | |
| parent | b23df5be68cabcaea6126a0404907a8983603888 (diff) | |
Add MK... variables to enable/disable various aspects of building
crypto support into the system. See share/mk/bsd.README for more
a full description.
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/Makefile | 6 | ||||
| -rw-r--r-- | libexec/telnetd/Makefile | 11 |
2 files changed, 13 insertions, 4 deletions
diff --git a/libexec/Makefile b/libexec/Makefile index ba5f9febb25..ee60ec1731e 100644 --- a/libexec/Makefile +++ b/libexec/Makefile @@ -1,12 +1,16 @@ -# $NetBSD: Makefile,v 1.37 2000/06/20 06:00:34 thorpej Exp $ +# $NetBSD: Makefile,v 1.38 2000/06/23 06:01:14 thorpej Exp $ # @(#)Makefile 8.1 (Berkeley) 6/4/93 +.include <bsd.own.mk> + SUBDIR= atrun comsat fingerd ftpd getNAME getty identd ld.aout_so \ ld.elf_so lfs_cleanerd mail.local makekey makewhatis rexecd \ rlogind rmail rshd rpc.rquotad rpc.rstatd rpc.rusersd rpc.rwalld \ rpc.sprayd talkd telnetd tftpd uucpd +.if (${MKCRYPTO} != "no") # Heimdal/KTH Kerberos SUBDIR+= hprop hpropd kadmind kdc kfd kpasswdd +.endif .include <bsd.subdir.mk> diff --git a/libexec/telnetd/Makefile b/libexec/telnetd/Makefile index 03c4cd3ce6e..64b9e81f9bc 100644 --- a/libexec/telnetd/Makefile +++ b/libexec/telnetd/Makefile @@ -1,6 +1,8 @@ -# $NetBSD: Makefile,v 1.24 2000/06/22 06:47:49 thorpej Exp $ +# $NetBSD: Makefile,v 1.25 2000/06/23 06:01:14 thorpej Exp $ # from: @(#)Makefile 8.2 (Berkeley) 12/15/93 +.include <bsd.own.mk> + MAN= telnetd.8 CPPFLAGS+=-DINET6 @@ -13,13 +15,16 @@ SRCS= authenc.c global.c slc.c state.c sys_term.c telnetd.c \ DPADD= ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET} LDADD+= -lutil -ltermcap -ltelnet +CPPFLAGS+=-I${.CURDIR}/../../lib +CPPFLAGS+=-I${.CURDIR} + +.if (${MKKERBEROS} != "no") CPPFLAGS+=-DAUTHENTICATION -DENCRYPTION CPPFLAGS+=-I${DESTDIR}/usr/include/krb5 -CPPFLAGS+=-I${.CURDIR}/../../lib CPPFLAGS+=-DKRB5 -CPPFLAGS+=-I${.CURDIR} LDADD+= -lkrb5 -lkrb -lcrypto -lasn1 -lcom_err -lroken DPADD+= ${LIBKRB5} ${LIBKRB} ${LIBCRYPTO} ${LIBASN1} ${LIBCOM_ERR} ${LIBROKEN} +.endif .include <bsd.prog.mk> |
