]> icculus.org git repositories - icculus/xz.git/blob - src/liblzma/common/Makefile.am
Added bsr.h.
[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         sysdefs.h \
27         bsr.h \
28         allocator.c \
29         block_private.h \
30         extra.c \
31         features.c \
32         index.c \
33         info.c \
34         init.c \
35         memory_limitter.c \
36         memory_usage.c \
37         next_coder.c \
38         raw_common.c \
39         raw_common.h \
40         code.c \
41         version.c
42
43 if COND_FILTER_COPY
44 libcommon_la_SOURCES += \
45         copy_coder.c \
46         copy_coder.h
47 endif
48
49 if COND_FILTER_DELTA
50 libcommon_la_SOURCES += \
51         delta_coder.c \
52         delta_coder.h
53 endif
54
55 if COND_MAIN_ENCODER
56 libcommon_la_SOURCES += \
57         alignment.c \
58         auto_decoder.c \
59         alone_encoder.c \
60         block_encoder.c \
61         block_encoder.h \
62         block_header_encoder.c \
63         filter_flags_encoder.c \
64         init_encoder.c \
65         metadata_encoder.c \
66         metadata_encoder.h \
67         raw_encoder.c \
68         raw_encoder.h \
69         stream_common.c \
70         stream_common.h \
71         stream_encoder_single.c \
72         stream_encoder_multi.c \
73         stream_flags_encoder.c \
74         vli_encoder.c
75 endif
76
77 if COND_MAIN_DECODER
78 libcommon_la_SOURCES += \
79         alone_decoder.c \
80         alone_decoder.h \
81         block_decoder.c \
82         block_decoder.h \
83         block_header_decoder.c \
84         filter_flags_decoder.c \
85         init_decoder.c \
86         metadata_decoder.c \
87         metadata_decoder.h \
88         raw_decoder.c \
89         raw_decoder.h \
90         stream_decoder.c \
91         stream_flags_decoder.c \
92         stream_flags_decoder.h \
93         vli_decoder.c \
94         vli_reverse_decoder.c
95 endif