Add more libraries required by libgssapi and libkrb5 etc. in NOPIC case.

This commit is contained in:
tsutsui 2008-04-10 15:05:23 +00:00
parent 3e0d94e5d9
commit 23023a98aa
10 changed files with 51 additions and 44 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1 2008/03/22 09:24:06 mlelstv Exp $
# $NetBSD: Makefile,v 1.2 2008/04/10 15:05:23 tsutsui Exp $
NOLINT= # defined
@ -29,7 +29,11 @@ CPPFLAGS+=-DHAVE_IPV6
VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
LDADD+= -lgssapi -lsl -L${VERS} -lvers -lroken -lcrypt
DPADD+= ${LIBGSSAPI} ${LIBSL} ${VERS}/libvers.a ${LIBROKEN} ${LIBCRYPT}
LDADD+= -lgssapi -lkrb5 -lheimntlm -lhx509 -lsl \
-lasn1 -lcrypto -lcom_err -L${VERS} -lvers \
-lroken -lcrypt -lutil -ledit -ltermcap
DPADD+= ${LIBGSSAPI} ${LIBKRB5} ${LIBHEIMNTLM} ${LIBHX509} ${LIBSL} \
${LIBASN1} ${LIBCRYPTO} ${LIBCOM_ERR} ${VERS}/libvers.a \
${LIBROKEN} ${LIBCRYPT} ${LIBUTIL} ${LIBEDIT} ${LIBTERMCAP}
.include <bsd.prog.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1 2008/03/22 09:24:06 mlelstv Exp $
# $NetBSD: Makefile,v 1.2 2008/04/10 15:05:23 tsutsui Exp $
NOLINT= # defined
@ -31,9 +31,11 @@ CPPFLAGS+=-DHAVE_IPV6
VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
LDADD+= -lhx509 -lcrypto -lasn1 -lcom_err \
-L${VERS} -lvers -lroken -lsl -lcrypt
-L${VERS} -lvers -lroken -lsl -lcrypt -lutil \
-ledit -ltermcap
DPADD+= ${LIBHX509} ${LIBCRYPTO} ${LIBASN1} ${LIBCOM_ERR} \
${VERS}/libvers.a ${LIBROKEN} ${LIBSL} ${LIBCRYPT}
${VERS}/libvers.a ${LIBROKEN} ${LIBSL} ${LIBCRYPT} ${LIBUTIL} \
${LIBEDIT} ${LIBTERMCAP}
.include <bsd.prog.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.18 2007/05/28 12:06:27 tls Exp $
# $NetBSD: Makefile,v 1.19 2008/04/10 15:05:23 tsutsui Exp $
USE_FORT?= yes # cryptographic software
@ -27,9 +27,9 @@ CPPFLAGS+=-DHAVE_IPV6
VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
LDADD+= -lkafs -lkrb5 -lcrypto -lasn1 -lcom_err \
-L${VERS} -lvers -lroken -lcrypt
DPADD+= ${LIBKAFS} ${LIBKRB5} ${LIBCRYPTO} ${LIBASN1} ${LIBCOM_ERR} \
${VERS}/libvers.a ${LIBROKEN} ${LIBCRYPT}
LDADD+= -lkafs -lkrb5 -lhx509 -lcrypto -lasn1 \
-lcom_err -L${VERS} -lvers -lroken -lcrypt
DPADD+= ${LIBKAFS} ${LIBKRB5} ${LIBHX509} ${LIBCRYPTO} ${LIBASN1} \
${LIBCOM_ERR} ${VERS}/libvers.a ${LIBROKEN} ${LIBCRYPT}
.include <bsd.prog.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2007/05/28 12:06:27 tls Exp $
# $NetBSD: Makefile,v 1.4 2008/04/10 15:05:23 tsutsui Exp $
NOLINT= # defined
@ -27,9 +27,9 @@ CPPFLAGS+=-DHAVE_IPV6
VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
LDADD+= -lkrb5 -lcrypto -lasn1 -lcom_err \
-L${VERS} -lvers -lroken -lcrypt
DPADD+= ${LIBKRB5} ${LIBCRYPTO} ${LIBASN1} ${LIBCOM_ERR} \
${VERS}/libvers.a ${LIBROKEN} ${LIBCRYPT}
LDADD+= -lkrb5 -lhx509 -lcrypto -lasn1 -lcom_err \
-L${VERS} -lvers -lroken -lcrypt -lutil
DPADD+= ${LIBKRB5} ${LIBHX509} ${LIBCRYPTO} ${LIBASN1} ${LIBCOM_ERR} \
${VERS}/libvers.a ${LIBROKEN} ${LIBCRYPT} ${LIBUTIL}
.include <bsd.prog.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.22 2008/03/22 08:37:27 mlelstv Exp $
# $NetBSD: Makefile,v 1.23 2008/04/10 15:05:24 tsutsui Exp $
NOLINT= # defined
@ -27,9 +27,10 @@ CPPFLAGS+= -I. \
VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
LDADD+= -lkafs -lkrb5 -lheimntlm -ldes -lcrypto -lasn1 -lcom_err \
-L${VERS} -lvers -lroken -lcrypt
DPADD+= ${LIBKAFS} ${LIBKRB5} ${LIBHEIMNTLM} ${LIBDES} ${LIBCRYPTO} \
${LIBASN1} ${LIBCOM_ERR} ${VERS}/libvers.a ${LIBROKEN} ${LIBCRYPT}
LDADD+= -lkafs -lkrb5 -lhx509 -lheimntlm -ldes -lcrypto -lasn1 -lcom_err \
-L${VERS} -lvers -lroken -lcrypt -lutil
DPADD+= ${LIBKAFS} ${LIBKRB5} ${LIBHX509} ${LIBHEIMNTLM} ${LIBDES} \
${LIBCRYPTO} ${LIBASN1} ${LIBCOM_ERR} ${VERS}/libvers.a ${LIBROKEN} \
${LIBCRYPT} ${LIBUTIL}
.include <bsd.prog.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.17 2007/05/28 12:06:27 tls Exp $
# $NetBSD: Makefile,v 1.18 2008/04/10 15:05:24 tsutsui Exp $
NOLINT= # defined
@ -27,9 +27,9 @@ CPPFLAGS+=-DHAVE_IPV6
VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
LDADD+= -lkafs -lkrb5 -lcrypto -lasn1 -lcom_err \
-L${VERS} -lvers -lroken -lcrypt
DPADD+= ${LIBKAFS} ${LIBKRB5} ${LIBCRYPTO} ${LIBASN1} ${LIBCOM_ERR} \
${VERS}/libvers.a ${LIBROKEN} ${LIBCRYPT}
LDADD+= -lkafs -lkrb5 -lhx509 -lcrypto -lasn1 \
-lcom_err -L${VERS} -lvers -lroken -lcrypt
DPADD+= ${LIBKAFS} ${LIBKRB5} ${LIBHX509} ${LIBCRYPTO} ${LIBASN1} \
${LIBCOM_ERR} ${VERS}/libvers.a ${LIBROKEN} ${LIBCRYPT}
.include <bsd.prog.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.27 2006/11/24 22:04:25 wiz Exp $
# $NetBSD: Makefile,v 1.28 2008/04/10 15:05:24 tsutsui Exp $
.include <bsd.own.mk>
@ -19,14 +19,14 @@ MLINKS= ssh.1 slogin.1
# this is not entirely true, libgssapi might be independent of krb5
SRCS += gss-genr.c
LDADD+= -lgssapi
DPADD+= ${LIBGSSAPI}
LDADD+= -lgssapi -lheimntlm
DPADD+= ${LIBGSSAPI} ${LIBHEIMNTLM}
LDADD+= -lkrb5 -lkafs -lasn1 -lcrypt
DPADD+= ${LIBKRB5} ${LIBKAFS} ${LIBASN1} ${LIBCRYPT}
LDADD+= -lkrb5 -lhx509 -lkafs -lasn1 -lcrypt
DPADD+= ${LIBKRB5} ${LIBHX509} ${LIBKAFS} ${LIBASN1} ${LIBCRYPT}
LDADD+= -lcom_err -lroken
DPADD+= ${LIBCOM_ERR} ${LIBROKEN}
LDADD+= -lcom_err -lroken -lutil
DPADD+= ${LIBCOM_ERR} ${LIBROKEN} ${LIBUTIL}
.endif
.include <bsd.prog.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.30 2008/04/06 23:39:35 christos Exp $
# $NetBSD: Makefile,v 1.31 2008/04/10 15:05:24 tsutsui Exp $
.include <bsd.own.mk>
@ -38,8 +38,8 @@ DPADD+= ${LIBSKEY}
.if (${USE_KERBEROS} != "no")
SRCS += gss-genr.c auth2-gss.c gss-serv.c gss-serv-krb5.c
LDADD+= -lgssapi
DPADD+= ${LIBGSSAPI}
LDADD+= -lgssapi -lheimntlm
DPADD+= ${LIBGSSAPI} ${LIBHEIMNTLM}
LDADD+= -lkafs
DPADD+= ${LIBKAFS}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.16 2006/08/31 07:18:39 he Exp $
# $NetBSD: Makefile,v 1.17 2008/04/10 15:05:24 tsutsui Exp $
NOLINT= # defined
@ -28,9 +28,9 @@ CPPFLAGS+=-DHAVE_IPV6
VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
LDADD+= -lkrb5 -lcrypto -lasn1 -lcom_err -L${VERS} -lvers \
-lroken -lcrypt -lutil
DPADD+= ${LIBKRB5} ${LIBCRYPTO} ${LIBASN1} ${LIBCOM_ERR} ${VERS}/libvers.a \
${LIBROKEN} ${LIBCRYPT} ${LIBUTIL}
LDADD+= -lkrb5 -lhx509 -lcrypto -lasn1 -lcom_err -L${VERS} \
-lvers -lroken -lcrypt -lutil
DPADD+= ${LIBKRB5} ${LIBHX509} ${LIBCRYPTO} ${LIBASN1} ${LIBCOM_ERR} \
${VERS}/libvers.a ${LIBROKEN} ${LIBCRYPT} ${LIBUTIL}
.include <bsd.prog.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1 2008/03/22 09:39:28 mlelstv Exp $
# $NetBSD: Makefile,v 1.2 2008/04/10 15:05:24 tsutsui Exp $
NOLINT= # defined
@ -26,9 +26,9 @@ CPPFLAGS+=-DHAVE_IPV6
VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
LDADD+= -lkrb5 -lcrypto -lasn1 -lcom_err \
LDADD+= -lkrb5 -lhx509 -lcrypto -lasn1 -lcom_err \
-L${VERS} -lvers -lroken -lcrypt
DPADD+= ${LIBKRB5} ${LIBCRYPTO} ${LIBASN1} ${LIBCOM_ERR} \
DPADD+= ${LIBKRB5} ${LIBHX509} ${LIBCRYPTO} ${LIBASN1} ${LIBCOM_ERR} \
${VERS}/libvers.a ${LIBROKEN} ${LIBCRYPT}
.include <bsd.prog.mk>