summaryrefslogtreecommitdiff
path: root/libextra/Makefile.am
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2003-11-13 06:41:09 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2003-11-13 06:41:09 +0000
commit94a3785fb6a87d74fbc6efa65efd777e528c03ba (patch)
tree28cefcbef8fb58e92c1a3372b9b7b5fd1fca30ff /libextra/Makefile.am
parent4c0253a2a634f8ec4e51d1e79f8916da7113a392 (diff)
downloadgnutls-94a3785fb6a87d74fbc6efa65efd777e528c03ba.tar.gz
The openssl compatibility layer was moved to gnutls-openssl to allow the extension of it without bloating the libgnutls-extra.
Diffstat (limited to 'libextra/Makefile.am')
-rw-r--r--libextra/Makefile.am14
1 files changed, 13 insertions, 1 deletions
diff --git a/libextra/Makefile.am b/libextra/Makefile.am
index d12113c812..65e8971d5a 100644
--- a/libextra/Makefile.am
+++ b/libextra/Makefile.am
@@ -17,11 +17,22 @@ EXTRA_DIST = ext_srp.h gnutls_srp.h libgnutls-extra.vers \
libgnutls-extra.m4 lzoconf.h minilzo.h
+if ENABLE_OPENSSL
+lib_LTLIBRARIES = libgnutls-extra.la libgnutls-openssl.la
+
+libgnutls_openssl_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
+
+libgnutls_openssl_la_SOURCES = gnutls_openssl.c
+
+libgnutls_openssl_la_LIBADD = \
+ ../lib/libgnutls.la
+else
lib_LTLIBRARIES = libgnutls-extra.la
+endif
COBJECTS_EXTRA = ext_srp.c \
gnutls_srp.c auth_srp.c auth_srp_passwd.c auth_srp_sb64.c \
- gnutls_extra.c gnutls_openssl.c \
+ gnutls_extra.c \
auth_srp_rsa.c gnutls_openpgp.c
libgnutls_extra_la_LDFLAGS = $(libgnutls_extra_version_script_cmd) \
@@ -38,6 +49,7 @@ libgnutls_extra_la_LIBADD = $(LZO_OBJECTS) \
EXTRA_libgnutls_extra_la_SOURCES = minilzo.c
+
gnutls-extra-api.tex: $(COBJECTS_EXTRA)
@echo "" > gnutls-extra-api.tex
@for i in $(COBJECTS_EXTRA); \