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