2c2f8fe81e
FossilOrigin-Name: 65d9a4b89ff97013aaac7917f976dd20930d2d0e26c07f4e53c9663b32931475
22 lines
614 B
Makefile
22 lines
614 B
Makefile
|
|
ifeq ($(USE_CONTRIB_OPENSSL),1)
|
|
OPENSSL_LIBS=../contrib/$(OPENSSL_VERSION)/libssl.a ../contrib/$(OPENSSL_VERSION)/libcrypto.a -ldl
|
|
OPENSSL_CFLAGS=../contrib/$(OPENSSL_VERSION)/include/
|
|
else
|
|
OPENSSL_LDFLAGS=-lssl -lcrypto -ldl
|
|
OPENSSL_CFLAGS=
|
|
endif
|
|
|
|
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=
|
|
GNUTLS_LDFLAGS=-lgnutls -lnettle -lgmp
|
|
|
|
endif
|