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