Revision ede72510 libavcodec/Makefile

View differences:

libavcodec/Makefile
3 3
NAME = avcodec
4 4
FFLIBS = avutil
5 5

  
6
OBJS = allcodecs.o \
7
       audioconvert.o \
8
       bitstream.o \
9
       bitstream_filter.o \
10
       dsputil.o \
11
       eval.o \
12
       faanidct.o \
13
       imgconvert.o \
14
       jrevdct.o \
15
       opt.o \
16
       parser.o \
17
       raw.o \
18
       resample.o \
19
       resample2.o \
20
       simple_idct.o \
21
       utils.o \
6
OBJS = allcodecs.o                                                      \
7
       audioconvert.o                                                   \
8
       bitstream.o                                                      \
9
       bitstream_filter.o                                               \
10
       dsputil.o                                                        \
11
       eval.o                                                           \
12
       faanidct.o                                                       \
13
       imgconvert.o                                                     \
14
       jrevdct.o                                                        \
15
       opt.o                                                            \
16
       parser.o                                                         \
17
       raw.o                                                            \
18
       resample.o                                                       \
19
       resample2.o                                                      \
20
       simple_idct.o                                                    \
21
       utils.o                                                          \
22 22

  
23 23

  
24 24
HEADERS = avcodec.h opt.h
......
388 388

  
389 389
# processor-specific code
390 390
ifdef HAVE_MMX
391
OBJS += i386/fdct_mmx.o \
392
        i386/cpuid.o \
393
        i386/dsputil_mmx.o \
394
        i386/mpegvideo_mmx.o \
395
        i386/motion_est_mmx.o \
396
        i386/simple_idct_mmx.o \
397
        i386/idct_mmx_xvid.o \
398
        i386/idct_sse2_xvid.o \
399

  
400
OBJS-$(CONFIG_FFT_MMX)                 += i386/fft_mmx.o \
401
                                          i386/fft_sse.o \
402
                                          i386/fft_3dn.o \
403
                                          i386/fft_3dn2.o \
391
OBJS += i386/fdct_mmx.o                                                 \
392
        i386/cpuid.o                                                    \
393
        i386/dsputil_mmx.o                                              \
394
        i386/mpegvideo_mmx.o                                            \
395
        i386/motion_est_mmx.o                                           \
396
        i386/simple_idct_mmx.o                                          \
397
        i386/idct_mmx_xvid.o                                            \
398
        i386/idct_sse2_xvid.o                                           \
399

  
400
OBJS-$(CONFIG_FFT_MMX)                 += i386/fft_mmx.o                \
401
                                          i386/fft_sse.o                \
402
                                          i386/fft_3dn.o                \
403
                                          i386/fft_3dn2.o               \
404 404

  
405 405
OBJS-$(HAVE_YASM)                      += i386/dsputil_yasm.o
406 406

  
......
420 420
OBJS-$(CONFIG_WMV3_DECODER)            += i386/vc1dsp_mmx.o
421 421
endif
422 422

  
423
OBJS-$(ARCH_ARMV4L)                    += armv4l/jrevdct_arm.o     \
424
                                          armv4l/simple_idct_arm.o \
425
                                          armv4l/dsputil_arm_s.o   \
426
                                          armv4l/dsputil_arm.o   \
427
                                          armv4l/mpegvideo_arm.o \
423
OBJS-$(ARCH_ARMV4L)                    += armv4l/jrevdct_arm.o          \
424
                                          armv4l/simple_idct_arm.o      \
425
                                          armv4l/dsputil_arm_s.o        \
426
                                          armv4l/dsputil_arm.o          \
427
                                          armv4l/mpegvideo_arm.o        \
428 428

  
429
OBJS-$(HAVE_IWMMXT)                    += armv4l/dsputil_iwmmxt.o   \
430
                                          armv4l/mpegvideo_iwmmxt.o \
429
OBJS-$(HAVE_IWMMXT)                    += armv4l/dsputil_iwmmxt.o       \
430
                                          armv4l/mpegvideo_iwmmxt.o     \
431 431

  
432
OBJS-$(HAVE_ARMV5TE)                   += armv4l/mpegvideo_armv5te.o \
433
                                          armv4l/simple_idct_armv5te.o \
432
OBJS-$(HAVE_ARMV5TE)                   += armv4l/mpegvideo_armv5te.o    \
433
                                          armv4l/simple_idct_armv5te.o  \
434 434

  
435
OBJS-$(HAVE_ARMVFP)                    += armv4l/float_arm_vfp.o \
435
OBJS-$(HAVE_ARMVFP)                    += armv4l/float_arm_vfp.o        \
436 436

  
437
OBJS-$(HAVE_ARMV6)                     += armv4l/simple_idct_armv6.o \
437
OBJS-$(HAVE_ARMV6)                     += armv4l/simple_idct_armv6.o    \
438 438

  
439
OBJS-$(HAVE_VIS)                       += sparc/dsputil_vis.o \
440
                                          sparc/simple_idct_vis.o \
