Add autotools build system
[daala.git] / src / Makefile.am
1
2 lib_LTLIBRARIES = libdaalabase.la libdaaladec.la libdaalaenc.la
3
4 noinst_HEADERS = \
5         adapt.h \
6         block_size.h \
7         dct.h \
8         decint.h \
9         encint.h \
10         entcode.h \
11         entdec.h \
12         entenc.h \
13         filter.h \
14         generic_code.h \
15         internal.h \
16         intra.h \
17         mc.h \
18         odintrin.h \
19         pvq.h \
20         pvq_code.h \
21         state.h \
22         tf.h
23
24 libdaalabase_la_LIBADD = $(DEPS_LIBS)
25 libdaalabase_la_LDFLAGS = -no-undefined \
26  -version-info @OP_LT_CURRENT@:@OP_LT_REVISION@:@OP_LT_AGE@
27 libdaalabase_la_SOURCES = \
28         adapt.c \
29         block_size.c \
30         entcode.c \
31         entdec.c \
32         entenc.c \
33         filter.c \
34         generic_code.c \
35         generic_decoder.c \
36         generic_encoder.c \
37         info.c \
38         internal.c \
39         intra.c \
40         intradata.c \
41         laplace_tables.c \
42         mc.c \
43         newdct.c \
44         pvq.c \
45         pvq_encoder.c \
46         state.c \
47         tf.c
48 if ENABLE_X86ASM
49 libdaalabase_la_SOURCES += \
50         x86/cpu.c \
51         x86/cpu.h \
52         x86/x86int.h \
53         x86/sse2mc.c \
54         x86/x86state.c
55 endif
56
57 libdaaladec_la_LIBADD = libdaalabase.la $(DEPS_LIBS)
58 libdaaladec_la_LDFLAGS = -no-undefined \
59  -version-info @OP_LT_CURRENT@:@OP_LT_REVISION@:@OP_LT_AGE@
60 libdaaladec_la_SOURCES = \
61         decode.c
62
63 libdaalaenc_la_LIBADD = libdaalabase.la $(DEPS_LIBS)
64 libdaalaenc_la_LDFLAGS = -no-undefined \
65  -version-info @OP_LT_CURRENT@:@OP_LT_REVISION@:@OP_LT_AGE@
66 libdaalaenc_la_SOURCES = \
67         encode.c \
68         decode.c \
69         pvq_decoder.c \
70         infoenc.c \
71         mcenc.c
72
73