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