VirtualBox

source: vbox/trunk/src/libs/openssl-1.1.1k/crypto/bn/Makefile.kmk@ 90293

Last change on this file since 90293 was 90293, checked in by vboxsync, 3 years ago

openssl-1.1.1k: Applied and adjusted our OpenSSL changes to 1.1.1k. bugref:10072

File size: 4.3 KB
Line 
1# $Id$
2## @file
3# OpenSSL Sub-Makefile.
4#
5
6#
7# Copyright (C) 2006-2019 Oracle Corporation
8#
9# Oracle Corporation confidential
10# All rights reserved
11#
12
13SUB_DEPTH = ../../../../..
14include $(KBUILD_PATH)/subheader.kmk
15
16LIBRARIES += crypto_bn
17crypto_bn_TEMPLATE = SUBLIBCRYPTO
18crypto_bn_DEFS = OPENSSL_NO_DEPRECATED
19crypto_bn_SOURCES = \
20 bn_add.c \
21 bn_blind.c \
22 bn_const.c \
23 bn_ctx.c \
24 bn_depr.c \
25 bn_dh.c \
26 bn_div.c \
27 bn_err.c \
28 bn_exp.c \
29 bn_exp2.c \
30 bn_gcd.c \
31 bn_gf2m.c \
32 bn_intern.c \
33 bn_kron.c \
34 bn_lib.c \
35 bn_mod.c \
36 bn_mont.c \
37 bn_mpi.c \
38 bn_mul.c \
39 bn_nist.c \
40 bn_prime.c \
41 bn_print.c \
42 bn_rand.c \
43 bn_recp.c \
44 bn_shift.c \
45 bn_sqr.c \
46 bn_sqrt.c \
47 bn_srp.c \
48 bn_word.c \
49 bn_x931p.c \
50 rsaz_exp.c
51ifdef VBOX_WITH_CRYPTO_ASM
52 crypto_bn_SOURCES.x86 += \
53 $(VBOX_PATH_CRYPTO_GENASM)/bn-586.S \
54 $(VBOX_PATH_CRYPTO_GENASM)/co-586.S \
55 $(VBOX_PATH_CRYPTO_GENASM)/x86-mont.S \
56 $(VBOX_PATH_CRYPTO_GENASM)/x86-gf2m.S
57 crypto_bn_SOURCES.amd64 += \
58 asm/x86_64-gcc.c \
59 $(VBOX_PATH_CRYPTO_GENASM)/rsaz-avx2.S \
60 $(VBOX_PATH_CRYPTO_GENASM)/rsaz-x86_64.S \
61 $(VBOX_PATH_CRYPTO_GENASM)/x86_64-gf2m.S \
62 $(VBOX_PATH_CRYPTO_GENASM)/x86_64-mont.S \
63 $(VBOX_PATH_CRYPTO_GENASM)/x86_64-mont5.S
64crypto_bn_DEFS.x86 += OPENSSL_BN_ASM_PART_WORDS
65else
66 crypto_bn_SOURCES += bn_asm.c
67endif
68$(evalcall VBOX_OPENSSL_X86,crypto_bn)
69
70
71recreate-bn-asm: $(VBOX_PATH_CRYPTO)/perlasm/x86asm.pl \
72 $(VBOX_PATH_CRYPTO_BN)/asm/bn-586.pl \
73 $(VBOX_PATH_CRYPTO_BN)/asm/co-586.pl \
74 $(VBOX_PATH_CRYPTO_BN)/asm/x86-mont.pl \
75 $(VBOX_PATH_CRYPTO_BN)/asm/x86-gf2m.pl \
76 $(VBOX_PATH_CRYPTO_BN)/asm/rsaz-avx2.pl \
77 $(VBOX_PATH_CRYPTO_BN)/asm/rsaz-x86_64.pl \
78 $(VBOX_PATH_CRYPTO_BN)/asm/x86_64-gf2m.pl \
79 $(VBOX_PATH_CRYPTO_BN)/asm/x86_64-mont.pl \
80 $(VBOX_PATH_CRYPTO_BN)/asm/x86_64-mont5.pl
81 perl $(VBOX_PATH_CRYPTO_BN)/asm/bn-586.pl elf -fPIC $(VBOX_PATH_CRYPTO)/genasm-elf/bn-586.S
82 perl $(VBOX_PATH_CRYPTO_BN)/asm/co-586.pl elf -fPIC $(VBOX_PATH_CRYPTO)/genasm-elf/co-586.S
83 perl $(VBOX_PATH_CRYPTO_BN)/asm/x86-mont.pl elf -fPIC $(VBOX_PATH_CRYPTO)/genasm-elf/x86-mont.S
84 perl $(VBOX_PATH_CRYPTO_BN)/asm/x86-gf2m.pl elf -fPIC $(VBOX_PATH_CRYPTO)/genasm-elf/x86-gf2m.S
85 perl $(VBOX_PATH_CRYPTO_BN)/asm/rsaz-avx2.pl elf $(VBOX_PATH_CRYPTO)/genasm-elf/rsaz-avx2.S
86 perl $(VBOX_PATH_CRYPTO_BN)/asm/rsaz-x86_64.pl elf $(VBOX_PATH_CRYPTO)/genasm-elf/rsaz-x86_64.S
87 perl $(VBOX_PATH_CRYPTO_BN)/asm/x86_64-gf2m.pl elf $(VBOX_PATH_CRYPTO)/genasm-elf/x86_64-gf2m.S
88 perl $(VBOX_PATH_CRYPTO_BN)/asm/x86_64-mont.pl elf $(VBOX_PATH_CRYPTO)/genasm-elf/x86_64-mont.S
89 perl $(VBOX_PATH_CRYPTO_BN)/asm/x86_64-mont5.pl elf $(VBOX_PATH_CRYPTO)/genasm-elf/x86_64-mont5.S
90 perl $(VBOX_PATH_CRYPTO_BN)/asm/bn-586.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/bn-586.S
91 perl $(VBOX_PATH_CRYPTO_BN)/asm/co-586.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/co-586.S
92 perl $(VBOX_PATH_CRYPTO_BN)/asm/x86-mont.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/x86-mont.S
93 perl $(VBOX_PATH_CRYPTO_BN)/asm/x86-gf2m.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/x86-gf2m.S
94 perl $(VBOX_PATH_CRYPTO_BN)/asm/rsaz-avx2.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/rsaz-avx2.S
95 perl $(VBOX_PATH_CRYPTO_BN)/asm/rsaz-x86_64.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/rsaz-x86_64.S
96 perl $(VBOX_PATH_CRYPTO_BN)/asm/x86_64-gf2m.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/x86_64-gf2m.S
97 perl $(VBOX_PATH_CRYPTO_BN)/asm/x86_64-mont.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/x86_64-mont.S
98 perl $(VBOX_PATH_CRYPTO_BN)/asm/x86_64-mont5.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/x86_64-mont5.S
99 perl $(VBOX_PATH_CRYPTO_BN)/asm/bn-586.pl win32n $(VBOX_PATH_CRYPTO)/genasm-nasm/bn-586.S
100 perl $(VBOX_PATH_CRYPTO_BN)/asm/co-586.pl win32n $(VBOX_PATH_CRYPTO)/genasm-nasm/co-586.S
101 perl $(VBOX_PATH_CRYPTO_BN)/asm/x86-mont.pl win32n $(VBOX_PATH_CRYPTO)/genasm-nasm/x86-mont.S
102 perl $(VBOX_PATH_CRYPTO_BN)/asm/x86-gf2m.pl win32n $(VBOX_PATH_CRYPTO)/genasm-nasm/x86-gf2m.S
103 perl $(VBOX_PATH_CRYPTO_BN)/asm/rsaz-avx2.pl nasm $(VBOX_PATH_CRYPTO)/genasm-nasm/rsaz-avx2.S
104 perl $(VBOX_PATH_CRYPTO_BN)/asm/rsaz-x86_64.pl nasm $(VBOX_PATH_CRYPTO)/genasm-nasm/rsaz-x86_64.S
105 perl $(VBOX_PATH_CRYPTO_BN)/asm/x86_64-gf2m.pl nasm $(VBOX_PATH_CRYPTO)/genasm-nasm/x86_64-gf2m.S
106 perl $(VBOX_PATH_CRYPTO_BN)/asm/x86_64-mont.pl nasm $(VBOX_PATH_CRYPTO)/genasm-nasm/x86_64-mont.S
107 perl $(VBOX_PATH_CRYPTO_BN)/asm/x86_64-mont5.pl nasm $(VBOX_PATH_CRYPTO)/genasm-nasm/x86_64-mont5.S
108
109include $(FILE_KBUILD_SUB_FOOTER)
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette