summary refs log tree commit diff
path: root/Makefile.am
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2023-10-11 18:15:09 -0400
committerJune McEnroe <june@causal.agency>2023-10-11 18:15:09 -0400
commit9a15fe378126040cd8ce488fbfbdefbd1df1fa7a (patch)
tree4e9c4da84aef5b4e9601b7d81a15d179a57fe197 /Makefile.am
parentImport LibreSSL 3.7.0 (diff)
downloadlibretls-9a15fe378126040cd8ce488fbfbdefbd1df1fa7a.tar.gz
libretls-9a15fe378126040cd8ce488fbfbdefbd1df1fa7a.zip
Import 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 4d31c92..9b62b22 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -8,6 +8,16 @@ lib_LTLIBRARIES = libtls.la
 EXTRA_DIST = VERSION
 EXTRA_DIST += CMakeLists.txt
 EXTRA_DIST += tls.sym
+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/tls.sym
 libtls_la_LIBADD = $(libcrypto_la_objects)
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=