]> icculus.org git repositories - icculus/xz.git/blob - src/liblzma/lzma/Makefile.am
Revised the fastpos code. It now uses the slightly faster
[icculus/xz.git] / src / liblzma / lzma / 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 EXTRA_DIST = fastpos_tablegen.c
16
17 noinst_LTLIBRARIES = liblzma4.la
18 liblzma4_la_CPPFLAGS = \
19         -I@top_srcdir@/src/liblzma/api \
20         -I@top_srcdir@/src/liblzma/common \
21         -I@top_srcdir@/src/liblzma/lz \
22         -I@top_srcdir@/src/liblzma/rangecoder
23
24 liblzma4_la_SOURCES = \
25         lzma_common.h \
26         lzma_literal.c \
27         lzma_literal.h
28
29 if COND_MAIN_ENCODER
30 liblzma4_la_SOURCES += \
31         fastpos.h \
32         fastpos_table.c \
33         lzma_encoder.h \
34         lzma_encoder.c \
35         lzma_encoder_presets.c \
36         lzma_encoder_private.h \
37         lzma_encoder_init.c \
38         lzma_encoder_features.c \
39         lzma_encoder_getoptimum.c \
40         lzma_encoder_getoptimumfast.c
41 endif
42
43 if COND_MAIN_DECODER
44 liblzma4_la_SOURCES += \
45         lzma_decoder.c \
46         lzma_decoder.h
47 endif