]> icculus.org git repositories - icculus/xz.git/blob - src/liblzma/common/Makefile.am
Sort of garbage collection commit. :-| Many things are still
[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         block_private.h \
32         filter_common.c \
33         filter_common.h \
34         index.c \
35         index.h \
36         init.c \
37         memory_limiter.c \
38         stream_flags_common.c \
39         stream_flags_common.h \
40         vli_size.c
41
42 if COND_MAIN_ENCODER
43 libcommon_la_SOURCES += \
44         alignment.c \
45         alone_encoder.c \
46         block_encoder.c \
47         block_encoder.h \
48         block_header_encoder.c \
49         easy.c \
50         filter_encoder.c \
51         filter_encoder.h \
52         filter_flags_encoder.c \
53         index_encoder.c \
54         index_encoder.h \
55         init_encoder.c \
56         stream_encoder.c \
57         stream_encoder.h \
58         stream_flags_encoder.c \
59         vli_encoder.c
60 endif
61
62 if COND_MAIN_DECODER
63 libcommon_la_SOURCES += \
64         alone_decoder.c \
65         alone_decoder.h \
66         auto_decoder.c \
67         block_decoder.c \
68         block_decoder.h \
69         block_header_decoder.c \
70         filter_decoder.c \
71         filter_decoder.h \
72         filter_flags_decoder.c \
73         index_decoder.c \
74         index_hash.c \
75         init_decoder.c \
76         stream_decoder.c \
77         stream_decoder.h \
78         stream_flags_decoder.c \
79         stream_flags_decoder.h \
80         vli_decoder.c
81 endif