~ubuntu-branches/ubuntu/intrepid/gstreamer0.10-ffmpeg/intrepid

« back to all changes in this revision

Viewing changes to gst-libs/ext/ffmpeg/libavcodec/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2005-12-17 23:59:34 UTC
  • Revision ID: james.westby@ubuntu.com-20051217235934-qu7f84arvb9r3id3
Tags: upstream-0.10.0
ImportĀ upstreamĀ versionĀ 0.10.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
DIST_SUBDIRS = \
 
2
        alpha \
 
3
        armv4l \
 
4
        i386 \
 
5
        liba52 \
 
6
        libpostproc \
 
7
        mlib \
 
8
        ppc \
 
9
        ps2 \
 
10
        sh4 \
 
11
        sparc
 
12
 
 
13
if ARCH_ALPHA
 
14
alpha_libs = alpha/libalpha.la
 
15
alpha_dirs = alpha
 
16
endif
 
17
 
 
18
if ARCH_ARMV4L
 
19
if HAVE_IWMMXT
 
20
iwmmxt_libs = armv4l/libiwmmxt.la
 
21
endif
 
22
armv4l_libs = armv4l/libarmv4l.la $(iwmmxt_libs)
 
23
armv4l_dirs = armv4l
 
24
endif
 
25
 
 
26
if HAVE_MMX
 
27
mmxsse_libs = i386/libmmxsse.la
 
28
mmxsse_dirs = i386
 
29
endif
 
30
 
 
31
if HAVE_MLIB
 
32
mlib_libs = mlib/libmlib.la
 
33
mlib_dirs = mlib
 
34
endif
 
35
 
 
36
if ARCH_POWERPC
 
37
ppc_libs = ppc/libppc.la
 
38
if HAVE_ALTIVEC
 
39
altivec_libs = ppc/libaltivec.la
 
40
endif
 
41
ppc_dirs = ppc
 
42
endif
 
43
 
 
44
if HAVE_MMI
 
45
mmi_libs = ps2/libmmi.la
 
46
mmi_dirs = ps2
 
47
endif
 
48
 
 
49
if ARCH_SH4
 
50
sh4_libs = sh4/libsh4.la
 
51
sh4_dirs = sh4
 
52
endif
 
53
 
 
54
if ARCH_SPARC
 
55
sparc_libs = sparc/libsparc.la
 
56
sparc_dirs = sparc
 
57
endif
 
58
 
 
59
if CONFIG_PP
 
60
if SHARED_PP
 
61
pp_libs = libpostproc/libpostproc.la
 
62
else
 
63
pp_libs = libpostproc/libffpostproc.la
 
64
endif
 
65
pp_dirs = libpostproc
 
66
endif
 
67
 
 
68
SUBDIRS = \
 
69
        $(alpha_dirs) \
 
70
        $(armv4l_dirs) \
 
71
        $(mmxsse_dirs) \
 
72
        $(mlib_dirs) \
 
73
        $(mmi_dirs) \
 
74
        $(ppc_dirs) \
 
75
        $(sh4_dirs) \
 
76
        $(sparc_dirs) \
 
77
        $(pp_dirs)
 
78
 
 
79
cpu_libs = \
 
80
        $(alpha_libs) \
 
81
        $(armv4l_libs) \
 
82
        $(mmxsse_libs) \
 
83
        $(mlib_libs) \
 
84
        $(mmi_libs) \
 
85
        $(ppc_libs) \
 
86
        $(altivec_libs) \
 
87
        $(sh4_libs) \
 
88
        $(sparc_libs)
 
89
 
 
90
INCLUDES = \
 
91
        -I$(top_srcdir)/libavutil \
 
92
        -DHAVE_AV_CONFIG_H=1 \
 
93
        $(GPROF_FLAGS) \
 
94
        $(WARNERR_FLAGS) \
 
95
        $(ALTIVEC_CFLAGS)
 
96
 
 
97
LDADD = \
 
98
        $(GPROF_FLAGS) \
 
99
        $(WARNERR_FLAGS)
 
100
 
 
101
noinst_LTLIBRARIES = \
 
102
        libavcodec.la
 
103
 
 
104
if CONFIG_MP3LAME
 
105
lame_SRC = mp3lameaudio.c
 
106
lame_LIBS = -lmp3lame
 
