]>
Commit | Line | Data |
---|---|---|
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 | |
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 | ||
224ce89b WB |
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 \ | |
7c673cae FG |
51 | igzip/crc32_gzip.asm igzip/detect_repeated_char.asm \ |
52 | igzip/igzip_multibinary.asm \ | |
224ce89b WB |
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 | |
7c673cae | 60 | |
224ce89b | 61 | src_include += -I $(srcdir)/igzip |
7c673cae FG |
62 | extern_hdrs += include/igzip_lib.h |
63 | ||
64 | pkginclude_HEADERS += include/types.h | |
65 | ||
224ce89b | 66 | check_tests += igzip/igzip_rand_test |
7c673cae FG |
67 | |
68 | perf_tests += igzip/igzip_perf igzip/igzip_sync_flush_perf | |
69 | ||
224ce89b WB |
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 | |
7c673cae | 72 | |
224ce89b WB |
73 | other_src += igzip/bitbuf2.asm \ |
74 | igzip/data_struct2.asm \ | |
75 | igzip/inflate_data_structs.asm \ | |
7c673cae | 76 | igzip/igzip_body.asm \ |
224ce89b WB |
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 \ | |
7c673cae FG |
86 | igzip/huffman.asm \ |
87 | include/reg_sizes.asm \ | |
88 | include/multibinary.asm \ | |
89 | include/test.h \ | |
224ce89b WB |
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 | |
7c673cae FG |
98 | |
99 | examples += igzip/igzip_example igzip/igzip_sync_flush_example | |
100 | ||
224ce89b | 101 | igzip_igzip_rand_test_LDADD = libisal.la |
7c673cae FG |
102 | |
103 | # Include tools to make custom Huffman tables based on sample data | |
104 | other_tests += igzip/generate_custom_hufftables | |
7c673cae FG |
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 | |
224ce89b WB |
111 | other_tests += igzip/igzip_fuzz_inflate |
112 | lsrc += igzip/igzip_inflate.c | |
7c673cae FG |
113 | other_src += igzip/crc_inflate.h |
114 | ||
7c673cae | 115 | igzip_inflate_perf: LDLIBS += -lz |
224ce89b | 116 | igzip_igzip_inflate_perf_LDADD = libisal.la |
7c673cae | 117 | igzip_igzip_inflate_perf_LDFLAGS = -lz |
7c673cae | 118 | igzip_inflate_test: LDLIBS += -lz |
224ce89b | 119 | igzip_igzip_inflate_test_LDADD = libisal.la |
7c673cae | 120 | igzip_igzip_inflate_test_LDFLAGS = -lz |
224ce89b WB |
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 |