diff options
Diffstat (limited to '')
-rw-r--r-- | Makefile.am | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/Makefile.am b/Makefile.am index 942abf9..c2c0d2b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,22 +1,24 @@ include $(top_srcdir)/Makefile.am.common +SUBDIRS = include man +ACLOCAL_AMFLAGS = -I m4 + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = libtls.pc + lib_LTLIBRARIES = libtls.la EXTRA_DIST = VERSION -EXTRA_DIST += CMakeLists.txt +EXTRA_DIST += LIBTLS_VERSION EXTRA_DIST += tls.sym -libtls_la_LDFLAGS = -version-info @LIBTLS_VERSION@ -no-undefined -export-symbols $(top_srcdir)/tls/tls.sym -libtls_la_LIBADD = $(abs_top_builddir)/ssl/libssl.la -libtls_la_LIBADD += $(abs_top_builddir)/crypto/libcrypto.la +libtls_la_LDFLAGS = -version-info @LIBTLS_VERSION@ -no-undefined -export-symbols $(top_srcdir)/tls.sym +libtls_la_LDFLAGS += $(OPENSSL_LDFLAGS) +libtls_la_LIBADD = $(OPENSSL_LIBS) libtls_la_LIBADD += $(PLATFORM_LDADD) libtls_la_CPPFLAGS = $(AM_CPPFLAGS) -if OPENSSLDIR_DEFINED -libtls_la_CPPFLAGS += -DTLS_DEFAULT_CA_FILE=\"@OPENSSLDIR@/cert.pem\" -else -libtls_la_CPPFLAGS += -DTLS_DEFAULT_CA_FILE=\"$(sysconfdir)/ssl/cert.pem\" -endif +libtls_la_CPPFLAGS += $(OPENSSL_INCLUDES) libtls_la_SOURCES = tls.c libtls_la_SOURCES += tls_client.c |