2 LZMADIR
= ${.CURDIR
}/..
/..
/contrib
/xz
/src
/liblzma
4 .PATH
: ${LZMADIR}/api
/lzma
20 LZMAINCSDIR
= ${INCLUDEDIR}/lzma
21 INCSGROUPS
= MAININCS LZMAINCS
23 .PATH
: ${LZMADIR}/..
/common
24 SRCS
+= tuklib_physmem.c tuklib_cpucores.c
26 .PATH
: ${LZMADIR}/common
32 hardware_cputhreads.c \
34 stream_flags_common.c \
37 block_buffer_encoder.c \
39 block_header_encoder.c \
40 easy_buffer_encoder.c \
42 easy_encoder_memusage.c \
43 filter_buffer_encoder.c \
45 filter_flags_encoder.c \
47 stream_buffer_encoder.c \
49 stream_flags_encoder.c \
53 block_buffer_decoder.c \
55 block_header_decoder.c \
56 easy_decoder_memusage.c \
57 filter_buffer_decoder.c \
59 filter_flags_decoder.c \
62 stream_buffer_decoder.c \
64 stream_flags_decoder.c \
69 .PATH
: ${LZMADIR}/check
75 # For x86_64 (other arch could have their own versions)
76 SRCS
+= crc32_fast.c crc64_fast.c
83 .PATH
: ${LZMADIR}/lzma
84 SRCS
+= lzma_encoder.c \
85 lzma_encoder_presets.c \
86 lzma_encoder_optimum_fast.c \
87 lzma_encoder_optimum_normal.c \
93 .PATH
: ${LZMADIR}/rangecoder
96 .PATH
: ${LZMADIR}/delta
97 SRCS
+= delta_common.c \
101 .PATH
: ${LZMADIR}/simple
102 SRCS
+= simple_coder.c \
114 CFLAGS
+= -DHAVE_CONFIG_H
-DTUKLIB_SYMBOL_PREFIX
=lzma_ \
117 -I
${LZMADIR}/common \
120 -I
${LZMADIR}/rangecoder \
123 -I
${LZMADIR}/simple \
124 -I
${LZMADIR}/..
/common
126 VERSION_DEF
= ${.CURDIR
}/Versions.def
127 SYMBOL_MAPS
= ${.CURDIR
}/Symbol.map
132 .
include <bsd.lib.mk
>