summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorchs <chs@NetBSD.org>2003-12-13 22:07:35 +0000
committerchs <chs@NetBSD.org>2003-12-13 22:07:35 +0000
commit1a686b2ea34b9cf4edeee93d7ccbd8c5cc4991ce (patch)
tree6c81d12577e183c44c6aaa53d34b1e6dcbc7b23c /libexec
parent6b912826097ee3f68856ae55be60e7df426faf5d (diff)
rearrange lib stuff so that these link on non-shared-lib platforms.
Diffstat (limited to 'libexec')
-rw-r--r--libexec/telnetd/Makefile17
1 files changed, 6 insertions, 11 deletions
diff --git a/libexec/telnetd/Makefile b/libexec/telnetd/Makefile
index 5be7749b2f5..b4c0d38287b 100644
--- a/libexec/telnetd/Makefile
+++ b/libexec/telnetd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2003/12/11 09:46:27 dyoung Exp $
+# $NetBSD: Makefile,v 1.39 2003/12/13 22:07:35 chs Exp $
# from: @(#)Makefile 8.2 (Berkeley) 12/15/93
.include <bsd.own.mk>
@@ -19,20 +19,15 @@ CPPFLAGS+=-I${.CURDIR}
LIBTELNETDIR!= cd ${.CURDIR}/../../lib/libtelnet; ${PRINTOBJDIR}
.if (${USE_KERBEROS} != "no")
-CPPFLAGS+=-DAUTHENTICATION -DENCRYPTION
-LDADD+= -ldes -lcrypto
-DPADD+= ${LIBDES} ${LIBCRYPTO}
-
CPPFLAGS+=-I${DESTDIR}/usr/include/krb5
-CPPFLAGS+=-DKRB5
-
-LDADD+= -lkrb5 -lasn1
-DPADD+= ${LIBKRB5} ${LIBASN1}
+CPPFLAGS+=-DKRB5 -DAUTHENTICATION -DENCRYPTION
+LDADD+= -lkrb5 -lasn1 -lcrypto
+DPADD+= ${LIBKRB5} ${LIBASN1} ${LIBCRYPTO}
.if (${USE_KERBEROS4} != "no")
CPPFLAGS+=-DKRB4
-LDADD+= -lkrb
-DPADD+= ${LIBKRB}
+LDADD+= -lkrb -ldes
+DPADD+= ${LIBKRB} ${LIBDES}
.endif
VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}