diff options
Diffstat (limited to '')
-rw-r--r-- | Makefile.am | 10 | ||||
-rw-r--r-- | Makefile.am.common | 4 |
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= |