summary refs log tree commit diff
path: root/Makefile.am
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2023-10-11 19:17:00 -0400
committerJune McEnroe <june@causal.agency>2023-10-11 19:20:41 -0400
commit7314efbbff8888e2e9b9676b5ef8343c0f64554d (patch)
tree8033458e5c2407a746a6bd97853db77143074044 /Makefile.am
parentMerge LibreSSL 3.7.0 (diff)
parentImport LibreSSL 3.7.1 (diff)
downloadlibretls-7314efbbff8888e2e9b9676b5ef8343c0f64554d.tar.gz
libretls-7314efbbff8888e2e9b9676b5ef8343c0f64554d.zip
Merge LibreSSL 3.7.1
Diffstat (limited to '')
-rw-r--r--Makefile.am10
-rw-r--r--Makefile.am.common4
2 files changed, 13 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 69a8133..741cacb 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -13,6 +13,16 @@ EXTRA_DIST += LIBTLS_VERSION
 EXTRA_DIST += tls.sym
 EXTRA_DIST += README.7
 EXTRA_DIST += scripts
+EXTRA_DIST += empty.c
+
+CLEANFILES = libtls_la_objects.mk
+
+EXTRA_libtls_la_DEPENDENCIES = libtls_la_objects.mk
+
+libtls_la_objects.mk: Makefile
+	@echo "libtls_la_objects= $(libtls_la_OBJECTS)" \
+	  | sed 's/  */ $$\(abs_top_builddir\)\/tls\//g' \
+	  > libtls_la_objects.mk
 
 libtls_la_LDFLAGS = -version-info @LIBTLS_VERSION@ -no-undefined -export-symbols $(top_srcdir)/tls.sym
 libtls_la_LDFLAGS += $(OPENSSL_LDFLAGS)
diff --git a/Makefile.am.common b/Makefile.am.common
index 87aa807..5405704 100644
--- a/Makefile.am.common
+++ b/Makefile.am.common
@@ -1,3 +1,5 @@
 AM_CFLAGS =
-AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/include/compat -DLIBRESSL_INTERNAL
+AM_CPPFLAGS = -I$(top_srcdir)/include
+AM_CPPFLAGS += -I$(abs_top_builddir)/include
+AM_CPPFLAGS += -I$(top_srcdir)/include/compat -DLIBRESSL_INTERNAL
 AM_CPPFLAGS += -D__BEGIN_HIDDEN_DECLS= -D__END_HIDDEN_DECLS=