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