diff options
author | June McEnroe <june@causal.agency> | 2020-07-30 18:08:59 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-08-02 15:42:48 -0400 |
commit | e5c08e2f0787eb1a1532ea3c0957892250007b07 (patch) | |
tree | 921d6f382ee385d9a640eb5832b6b0830b5b1fc8 /Makefile.am | |
parent | build: Add ax_check_openssl (diff) | |
download | libretls-e5c08e2f0787eb1a1532ea3c0957892250007b07.tar.gz libretls-e5c08e2f0787eb1a1532ea3c0957892250007b07.zip |
build: Strip down build
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 |