2007-12-09 00:42:33 +02:00
|
|
|
##
|
2009-04-13 11:27:40 +03:00
|
|
|
## Author: Lasse Collin
|
2007-12-09 00:42:33 +02:00
|
|
|
##
|
2009-04-13 11:27:40 +03:00
|
|
|
## This file has been put into the public domain.
|
|
|
|
## You can do whatever you want with this file.
|
2007-12-09 00:42:33 +02:00
|
|
|
##
|
|
|
|
|
|
|
|
SUBDIRS = api common check
|
|
|
|
|
|
|
|
lib_LTLIBRARIES = liblzma.la
|
|
|
|
liblzma_la_SOURCES =
|
|
|
|
liblzma_la_LDFLAGS = -version-info 0:0:0
|
|
|
|
|
|
|
|
liblzma_la_LIBADD = \
|
|
|
|
common/libcommon.la \
|
|
|
|
check/libcheck.la
|
|
|
|
|
2008-08-28 22:53:15 +03:00
|
|
|
if COND_FILTER_LZ
|
|
|
|
SUBDIRS += lz
|
|
|
|
liblzma_la_LIBADD += lz/liblz.la
|
|
|
|
endif
|
|
|
|
|
2008-09-27 19:09:21 +03:00
|
|
|
if COND_FILTER_LZMA1
|
2008-08-28 22:53:15 +03:00
|
|
|
SUBDIRS += lzma rangecoder
|
2007-12-09 00:42:33 +02:00
|
|
|
liblzma_la_LIBADD += \
|
2008-08-28 22:53:15 +03:00
|
|
|
lzma/liblzma2.la \
|
2007-12-09 00:42:33 +02:00
|
|
|
rangecoder/librangecoder.la
|
|
|
|
endif
|
|
|
|
|
|
|
|
if COND_FILTER_SUBBLOCK
|
|
|
|
SUBDIRS += subblock
|
|
|
|
liblzma_la_LIBADD += subblock/libsubblock.la
|
|
|
|
endif
|
|
|
|
|
2008-08-28 22:53:15 +03:00
|
|
|
if COND_FILTER_DELTA
|
|
|
|
SUBDIRS += delta
|
|
|
|
liblzma_la_LIBADD += delta/libdelta.la
|
|
|
|
endif
|
|
|
|
|
|
|
|
if COND_FILTER_SIMPLE
|
2007-12-09 00:42:33 +02:00
|
|
|
SUBDIRS += simple
|
|
|
|
liblzma_la_LIBADD += simple/libsimple.la
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
## pkg-config
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
2008-12-31 00:48:23 +02:00
|
|
|
pkgconfig_DATA = liblzma.pc
|
|
|
|
EXTRA_DIST = liblzma.pc.in
|