| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.50 2012/08/10 12:10:27 joerg Exp $ | | 1 | # $NetBSD: Makefile,v 1.51 2017/01/28 23:45:53 christos Exp $ |
2 | # | | 2 | # |
3 | # Copyright (c) 1990 The Regents of the University of California. | | 3 | # Copyright (c) 1990 The Regents of the University of California. |
4 | # All rights reserved. | | 4 | # All rights reserved. |
5 | # | | 5 | # |
6 | # Redistribution and use in source and binary forms, with or without | | 6 | # Redistribution and use in source and binary forms, with or without |
7 | # modification, are permitted provided that the following conditions | | 7 | # modification, are permitted provided that the following conditions |
8 | # are met: | | 8 | # are met: |
9 | # 1. Redistributions of source code must retain the above copyright | | 9 | # 1. Redistributions of source code must retain the above copyright |
10 | # notice, this list of conditions and the following disclaimer. | | 10 | # notice, this list of conditions and the following disclaimer. |
11 | # 2. Redistributions in binary form must reproduce the above copyright | | 11 | # 2. Redistributions in binary form must reproduce the above copyright |
12 | # notice, this list of conditions and the following disclaimer in the | | 12 | # notice, this list of conditions and the following disclaimer in the |
13 | # documentation and/or other materials provided with the distribution. | | 13 | # documentation and/or other materials provided with the distribution. |
14 | # 3. All advertising materials mentioning features or use of this software | | 14 | # 3. All advertising materials mentioning features or use of this software |
| @@ -55,28 +55,28 @@ SRCS= authenc.c commands.c main.c networ | | | @@ -55,28 +55,28 @@ SRCS= authenc.c commands.c main.c networ |
55 | CPPFLAGS+=-I${NETBSDSRCDIR}/lib | | 55 | CPPFLAGS+=-I${NETBSDSRCDIR}/lib |
56 | CPPFLAGS+=-DIPSEC | | 56 | CPPFLAGS+=-DIPSEC |
57 | LDADD+= -lipsec | | 57 | LDADD+= -lipsec |
58 | DPADD+= ${LIBIPSEC} | | 58 | DPADD+= ${LIBIPSEC} |
59 | | | 59 | |
60 | .if (${USE_INET6} != "no") | | 60 | .if (${USE_INET6} != "no") |
61 | CPPFLAGS+=-DINET6 | | 61 | CPPFLAGS+=-DINET6 |
62 | .endif | | 62 | .endif |
63 | | | 63 | |
64 | LIBTELNETDIR!= cd ${.CURDIR}/../../lib/libtelnet; ${PRINTOBJDIR} | | 64 | LIBTELNETDIR!= cd ${.CURDIR}/../../lib/libtelnet; ${PRINTOBJDIR} |
65 | | | 65 | |
66 | .if (${USE_KERBEROS} != "no") | | 66 | .if (${USE_KERBEROS} != "no") |
67 | CPPFLAGS+=-DKRB5 -DFORWARD | | 67 | CPPFLAGS+=-DKRB5 -DFORWARD |
68 | LDADD+= -lkrb5 -lasn1 -lcom_err -lroken | | 68 | LDADD+= -lkrb5 -lasn1 -lcom_err -lroken -lsqlite3 |
69 | DPADD+= ${LIBKRB5} ${LIBASN1} ${LIBCOM_ERR} ${LIBROKEN} | | 69 | DPADD+= ${LIBKRB5} ${LIBASN1} ${LIBCOM_ERR} ${LIBROKEN} ${LIBSQLITE3} |
70 | .endif | | 70 | .endif |
71 | | | 71 | |
72 | .if (${MKCRYPTO} != "no") | | 72 | .if (${MKCRYPTO} != "no") |
73 | CPPFLAGS+=-DAUTHENTICATION -DENCRYPTION | | 73 | CPPFLAGS+=-DAUTHENTICATION -DENCRYPTION |
74 | LDADD+= -ldes -lcrypto -lcrypt | | 74 | LDADD+= -ldes -lcrypto -lcrypt |
75 | DPADD+= ${LIBDES} ${LIBCRYPTO} ${LIBCRYPT} | | 75 | DPADD+= ${LIBDES} ${LIBCRYPTO} ${LIBCRYPT} |
76 | .endif | | 76 | .endif |
77 | | | 77 | |
78 | .if (${USE_PAM} != "no") | | 78 | .if (${USE_PAM} != "no") |
79 | LDADD+= -lpam ${PAM_STATIC_LDADD} | | 79 | LDADD+= -lpam ${PAM_STATIC_LDADD} |
80 | DPADD+= ${LIBPAM} ${PAM_STATIC_DPADD} | | 80 | DPADD+= ${LIBPAM} ${PAM_STATIC_DPADD} |
81 | .endif | | 81 | .endif |
82 | | | 82 | |