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