]> icculus.org git repositories - icculus/xz.git/blob - src/liblzma/rangecoder/Makefile.am
Sort of garbage collection commit. :-| Many things are still
[icculus/xz.git] / src / liblzma / rangecoder / Makefile.am
1 ##
2 ##  Copyright (C) 2006 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 EXTRA_DIST = price_tablegen.c
16
17 noinst_LTLIBRARIES = librangecoder.la
18
19 librangecoder_la_SOURCES = range_common.h
20 librangecoder_la_CPPFLAGS = \
21         -I@top_srcdir@/src/liblzma/api \
22         -I@top_srcdir@/src/liblzma/common
23
24 if COND_ENCODER_LZMA
25 librangecoder_la_SOURCES += \
26         range_encoder.h \
27         price.h
28 if COND_SMALL
29 librangecoder_la_SOURCES += price_table_init.c
30 else
31 librangecoder_la_SOURCES += price_table.c
32 endif
33 endif
34
35 if COND_DECODER_LZMA
36 librangecoder_la_SOURCES += range_decoder.h
37 endif