VirtualBox

source: vbox/trunk/src/libs/openssl-3.0.2/crypto/modes/Makefile.kmk@ 94828

Last change on this file since 94828 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: 2.3 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) 2006-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_modes
22crypto_modes_TEMPLATE = SUBLIBCRYPTO
23crypto_modes_DEFS = OPENSSL_NO_DEPRECATED
24crypto_modes_SOURCES = \
25 cbc128.c \
26 ccm128.c \
27 cfb128.c \
28 ctr128.c \
29 cts128.c \
30 gcm128.c \
31 ocb128.c \
32 ofb128.c \
33 siv128.c \
34 wrap128.c \
35 xts128.c
36ifdef VBOX_WITH_CRYPTO_ASM
37 crypto_modes_SOURCES.x86 += \
38 $(VBOX_PATH_CRYPTO_GENASM)/ghash-x86.S
39 crypto_modes_SOURCES.amd64 += \
40 $(VBOX_PATH_CRYPTO_GENASM)/ghash-x86_64.S \
41 $(VBOX_PATH_CRYPTO_GENASM)/aesni-gcm-x86_64.S
42endif
43$(evalcall VBOX_OPENSSL_X86,crypto_modes)
44
45
46recreate-modes-asm: $(VBOX_PATH_CRYPTO)/perlasm/x86asm.pl \
47 $(VBOX_PATH_CRYPTO_MODES)/asm/ghash-x86.pl \
48 $(VBOX_PATH_CRYPTO_MODES)/asm/ghash-x86_64.pl \
49 $(VBOX_PATH_CRYPTO_MODES)/asm/aesni-gcm-x86_64.pl
50 perl $(VBOX_PATH_CRYPTO_MODES)/asm/ghash-x86.pl elf -fPIC $(VBOX_PATH_CRYPTO)/genasm-elf/ghash-x86.S
51 perl $(VBOX_PATH_CRYPTO_MODES)/asm/ghash-x86_64.pl elf $(VBOX_PATH_CRYPTO)/genasm-elf/ghash-x86_64.S
52 perl $(VBOX_PATH_CRYPTO_MODES)/asm/aesni-gcm-x86_64.pl elf $(VBOX_PATH_CRYPTO)/genasm-elf/aesni-gcm-x86_64.S
53 perl $(VBOX_PATH_CRYPTO_MODES)/asm/ghash-x86.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/ghash-x86.S
54 perl $(VBOX_PATH_CRYPTO_MODES)/asm/ghash-x86_64.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/ghash-x86_64.S
55 perl $(VBOX_PATH_CRYPTO_MODES)/asm/aesni-gcm-x86_64.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/aesni-gcm-x86_64.S
56 perl $(VBOX_PATH_CRYPTO_MODES)/asm/ghash-x86.pl win32n $(VBOX_PATH_CRYPTO)/genasm-nasm/ghash-x86.S
57 perl $(VBOX_PATH_CRYPTO_MODES)/asm/ghash-x86_64.pl nasm $(VBOX_PATH_CRYPTO)/genasm-nasm/ghash-x86_64.S
58 perl $(VBOX_PATH_CRYPTO_MODES)/asm/aesni-gcm-x86_64.pl nasm $(VBOX_PATH_CRYPTO)/genasm-nasm/aesni-gcm-x86_64.S
59
60include $(FILE_KBUILD_SUB_FOOTER)
Note: See TracBrowser for help on using the repository browser.

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