VirtualBox

source: vbox/trunk/src/libs/openssl-1.1.1l/crypto/chacha/Makefile.kmk@ 91772

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

openssl-1.1.1l: Applied and adjusted our OpenSSL changes to 1.1.1l. bugref:10126

File size: 1.4 KB
Line 
1# $Id$
2## @file
3# OpenSSL Sub-Makefile.
4#
5
6#
7# Copyright (C) 2019 Oracle Corporation
8#
9# Oracle Corporation confidential
10# All rights reserved
11#
12
13SUB_DEPTH = ../../../../..
14include $(KBUILD_PATH)/subheader.kmk
15
16LIBRARIES += crypto_chacha
17crypto_chacha_TEMPLATE = SUBLIBCRYPTO
18crypto_chacha_DEFS = OPENSSL_NO_DEPRECATED
19ifdef VBOX_WITH_CRYPTO_ASM
20 crypto_chacha_SOURCES.x86 += \
21 $(VBOX_PATH_CRYPTO_GENASM)/chacha-x86.S
22 crypto_chacha_SOURCES.amd64 += \
23 $(VBOX_PATH_CRYPTO_GENASM)/chacha-x86_64.S
24else
25 crypto_chacha_SOURCES += chacha_enc.c
26endif
27$(evalcall VBOX_OPENSSL_X86,crypto_chacha)
28
29
30recreate-chacha-asm: $(VBOX_PATH_CRYPTO)/perlasm/x86asm.pl \
31 $(VBOX_PATH_CRYPTO_CHACHA)/asm/chacha-x86.pl \
32 $(VBOX_PATH_CRYPTO_CHACHA)/asm/chacha-x86_64.pl
33 perl $(VBOX_PATH_CRYPTO_CHACHA)/asm/chacha-x86.pl elf -fPIC $(VBOX_PATH_CRYPTO)/genasm-elf/chacha-x86.S
34 perl $(VBOX_PATH_CRYPTO_CHACHA)/asm/chacha-x86_64.pl elf $(VBOX_PATH_CRYPTO)/genasm-elf/chacha-x86_64.S
35 perl $(VBOX_PATH_CRYPTO_CHACHA)/asm/chacha-x86.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/chacha-x86.S
36 perl $(VBOX_PATH_CRYPTO_CHACHA)/asm/chacha-x86_64.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/chacha-x86_64.S
37 perl $(VBOX_PATH_CRYPTO_CHACHA)/asm/chacha-x86.pl win32n $(VBOX_PATH_CRYPTO)/genasm-nasm/chacha-x86.S
38 perl $(VBOX_PATH_CRYPTO_CHACHA)/asm/chacha-x86_64.pl nasm $(VBOX_PATH_CRYPTO)/genasm-nasm/chacha-x86_64.S
39
40include $(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