2001-10-24 10:34:41 +03:00
|
|
|
|
|
|
|
include ../config.mak
|
|
|
|
|
2006-07-10 15:35:52 +03:00
|
|
|
NAME=swscale
|
|
|
|
LIBVERSION=$(SWSVERSION)
|
|
|
|
LIBMAJOR=$(SWSMAJOR)
|
2004-06-27 03:07:15 +03:00
|
|
|
|
2006-10-23 17:03:49 +03:00
|
|
|
EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
|
|
|
|
|
2007-08-31 02:11:55 +03:00
|
|
|
OBJS = rgb2rgb.o swscale.o
|
2007-01-25 02:35:29 +02:00
|
|
|
|
|
|
|
OBJS-$(CONFIG_GPL) += yuv2rgb.o
|
2007-08-31 02:11:55 +03:00
|
|
|
OBJS-$(HAVE_ALTIVEC) += yuv2rgb_altivec.o
|
2004-06-27 03:07:15 +03:00
|
|
|
|
2007-08-31 02:11:55 +03:00
|
|
|
OBJS-$(ARCH_BFIN) += swscale_bfin.o \
|
|
|
|
yuv2rgb_bfin.o \
|
2007-06-22 16:03:40 +03:00
|
|
|
|
2007-06-16 18:17:00 +03:00
|
|
|
ASM_OBJS-$(ARCH_BFIN) += internal_bfin.o
|
2007-05-13 22:22:32 +03:00
|
|
|
|
2006-07-10 15:35:52 +03:00
|
|
|
HEADERS = swscale.h rgb2rgb.h
|
2004-06-27 03:07:15 +03:00
|
|
|
|
2006-11-09 17:13:56 +02:00
|
|
|
include ../common.mak
|
2006-08-21 15:15:29 +03:00
|
|
|
|
2007-01-28 19:52:59 +02:00
|
|
|
cs_test: cs_test.o $(LIB)
|
2006-08-21 15:15:29 +03:00
|
|
|
|
2007-04-26 18:14:12 +03:00
|
|
|
swscale-example: swscale-example.o $(LIB)
|
|
|
|
swscale-example: EXTRALIBS += -lm
|
2006-10-04 17:02:42 +03:00
|
|
|
|
|
|
|
clean::
|
|
|
|
rm -f cs_test swscale-example
|