debian: Prepare for upload
[xz/debian.git] / src / liblzma / common / Makefile.inc
blob6ca6adddae711f36abb45fe5f1a3042e1a78575a
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 liblzma_la_SOURCES += \
9         common/common.c \
10         common/common.h \
11         common/memcmplen.h \
12         common/block_util.c \
13         common/easy_preset.c \
14         common/easy_preset.h \
15         common/filter_common.c \
16         common/filter_common.h \
17         common/hardware_physmem.c \
18         common/index.c \
19         common/index.h \
20         common/stream_flags_common.c \
21         common/stream_flags_common.h \
22         common/vli_size.c
24 if COND_THREADS
25 liblzma_la_SOURCES += common/hardware_cputhreads.c
26 endif
28 if COND_MAIN_ENCODER
29 liblzma_la_SOURCES += \
30         common/alone_encoder.c \
31         common/block_buffer_encoder.c \
32         common/block_buffer_encoder.h \
33         common/block_encoder.c \
34         common/block_encoder.h \
35         common/block_header_encoder.c \
36         common/easy_buffer_encoder.c \
37         common/easy_encoder.c \
38         common/easy_encoder_memusage.c \
39         common/filter_buffer_encoder.c \
40         common/filter_encoder.c \
41         common/filter_encoder.h \
42         common/filter_flags_encoder.c \
43         common/index_encoder.c \
44         common/index_encoder.h \
45         common/stream_buffer_encoder.c \
46         common/stream_encoder.c \
47         common/stream_flags_encoder.c \
48         common/vli_encoder.c
50 if COND_THREADS
51 liblzma_la_SOURCES += \
52         common/outqueue.c \
53         common/outqueue.h \
54         common/stream_encoder_mt.c
55 endif
56 endif
58 if COND_MAIN_DECODER
59 liblzma_la_SOURCES += \
60         common/alone_decoder.c \
61         common/alone_decoder.h \
62         common/auto_decoder.c \
63         common/block_buffer_decoder.c \
64         common/block_decoder.c \
65         common/block_decoder.h \
66         common/block_header_decoder.c \
67         common/easy_decoder_memusage.c \
68         common/filter_buffer_decoder.c \
69         common/filter_decoder.c \
70         common/filter_decoder.h \
71         common/filter_flags_decoder.c \
72         common/index_decoder.c \
73         common/index_hash.c \
74         common/stream_buffer_decoder.c \
75         common/stream_decoder.c \
76         common/stream_decoder.h \
77         common/stream_flags_decoder.c \
78         common/vli_decoder.c
79 endif