]> icculus.org git repositories - icculus/xz.git/blob - src/liblzma/lz/Makefile.am
Imported to git.
[icculus/xz.git] / src / liblzma / lz / Makefile.am
1 ##
2 ##  Copyright (C) 2007 Lasse Collin
3 ##
4 ##  This library is free software; you can redistribute it and/or
5 ##  modify it under the terms of the GNU Lesser General Public
6 ##  License as published by the Free Software Foundation; either
7 ##  version 2.1 of the License, or (at your option) any later version.
8 ##
9 ##  This library is distributed in the hope that it will be useful,
10 ##  but WITHOUT ANY WARRANTY; without even the implied warranty of
11 ##  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12 ##  Lesser General Public License for more details.
13 ##
14
15 noinst_LTLIBRARIES = liblz.la
16 liblz_la_CPPFLAGS = \
17         -I@top_srcdir@/src/liblzma/api \
18         -I@top_srcdir@/src/liblzma/common \
19         -I@top_srcdir@/src/liblzma/check
20 liblz_la_SOURCES =
21
22
23 if COND_MAIN_ENCODER
24 liblz_la_SOURCES += \
25         lz_encoder.c \
26         lz_encoder.h \
27         lz_encoder_private.h \
28         match_c.h \
29         match_h.h
30
31 if COND_MF_HC3
32 liblz_la_SOURCES += hc3.c hc3.h
33 liblz_la_CPPFLAGS += -DHAVE_HC3
34 endif
35
36 if COND_MF_HC4
37 liblz_la_SOURCES += hc4.c hc4.h
38 liblz_la_CPPFLAGS += -DHAVE_HC4
39 endif
40
41 if COND_MF_BT2
42 liblz_la_SOURCES += bt2.c bt2.h
43 liblz_la_CPPFLAGS += -DHAVE_BT2
44 endif
45
46 if COND_MF_BT3
47 liblz_la_SOURCES += bt3.c bt3.h
48 liblz_la_CPPFLAGS += -DHAVE_BT3
49 endif
50
51 if COND_MF_BT4
52 liblz_la_SOURCES += bt4.c bt4.h
53 liblz_la_CPPFLAGS += -DHAVE_BT4
54 endif
55
56 endif
57
58
59 if COND_MAIN_DECODER
60 liblz_la_SOURCES += \
61         lz_decoder.c \
62         lz_decoder.h
63 endif