]> icculus.org git repositories - icculus/xz.git/blob - src/liblzma/common/Makefile.am
Added initial version of raw buffer-to-buffer coding
[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/rangecoder \
20         -I@top_srcdir@/src/liblzma/lz \
21         -I@top_srcdir@/src/liblzma/lzma \
22         -I@top_srcdir@/src/liblzma/subblock \
23         -I@top_srcdir@/src/liblzma/delta \
24         -I@top_srcdir@/src/liblzma/simple
25
26 libcommon_la_SOURCES = \
27         common.c \
28         common.h \
29         bsr.h \
30         block_util.c \
31         filter_common.c \
32         filter_common.h \
33         index.c \
34         index.h \
35         stream_flags_common.c \
36         stream_flags_common.h \
37         vli_size.c
38
39 if COND_MAIN_ENCODER
40 libcommon_la_SOURCES += \
41         alone_encoder.c \
42         block_buffer_encoder.c \
43         block_encoder.c \
44         block_encoder.h \
45         block_header_encoder.c \
46         easy.c \
47         filter_buffer_encoder.c \
48         filter_encoder.c \
49         filter_encoder.h \
50         filter_flags_encoder.c \
51         index_encoder.c \
52         index_encoder.h \
53         stream_buffer_encoder.c \
54         stream_encoder.c \
55         stream_encoder.h \
56         stream_flags_encoder.c \
57         vli_encoder.c
58 endif
59
60 if COND_MAIN_DECODER
61 libcommon_la_SOURCES += \
62         alone_decoder.c \
63         alone_decoder.h \
64         auto_decoder.c \
65         block_buffer_decoder.c \
66         block_decoder.c \
67         block_decoder.h \
68         block_header_decoder.c \
69         filter_buffer_decoder.c \
70         filter_decoder.c \
71         filter_decoder.h \
72         filter_flags_decoder.c \
73         index_decoder.c \
74         index_hash.c \
75         stream_buffer_decoder.c \
76         stream_decoder.c \
77         stream_decoder.h \
78         stream_flags_decoder.c \
79         vli_decoder.c
80 endif