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