aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/common/Makefile.am
blob: 3cb5a653f6aa979a9228aa3a2179ba4177b02145 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
##
##  Copyright (C) 2007 Lasse Collin
##
##  This library is free software; you can redistribute it and/or
##  modify it under the terms of the GNU Lesser General Public
##  License as published by the Free Software Foundation; either
##  version 2.1 of the License, or (at your option) any later version.
##
##  This library is distributed in the hope that it will be useful,
##  but WITHOUT ANY WARRANTY; without even the implied warranty of
##  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
##  Lesser General Public License for more details.
##

noinst_LTLIBRARIES = libcommon.la
libcommon_la_CPPFLAGS = \
	-I@top_srcdir@/src/liblzma/api \
	-I@top_srcdir@/src/liblzma/check \
	-I@top_srcdir@/src/liblzma/rangecoder \
	-I@top_srcdir@/src/liblzma/lz \
	-I@top_srcdir@/src/liblzma/lzma \
	-I@top_srcdir@/src/liblzma/subblock \
	-I@top_srcdir@/src/liblzma/delta \
	-I@top_srcdir@/src/liblzma/simple

libcommon_la_SOURCES = \
	common.c \
	common.h \
	bsr.h \
	block_util.c \
	filter_common.c \
	filter_common.h \
	index.c \
	index.h \
	stream_flags_common.c \
	stream_flags_common.h \
	vli_size.c

if COND_MAIN_ENCODER
libcommon_la_SOURCES += \
	alone_encoder.c \
	block_buffer_encoder.c \
	block_encoder.c \
	block_encoder.h \
	block_header_encoder.c \
	easy.c \
	filter_buffer_encoder.c \
	filter_encoder.c \
	filter_encoder.h \
	filter_flags_encoder.c \
	index_encoder.c \
	index_encoder.h \
	stream_buffer_encoder.c \
	stream_encoder.c \
	stream_encoder.h \
	stream_flags_encoder.c \
	vli_encoder.c
endif

if COND_MAIN_DECODER
libcommon_la_SOURCES += \
	alone_decoder.c \
	alone_decoder.h \
	auto_decoder.c \
	block_buffer_decoder.c \
	block_decoder.c \
	block_decoder.h \
	block_header_decoder.c \
	filter_buffer_decoder.c \
	filter_decoder.c \
	filter_decoder.h \
	filter_flags_decoder.c \
	index_decoder.c \
	index_hash.c \
	stream_buffer_decoder.c \
	stream_decoder.c \
	stream_decoder.h \
	stream_flags_decoder.c \
	vli_decoder.c
endif