1
0
mirror of https://git.tukaani.org/xz.git synced 2025-11-04 15:32:55 +00:00
xz/src/liblzma/lzma/Makefile.am
Lasse Collin e5728142a2 Revised the fastpos code. It now uses the slightly faster
table-based version from LZMA SDK 4.57. This should be
fast on most systems.

A simpler and smaller alternative version is also provided.
On some CPUs this can be even a little faster than the
default table-based version (see comments in fastpos.h),
but on most systems the table-based code is faster.
2008-01-15 14:02:22 +02:00

48 lines
1.2 KiB
Makefile

##
## Copyright (C) 2007 Lasse Collin
##
## This library is free software; you can redistribute it and/or
## modify it under the terms of the GNU Lesser General Public
## License as published by the Free Software Foundation; either
## version 2.1 of the License, or (at your option) any later version.
##
## This library is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
## Lesser General Public License for more details.
##
EXTRA_DIST = fastpos_tablegen.c
noinst_LTLIBRARIES = liblzma4.la
liblzma4_la_CPPFLAGS = \
-I@top_srcdir@/src/liblzma/api \
-I@top_srcdir@/src/liblzma/common \
-I@top_srcdir@/src/liblzma/lz \
-I@top_srcdir@/src/liblzma/rangecoder
liblzma4_la_SOURCES = \
lzma_common.h \
lzma_literal.c \
lzma_literal.h
if COND_MAIN_ENCODER
liblzma4_la_SOURCES += \
fastpos.h \
fastpos_table.c \
lzma_encoder.h \
lzma_encoder.c \
lzma_encoder_presets.c \
lzma_encoder_private.h \
lzma_encoder_init.c \
lzma_encoder_features.c \
lzma_encoder_getoptimum.c \
lzma_encoder_getoptimumfast.c
endif
if COND_MAIN_DECODER
liblzma4_la_SOURCES += \
lzma_decoder.c \
lzma_decoder.h
endif