2006-04-05 Mikael Hallendal <micke@imendio.com>
* configure.in: Define HAVE_SSL which will be set if GnuTLS or OpenSSL
is supported.
* loudmouth/Makefile.am:
* loudmouth/lm-connection.c:
* loudmouth/lm-internals.h:
* loudmouth/lm-ssl-base.[ch]:
* loudmouth/lm-ssl-generic.c:
* loudmouth/lm-ssl-gnutls.c:
* loudmouth/lm-ssl-internals.h: Took out the SSL functions from
lm-internals.h
* loudmouth/lm-ssl.[ch]:
- Refactored the SSL stuff to make room for an OpenSSL implementation.
- lm-ssl-generic and lm-ssl-base contains the shared parts between the
GnuTLS and the OpenSSL implementations. lm-ssl-gnutls.c will contain
GnuTLS specifics and lm-ssl-openssl.c will contain OpenSSL.
NULL=
INCLUDES = \
-I. \
-I$(top_srcdir) \
$(LOUDMOUTH_CFLAGS) \
-DLM_COMPILATION \
-DRUNTIME_ENDIAN \
$(NULL)
lib_LTLIBRARIES = libloudmouth-1.la
libloudmouth_1_la_SOURCES = \
lm-connection.c \
lm-debug.c \
lm-debug.h \
lm-error.c \
lm-message.c \
lm-message-handler.c \
lm-message-node.c \
lm-parser.c \
lm-parser.h \
lm-internals.h \
lm-sha.c \
lm-sha.h \
lm-ssl-generic.c \
lm-ssl-gnutls.c \
lm-ssl-base.c \
lm-ssl-base.h \
lm-ssl-internals.h \
lm-utils.c \
lm-proxy.c \
$(NULL)
libloudmouthinclude_HEADERS = \
lm-connection.h \
lm-error.h \
lm-message.h \
lm-message-handler.h \
lm-message-node.h \
lm-utils.h \
lm-proxy.h \
lm-ssl.h \
loudmouth.h \
$(NULL)
libloudmouth_1_la_LIBADD = \
$(LOUDMOUTH_LIBS)
libloudmouthincludedir = $(includedir)/loudmouth-1.0/loudmouth
# an explicit dependency here so alm generated files get built
$(OBJECTS): $(built_sources)