Lasse Collin | 5d018dc | 2007-12-09 00:42:33 +0200 | [diff] [blame] | 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_LZMA |
| 26 | SUBDIRS += lz lzma rangecoder |
| 27 | liblzma_la_LIBADD += \ |
| 28 | lz/liblz.la \ |
| 29 | lzma/liblzma4.la \ |
| 30 | rangecoder/librangecoder.la |
| 31 | endif |
| 32 | |
| 33 | if COND_FILTER_SUBBLOCK |
| 34 | SUBDIRS += subblock |
| 35 | liblzma_la_LIBADD += subblock/libsubblock.la |
| 36 | endif |
| 37 | |
| 38 | if COND_MAIN_SIMPLE |
| 39 | SUBDIRS += simple |
| 40 | liblzma_la_LIBADD += simple/libsimple.la |
| 41 | endif |
| 42 | |
| 43 | |
| 44 | ## pkg-config |
| 45 | pkgconfigdir = $(libdir)/pkgconfig |
| 46 | pkgconfig_DATA = lzma.pc |
| 47 | EXTRA_DIST = lzma.pc.in |