Rizin
unix-like reverse engineering framework and cli tools
Makefile.inc
Go to the documentation of this file.
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 EXTRA_DIST += lzma/fastpos_tablegen.c
9 
10 liblzma_la_SOURCES += lzma/lzma_common.h
11 
12 if COND_FILTER_LZMA1
13 liblzma_la_SOURCES += \
14  lzma/lzma_encoder_presets.c
15 endif
16 
17 if COND_ENCODER_LZMA1
18 liblzma_la_SOURCES += \
19  lzma/fastpos.h \ lzma/lzma_encoder.h \ lzma/lzma_encoder.c \ lzma/lzma_encoder_private.h \ lzma/lzma_encoder_optimum_fast.c \ lzma/lzma_encoder_optimum_normal.c
20 
21 if !COND_SMALL
22 liblzma_la_SOURCES += lzma/fastpos_table.c
23 endif
24 endif
25 
26 if COND_DECODER_LZMA1
27 liblzma_la_SOURCES += \
28  lzma/lzma_decoder.c \ lzma/lzma_decoder.h
29 endif
30 
31 if COND_ENCODER_LZMA2
32 liblzma_la_SOURCES += \
33  lzma/lzma2_encoder.c \ lzma/lzma2_encoder.h
34 endif
35 
36 if COND_DECODER_LZMA2
37 liblzma_la_SOURCES += \
38  lzma/lzma2_decoder.c \ lzma/lzma2_decoder.h
39 endif
40