439
OBJS-$(HAVE_VIS)                       += sparc/dsputil_vis.o           \
440
                                          sparc/simple_idct_vis.o       \
441 441

  
442
OBJS-$(CONFIG_MLIB)                    += mlib/dsputil_mlib.o \
442
OBJS-$(CONFIG_MLIB)                    += mlib/dsputil_mlib.o           \
443 443

  
444
OBJS-$(ARCH_ALPHA)                     += alpha/dsputil_alpha.o     \
445
                                          alpha/motion_est_alpha.o  \
446
                                          alpha/mpegvideo_alpha.o   \
447
                                          alpha/simple_idct_alpha.o \
448
                                          alpha/dsputil_alpha_asm.o  \
449
                                          alpha/motion_est_mvi_asm.o \
444
OBJS-$(ARCH_ALPHA)                     += alpha/dsputil_alpha.o         \
445
                                          alpha/motion_est_alpha.o      \
446
                                          alpha/mpegvideo_alpha.o       \
447
                                          alpha/simple_idct_alpha.o     \
448
                                          alpha/dsputil_alpha_asm.o     \
449
                                          alpha/motion_est_mvi_asm.o    \
450 450

  
451
OBJS-$(ARCH_POWERPC)                   += ppc/dsputil_ppc.o   \
451
OBJS-$(ARCH_POWERPC)                   += ppc/dsputil_ppc.o             \
452 452

  
453
OBJS-$(HAVE_MMI)                       += ps2/dsputil_mmi.o   \
454
                                          ps2/idct_mmi.o      \
455
                                          ps2/mpegvideo_mmi.o \
453
OBJS-$(HAVE_MMI)                       += ps2/dsputil_mmi.o             \
454
                                          ps2/idct_mmi.o                \
455
                                          ps2/mpegvideo_mmi.o           \
456 456

  
457
OBJS-$(ARCH_SH4)                       += sh4/idct_sh4.o      \
458
                                          sh4/dsputil_align.o \
459
                                          sh4/dsputil_sh4.o   \
457
OBJS-$(ARCH_SH4)                       += sh4/idct_sh4.o                \
458
                                          sh4/dsputil_align.o           \
459
                                          sh4/dsputil_sh4.o             \
460 460

  
461
ALTIVEC-OBJS-yes                       += ppc/dsputil_altivec.o      \
462
                                          ppc/fdct_altivec.o         \
463
                                          ppc/fft_altivec.o          \
464
                                          ppc/float_altivec.o        \
465
                                          ppc/gmc_altivec.o          \
466
                                          ppc/idct_altivec.o         \
467
                                          ppc/int_altivec.o          \
468
                                          ppc/mpegvideo_altivec.o    \
461
ALTIVEC-OBJS-yes                       += ppc/dsputil_altivec.o         \
462
                                          ppc/fdct_altivec.o            \
463
                                          ppc/fft_altivec.o             \
464
                                          ppc/float_altivec.o           \
465
                                          ppc/gmc_altivec.o             \
466
                                          ppc/idct_altivec.o            \
467
                                          ppc/int_altivec.o             \
468
                                          ppc/mpegvideo_altivec.o       \
469 469

  
470 470
ALTIVEC-OBJS-$(CONFIG_H264_DECODER)    += ppc/h264_altivec.o
471 471
ALTIVEC-OBJS-$(CONFIG_SNOW_DECODER)    += ppc/snow_altivec.o
......
476 476
$(addprefix $(SUBDIR),$(ALTIVEC-OBJS-yes)): CFLAGS += -maltivec -mabi=altivec
477 477

  
478 478
# check_altivec must be built without -maltivec
479
OBJS-$(HAVE_ALTIVEC)                   += $(ALTIVEC-OBJS-yes)       \
479
OBJS-$(HAVE_ALTIVEC)                   += $(ALTIVEC-OBJS-yes)           \
480 480
                                          ppc/check_altivec.o
481 481

  
482
OBJS-$(ARCH_BFIN)                      += bfin/dsputil_bfin.o \
483
                                          bfin/mpegvideo_bfin.o \
484
                                          bfin/vp3_bfin.o \
485
                                          bfin/pixels_bfin.o \
486
                                          bfin/fdct_bfin.o   \
487
                                          bfin/idct_bfin.o   \
488
                                          bfin/vp3_idct_bfin.o   \
482
OBJS-$(ARCH_BFIN)                      += bfin/dsputil_bfin.o           \
483
                                          bfin/mpegvideo_bfin.o         \
484
                                          bfin/vp3_bfin.o               \
485
                                          bfin/pixels_bfin.o            \
486
                                          bfin/fdct_bfin.o              \
487
                                          bfin/idct_bfin.o              \
488
                                          bfin/vp3_idct_bfin.o          \
489 489

  
490 490
TESTS = $(addsuffix -test$(EXESUF), cabac dct eval fft h264 imgresample rangecoder snow)
491 491
TESTS-$(ARCH_X86) += i386/cpuid-test$(EXESUF) motion-test$(EXESUF)

Also available in: Unified diff