diff options
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/CMakeLists.txt | 19 | ||||
-rw-r--r-- | ssl/Makefile.am | 25 |
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 | |||
1 | set( | 16 | set( |
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/) |
118 | elseif(HOST_I386) | 133 | elseif(HOST_I386) |
119 | target_include_directories(ssl_obj PRIVATE ../crypto/arch/i386/) | 134 | target_include_directories(ssl_obj PRIVATE ../crypto/arch/i386/) |
135 | elseif(HOST_LOONGARCH64) | ||
136 | target_include_directories(ssl_obj PRIVATE ../crypto/arch/loongarch64) | ||
120 | elseif(HOST_MIPS64) | 137 | elseif(HOST_MIPS64) |
121 | target_include_directories(ssl_obj PRIVATE ../crypto/arch/mips64) | 138 | target_include_directories(ssl_obj PRIVATE ../crypto/arch/mips64) |
122 | elseif(HOST_MIPS) | 139 | elseif(HOST_MIPS) |
123 | # XXX - can this go away? the directory doesn't exist... | 140 | target_include_directories(ssl_obj PRIVATE ../crypto/arch/mips) |
124 | elseif(HOST_POWERPC) | 141 | elseif(HOST_POWERPC) |
125 | target_include_directories(ssl_obj PRIVATE ../crypto/arch/powerpc) | 142 | target_include_directories(ssl_obj PRIVATE ../crypto/arch/powerpc) |
126 | elseif(HOST_POWERPC64) | 143 | elseif(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 | |||
1 | include $(top_srcdir)/Makefile.am.common | 16 | include $(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 | ||
27 | libssl_la_objects.mk: Makefile | 42 | libssl_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/ | |||
131 | endif | 146 | endif |
132 | noinst_HEADERS += $(top_srcdir)/crypto/arch/i386/crypto_arch.h | 147 | noinst_HEADERS += $(top_srcdir)/crypto/arch/i386/crypto_arch.h |
133 | 148 | ||
134 | # XXX - do we still need this? | 149 | if HOST_LOONGARCH64 |
150 | libssl_la_CPPFLAGS += -I$(top_srcdir)/crypto/arch/loongarch64/ | ||
151 | endif | ||
152 | noinst_HEADERS += $(top_srcdir)/crypto/arch/loongarch64/crypto_arch.h | ||
153 | |||
135 | if HOST_MIPS | 154 | if HOST_MIPS |
155 | libssl_la_CPPFLAGS += -I$(top_srcdir)/crypto/arch/mips/ | ||
136 | endif | 156 | endif |
157 | noinst_HEADERS += $(top_srcdir)/crypto/arch/mips/crypto_arch.h | ||
137 | 158 | ||
138 | if HOST_MIPS64 | 159 | if HOST_MIPS64 |
139 | libssl_la_CPPFLAGS += -I$(top_srcdir)/crypto/arch/mips64/ | 160 | libssl_la_CPPFLAGS += -I$(top_srcdir)/crypto/arch/mips64/ |