107
endif
 
108
 
 
109
if CONFIG_VORBIS
 
110
vorbis_SRC = oggvorbis.c
 
111
vorbis_LIBS = \
 
112
        -lvorbis \
 
113
        -lvorbisenc
 
114
endif
 
115
 
 
116
if CONFIG_FAAD
 
117
faad_SRC = faad.c
 
118
if CONFIG_FAADBIN
 
119
faad_LIBS = $(DL_LIBS)
 
120
else
 
121
faad_LIBS = -lfaad
 
122
endif
 
123
endif
 
124
 
 
125
if CONFIG_FAAC
 
126
faac_SRC = faac.c
 
127
faac_LIBS = -lfaac
 
128
endif
 
129
 
 
130
if CONFIG_AC3
 
131
ac3_SRC = a52dec.c
 
132
if CONFIG_A52BIN
 
133
ac3_LIBS = $(DL_LIBS)
 
134
else
 
135
ac3_LIBS = liba52/liba52.la
 
136
endif
 
137
endif
 
138
 
 
139
common_SRC = \
 
140
        bitstream.c \
 
141
        utils.c \
 
142
        opt.c \
 
143
        mem.c \
 
144
        allcodecs.c \
 
145
        mpegvideo.c \
 
146
        jrevdct.c \
 
147
        jfdctfst.c \
 
148
        jfdctint.c \
 
149
        mpegaudio.c \
 
150
        ac3enc.c \
 
151
        mjpeg.c \
 
152
        resample.c \
 
153
        dsputil.c \
 
154
        motion_est.c \
 
155
        imgconvert.c \
 
156
        imgresample.c \
 
157
        mpeg12.c \
 
158
        mpegaudiodec.c \
 
159
        pcm.c \
 
160
        simple_idct.c \
 
161
        ratecontrol.c \
 
162
        adpcm.c \
 
163
        dv.c \
 
164
        error_resilience.c \
 
165
        fft.c \
 
166
        mdct.c \
 
167
        mace.c \
 
168
        huffyuv.c \
 
169
        cyuv.c \
 
170
        raw.c \
 
171
        h261.c \
 
172
        h264.c \
 
173
        h264idct.c \
 
174
        golomb.c \
 
175
        vp3.c \
 
176
        vp3dsp.c \
 
177
        asv1.c \
 
178
        4xm.c \
 
179
        cabac.c \
 
180
        ffv1.c \
 
181
        ra144.c \
 
182
        ra288.c \
 
183
        vcr1.c \
 
184
        cljr.c \
 
185
        roqvideo.c \
 
186
        dpcm.c \
 
187
        interplayvideo.c \
 
188
        xan.c \
 
189
        rpza.c \
 
190
        cinepak.c \
 
191
        msrle.c \
 
192
        msvideo1.c \
 
193
        vqavideo.c \
 
194
        idcinvideo.c \
 
195
        adx.c \
 
196
        faandct.c \
 
197
        8bps.c \
 
198
        smc.c \
 
199
        parser.c \
 
200
        flicvideo.c \
 
201
        truemotion1.c \
 
202
        vmdav.c \
 
203
        lcl.c \
 
204
        flac.c \
 
205
        g726.c \
 
206
        png.c \
 
207
        pnm.c \
 
208
        qpeg.c \
 
209
        qtrle.c \
 
210
        rangecoder.c \
 
211
        resample2.c \
 
212
        sonic.c \
 
213
        snow.c \
 
214
        tscc.c \
 
215
        ulti.c \
 
216
        qdrw.c \
 
217
        xl.c \
 
218
        vc9.c \
 
219
        loco.c \
 
220
        alac.c \
 
221
        shorten.c \
 
222
        wnv1.c \
 
223
        aasc.c \
 
224
        indeo2.c \
 
225
        ws-snd1.c \
 
226
        dvdsub.c \
 
227
        dvbsub.c \
 
228
        dvbsubdec.c \
 
229
        fraps.c \
 
230
        vorbis.c \
 
231
        h263.c \
 
232
        msmpeg4.c \
 
233
        h263dec.c \
 
234
        svq1.c \
 
235
        rv10.c \
 
236
        wmadec.c \
 
237
        indeo3.c \
 
238
        truemotion2.c \
 
239
        qdm2.c
 
