Add Russian translation provided by Валерий Крувялис <valkru@mail.ru>
[xiph-mirror.git] / theora-old / lib / Makefile.am
blob0c8b697b9d33163972ca1859d10a890c057f14ec
1 INCLUDES = -I$(top_srcdir)/include
3 EXTRA_DIST = Version_script.in \
4         x86_32/dct_decode_mmx.c \
5         x86_32/dsp_mmx.c \
6         x86_32/dsp_mmxext.c \
7         x86_32/recon_mmx.c \
8         x86_32/fdct_mmx.c \
9         x86_32/idct_mmx.c \
10         x86_64/dct_decode_mmx.c \
11         x86_64/dsp_mmx.c \
12         x86_64/dsp_mmxext.c \
13         x86_64/recon_mmx.c \
14         x86_64/fdct_mmx.c \
15         x86_64/idct_mmx.c \
16         x86_32_vs/dsp_mmx.c \
17         x86_32_vs/fdct_mmx.c \
18         x86_32_vs/recon_mmx.c \
19         encoder_disabled.c \
20         dct_encode.c \
21         encode.c \
22         encoder_toplevel.c
24 lib_LTLIBRARIES = libtheora.la
26 if THEORA_DISABLE_ENCODE
27 encoder_sources = encoder_disabled.c
28 else
29 encoder_sources = dct_encode.c encode.c encoder_toplevel.c
30 endif
32 if CPU_x86_64
33 arch_dir = x86_64
34 arch_sources= \
35         $(arch_dir)/dct_decode_mmx.c \
36         $(arch_dir)/dsp_mmx.c \
37         $(arch_dir)/dsp_mmxext.c \
38         $(arch_dir)/recon_mmx.c \
39         $(arch_dir)/fdct_mmx.c \
40         $(arch_dir)/idct_mmx.c
41 else
42 if CPU_x86_32
43 arch_dir = x86_32
44 arch_sources= \
45         $(arch_dir)/dct_decode_mmx.c \
46         $(arch_dir)/dsp_mmx.c \
47         $(arch_dir)/dsp_mmxext.c \
48         $(arch_dir)/recon_mmx.c \
49         $(arch_dir)/fdct_mmx.c \
50         $(arch_dir)/idct_mmx.c
51 endif
52 endif
55 libtheora_la_SOURCES = \
56         blockmap.c \
57         comment.c \
58         dct.c \
59         dct_decode.c \
60         decode.c \
61         frarray.c \
62         frinit.c \
63         huffman.c \
64         idct.c \
65         mcomp.c \
66         misc_common.c \
67         pb.c \
68         pp.c \
69         quant.c \
70         reconstruct.c \
71         scan.c \
72         toplevel.c \
73         cpu.c \
74         dsp.c \
75   $(arch_sources) \
76         $(encoder_sources)
78 noinst_HEADERS = \
79         block_inline.h \
80         codec_internal.h \
81         encoder_lookup.h \
82         huffman.h \
83         hufftables.h \
84         pp.h \
85         quant_lookup.h \
86         toplevel.h \
87         toplevel_lookup.h \
88         cpu.h \
89         dsp.h
91 libtheora_la_CFLAGS = $(OGG_CFLAGS)
92 libtheora_la_LDFLAGS = -version-info @V_LIB_CURRENT@:@V_LIB_REVISION@:@V_LIB_AGE@ @THEORA_LDFLAGS@
93 libtheora_la_LIBADD = $(OGG_LIBS)
95 debug:
96         $(MAKE) all CFLAGS="@DEBUG@" LDFLAGS="-lefence" 
98 profile:
99         $(MAKE) all CFLAGS="@PROFILE@"