diff options
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/CMakeLists.txt | 22 | ||||
-rw-r--r-- | ssl/Makefile.am | 50 |
2 files changed, 72 insertions, 0 deletions
diff --git a/ssl/CMakeLists.txt b/ssl/CMakeLists.txt index e2eeab5..76f4570 100644 --- a/ssl/CMakeLists.txt +++ b/ssl/CMakeLists.txt | |||
@@ -104,6 +104,28 @@ target_include_directories( | |||
104 | $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}> | 104 | $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}> |
105 | ) | 105 | ) |
106 | 106 | ||
107 | if(HOST_AARCH64) | ||
108 | target_include_directories(ssl_obj PRIVATE ../crypto/arch/aarch64/) | ||
109 | elseif(HOST_ARM) | ||
110 | target_include_directories(ssl_obj PRIVATE ../crypto/arch/arm/) | ||
111 | elseif(HOST_I386) | ||
112 | target_include_directories(ssl_obj PRIVATE ../crypto/arch/i386/) | ||
113 | elseif(HOST_MIPS64) | ||
114 | target_include_directories(ssl_obj PRIVATE ../crypto/arch/mips64) | ||
115 | elseif(HOST_MIPS) | ||
116 | # XXX - can this go away? the directory doesn't exist... | ||
117 | elseif(HOST_POWERPC) | ||
118 | target_include_directories(ssl_obj PRIVATE ../crypto/arch/powerpc) | ||
119 | elseif(HOST_POWERPC64) | ||
120 | target_include_directories(ssl_obj PRIVATE ../crypto/arch/powerpc64) | ||
121 | elseif(HOST_RISCV64) | ||
122 | target_include_directories(ssl_obj PRIVATE ../crypto/arch/riscv64) | ||
123 | elseif(HOST_SPARC64) | ||
124 | target_include_directories(ssl_obj PRIVATE ../crypto/arch/sparc64) | ||
125 | elseif(HOST_X86_64) | ||
126 | target_include_directories(ssl_obj PRIVATE ../crypto/arch/amd64) | ||
127 | endif() | ||
128 | |||
107 | install( | 129 | install( |
108 | TARGETS ssl | 130 | TARGETS ssl |
109 | EXPORT SSL-target | 131 | EXPORT SSL-target |
diff --git a/ssl/Makefile.am b/ssl/Makefile.am index a7a7d72..f9a66a3 100644 --- a/ssl/Makefile.am +++ b/ssl/Makefile.am | |||
@@ -114,3 +114,53 @@ noinst_HEADERS += tls12_internal.h | |||
114 | noinst_HEADERS += tls13_internal.h | 114 | noinst_HEADERS += tls13_internal.h |
115 | noinst_HEADERS += tls13_handshake.h | 115 | noinst_HEADERS += tls13_handshake.h |
116 | noinst_HEADERS += tls13_record.h | 116 | noinst_HEADERS += tls13_record.h |
117 | |||
118 | # arch | ||
119 | if HOST_AARCH64 | ||
120 | libssl_la_CPPFLAGS += -I$(top_srcdir)/crypto/arch/aarch64/ | ||
121 | endif | ||
122 | noinst_HEADERS += $(top_srcdir)/crypto/arch/aarch64/crypto_arch.h | ||
123 | |||
124 | if HOST_ARM | ||
125 | libssl_la_CPPFLAGS += -I$(top_srcdir)/crypto/arch/arm/ | ||
126 | endif | ||
127 | noinst_HEADERS += $(top_srcdir)/crypto/arch/arm/crypto_arch.h | ||
128 | |||
129 | if HOST_I386 | ||
130 | libssl_la_CPPFLAGS += -I$(top_srcdir)/crypto/arch/i386/ | ||
131 | endif | ||
132 | noinst_HEADERS += $(top_srcdir)/crypto/arch/i386/crypto_arch.h | ||
133 | |||
134 | # XXX - do we still need this? | ||
135 | if HOST_MIPS | ||
136 | endif | ||
137 | |||
138 | if HOST_MIPS64 | ||
139 | libssl_la_CPPFLAGS += -I$(top_srcdir)/crypto/arch/mips64/ | ||
140 | endif | ||
141 | noinst_HEADERS += $(top_srcdir)/crypto/arch/mips64/crypto_arch.h | ||
142 | |||
143 | if HOST_POWERPC | ||
144 | libssl_la_CPPFLAGS += -I$(top_srcdir)/crypto/arch/powerpc/ | ||
145 | endif | ||
146 | noinst_HEADERS += $(top_srcdir)/crypto/arch/powerpc/crypto_arch.h | ||
147 | |||
148 | if HOST_POWERPC64 | ||
149 | libssl_la_CPPFLAGS += -I$(top_srcdir)/crypto/arch/powerpc64/ | ||
150 | endif | ||
151 | noinst_HEADERS += $(top_srcdir)/crypto/arch/powerpc64/crypto_arch.h | ||
152 | |||
153 | if HOST_RISCV64 | ||
154 | libssl_la_CPPFLAGS += -I$(top_srcdir)/crypto/arch/riscv64/ | ||
155 | endif | ||
156 | noinst_HEADERS += $(top_srcdir)/crypto/arch/riscv64/crypto_arch.h | ||
157 | |||
158 | if HOST_SPARC64 | ||
159 | libssl_la_CPPFLAGS += -I$(top_srcdir)/crypto/arch/sparc64/ | ||
160 | endif | ||
161 | noinst_HEADERS += $(top_srcdir)/crypto/arch/sparc64/crypto_arch.h | ||
162 | |||
163 | if HOST_X86_64 | ||
164 | libssl_la_CPPFLAGS += -I$(top_srcdir)/crypto/arch/amd64/ | ||
165 | endif | ||
166 | noinst_HEADERS += $(top_srcdir)/crypto/arch/amd64/crypto_arch.h | ||