blob: 78a072f42982ed76265e52fbd0bd41f56e8a0332 [file] [log] [blame]
Lasse Collin5d018dc2007-12-09 00:42:33 +02001##
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
15SUBDIRS = api common check
16
17lib_LTLIBRARIES = liblzma.la
18liblzma_la_SOURCES =
19liblzma_la_LDFLAGS = -version-info 0:0:0
20
21liblzma_la_LIBADD = \
22 common/libcommon.la \
23 check/libcheck.la
24
25if COND_FILTER_LZMA
26SUBDIRS += lz lzma rangecoder
27liblzma_la_LIBADD += \
28 lz/liblz.la \
29 lzma/liblzma4.la \
30 rangecoder/librangecoder.la
31endif
32
33if COND_FILTER_SUBBLOCK
34SUBDIRS += subblock
35liblzma_la_LIBADD += subblock/libsubblock.la
36endif
37
38if COND_MAIN_SIMPLE
39SUBDIRS += simple
40liblzma_la_LIBADD += simple/libsimple.la
41endif
42
43
44## pkg-config
45pkgconfigdir = $(libdir)/pkgconfig
46pkgconfig_DATA = lzma.pc
47EXTRA_DIST = lzma.pc.in