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