]> icculus.org git repositories - icculus/xz.git/blob - src/liblzma/common/Makefile.am
Added files missing from the previous commit.
[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         easy_preset.c \
32         easy_preset.h \
33         filter_common.c \
34         filter_common.h \
35         index.c \
36         index.h \
37         stream_flags_common.c \
38         stream_flags_common.h \
39         vli_size.c
40
41 if COND_MAIN_ENCODER
42 libcommon_la_SOURCES += \
43         alone_encoder.c \
44         block_buffer_encoder.c \
45         block_encoder.c \
46         block_encoder.h \
47         block_header_encoder.c \
48         easy_buffer_encoder.c \
49         easy_encoder.c \
50         easy_encoder_memusage.c \
51         filter_buffer_encoder.c \
52         filter_encoder.c \
53         filter_encoder.h \
54         filter_flags_encoder.c \
55         index_encoder.c \
56         index_encoder.h \
57         stream_buffer_encoder.c \
58         stream_encoder.c \
59         stream_encoder.h \
60         stream_flags_encoder.c \
61         vli_encoder.c
62 endif
63
64 if COND_MAIN_DECODER
65 libcommon_la_SOURCES += \
66         alone_decoder.c \
67         alone_decoder.h \
68         auto_decoder.c \
69         block_buffer_decoder.c \
70         block_decoder.c \
71         block_decoder.h \
72         block_header_decoder.c \
73         easy_decoder_memusage.c \
74         filter_buffer_decoder.c \
75         filter_decoder.c \
76         filter_decoder.h \
77         filter_flags_decoder.c \
78         index_decoder.c \
79         index_hash.c \
80         stream_buffer_decoder.c \
81         stream_decoder.c \
82         stream_decoder.h \
83         stream_flags_decoder.c \
84         vli_decoder.c
85 endif