VirtualBox

source: vbox/trunk/src/libs/openssl-3.0.3/crypto/poly1305/Makefile.kmk@ 96662

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

scm copyright and license note update

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.1 KB
Line 
1# $Id: Makefile.kmk 96407 2022-08-22 17:43:14Z vboxsync $
2## @file
3# OpenSSL Sub-Makefile.
4#
5
6#
7# Copyright (C) 2006-2022 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_poly1305
32crypto_poly1305_TEMPLATE = SUBLIBCRYPTO
33crypto_poly1305_DEFS = OPENSSL_NO_DEPRECATED
34crypto_poly1305_SOURCES = \
35 poly1305.c
36ifdef VBOX_WITH_CRYPTO_ASM
37 crypto_poly1305_SOURCES.x86 += \
38 $(VBOX_PATH_CRYPTO_GENASM)/poly1305-x86.S
39 crypto_poly1305_SOURCES.amd64 += \
40 $(VBOX_PATH_CRYPTO_GENASM)/poly1305-x86_64.S
41endif
42$(evalcall VBOX_OPENSSL_X86,crypto_poly1305)
43
44recreate-poly1305-asm: $(VBOX_PATH_CRYPTO)/perlasm/x86asm.pl \
45 $(VBOX_PATH_CRYPTO_POLY1305)/asm/poly1305-x86.pl \
46 $(VBOX_PATH_CRYPTO_POLY1305)/asm/poly1305-x86_64.pl
47 perl $(VBOX_PATH_CRYPTO_POLY1305)/asm/poly1305-x86.pl elf -fPIC $(VBOX_PATH_CRYPTO)/genasm-elf/poly1305-x86.S
48 perl $(VBOX_PATH_CRYPTO_POLY1305)/asm/poly1305-x86_64.pl elf $(VBOX_PATH_CRYPTO)/genasm-elf/poly1305-x86_64.S
49 perl $(VBOX_PATH_CRYPTO_POLY1305)/asm/poly1305-x86.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/poly1305-x86.S
50 perl $(VBOX_PATH_CRYPTO_POLY1305)/asm/poly1305-x86_64.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/poly1305-x86_64.S
51 perl $(VBOX_PATH_CRYPTO_POLY1305)/asm/poly1305-x86.pl win32n $(VBOX_PATH_CRYPTO)/genasm-nasm/poly1305-x86.S
52 perl $(VBOX_PATH_CRYPTO_POLY1305)/asm/poly1305-x86_64.pl nasm $(VBOX_PATH_CRYPTO)/genasm-nasm/poly1305-x86_64.S
53
54include $(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