]> icculus.org git repositories - icculus/xz.git/blob - src/liblzma/simple/Makefile.am
f8cd48888ee146e81bb4d0d7bbf3699da4e8f213
[icculus/xz.git] / src / liblzma / simple / 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 = libsimple.la
16 libsimple_la_CPPFLAGS = \
17         -I@top_srcdir@/src/liblzma/api \
18         -I@top_srcdir@/src/liblzma/common
19 libsimple_la_SOURCES = \
20         simple_coder.c \
21         simple_coder.h \
22         simple_private.h
23
24 if COND_ENCODER_SIMPLE
25 libsimple_la_SOURCES += \
26         simple_encoder.c \
27         simple_encoder.h
28 endif
29
30 if COND_DECODER_SIMPLE
31 libsimple_la_SOURCES += \
32         simple_decoder.c \
33         simple_decoder.h
34 endif
35
36 if COND_FILTER_X86
37 libsimple_la_SOURCES += x86.c
38 endif
39
40 if COND_FILTER_POWERPC
41 libsimple_la_SOURCES += powerpc.c
42 endif
43
44 if COND_FILTER_IA64
45 libsimple_la_SOURCES += ia64.c
46 endif
47
48 if COND_FILTER_ARM
49 libsimple_la_SOURCES += arm.c
50 endif
51
52 if COND_FILTER_ARMTHUMB
53 libsimple_la_SOURCES += armthumb.c
54 endif
55
56 if COND_FILTER_SPARC
57 libsimple_la_SOURCES += sparc.c
58 endif