2008-04-07 23:16:50 +02:00
|
|
|
include $(SUBDIR)../config.mak
|
2001-10-24 09:34:41 +02:00
|
|
|
|
2008-03-08 15:40:18 +01:00
|
|
|
NAME = swscale
|
2008-03-06 21:44:47 +01:00
|
|
|
FFLIBS = avutil
|
2006-10-23 16:03:49 +02:00
|
|
|
|
2008-11-20 23:54:30 +01:00
|
|
|
HEADERS = swscale.h
|
|
|
|
|
2009-02-24 23:40:20 +01:00
|
|
|
OBJS = rgb2rgb.o swscale.o swscale_avoption.o yuv2rgb.o
|
2007-01-25 01:35:29 +01:00
|
|
|
|
2009-03-26 02:30:10 +01:00
|
|
|
OBJS-$(ARCH_BFIN) += internal_bfin.o swscale_bfin.o bfin/yuv2rgb_bfin.o
|
|
|
|
OBJS-$(CONFIG_MLIB) += mlib/yuv2rgb_mlib.o
|
|
|
|
OBJS-$(HAVE_ALTIVEC) += ppc/yuv2rgb_altivec.o
|
|
|
|
OBJS-$(HAVE_VIS) += sparc/yuv2rgb_vis.o
|
|
|
|
|
|
|
|
MMX-OBJS-$(CONFIG_GPL) += x86/yuv2rgb_mmx.o \
|
|
|
|
|
|
|
|
OBJS-$(HAVE_MMX) += $(MMX-OBJS-yes)
|
2008-05-04 22:19:33 +02:00
|
|
|
|
2009-03-25 19:08:52 +01:00
|
|
|
EXAMPLES = swscale-example
|
2009-03-26 15:20:15 +01:00
|
|
|
TESTPROGS = colorspace
|
2008-11-03 23:01:03 +01:00
|
|
|
|
2009-03-26 02:30:10 +01:00
|
|
|
DIRS = bfin mlib ppc sparc x86
|
|
|
|
|
2008-04-07 23:16:50 +02:00
|
|
|
include $(SUBDIR)../subdir.mak
|
2006-08-21 14:15:29 +02:00
|
|
|
|
2009-03-26 15:20:15 +01:00
|
|
|
$(SUBDIR)colorspace-test: $(SUBDIR)colorspace-test.o $(SUBDIR)$(LIBNAME)
|
2006-10-04 16:02:42 +02:00
|
|
|
|
2008-04-07 23:16:50 +02:00
|
|
|
$(SUBDIR)swscale-example: $(SUBDIR)swscale-example.o $(SUBDIR)$(LIBNAME)
|
|
|
|
$(SUBDIR)swscale-example: EXTRALIBS += -lm
|