]> icculus.org git repositories - icculus/xz.git/blob - src/liblzma/lzma/Makefile.am
Put the interesting parts of XZ Utils into the public domain.
[icculus/xz.git] / src / liblzma / lzma / 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 EXTRA_DIST = fastpos_tablegen.c
9
10 ## Using liblzma2 since liblzma is already used for the final library.
11 noinst_LTLIBRARIES = liblzma2.la
12 liblzma2_la_CPPFLAGS = \
13         -I@top_srcdir@/src/liblzma/api \
14         -I@top_srcdir@/src/liblzma/common \
15         -I@top_srcdir@/src/liblzma/lz \
16         -I@top_srcdir@/src/liblzma/rangecoder
17
18 liblzma2_la_SOURCES = lzma_common.h
19
20 if COND_ENCODER_LZMA1
21 liblzma2_la_SOURCES += \
22         fastpos.h \
23         lzma_encoder.h \
24         lzma_encoder.c \
25         lzma_encoder_presets.c \
26         lzma_encoder_private.h \
27         lzma_encoder_optimum_fast.c \
28         lzma_encoder_optimum_normal.c
29
30 if !COND_SMALL
31 liblzma2_la_SOURCES += fastpos_table.c
32 endif
33 endif
34
35 if COND_DECODER_LZMA1
36 liblzma2_la_SOURCES += \
37         lzma_decoder.c \
38         lzma_decoder.h
39 endif
40
41 if COND_ENCODER_LZMA2
42 liblzma2_la_SOURCES += \
43         lzma2_encoder.c \
44         lzma2_encoder.h
45 endif
46
47 if COND_DECODER_LZMA2
48 liblzma2_la_SOURCES += \
49         lzma2_decoder.c \
50         lzma2_decoder.h
51 endif