Recognizes if input is ogg or not.
[xiph/unicode.git] / theora / lib / Makefile.am
blob7692882a1042debef2224b7f0bab3990fb1faffd
1 INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/lib -I$(top_srcdir)/lib/dec -I$(top_srcdir)/lib/enc
2 AM_CFLAGS = $(OGG_CFLAGS)
4 EXTRA_DIST = \
5         enc/x86_32/dct_decode_mmx.c \
6         enc/x86_32/dsp_mmx.c \
7         enc/x86_32/dsp_mmxext.c \
8         enc/x86_32/recon_mmx.c \
9         enc/x86_32/fdct_mmx.c \
10         enc/x86_32/idct_mmx.c \
11         enc/x86_64/dsp_mmx.c \
12         enc/x86_64/dsp_mmxext.c \
13         enc/x86_64/recon_mmx.c \
14         enc/x86_64/fdct_mmx.c \
15         enc/x86_64/idct_mmx.c \
16         enc/x86_32_vs/dsp_mmx.c \
17         enc/x86_32_vs/fdct_mmx.c \
18         enc/x86_32_vs/recon_mmx.c \
19         enc/dct_encode.c \
20         enc/encode.c \
21         enc/encoder_toplevel.c \
22         dec/x86_vc
24 lib_LTLIBRARIES = libtheoradec.la libtheoraenc.la libtheora.la
26 if THEORA_DISABLE_ENCODE
27 encoder_sources = \
28         enc/encapiwrapper.c \
29         enc/encoder_disabled.c
30 else
31 encoder_sources = \
32         enc/dct_encode.c \
33         enc/encode.c \
34         enc/encoder_huffman.c \
35         enc/encoder_idct.c \
36         enc/encoder_toplevel.c \
37         enc/encoder_quant.c \
38         enc/encapiwrapper.c \
39         enc/blockmap.c \
40         enc/dct.c \
41         enc/dct_decode.c \
42         enc/frarray.c \
43         enc/frinit.c \
44         enc/mcomp.c \
45         enc/misc_common.c \
46         enc/pb.c \
47         enc/pp.c \
48         enc/reconstruct.c \
49         enc/scan.c \
50         enc/dsp.c
52 if CPU_x86_64
53 enc_arch_dir = enc/x86_64
54 encoder_arch_sources= \
55         $(enc_arch_dir)/dct_decode_mmx.c \
56         $(enc_arch_dir)/dsp_mmx.c \
57         $(enc_arch_dir)/dsp_mmxext.c \
58         $(enc_arch_dir)/recon_mmx.c \
59         $(enc_arch_dir)/idct_mmx.c \
60         $(enc_arch_dir)/fdct_mmx.c
61 else
62 if CPU_x86_32
63 enc_arch_dir = enc/x86_32
64 encoder_arch_sources= \
65         $(enc_arch_dir)/dct_decode_mmx.c \
66         $(enc_arch_dir)/dsp_mmx.c \
67         $(enc_arch_dir)/dsp_mmxext.c \
68         $(enc_arch_dir)/recon_mmx.c \
69         $(enc_arch_dir)/idct_mmx.c \
70         $(enc_arch_dir)/fdct_mmx.c
71 endif
72 endif
74 endif
76 decoder_sources = \
77         dec/apiwrapper.c \
78         dec/bitpack.c \
79         dec/decapiwrapper.c \
80         dec/decinfo.c \
81         dec/decode.c \
82         dec/dequant.c \
83         dec/fragment.c \
84         dec/huffdec.c \
85         dec/idct.c \
86         dec/info.c \
87         dec/internal.c \
88         dec/quant.c \
89         dec/state.c
91 decoder_x86_sources = \
92         dec/x86/mmxidct.c \
93         dec/x86/mmxfrag.c \
94         dec/x86/mmxstate.c \
95         dec/x86/x86state.c
96 if CPU_x86_64
97 decoder_arch_sources = $(decoder_x86_sources)
98 else
99 if CPU_x86_32
100 decoder_arch_sources = $(decoder_x86_sources)
101 else
102 decoder_arch_sources =
103 endif
104 endif
106 noinst_HEADERS = \
107         cpu.h \
108         internal.h \
109         enc/block_inline.h \
110         enc/codec_internal.h \
111         enc/encoder_lookup.h \
112         enc/encoder_huffman.h \
113         enc/hufftables.h \
114         enc/pp.h \
115         enc/quant_lookup.h \
116         enc/toplevel_lookup.h \
117         enc/dsp.h \
118         dec/apiwrapper.h \
119         dec/bitpack.h \
120         dec/dct.h \
121         dec/decint.h \
122         dec/dequant.h \
123         dec/enquant.h \
124         dec/huffdec.h \
125         dec/huffman.h \
126         dec/idct.h \
127         dec/ocintrin.h \
128         dec/quant.h \
129         dec/x86/x86int.h
131 libtheoradec_la_SOURCES = \
132   cpu.c \
133         $(decoder_arch_sources) \
134         $(decoder_sources) \
135   Version_script-dec
136 libtheoradec_la_LDFLAGS = \
137   -version-info @THDEC_LIB_CURRENT@:@THDEC_LIB_REVISION@:@THDEC_LIB_AGE@ \
138   @THEORADEC_LDFLAGS@
140 libtheoraenc_la_SOURCES = \
141   cpu.c \
142         $(encoder_arch_sources) \
143         $(encoder_sources) \
144   Version_script-enc
145 libtheoraenc_la_LDFLAGS = \
146   -version-info @THENC_LIB_CURRENT@:@THENC_LIB_REVISION@:@THENC_LIB_AGE@ \
147   @THEORAENC_LDFLAGS@ $(OGG_LIBS)
149 libtheora_la_SOURCES = \
150   cpu.c \
151         $(decoder_arch_sources) \
152         $(decoder_sources) \
153         $(encoder_arch_sources) \
154         $(encoder_sources) \
155   Version_script
156 libtheora_la_LDFLAGS = \
157   -version-info @TH_LIB_CURRENT@:@TH_LIB_REVISION@:@TH_LIB_AGE@ \
158   @THEORA_LDFLAGS@ $(OGG_LIBS)
160 debug:
161         $(MAKE) all CFLAGS="@DEBUG@" 
163 profile:
164         $(MAKE) all CFLAGS="@PROFILE@"