]> icculus.org git repositories - icculus/xz.git/blob - src/liblzma/Makefile.am
Put the interesting parts of XZ Utils into the public domain.
[icculus/xz.git] / src / liblzma / Makefile.am
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 ##
7
8 SUBDIRS = api common check
9
10 lib_LTLIBRARIES = liblzma.la
11 liblzma_la_SOURCES =
12 liblzma_la_LDFLAGS = -version-info 0:0:0
13
14 liblzma_la_LIBADD = \
15         common/libcommon.la \
16         check/libcheck.la
17
18 if COND_FILTER_LZ
19 SUBDIRS += lz
20 liblzma_la_LIBADD += lz/liblz.la
21 endif
22
23 if COND_FILTER_LZMA1
24 SUBDIRS += lzma rangecoder
25 liblzma_la_LIBADD += \
26         lzma/liblzma2.la \
27         rangecoder/librangecoder.la
28 endif
29
30 if COND_FILTER_SUBBLOCK
31 SUBDIRS += subblock
32 liblzma_la_LIBADD += subblock/libsubblock.la
33 endif
34
35 if COND_FILTER_DELTA
36 SUBDIRS += delta
37 liblzma_la_LIBADD += delta/libdelta.la
38 endif
39
40 if COND_FILTER_SIMPLE
41 SUBDIRS += simple
42 liblzma_la_LIBADD += simple/libsimple.la
43 endif
44
45
46 ## pkg-config
47 pkgconfigdir = $(libdir)/pkgconfig
48 pkgconfig_DATA = liblzma.pc
49 EXTRA_DIST = liblzma.pc.in