]> git.proxmox.com Git - ceph.git/blob - ceph/src/isa-l/igzip/Makefile.am
update sources to v12.1.1
[ceph.git] / ceph / src / isa-l / igzip / Makefile.am
1 ########################################################################
2 # Copyright(c) 2011-2016 Intel Corporation All rights reserved.
3 #
4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions
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
30 lsrc += igzip/igzip.c \
31 igzip/hufftables_c.c \
32 igzip/igzip_base.c \
33 igzip/igzip_icf_base.c \
34 igzip/crc32_gzip_base.c \
35 igzip/flatten_ll.c \
36 igzip/encode_df.c
37
38 lsrc_base_aliases += igzip/igzip_base_aliases.c igzip/proc_heap_base.c
39 lsrc_x86_32 += igzip/igzip_base_aliases.c igzip/proc_heap_base.c
40
41 lsrc_x86_64 += \
42 igzip/igzip_body_01.asm \
43 igzip/igzip_body_02.asm \
44 igzip/igzip_body_04.asm \
45 igzip/igzip_finish.asm \
46 igzip/igzip_icf_body_01.asm \
47 igzip/igzip_icf_body_02.asm \
48 igzip/igzip_icf_body_04.asm \
49 igzip/igzip_icf_finish.asm \
50 igzip/rfc1951_lookup.asm \
51 igzip/crc32_gzip.asm igzip/detect_repeated_char.asm \
52 igzip/igzip_multibinary.asm \
53 igzip/igzip_update_histogram_01.asm \
54 igzip/igzip_update_histogram_04.asm \
55 igzip/igzip_decode_block_stateless_01.asm \
56 igzip/igzip_decode_block_stateless_04.asm \
57 igzip/igzip_inflate_multibinary.asm \
58 igzip/encode_df_04.asm \
59 igzip/proc_heap.asm
60
61 src_include += -I $(srcdir)/igzip
62 extern_hdrs += include/igzip_lib.h
63
64 pkginclude_HEADERS += include/types.h
65
66 check_tests += igzip/igzip_rand_test
67
68 perf_tests += igzip/igzip_perf igzip/igzip_sync_flush_perf
69
70 other_tests += igzip/igzip_file_perf igzip/igzip_sync_flush_file_perf igzip/igzip_stateless_file_perf igzip/igzip_hist_perf
71 other_tests += igzip/igzip_semi_dyn_file_perf
72
73 other_src += igzip/bitbuf2.asm \
74 igzip/data_struct2.asm \
75 igzip/inflate_data_structs.asm \
76 igzip/igzip_body.asm \
77 igzip/igzip_icf_body.asm \
78 igzip/igzip_finish.asm \
79 igzip/lz0a_const.asm \
80 igzip/options.asm \
81 igzip/stdmac.asm \
82 igzip/igzip_compare_types.asm \
83 igzip/bitbuf2.h \
84 igzip/repeated_char_result.h \
85 igzip/igzip_update_histogram.asm \
86 igzip/huffman.asm \
87 include/reg_sizes.asm \
88 include/multibinary.asm \
89 include/test.h \
90 igzip/huffman.h \
91 igzip/igzip_level_buf_structs.h \
92 igzip/igzip_decode_block_stateless.asm \
93 igzip/inflate_std_vects.h \
94 igzip/flatten_ll.h \
95 igzip/encode_df.h \
96 igzip/encode_df_asm.asm \
97 igzip/heap_macros.asm
98
99 examples += igzip/igzip_example igzip/igzip_sync_flush_example
100
101 igzip_igzip_rand_test_LDADD = libisal.la
102
103 # Include tools to make custom Huffman tables based on sample data
104 other_tests += igzip/generate_custom_hufftables
105 other_src += igzip/huff_codes.h
106 lsrc += igzip/huff_codes.c
107
108 # Include tools and tests using the reference inflate
109 other_tests += igzip/igzip_inflate_perf
110 other_tests += igzip/igzip_inflate_test
111 other_tests += igzip/igzip_fuzz_inflate
112 lsrc += igzip/igzip_inflate.c
113 other_src += igzip/crc_inflate.h
114
115 igzip_inflate_perf: LDLIBS += -lz
116 igzip_igzip_inflate_perf_LDADD = libisal.la
117 igzip_igzip_inflate_perf_LDFLAGS = -lz
118 igzip_inflate_test: LDLIBS += -lz
119 igzip_igzip_inflate_test_LDADD = libisal.la
120 igzip_igzip_inflate_test_LDFLAGS = -lz
121 igzip_igzip_hist_perf_LDADD = libisal.la
122 igzip_fuzz_inflate: LDLIBS += -lz
123 igzip_igzip_fuzz_inflate_LDADD = libisal.la
124 igzip_igzip_fuzz_inflate_LDFLAGS = -lz