]> git.proxmox.com Git - ceph.git/blame - ceph/src/crypto/isa-l/isa-l_crypto/mh_sha1_murmur3_x64_128/Makefile.am
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / crypto / isa-l / isa-l_crypto / mh_sha1_murmur3_x64_128 / Makefile.am
CommitLineData
7c673cae
FG
1########################################################################
2# Copyright(c) 2011-2016 Intel Corporation All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
1e59de90 5# modification, are permitted provided that the following conditions
7c673cae
FG
6# are met:
7# * Redistributions of source code must retain the above copyright
8# notice, this list of conditions and the following disclaimer.
9# * Redistributions in binary form must reproduce the above copyright
10# notice, this list of conditions and the following disclaimer in
11# the documentation and/or other materials provided with the
12# distribution.
13# * Neither the name of Intel Corporation nor the names of its
14# contributors may be used to endorse or promote products derived
15# from this software without specific prior written permission.
16#
17# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
20# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
21# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28########################################################################
29
7c673cae
FG
30lsrc_murmur = mh_sha1_murmur3_x64_128/murmur3_x64_128_internal.c
31
32lsrc_stitch = mh_sha1_murmur3_x64_128/mh_sha1_murmur3_x64_128.c \
33 mh_sha1_murmur3_x64_128/mh_sha1_murmur3_x64_128_finalize_base.c \
34 mh_sha1_murmur3_x64_128/mh_sha1_murmur3_x64_128_update_base.c \
35 mh_sha1_murmur3_x64_128/mh_sha1_murmur3_x64_128_block_sse.asm \
36 mh_sha1_murmur3_x64_128/mh_sha1_murmur3_x64_128_block_avx.asm \
37 mh_sha1_murmur3_x64_128/mh_sha1_murmur3_x64_128_block_avx2.asm \
38 mh_sha1_murmur3_x64_128/mh_sha1_murmur3_x64_128_multibinary.asm
39
40lsrc_stitch += mh_sha1_murmur3_x64_128/mh_sha1_murmur3_x64_128_avx512.c \
41 mh_sha1_murmur3_x64_128/mh_sha1_murmur3_x64_128_block_avx512.asm
42
1e59de90 43lsrc_x86_64 += $(lsrc_murmur) \
7c673cae
FG
44 $(lsrc_stitch)
45
1e59de90
TL
46lsrc_x86_32 += $(lsrc_x86_64)
47
48lsrc_aarch64 += $(lsrc_murmur) \
49 mh_sha1_murmur3_x64_128/mh_sha1_murmur3_x64_128.c \
50 mh_sha1_murmur3_x64_128/mh_sha1_murmur3_x64_128_finalize_base.c \
51 mh_sha1_murmur3_x64_128/mh_sha1_murmur3_x64_128_update_base.c \
52 mh_sha1_murmur3_x64_128/aarch64/mh_sha1_murmur3_aarch64_dispatcher.c \
53 mh_sha1_murmur3_x64_128/aarch64/mh_sha1_murmur3_ce.c \
54 mh_sha1_murmur3_x64_128/aarch64/mh_sha1_murmur3_block_ce.S \
55 mh_sha1_murmur3_x64_128/aarch64/mh_sha1_murmur3_asimd.c \
56 mh_sha1_murmur3_x64_128/aarch64/mh_sha1_murmur3_block_asimd.S \
57 mh_sha1_murmur3_x64_128/aarch64/mh_sha1_murmur3_multibinary.S
58
59lsrc_base_aliases += $(lsrc_murmur) \
60 mh_sha1_murmur3_x64_128/mh_sha1_murmur3_x64_128.c \
61 mh_sha1_murmur3_x64_128/mh_sha1_murmur3_x64_128_finalize_base.c \
62 mh_sha1_murmur3_x64_128/mh_sha1_murmur3_x64_128_update_base.c \
63 mh_sha1_murmur3_x64_128/mh_sha1_murmur3_x64_128_base_aliases.c
64
7c673cae
FG
65other_src += include/reg_sizes.asm \
66 include/multibinary.asm \
67 include/test.h \
68 mh_sha1/mh_sha1_internal.h \
69 mh_sha1_murmur3_x64_128/murmur3_x64_128.c \
70 mh_sha1_murmur3_x64_128/mh_sha1_murmur3_x64_128_internal.h
71
1e59de90
TL
72src_include += -I $(srcdir)/mh_sha1_murmur3_x64_128
73
7c673cae
FG
74extern_hdrs += include/mh_sha1_murmur3_x64_128.h
75
76unit_tests += mh_sha1_murmur3_x64_128/mh_sha1_murmur3_x64_128_test \
77 mh_sha1_murmur3_x64_128/mh_sha1_murmur3_x64_128_update_test
78
79perf_tests += mh_sha1_murmur3_x64_128/mh_sha1_murmur3_x64_128_perf
80
81
82mh_sha1_murmur3_x64_128_test: mh_sha1_ref.o murmur3_x64_128.o
83mh_sha1_murmur3_x64_128_mh_sha1_murmur3_x64_128_test_LDADD = mh_sha1/mh_sha1_ref.lo mh_sha1_murmur3_x64_128/murmur3_x64_128.lo libisal_crypto.la
84
85mh_sha1_murmur3_x64_128_update_test: mh_sha1_ref.o murmur3_x64_128.o
86mh_sha1_murmur3_x64_128_mh_sha1_murmur3_x64_128_update_test_LDADD = mh_sha1/mh_sha1_ref.lo mh_sha1_murmur3_x64_128/murmur3_x64_128.lo libisal_crypto.la
87
88mh_sha1_murmur3_x64_128_perf: mh_sha1_ref.o murmur3_x64_128.o
89mh_sha1_murmur3_x64_128_mh_sha1_murmur3_x64_128_perf_LDADD = mh_sha1/mh_sha1_ref.lo mh_sha1_murmur3_x64_128/murmur3_x64_128.lo libisal_crypto.la