]> icculus.org git repositories - icculus/xz.git/blob - src/liblzma/common/Makefile.am
Put the interesting parts of XZ Utils into the public domain.
[icculus/xz.git] / src / liblzma / common / Makefile.am
1 ##
2 ## Author: Lasse Collin
3 ##
4 ## This file has been put into the public domain.
5 ## You can do whatever you want with this file.
6 ##
7
8 noinst_LTLIBRARIES = libcommon.la
9 libcommon_la_CPPFLAGS = \
10         -I@top_srcdir@/src/liblzma/api \
11         -I@top_srcdir@/src/liblzma/check \
12         -I@top_srcdir@/src/liblzma/rangecoder \
13         -I@top_srcdir@/src/liblzma/lz \
14         -I@top_srcdir@/src/liblzma/lzma \
15         -I@top_srcdir@/src/liblzma/subblock \
16         -I@top_srcdir@/src/liblzma/delta \
17         -I@top_srcdir@/src/liblzma/simple
18
19 libcommon_la_SOURCES = \
20         common.c \
21         common.h \
22         bsr.h \
23         block_util.c \
24         easy_preset.c \
25         easy_preset.h \
26         filter_common.c \
27         filter_common.h \
28         index.c \
29         index.h \
30         stream_flags_common.c \
31         stream_flags_common.h \
32         vli_size.c
33
34 if COND_MAIN_ENCODER
35 libcommon_la_SOURCES += \
36         alone_encoder.c \
37         block_buffer_encoder.c \
38         block_encoder.c \
39         block_encoder.h \
40         block_header_encoder.c \
41         easy_buffer_encoder.c \
42         easy_encoder.c \
43         easy_encoder_memusage.c \
44         filter_buffer_encoder.c \
45         filter_encoder.c \
46         filter_encoder.h \
47         filter_flags_encoder.c \
48         index_encoder.c \
49         index_encoder.h \
50         stream_buffer_encoder.c \
51         stream_encoder.c \
52         stream_encoder.h \
53         stream_flags_encoder.c \
54         vli_encoder.c
55 endif
56
57 if COND_MAIN_DECODER
58 libcommon_la_SOURCES += \
59         alone_decoder.c \
60         alone_decoder.h \
61         auto_decoder.c \
62         block_buffer_decoder.c \
63         block_decoder.c \
64         block_decoder.h \
65         block_header_decoder.c \
66         easy_decoder_memusage.c \
67         filter_buffer_decoder.c \
68         filter_decoder.c \
69         filter_decoder.h \
70         filter_flags_decoder.c \
71         index_decoder.c \
72         index_hash.c \
73         stream_buffer_decoder.c \
74         stream_decoder.c \
75         stream_decoder.h \
76         stream_flags_decoder.c \
77         vli_decoder.c
78 endif