2008-04-07 21:16:50 +00:00
|
|
|
include $(SUBDIR)../config.mak
|
2001-10-24 07:34:41 +00:00
|
|
|
|
2008-03-08 14:40:18 +00:00
|
|
|
NAME = swscale
|
2008-03-06 20:44:47 +00:00
|
|
|
FFLIBS = avutil
|
2006-10-23 14:03:49 +00:00
|
|
|
|
2008-11-20 22:54:30 +00:00
|
|
|
HEADERS = swscale.h
|
|
|
|
|
2009-02-24 22:40:20 +00:00
|
|
|
OBJS = rgb2rgb.o swscale.o swscale_avoption.o yuv2rgb.o
|
2007-01-25 00:35:29 +00:00
|
|
|
|
2009-03-27 22:56:56 +00:00
|
|
|
OBJS-$(ARCH_BFIN) += bfin/internal_bfin.o \
|
|
|
|
bfin/swscale_bfin.o \
|
|
|
|
bfin/yuv2rgb_bfin.o
|
2009-03-26 01:30:10 +00:00
|
|
|
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 20:19:33 +00:00
|
|
|
|
2009-03-25 18:08:52 +00:00
|
|
|
EXAMPLES = swscale-example
|
2009-03-26 14:20:15 +00:00
|
|
|
TESTPROGS = colorspace
|
2008-11-03 22:01:03 +00:00
|
|
|
|
2009-03-26 01:30:10 +00:00
|
|
|
DIRS = bfin mlib ppc sparc x86
|
|
|
|
|
2008-04-07 21:16:50 +00:00
|
|
|
include $(SUBDIR)../subdir.mak
|
2006-08-21 12:15:29 +00:00
|
|
|
|
2009-03-26 14:20:15 +00:00
|
|
|
$(SUBDIR)colorspace-test: $(SUBDIR)colorspace-test.o $(SUBDIR)$(LIBNAME)
|
2006-10-04 14:02:42 +00:00
|
|
|
|
2008-04-07 21:16:50 +00:00
|
|
|
$(SUBDIR)swscale-example: $(SUBDIR)swscale-example.o $(SUBDIR)$(LIBNAME)
|
|
|
|
$(SUBDIR)swscale-example: EXTRALIBS += -lm
|