VirtualBox

source: vbox/trunk/src/libs/openssl-3.0.7/crypto/chacha/Makefile.kmk@ 98229

Last change on this file since 98229 was 98229, checked in by vboxsync, 2 years ago

libs/openssl-3.0.7: s/SUBLIBCRYPTO/SubLibCrypto/ s/LIBCRYPTOTST/LibCryptoTstExe/ s/LIBCRYPTO/LibCrypto/ bugref:10348

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id Revision
File size: 2.1 KB
Line 
1# $Id: Makefile.kmk 98229 2023-01-23 10:53:08Z vboxsync $
2## @file
3# OpenSSL Sub-Makefile.
4#
5
6#
7# Copyright (C) 2019-2023 Oracle and/or its affiliates.
8#
9# This file is part of VirtualBox base platform packages, as
10# available from https://www.virtualbox.org.
11#
12# This program is free software; you can redistribute it and/or
13# modify it under the terms of the GNU General Public License
14# as published by the Free Software Foundation, in version 3 of the
15# License.
16#
17# This program is distributed in the hope that it will be useful, but
18# WITHOUT ANY WARRANTY; without even the implied warranty of
19# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20# General Public License for more details.
21#
22# You should have received a copy of the GNU General Public License
23# along with this program; if not, see <https://www.gnu.org/licenses>.
24#
25# SPDX-License-Identifier: GPL-3.0-only
26#
27
28SUB_DEPTH = ../../../../..
29include $(KBUILD_PATH)/subheader.kmk
30
31LIBRARIES += crypto_chacha
32crypto_chacha_TEMPLATE = SubLibCrypto
33crypto_chacha_DEFS = OPENSSL_NO_DEPRECATED
34#ifdef VBOX_WITH_CRYPTO_ASM
35# crypto_chacha_SOURCES.x86 += \
36# $(VBOX_PATH_CRYPTO_GENASM)/chacha-x86.S
37# crypto_chacha_SOURCES.amd64 += \
38# $(VBOX_PATH_CRYPTO_GENASM)/chacha-x86_64.S
39#else
40 crypto_chacha_SOURCES += chacha_enc.c
41#endif
42$(evalcall VBOX_OPENSSL_X86,crypto_chacha)
43
44
45recreate-chacha-asm: $(VBOX_PATH_CRYPTO)/perlasm/x86asm.pl \
46 $(VBOX_PATH_CRYPTO_CHACHA)/asm/chacha-x86.pl \
47 $(VBOX_PATH_CRYPTO_CHACHA)/asm/chacha-x86_64.pl
48 perl $(VBOX_PATH_CRYPTO_CHACHA)/asm/chacha-x86.pl elf -fPIC $(VBOX_PATH_CRYPTO)/genasm-elf/chacha-x86.S
49 perl $(VBOX_PATH_CRYPTO_CHACHA)/asm/chacha-x86_64.pl elf $(VBOX_PATH_CRYPTO)/genasm-elf/chacha-x86_64.S
50 perl $(VBOX_PATH_CRYPTO_CHACHA)/asm/chacha-x86.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/chacha-x86.S
51 perl $(VBOX_PATH_CRYPTO_CHACHA)/asm/chacha-x86_64.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/chacha-x86_64.S
52 perl $(VBOX_PATH_CRYPTO_CHACHA)/asm/chacha-x86.pl win32n $(VBOX_PATH_CRYPTO)/genasm-nasm/chacha-x86.S
53 perl $(VBOX_PATH_CRYPTO_CHACHA)/asm/chacha-x86_64.pl nasm $(VBOX_PATH_CRYPTO)/genasm-nasm/chacha-x86_64.S
54
55include $(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