debian: Prepare for upload
[xz/debian.git] / src / liblzma / lzma / Makefile.inc
blob506b328c785a21e76ae24ca247f4976031b15159
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 ##
8 EXTRA_DIST += lzma/fastpos_tablegen.c
10 liblzma_la_SOURCES += lzma/lzma_common.h
12 if COND_FILTER_LZMA1
13 liblzma_la_SOURCES += \
14         lzma/lzma_encoder_presets.c
15 endif
17 if COND_ENCODER_LZMA1
18 liblzma_la_SOURCES += \
19         lzma/fastpos.h \
20         lzma/lzma_encoder.h \
21         lzma/lzma_encoder.c \
22         lzma/lzma_encoder_private.h \
23         lzma/lzma_encoder_optimum_fast.c \
24         lzma/lzma_encoder_optimum_normal.c
26 if !COND_SMALL
27 liblzma_la_SOURCES += lzma/fastpos_table.c
28 endif
29 endif
31 if COND_DECODER_LZMA1
32 liblzma_la_SOURCES += \
33         lzma/lzma_decoder.c \
34         lzma/lzma_decoder.h
35 endif
37 if COND_ENCODER_LZMA2
38 liblzma_la_SOURCES += \
39         lzma/lzma2_encoder.c \
40         lzma/lzma2_encoder.h
41 endif
43 if COND_DECODER_LZMA2
44 liblzma_la_SOURCES += \
45         lzma/lzma2_decoder.c \
46         lzma/lzma2_decoder.h
47 endif