VirtualBox

source: vbox/trunk/src/libs/openssl-3.0.1/crypto/rc4/Makefile.kmk@ 94320

Last change on this file since 94320 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.1 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_rc4
22crypto_rc4_TEMPLATE = SUBLIBCRYPTO
23crypto_rc4_DEFS = OPENSSL_NO_DEPRECATED
24ifdef VBOX_WITH_CRYPTO_ASM
25 crypto_rc4_SOURCES.x86 += \
26 $(VBOX_PATH_CRYPTO_GENASM)/rc4-586.S
27 crypto_rc4_SOURCES.amd64 += \
28 $(VBOX_PATH_CRYPTO_GENASM)/rc4-x86_64.S \
29 $(VBOX_PATH_CRYPTO_GENASM)/rc4-md5-x86_64.S
30else
31 crypto_rc4_SOURCES += \
32 rc4_enc.c \
33 rc4_skey.c
34endif
35$(evalcall VBOX_OPENSSL_X86,crypto_rc4)
36
37
38recreate-rc4-asm: $(VBOX_PATH_CRYPTO)/perlasm/x86asm.pl \
39 $(VBOX_PATH_CRYPTO_RC4)/asm/rc4-586.pl \
40 $(VBOX_PATH_CRYPTO_RC4)/asm/rc4-x86_64.pl \
41 $(VBOX_PATH_CRYPTO_RC4)/asm/rc4-md5-x86_64.pl
42 perl $(VBOX_PATH_CRYPTO_RC4)/asm/rc4-586.pl elf -fPIC $(VBOX_PATH_CRYPTO)/genasm-elf/rc4-586.S
43 perl $(VBOX_PATH_CRYPTO_RC4)/asm/rc4-x86_64.pl elf $(VBOX_PATH_CRYPTO)/genasm-elf/rc4-x86_64.S
44 perl $(VBOX_PATH_CRYPTO_RC4)/asm/rc4-md5-x86_64.pl elf $(VBOX_PATH_CRYPTO)/genasm-elf/rc4-md5-x86_64.S
45 perl $(VBOX_PATH_CRYPTO_RC4)/asm/rc4-586.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/rc4-586.S
46 perl $(VBOX_PATH_CRYPTO_RC4)/asm/rc4-x86_64.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/rc4-x86_64.S
47 perl $(VBOX_PATH_CRYPTO_RC4)/asm/rc4-md5-x86_64.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/rc4-md5-x86_64.S
48 perl $(VBOX_PATH_CRYPTO_RC4)/asm/rc4-586.pl win32n $(VBOX_PATH_CRYPTO)/genasm-nasm/rc4-586.S
49 perl $(VBOX_PATH_CRYPTO_RC4)/asm/rc4-x86_64.pl nasm $(VBOX_PATH_CRYPTO)/genasm-nasm/rc4-x86_64.S
50 perl $(VBOX_PATH_CRYPTO_RC4)/asm/rc4-md5-x86_64.pl nasm $(VBOX_PATH_CRYPTO)/genasm-nasm/rc4-md5-x86_64.S
51
52include $(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