VirtualBox

source: vbox/trunk/src/libs/openssl-3.0.7/crypto/rc4/Makefile.kmk@ 98103

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

Copyright year updates by scm.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id Revision
File size: 2.4 KB
Line 
1# $Id: Makefile.kmk 98103 2023-01-17 14:15:46Z 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_rc4
32crypto_rc4_TEMPLATE = SUBLIBCRYPTO
33crypto_rc4_DEFS = OPENSSL_NO_DEPRECATED
34ifdef VBOX_WITH_CRYPTO_ASM
35 crypto_rc4_SOURCES.x86 += \
36 $(VBOX_PATH_CRYPTO_GENASM)/rc4-586.S
37 crypto_rc4_SOURCES.amd64 += \
38 $(VBOX_PATH_CRYPTO_GENASM)/rc4-x86_64.S \
39 $(VBOX_PATH_CRYPTO_GENASM)/rc4-md5-x86_64.S
40else
41 crypto_rc4_SOURCES += \
42 rc4_enc.c \
43 rc4_skey.c
44endif
45$(evalcall VBOX_OPENSSL_X86,crypto_rc4)
46
47
48recreate-rc4-asm: $(VBOX_PATH_CRYPTO)/perlasm/x86asm.pl \
49 $(VBOX_PATH_CRYPTO_RC4)/asm/rc4-586.pl \
50 $(VBOX_PATH_CRYPTO_RC4)/asm/rc4-x86_64.pl \
51 $(VBOX_PATH_CRYPTO_RC4)/asm/rc4-md5-x86_64.pl
52 perl $(VBOX_PATH_CRYPTO_RC4)/asm/rc4-586.pl elf -fPIC $(VBOX_PATH_CRYPTO)/genasm-elf/rc4-586.S
53 perl $(VBOX_PATH_CRYPTO_RC4)/asm/rc4-x86_64.pl elf $(VBOX_PATH_CRYPTO)/genasm-elf/rc4-x86_64.S
54 perl $(VBOX_PATH_CRYPTO_RC4)/asm/rc4-md5-x86_64.pl elf $(VBOX_PATH_CRYPTO)/genasm-elf/rc4-md5-x86_64.S
55 perl $(VBOX_PATH_CRYPTO_RC4)/asm/rc4-586.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/rc4-586.S
56 perl $(VBOX_PATH_CRYPTO_RC4)/asm/rc4-x86_64.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/rc4-x86_64.S
57 perl $(VBOX_PATH_CRYPTO_RC4)/asm/rc4-md5-x86_64.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/rc4-md5-x86_64.S
58 perl $(VBOX_PATH_CRYPTO_RC4)/asm/rc4-586.pl win32n $(VBOX_PATH_CRYPTO)/genasm-nasm/rc4-586.S
59 perl $(VBOX_PATH_CRYPTO_RC4)/asm/rc4-x86_64.pl nasm $(VBOX_PATH_CRYPTO)/genasm-nasm/rc4-x86_64.S
60 perl $(VBOX_PATH_CRYPTO_RC4)/asm/rc4-md5-x86_64.pl nasm $(VBOX_PATH_CRYPTO)/genasm-nasm/rc4-md5-x86_64.S
61
62include $(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