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