Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/mk Add the world of libraries to the static pam build....



details:   https://anonhg.NetBSD.org/src/rev/96d6072fedd1
branches:  trunk
changeset: 587324:96d6072fedd1
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Jan 20 16:54:11 2006 +0000

description:
Add the world of libraries to the static pam build. Now static pam binaries
work.

diffstat:

 share/mk/bsd.prog.mk |  19 ++++++++++++++++---
 1 files changed, 16 insertions(+), 3 deletions(-)

diffs (33 lines):

diff -r 5bd0c088427a -r 96d6072fedd1 share/mk/bsd.prog.mk
--- a/share/mk/bsd.prog.mk      Fri Jan 20 16:52:55 2006 +0000
+++ b/share/mk/bsd.prog.mk      Fri Jan 20 16:54:11 2006 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.prog.mk,v 1.207 2005/04/09 13:00:53 dsl Exp $
+#      $NetBSD: bsd.prog.mk,v 1.208 2006/01/20 16:54:11 christos Exp $
 #      @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94
 
 .ifndef HOSTPROG
@@ -75,8 +75,21 @@
 
 # PAM applications, if linked statically, need more libraries
 .if (${MKPIC} == "no")
-PAM_STATIC_LDADD= -lcrypt -lrpcsvc -lutil
-PAM_STATIC_DPADD= ${LIBCRYPT} ${LIBRPCSVC} ${LIBUTIL}
+.if (${MKCRYPTO} != "no")
+PAM_STATIC_LDADD+= -lssh
+PAM_STATIC_DPADD+= ${LIBSSH}
+.endif
+.if (${MKKERBEROS} != "no")
+PAM_STATIC_LDADD+= -lkafs -lkrb -lkrb5 -lasn1 -lroken -lcom_err -lcrypto
+PAM_STATIC_DPADD+= ${LIBKAFS} ${LIBKRB} ${LIBKRB5} ${LIBASN1} ${LIBROKEN} \
+       ${LIBCOM_ERR} ${LIBCRYPTO}
+.endif
+.if (${MKSKEY} != "no")
+PAM_STATIC_LDADD+= -lskey
+PAM_STATIC_DPADD+= ${LIBSKEY}
+.endif
+PAM_STATIC_LDADD+= -lradius -lcrypt -lrpcsvc -lutil
+PAM_STATIC_DPADD+= ${LIBRADIUS} ${LIBCRYPT} ${LIBRPCSVC} ${LIBUTIL}
 .else
 PAM_STATIC_LDADD=
 PAM_STATIC_DPADD=



Home | Main Index | Thread Index | Old Index