aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/openssl/Makefile.am.tpl38
1 files changed, 37 insertions, 1 deletions
diff --git a/include/openssl/Makefile.am.tpl b/include/openssl/Makefile.am.tpl
index 1bea34d..167183a 100644
--- a/include/openssl/Makefile.am.tpl
+++ b/include/openssl/Makefile.am.tpl
@@ -3,4 +3,40 @@ include $(top_srcdir)/Makefile.am.common
3if !ENABLE_LIBTLS_ONLY 3if !ENABLE_LIBTLS_ONLY
4opensslincludedir=$(includedir)/openssl 4opensslincludedir=$(includedir)/openssl
5 5
6opensslinclude_HEADERS = 6noinst_HEADERS = opensslconf.h.in
7BUILT_SOURCES = opensslconf.h
8CLEANFILES = opensslconf.h
9
10opensslconf.h: opensslconf.h.in Makefile
11 -echo "generating opensslconf.h ..."
12 -cp $(top_srcdir)/include/openssl/opensslconf.h.in opensslconf.h
13 -chmod u+w opensslconf.h
14if HOST_AARCH64
15 -cat $(top_srcdir)/include/arch/aarch64/opensslconf.h >> opensslconf.h
16endif
17if HOST_ARM
18 -cat $(top_srcdir)/include/arch/arm/opensslconf.h >> opensslconf.h
19endif
20if HOST_I386
21 -cat $(top_srcdir)/include/arch/i386/opensslconf.h >> opensslconf.h
22endif
23if HOST_MIPS64
24 -cat $(top_srcdir)/include/arch/mips64/opensslconf.h >> opensslconf.h
25endif
26if HOST_POWERPC
27 -cat $(top_srcdir)/include/arch/powerpc/opensslconf.h >> opensslconf.h
28endif
29if HOST_POWERPC64
30 -cat $(top_srcdir)/include/arch/powerpc64/opensslconf.h >> opensslconf.h
31endif
32if HOST_RISCV64
33 -cat $(top_srcdir)/include/arch/riscv64/opensslconf.h >> opensslconf.h
34endif
35if HOST_SPARC64
36 -cat $(top_srcdir)/include/arch/sparc64/opensslconf.h >> opensslconf.h
37endif
38if HOST_X86_64
39 -cat $(top_srcdir)/include/arch/amd64/opensslconf.h >> opensslconf.h
40endif
41
42opensslinclude_HEADERS = opensslconf.h