| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: bsd.prog.mk,v 1.300 2016/08/20 11:23:33 christos Exp $ | | 1 | # $NetBSD: bsd.prog.mk,v 1.301 2017/01/29 21:43:56 christos Exp $ |
2 | # @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94 | | 2 | # @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94 |
3 | | | 3 | |
4 | .ifndef HOSTPROG | | 4 | .ifndef HOSTPROG |
5 | | | 5 | |
6 | .include <bsd.init.mk> | | 6 | .include <bsd.init.mk> |
7 | .include <bsd.shlib.mk> | | 7 | .include <bsd.shlib.mk> |
8 | .include <bsd.gcc.mk> | | 8 | .include <bsd.gcc.mk> |
9 | | | 9 | |
10 | # | | 10 | # |
11 | # Definitions and targets shared among all programs built by a single | | 11 | # Definitions and targets shared among all programs built by a single |
12 | # Makefile. | | 12 | # Makefile. |
13 | # | | 13 | # |
14 | | | 14 | |
| @@ -210,29 +210,29 @@ LIBCRTI= ${DESTDIR}/usr/lib/${MLIBDIR:D$ | | | @@ -210,29 +210,29 @@ LIBCRTI= ${DESTDIR}/usr/lib/${MLIBDIR:D$ |
210 | LIB${_lib:tu}= ${DESTDIR}/usr/lib/lib${_lib:S/xx/++/:S/atf_c/atf-c/}.a | | 210 | LIB${_lib:tu}= ${DESTDIR}/usr/lib/lib${_lib:S/xx/++/:S/atf_c/atf-c/}.a |
211 | .MADE: ${LIB${_lib:tu}} # Note: ${DESTDIR} will be expanded | | 211 | .MADE: ${LIB${_lib:tu}} # Note: ${DESTDIR} will be expanded |
212 | .endif | | 212 | .endif |
213 | .endfor | | 213 | .endfor |
214 | | | 214 | |
215 | # PAM applications, if linked statically, need more libraries | | 215 | # PAM applications, if linked statically, need more libraries |
216 | .if (${MKPIC} == "no") | | 216 | .if (${MKPIC} == "no") |
217 | .if (${MKCRYPTO} != "no") | | 217 | .if (${MKCRYPTO} != "no") |
218 | PAM_STATIC_LDADD+= -lssh | | 218 | PAM_STATIC_LDADD+= -lssh |
219 | PAM_STATIC_DPADD+= ${LIBSSH} | | 219 | PAM_STATIC_DPADD+= ${LIBSSH} |
220 | .endif | | 220 | .endif |
221 | .if (${MKKERBEROS} != "no") | | 221 | .if (${MKKERBEROS} != "no") |
222 | PAM_STATIC_LDADD+= -lkafs -lkrb5 -lhx509 -lwind -lasn1 \ | | 222 | PAM_STATIC_LDADD+= -lkafs -lkrb5 -lhx509 -lwind -lasn1 \ |
223 | -lroken -lcom_err -lheimbase -lcrypto | | 223 | -lroken -lcom_err -lheimbase -lcrypto -lsqlite3 |
224 | PAM_STATIC_DPADD+= ${LIBKAFS} ${LIBKRB5} ${LIBHX509} ${LIBWIND} ${LIBASN1} \ | | 224 | PAM_STATIC_DPADD+= ${LIBKAFS} ${LIBKRB5} ${LIBHX509} ${LIBWIND} ${LIBASN1} \ |
225 | ${LIBROKEN} ${LIBCOM_ERR} ${LIBHEIMBASE} ${LIBCRYPTO} | | 225 | ${LIBROKEN} ${LIBCOM_ERR} ${LIBHEIMBASE} ${LIBCRYPTO} ${LIBSQLITE3} |
226 | .endif | | 226 | .endif |
227 | .if (${MKSKEY} != "no") | | 227 | .if (${MKSKEY} != "no") |
228 | PAM_STATIC_LDADD+= -lskey | | 228 | PAM_STATIC_LDADD+= -lskey |
229 | PAM_STATIC_DPADD+= ${LIBSKEY} | | 229 | PAM_STATIC_DPADD+= ${LIBSKEY} |
230 | .endif | | 230 | .endif |
231 | PAM_STATIC_LDADD+= -lradius -lcrypt -lrpcsvc -lutil | | 231 | PAM_STATIC_LDADD+= -lradius -lcrypt -lrpcsvc -lutil |
232 | PAM_STATIC_DPADD+= ${LIBRADIUS} ${LIBCRYPT} ${LIBRPCSVC} ${LIBUTIL} | | 232 | PAM_STATIC_DPADD+= ${LIBRADIUS} ${LIBCRYPT} ${LIBRPCSVC} ${LIBUTIL} |
233 | .else | | 233 | .else |
234 | PAM_STATIC_LDADD= | | 234 | PAM_STATIC_LDADD= |
235 | PAM_STATIC_DPADD= | | 235 | PAM_STATIC_DPADD= |
236 | .endif | | 236 | .endif |
237 | | | 237 | |
238 | # NB: If you are a library here, add it in bsd.README | | 238 | # NB: If you are a library here, add it in bsd.README |