240
 
 
241
libavcodec_la_SOURCES = \
 
242
        $(common_SRC) \
 
243
        $(lame_SRC) \
 
244
        $(vorbis_SRC) \
 
245
        $(faad_SRC) \
 
246
        $(faac_SRC) \
 
247
        $(ac3_SRC)
 
248
 
 
249
libavcodec_la_LIBADD = \
 
250
        $(cpu_libs) \
 
251
        $(pp_libs) \
 
252
        $(top_builddir)/libavutil/libavutil.la
 
253
 
 
254
libavcodec_la_LDFLAGS = \
 
255
        $(M_LIBS) \
 
256
        $(Z_LIBS) \
 
257
        $(lame_LIBS) \
 
258
        $(vorbis_LIBS) \
 
259
        $(faad_LIBS) \
 
260
        $(faac_LIBS) \
 
261
        $(ac3_LIBS)
 
262
 
 
263
tests_pass = \
 
264
        imgresample-test \
 
265
        dct-test \
 
266
        motion-test \
 
267
        fft-test
 
268
 
 
269
noinst_PROGRAMS = \
 
270
        apiexample \
 
271
        $(tests_pass)
 
272
 
 
273
apiexample_SOURCES = apiexample.c
 
274
apiexample_LDADD = libavcodec.la
 
275
 
 
276
imgresample_test_SOURCES = imgresample.c
 
277
imgresample_test_CFLAGS = -DTEST
 
278
imgresample_test_LDADD = \
 
279
        $(top_builddir)/libavutil/libavutil.la \
 
280
        libavcodec.la
 
281
imgresample_test_LDFLAGS = \
 
282
        $(M_LIBS)
 
283
 
 
284
dct_test_SOURCES = \
 
285
        dct-test.c \
 
286
        fdctref.c
 
287
dct_test_LDADD = \
 
288
        $(top_builddir)/libavutil/libavutil.la \
 
289
        libavcodec.la
 
290
dct_test_LDFLAGS = \
 
291
        $(M_LIBS)
 
292
 
 
293
motion_test_SOURCES = motion_test.c
 
294
motion_test_LDADD = \
 
295
        $(top_builddir)/libavutil/libavutil.la \
 
296
        libavcodec.la
 
297
motion_test_LDFLAGS = \
 
298
        $(M_LIBS)
 
299
 
 
300
fft_test_SOURCES = fft-test.c
 
301
fft_test_LDADD = \
 
302
        $(top_builddir)/libavutil/libavutil.la \
 
303
        libavcodec.la
 
304
fft_test_LDFLAGS = \
 
305
        $(M_LIBS)
 
306
 
 
307
libavcodecdir = $(includedir)/ffmpeg
 
308
libavcodec_HEADERS = \
 
309
        avcodec.h \
 
310
        bitstream.h \
 
311
        opt.h
 
312
 
 
313
inc_SOURCES = \
 
314
        mdec.c \
 
315
        motion_est_template.c \
 
316
        svq3.c \
 
317
        wmv2.c
 
318
 
 
319
noinst_HEADERS = \
 
320
        ac3.h \
 
321
        ac3tab.h \
 
322
        cabac.h \
 
323
        dsputil.h \
 
324
        dvdata.h \
 
325
        faandct.h \
 
326
        golomb.h \
 
327
        h261data.h \
 
328
        h263data.h \
 
329
        h264data.h \
 
330
        imgconvert_template.h \
 
331
        indeo3data.h \
 
332
        indeo2data.h \
 
333
        mpeg12data.h \
 
334
        mpeg4data.h \
 
335
        mpegaudiodectab.h \
 
336
        mpegaudio.h \
 
337
        mpegaudiotab.h \
 
338
        mpegvideo.h \
 
339
        msmpeg4data.h \
 
340
        qdm2data.h \
 
341
        ra144.h \
 
342
        ra288.h \
 
343
        rangecoder.h \
 
344
        simple_idct.h \
 
345
        sp5x.h \
 
346
        svq1_cb.h \
 
347
        svq1_vlc.h \
 
348
        truemotion1data.h \
 
349
        ulti_cb.h \
 
350
        vp3data.h \
 
351
        wmadata.h \
 
352
        vc9data.h \
 
353
        vorbis.h \
 
354
        $(inc_SOURCES)