VirtualBox

source: vbox/trunk/src/libs/openssl-3.0.3/crypto/chacha/Makefile.kmk@ 95218

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

libs/openssl-3.0.1: Export to OSE and fix copyright headers in Makefiles, bugref:10128

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id Revision
File size: 1.8 KB
Line 
1# $Id: Makefile.kmk 94320 2022-03-22 10:38:12Z vboxsync $
2## @file
3# OpenSSL Sub-Makefile.
4#
5
6#
7# Copyright (C) 2019-2022 Oracle Corporation
8#
9# This file is part of VirtualBox Open Source Edition (OSE), as
10# available from http://www.virtualbox.org. This file is free software;
11# you can redistribute it and/or modify it under the terms of the GNU
12# General Public License (GPL) as published by the Free Software
13# Foundation, in version 2 as it comes in the "COPYING" file of the
14# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16#
17
18SUB_DEPTH = ../../../../..
19include $(KBUILD_PATH)/subheader.kmk
20
21LIBRARIES += crypto_chacha
22crypto_chacha_TEMPLATE = SUBLIBCRYPTO
23crypto_chacha_DEFS = OPENSSL_NO_DEPRECATED
24#ifdef VBOX_WITH_CRYPTO_ASM
25# crypto_chacha_SOURCES.x86 += \
26# $(VBOX_PATH_CRYPTO_GENASM)/chacha-x86.S
27# crypto_chacha_SOURCES.amd64 += \
28# $(VBOX_PATH_CRYPTO_GENASM)/chacha-x86_64.S
29#else
30 crypto_chacha_SOURCES += chacha_enc.c
31#endif
32$(evalcall VBOX_OPENSSL_X86,crypto_chacha)
33
34
35recreate-chacha-asm: $(VBOX_PATH_CRYPTO)/perlasm/x86asm.pl \
36 $(VBOX_PATH_CRYPTO_CHACHA)/asm/chacha-x86.pl \
37 $(VBOX_PATH_CRYPTO_CHACHA)/asm/chacha-x86_64.pl
38 perl $(VBOX_PATH_CRYPTO_CHACHA)/asm/chacha-x86.pl elf -fPIC $(VBOX_PATH_CRYPTO)/genasm-elf/chacha-x86.S
39 perl $(VBOX_PATH_CRYPTO_CHACHA)/asm/chacha-x86_64.pl elf $(VBOX_PATH_CRYPTO)/genasm-elf/chacha-x86_64.S
40 perl $(VBOX_PATH_CRYPTO_CHACHA)/asm/chacha-x86.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/chacha-x86.S
41 perl $(VBOX_PATH_CRYPTO_CHACHA)/asm/chacha-x86_64.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/chacha-x86_64.S
42 perl $(VBOX_PATH_CRYPTO_CHACHA)/asm/chacha-x86.pl win32n $(VBOX_PATH_CRYPTO)/genasm-nasm/chacha-x86.S
43 perl $(VBOX_PATH_CRYPTO_CHACHA)/asm/chacha-x86_64.pl nasm $(VBOX_PATH_CRYPTO)/genasm-nasm/chacha-x86_64.S
44
45include $(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