]> icculus.org git repositories - icculus/xz.git/blob - src/liblzma/common/Makefile.am
Update the code to mostly match the new simpler file format
[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_util.c \
29         block_private.h \
30         features.c \
31         index.c \
32         init.c \
33         memory_limiter.c \
34         memory_usage.c \
35         next_coder.c \
36         raw_common.c \
37         raw_common.h \
38         stream_flags_equal.c \
39         code.c \
40         version.c
41
42 if COND_FILTER_DELTA
43 libcommon_la_SOURCES += \
44         delta_common.c \
45         delta_common.h
46 if COND_MAIN_ENCODER
47 libcommon_la_SOURCES += \
48         delta_encoder.c \
49         delta_encoder.h
50 endif
51 if COND_MAIN_DECODER
52 libcommon_la_SOURCES += \
53         delta_decoder.c \
54         delta_decoder.h
55 endif
56 endif
57
58 if COND_MAIN_ENCODER
59 libcommon_la_SOURCES += \
60         alignment.c \
61         auto_decoder.c \
62         alone_encoder.c \
63         block_encoder.c \
64         block_encoder.h \
65         block_header_encoder.c \
66         easy.c \
67         filter_flags_encoder.c \
68         index_encoder.c \
69         index_encoder.h \
70         init_encoder.c \
71         raw_encoder.c \
72         raw_encoder.h \
73         stream_common.c \
74         stream_common.h \
75         stream_encoder.c \
76         stream_encoder.h \
77         stream_flags_encoder.c \
78         vli_encoder.c
79 endif
80
81 if COND_MAIN_DECODER
82 libcommon_la_SOURCES += \
83         alone_decoder.c \
84         alone_decoder.h \
85         block_decoder.c \
86         block_decoder.h \
87         block_header_decoder.c \
88         filter_flags_decoder.c \
89         index_decoder.c \
90         index_hash.c \
91         init_decoder.c \
92         raw_decoder.c \
93         raw_decoder.h \
94         stream_decoder.c \
95         stream_flags_decoder.c \
96         stream_flags_decoder.h \
97         vli_decoder.c
98 endif