]> icculus.org git repositories - icculus/xz.git/blob - src/liblzma/Makefile.am
Sort of garbage collection commit. :-| Many things are still
[icculus/xz.git] / src / liblzma / Makefile.am
1 ##
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
15 SUBDIRS = api common check
16
17 lib_LTLIBRARIES = liblzma.la
18 liblzma_la_SOURCES =
19 liblzma_la_LDFLAGS = -version-info 0:0:0
20
21 liblzma_la_LIBADD = \
22         common/libcommon.la \
23         check/libcheck.la
24
25 if COND_FILTER_LZ
26 SUBDIRS += lz
27 liblzma_la_LIBADD += lz/liblz.la
28 endif
29
30 if COND_FILTER_LZMA
31 SUBDIRS += lzma rangecoder
32 liblzma_la_LIBADD += \
33         lzma/liblzma2.la \
34         rangecoder/librangecoder.la
35 endif
36
37 if COND_FILTER_SUBBLOCK
38 SUBDIRS += subblock
39 liblzma_la_LIBADD += subblock/libsubblock.la
40 endif
41
42 if COND_FILTER_DELTA
43 SUBDIRS += delta
44 liblzma_la_LIBADD += delta/libdelta.la
45 endif
46
47 if COND_FILTER_SIMPLE
48 SUBDIRS += simple
49 liblzma_la_LIBADD += simple/libsimple.la
50 endif
51
52
53 ## pkg-config
54 pkgconfigdir = $(libdir)/pkgconfig
55 pkgconfig_DATA = lzma.pc
56 EXTRA_DIST = lzma.pc.in