comparison Makefile @ 5148:fdcf146e5b49 libavcodec

replace TARGET_* with HAVE_* simplifying lists in configure script
author mru
date Fri, 15 Jun 2007 20:35:44 +0000
parents 6fcb43a6339c
children f3873cd7f473
comparison
equal deleted inserted replaced
5147:6fcb43a6339c 5148:fdcf146e5b49
323 ifneq ($(CONFIG_SWSCALER),yes) 323 ifneq ($(CONFIG_SWSCALER),yes)
324 OBJS += imgresample.o 324 OBJS += imgresample.o
325 endif 325 endif
326 326
327 # processor-specific code 327 # processor-specific code
328 ifeq ($(TARGET_MMX),yes) 328 ifeq ($(HAVE_MMX),yes)
329 OBJS += i386/fdct_mmx.o \ 329 OBJS += i386/fdct_mmx.o \
330 i386/cputest.o \ 330 i386/cputest.o \
331 i386/dsputil_mmx.o \ 331 i386/dsputil_mmx.o \
332 i386/mpegvideo_mmx.o \ 332 i386/mpegvideo_mmx.o \
333 i386/motion_est_mmx.o \ 333 i386/motion_est_mmx.o \
350 armv4l/dsputil_arm_s.o \ 350 armv4l/dsputil_arm_s.o \
351 351
352 OBJS-$(ARCH_ARMV4L) += armv4l/dsputil_arm.o \ 352 OBJS-$(ARCH_ARMV4L) += armv4l/dsputil_arm.o \
353 armv4l/mpegvideo_arm.o \ 353 armv4l/mpegvideo_arm.o \
354 354
355 OBJS-$(TARGET_IWMMXT) += armv4l/dsputil_iwmmxt.o \ 355 OBJS-$(HAVE_IWMMXT) += armv4l/dsputil_iwmmxt.o \
356 armv4l/mpegvideo_iwmmxt.o \ 356 armv4l/mpegvideo_iwmmxt.o \
357 357
358 ASM_OBJS-$(TARGET_ARMV5TE) += armv4l/simple_idct_armv5te.o \ 358 ASM_OBJS-$(HAVE_ARMV5TE) += armv4l/simple_idct_armv5te.o \
359 armv4l/mpegvideo_armv5te.o \ 359 armv4l/mpegvideo_armv5te.o \
360 360
361 ASM_OBJS-$(TARGET_ARMV6) += armv4l/simple_idct_armv6.o \ 361 ASM_OBJS-$(HAVE_ARMV6) += armv4l/simple_idct_armv6.o \
362 362
363 OBJS-$(ARCH_SPARC) += sparc/dsputil_vis.o \ 363 OBJS-$(ARCH_SPARC) += sparc/dsputil_vis.o \
364 364
365 sparc/dsputil_vis.o: CFLAGS += -mcpu=ultrasparc -mtune=ultrasparc 365 sparc/dsputil_vis.o: CFLAGS += -mcpu=ultrasparc -mtune=ultrasparc
366 366
375 alpha/motion_est_mvi_asm.o \ 375 alpha/motion_est_mvi_asm.o \
376 376
377 OBJS-$(ARCH_POWERPC) += ppc/dsputil_ppc.o \ 377 OBJS-$(ARCH_POWERPC) += ppc/dsputil_ppc.o \
378 ppc/mpegvideo_ppc.o \ 378 ppc/mpegvideo_ppc.o \
379 379
380 OBJS-$(TARGET_MMI) += ps2/dsputil_mmi.o \ 380 OBJS-$(HAVE_MMI) += ps2/dsputil_mmi.o \
381 ps2/idct_mmi.o \ 381 ps2/idct_mmi.o \
382 ps2/mpegvideo_mmi.o \ 382 ps2/mpegvideo_mmi.o \
383 383
384 OBJS-$(ARCH_SH4) += sh4/idct_sh4.o \ 384 OBJS-$(ARCH_SH4) += sh4/idct_sh4.o \
385 sh4/dsputil_sh4.o \ 385 sh4/dsputil_sh4.o \
386 sh4/dsputil_align.o \ 386 sh4/dsputil_align.o \
387 387
388 OBJS-$(TARGET_ALTIVEC) += ppc/dsputil_altivec.o \ 388 OBJS-$(HAVE_ALTIVEC) += ppc/dsputil_altivec.o \
389 ppc/mpegvideo_altivec.o \ 389 ppc/mpegvideo_altivec.o \
390 ppc/idct_altivec.o \ 390 ppc/idct_altivec.o \
391 ppc/fft_altivec.o \ 391 ppc/fft_altivec.o \
392 ppc/gmc_altivec.o \ 392 ppc/gmc_altivec.o \
393 ppc/fdct_altivec.o \ 393 ppc/fdct_altivec.o \
394 ppc/float_altivec.o \ 394 ppc/float_altivec.o \
395 ppc/int_altivec.o \ 395 ppc/int_altivec.o \
396 396
397 ifeq ($(TARGET_ALTIVEC),yes) 397 ifeq ($(HAVE_ALTIVEC),yes)
398 OBJS-$(CONFIG_H264_DECODER) += ppc/h264_altivec.o 398 OBJS-$(CONFIG_H264_DECODER) += ppc/h264_altivec.o
399 OBJS-$(CONFIG_SNOW_DECODER) += ppc/snow_altivec.o 399 OBJS-$(CONFIG_SNOW_DECODER) += ppc/snow_altivec.o
400 OBJS-$(CONFIG_VC1_DECODER) += ppc/vc1dsp_altivec.o 400 OBJS-$(CONFIG_VC1_DECODER) += ppc/vc1dsp_altivec.o
401 OBJS-$(CONFIG_WMV3_DECODER) += ppc/vc1dsp_altivec.o 401 OBJS-$(CONFIG_WMV3_DECODER) += ppc/vc1dsp_altivec.o
402 endif 402 endif