2014-08-20 19:55:47 +02:00
|
|
|
|
|
|
|
ifeq ($(USE_CONTRIB_OPENSSL),1)
|
2015-02-08 11:42:01 +01:00
|
|
|
OPENSSL_LIBS=../contrib/$(OPENSSL_VERSION)/libssl.a ../contrib/$(OPENSSL_VERSION)/libcrypto.a -ldl
|
|
|
|
OPENSSL_CFLAGS=../contrib/$(OPENSSL_VERSION)/include/
|
2014-08-20 19:55:47 +02:00
|
|
|
else
|
2015-02-08 11:42:01 +01:00
|
|
|
OPENSSL_LDFLAGS=-lssl -lcrypto -ldl
|
|
|
|
OPENSSL_CFLAGS=
|
2014-08-20 19:55:47 +02:00
|
|
|
endif
|
|
|
|
|
2015-02-08 11:42:01 +01:00
|
|
|
ifeq ($(USE_CONTRIB_GNUTLS),1)
|
|
|
|
GNUTLS_CFLAGS=-I../contrib/gnutls-${GNUTLS_VERSION}/lib/includes
|
|
|
|
#GNUTLS_LIBS=-lnettle -lgmp ../contrib/gnutls-${GNUTLS_VERSION}/lib/.libs/libgnutls.a
|
|
|
|
GNUTLS_LIBS=-lgmp -lgnutls -lnettle
|
|
|
|
|
|
|
|
GNUTLS_LDFLAGS=-L../contrib/gnutls-${GNUTLS_VERSION}/lib/.libs/
|
|
|
|
else
|
|
|
|
GNUTLS_CFLAGS=
|
|
|
|
GNUTLS_LIBS=
|
2015-03-16 10:42:03 +01:00
|
|
|
GNUTLS_LDFLAGS=-lgnutls -lnettle -lgmp
|
2014-08-20 19:55:47 +02:00
|
|
|
|
2015-02-08 11:42:01 +01:00
|
|
|
endif
|