loudmouth/Makefile.am
author convert-repo
Mon, 25 Jan 2021 22:55:03 +0000
changeset 741 d79ab1c77b17
parent 711 f9e84b075afa
permissions -rw-r--r--
update tags

include $(top_srcdir)/build/Makefile.am.lm
include $(top_srcdir)/build/Makefile.am.marshal

NULL=

TEST_DIR=$(top_srcdir)/

AM_CPPFLAGS =                           \
	-I.                                 \
	-I$(top_srcdir)                     \
	$(LOUDMOUTH_CFLAGS)                 \
	$(LIBIDN_CFLAGS)                    \
	$(ASYNCNS_CFLAGS)                   \
	-DLM_COMPILATION                    \
	-DRUNTIME_ENDIAN                    \
	$(NULL)

noinst_PROGRAMS = test-dns

test_dns_SOURCES = test-dns.c

test_dns_LDADD = $(LOUDMOUTHTEST_LIBS) libloudmouth-1.la

lib_LTLIBRARIES = libloudmouth-1.la

if USE_GNUTLS
ssl_sources =                           \
	lm-ssl-gnutls.c
endif

if USE_OPENSSL
ssl_sources =                           \
	lm-ssl-openssl.c
endif

libloudmouth_1_la_SOURCES =             \
	lm-connection.c                     \
	lm-debug.c                          \
	lm-debug.h                          \
	lm-data-objects.c                   \
	lm-data-objects.h                   \
	lm-error.c                          \
	lm-marshal.c                        \
	lm-marshal.h                        \
	lm-message.c                        \
	lm-message-handler.c                \
	lm-message-node.c                   \
	lm-message-queue.c                  \
	lm-message-queue.h                  \
	lm-misc.c                           \
	lm-misc.h                           \
	lm-parser.c                         \
	lm-parser.h                         \
	                                    \
	$(asyncns_sources)                  \
	lm-resolver.c                       \
	lm-resolver.h                       \
	lm-asyncns-resolver.c               \
	lm-asyncns-resolver.h               \
	lm-blocking-resolver.c              \
	lm-blocking-resolver.h              \
	                                    \
	lm-internals.h                      \
	lm-sha.c                            \
	lm-sha.h                            \
	lm-ssl-generic.c                    \
	lm-ssl-base.c                       \
	lm-ssl-base.h                       \
	lm-ssl-internals.h                  \
	$(ssl_sources)                      \
	lm-utils.c                          \
	lm-proxy.c                          \
	lm-sock.h                           \
	lm-sock.c                           \
	lm-old-socket.c                     \
	lm-old-socket.h                     \
	                                    \
	lm-socket.c                         \
	lm-socket.h                         \
	                                    \
	lm-feature-ping.c                   \
	lm-feature-ping.h                   \
	                                    \
	lm-sasl.c                           \
	lm-sasl.h                           \
	md5.c                               \
	md5.h                               \
	$(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)                   \
	$(LIBIDN_LIBS)                      \
	$(ASYNCNS_LIBS)

libloudmouth_1_la_LDFLAGS =                                 \
	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)    \
	-export-symbols $(srcdir)/loudmouth.sym

libloudmouthincludedir = $(includedir)/loudmouth-1.0/loudmouth

MARSHAL=lm

EXTRA_DIST +=                           \
	lm-ssl-gnutls.c                     \
	lm-ssl-openssl.c                    \
	loudmouth.sym