Compile with OPENSSL.
This commit is contained in:
parent
b95d2d1163
commit
449dbee9f0
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.inc,v 1.20 2005/10/10 13:26:28 rpaulo Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.21 2006/05/06 17:51:46 christos Exp $
|
||||
|
||||
.if !defined(BIND9_MAKEFILE_INC)
|
||||
BIND9_MAKEFILE_INC=yes
|
||||
|
@ -6,6 +6,7 @@ BIND9_MAKEFILE_INC=yes
|
|||
WARNS?= 1
|
||||
WFORMAT?=2
|
||||
NAMED_USE_PTHREADS?=yes
|
||||
NAMED_USE_OPENSSL?=yes
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
|
@ -56,6 +57,12 @@ CPPFLAGS+= -DLIBINTERFACE=${LIBINTERFACE} \
|
|||
-DLIBREVISION=${LIBREVISION} -DLIBAGE=${LIBAGE}
|
||||
.endif
|
||||
|
||||
.if ${NAMED_USE_OPENSSL} == "yes"
|
||||
CPPFLAGS+=-DOPENSSL
|
||||
LDADD+= -lcrypto
|
||||
DPADD+= ${LIBCRYPTO}
|
||||
.endif
|
||||
|
||||
.if ${NAMED_USE_PTHREADS} == "yes"
|
||||
CPPFLAGS+=-DISC_PLATFORM_USETHREADS -I${IDIST}/lib/isc/pthreads/include
|
||||
.else
|
||||
|
|
Loading…
Reference in New Issue