]> icculus.org git repositories - icculus/xz.git/blob - src/liblzma/common/Makefile.am
Fixed wrong spelling "limitter" to "limiter". This affects
[icculus/xz.git] / src / liblzma / common / Makefile.am
1 ##
2 ##  Copyright (C) 2007 Lasse Collin
3 ##
4 ##  This library is free software; you can redistribute it and/or
5 ##  modify it under the terms of the GNU Lesser General Public
6 ##  License as published by the Free Software Foundation; either
7 ##  version 2.1 of the License, or (at your option) any later version.
8 ##
9 ##  This library is distributed in the hope that it will be useful,
10 ##  but WITHOUT ANY WARRANTY; without even the implied warranty of
11 ##  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12 ##  Lesser General Public License for more details.
13 ##
14
15 noinst_LTLIBRARIES = libcommon.la
16 libcommon_la_CPPFLAGS = \
17         -I@top_srcdir@/src/liblzma/api \
18         -I@top_srcdir@/src/liblzma/check \
19         -I@top_srcdir@/src/liblzma/lz \
20         -I@top_srcdir@/src/liblzma/lzma \
21         -I@top_srcdir@/src/liblzma/simple \
22         -I@top_srcdir@/src/liblzma/subblock \
23         -I@top_srcdir@/src/liblzma/rangecoder
24 libcommon_la_SOURCES = \
25         common.h \
26         bsr.h \
27         allocator.c \
28         block_private.h \
29         extra.c \
30         features.c \
31         index.c \
32         info.c \
33         init.c \
34         memory_limiter.c \
35         memory_usage.c \
36         next_coder.c \
37         raw_common.c \
38         raw_common.h \
39         code.c \
40         version.c
41
42 if COND_FILTER_COPY
43 libcommon_la_SOURCES += \
44         copy_coder.c \
45         copy_coder.h
46 endif
47
48 if COND_FILTER_DELTA
49 libcommon_la_SOURCES += \
50         delta_common.c \
51         delta_common.h
52 if COND_MAIN_ENCODER
53 libcommon_la_SOURCES += \
54         delta_encoder.c \
55         delta_encoder.h
56 endif
57 if COND_MAIN_DECODER
58 libcommon_la_SOURCES += \
59         delta_decoder.c \
60         delta_decoder.h
61 endif
62 endif
63
64 if COND_MAIN_ENCODER
65 libcommon_la_SOURCES += \
66         alignment.c \
67         auto_decoder.c \
68         alone_encoder.c \
69         block_encoder.c \
70         block_encoder.h \
71         block_header_encoder.c \
72         easy_common.c \
73         easy_common.h \
74         easy_single.c \
75         easy_multi.c \
76         filter_flags_encoder.c \
77         init_encoder.c \
78         metadata_encoder.c \
79         metadata_encoder.h \
80         raw_encoder.c \
81         raw_encoder.h \
82         stream_common.c \
83         stream_common.h \
84         stream_encoder_single.c \
85         stream_encoder_multi.c \
86         stream_encoder_multi.h \
87         stream_flags_encoder.c \
88         vli_encoder.c
89 endif
90
91 if COND_MAIN_DECODER
92 libcommon_la_SOURCES += \
93         alone_decoder.c \
94         alone_decoder.h \
95         block_decoder.c \
96         block_decoder.h \
97         block_header_decoder.c \
98         filter_flags_decoder.c \
99         init_decoder.c \
100         metadata_decoder.c \
101         metadata_decoder.h \
102         raw_decoder.c \
103         raw_decoder.h \
104         stream_decoder.c \
105         stream_flags_decoder.c \
106         stream_flags_decoder.h \
107         vli_decoder.c \
108         vli_reverse_decoder.c
109 endif