2014-07-10 06:21:51 -05:00
|
|
|
include $(top_srcdir)/Makefile.am.common
|
|
|
|
|
2021-04-05 02:32:35 -05:00
|
|
|
if !ENABLE_LIBTLS_ONLY
|
2014-07-10 06:21:51 -05:00
|
|
|
opensslincludedir=$(includedir)/openssl
|
|
|
|
|
2023-02-15 19:32:16 -06:00
|
|
|
BUILT_SOURCES = opensslconf.h
|
|
|
|
CLEANFILES = opensslconf.h
|
|
|
|
|
2023-02-28 01:51:41 -06:00
|
|
|
opensslconf.h: Makefile
|
2023-02-15 19:32:16 -06:00
|
|
|
-echo "generating opensslconf.h ..."
|
|
|
|
if HOST_AARCH64
|
2023-02-28 01:51:41 -06:00
|
|
|
-cp $(top_srcdir)/include/arch/aarch64/opensslconf.h opensslconf.h
|
2023-02-15 19:32:16 -06:00
|
|
|
endif
|
|
|
|
if HOST_ARM
|
2023-02-28 01:51:41 -06:00
|
|
|
-cp $(top_srcdir)/include/arch/arm/opensslconf.h opensslconf.h
|
2023-02-15 19:32:16 -06:00
|
|
|
endif
|
|
|
|
if HOST_I386
|
2023-02-28 01:51:41 -06:00
|
|
|
-cp $(top_srcdir)/include/arch/i386/opensslconf.h opensslconf.h
|
2023-02-15 19:32:16 -06:00
|
|
|
endif
|
2023-03-23 06:35:41 -05:00
|
|
|
if HOST_MIPS
|
|
|
|
-cp $(top_srcdir)/include/arch/mips/opensslconf.h opensslconf.h
|
|
|
|
endif
|
2023-02-15 19:32:16 -06:00
|
|
|
if HOST_MIPS64
|
2023-02-28 01:51:41 -06:00
|
|
|
-cp $(top_srcdir)/include/arch/mips64/opensslconf.h opensslconf.h
|
2023-02-15 19:32:16 -06:00
|
|
|
endif
|
|
|
|
if HOST_POWERPC
|
2023-02-28 01:51:41 -06:00
|
|
|
-cp $(top_srcdir)/include/arch/powerpc/opensslconf.h opensslconf.h
|
2023-02-15 19:32:16 -06:00
|
|
|
endif
|
|
|
|
if HOST_POWERPC64
|
2023-02-28 01:51:41 -06:00
|
|
|
-cp $(top_srcdir)/include/arch/powerpc64/opensslconf.h opensslconf.h
|
2023-02-15 19:32:16 -06:00
|
|
|
endif
|
|
|
|
if HOST_RISCV64
|
2023-02-28 01:51:41 -06:00
|
|
|
-cp $(top_srcdir)/include/arch/riscv64/opensslconf.h opensslconf.h
|
2023-02-15 19:32:16 -06:00
|
|
|
endif
|
|
|
|
if HOST_SPARC64
|
2023-02-28 01:51:41 -06:00
|
|
|
-cp $(top_srcdir)/include/arch/sparc64/opensslconf.h opensslconf.h
|
2023-02-15 19:32:16 -06:00
|
|
|
endif
|
|
|
|
if HOST_X86_64
|
2023-02-28 01:51:41 -06:00
|
|
|
-cp $(top_srcdir)/include/arch/amd64/opensslconf.h opensslconf.h
|
2023-02-15 19:32:16 -06:00
|
|
|
endif
|
|
|
|
|
|
|
|
opensslinclude_HEADERS = opensslconf.h
|