aboutsummaryrefslogtreecommitdiff
path: root/ssl
diff options
context:
space:
mode:
Diffstat (limited to 'ssl')
-rw-r--r--ssl/CMakeLists.txt19
-rw-r--r--ssl/Makefile.am25
2 files changed, 41 insertions, 3 deletions
diff --git a/ssl/CMakeLists.txt b/ssl/CMakeLists.txt
index bdcfbb2..637e0f0 100644
--- a/ssl/CMakeLists.txt
+++ b/ssl/CMakeLists.txt
@@ -1,3 +1,18 @@
1#
2# Copyright (c) 2014 Brent Cook
3#
4# Permission to use, copy, modify, and distribute this software for any
5# purpose with or without fee is hereby granted, provided that the above
6# copyright notice and this permission notice appear in all copies.
7#
8# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15
1set( 16set(
2 SSL_SRC 17 SSL_SRC
3 bio_ssl.c 18 bio_ssl.c
@@ -117,10 +132,12 @@ elseif(HOST_ARM)
117 target_include_directories(ssl_obj PRIVATE ../crypto/arch/arm/) 132 target_include_directories(ssl_obj PRIVATE ../crypto/arch/arm/)
118elseif(HOST_I386) 133elseif(HOST_I386)
119 target_include_directories(ssl_obj PRIVATE ../crypto/arch/i386/) 134 target_include_directories(ssl_obj PRIVATE ../crypto/arch/i386/)
135elseif(HOST_LOONGARCH64)
136 target_include_directories(ssl_obj PRIVATE ../crypto/arch/loongarch64)
120elseif(HOST_MIPS64) 137elseif(HOST_MIPS64)
121 target_include_directories(ssl_obj PRIVATE ../crypto/arch/mips64) 138 target_include_directories(ssl_obj PRIVATE ../crypto/arch/mips64)
122elseif(HOST_MIPS) 139elseif(HOST_MIPS)
123 # XXX - can this go away? the directory doesn't exist... 140 target_include_directories(ssl_obj PRIVATE ../crypto/arch/mips)
124elseif(HOST_POWERPC) 141elseif(HOST_POWERPC)
125 target_include_directories(ssl_obj PRIVATE ../crypto/arch/powerpc) 142 target_include_directories(ssl_obj PRIVATE ../crypto/arch/powerpc)
126elseif(HOST_POWERPC64) 143elseif(HOST_POWERPC64)
diff --git a/ssl/Makefile.am b/ssl/Makefile.am
index f9a66a3..3096749 100644
--- a/ssl/Makefile.am
+++ b/ssl/Makefile.am
@@ -1,3 +1,18 @@
1#
2# Copyright (c) 2014 Brent Cook
3#
4# Permission to use, copy, modify, and distribute this software for any
5# purpose with or without fee is hereby granted, provided that the above
6# copyright notice and this permission notice appear in all copies.
7#
8# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15
1include $(top_srcdir)/Makefile.am.common 16include $(top_srcdir)/Makefile.am.common
2 17
3-include $(abs_top_builddir)/crypto/libcrypto_la_objects.mk 18-include $(abs_top_builddir)/crypto/libcrypto_la_objects.mk
@@ -26,7 +41,7 @@ EXTRA_libssl_la_DEPENDENCIES = libssl_la_objects.mk
26 41
27libssl_la_objects.mk: Makefile 42libssl_la_objects.mk: Makefile
28 @echo "libssl_la_objects= $(libssl_la_OBJECTS)" \ 43 @echo "libssl_la_objects= $(libssl_la_OBJECTS)" \
29 | sed 's/ */ $$\(abs_top_builddir\)\/ssl\//g' \ 44 | sed 's/ */ $$\(top_builddir\)\/ssl\//g' \
30 > libssl_la_objects.mk 45 > libssl_la_objects.mk
31 46
32.PHONY: remove_bs_objects 47.PHONY: remove_bs_objects
@@ -131,9 +146,15 @@ libssl_la_CPPFLAGS += -I$(top_srcdir)/crypto/arch/i386/
131endif 146endif
132noinst_HEADERS += $(top_srcdir)/crypto/arch/i386/crypto_arch.h 147noinst_HEADERS += $(top_srcdir)/crypto/arch/i386/crypto_arch.h
133 148
134# XXX - do we still need this? 149if HOST_LOONGARCH64
150libssl_la_CPPFLAGS += -I$(top_srcdir)/crypto/arch/loongarch64/
151endif
152noinst_HEADERS += $(top_srcdir)/crypto/arch/loongarch64/crypto_arch.h
153
135if HOST_MIPS 154if HOST_MIPS
155libssl_la_CPPFLAGS += -I$(top_srcdir)/crypto/arch/mips/
136endif 156endif
157noinst_HEADERS += $(top_srcdir)/crypto/arch/mips/crypto_arch.h
137 158
138if HOST_MIPS64 159if HOST_MIPS64
139libssl_la_CPPFLAGS += -I$(top_srcdir)/crypto/arch/mips64/ 160libssl_la_CPPFLAGS += -I$(top_srcdir)/crypto/arch/mips64/