2001-10-24 07:34:41 +00:00
|
|
|
|
|
|
|
include ../config.mak
|
|
|
|
|
2006-07-10 12:35:52 +00:00
|
|
|
NAME=swscale
|
|
|
|
ifeq ($(BUILD_SHARED),yes)
|
|
|
|
LIBVERSION=$(SWSVERSION)
|
|
|
|
LIBMAJOR=$(SWSMAJOR)
|
|
|
|
endif
|
2004-06-27 00:07:15 +00:00
|
|
|
|
2006-10-23 14:03:49 +00:00
|
|
|
EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
|
|
|
|
|
2006-12-20 13:09:29 +00:00
|
|
|
OBJS= swscale.o rgb2rgb.o
|
2007-01-25 00:35:29 +00:00
|
|
|
|
|
|
|
OBJS-$(TARGET_ALTIVEC) += yuv2rgb_altivec.o
|
|
|
|
OBJS-$(CONFIG_GPL) += yuv2rgb.o
|
2004-06-27 00:07:15 +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-01-28 17:52:59 +00:00
|
|
|
cs_test: cs_test.o $(LIB)
|
2006-08-21 12:15:29 +00:00
|
|
|
|
2007-01-28 17:52:59 +00:00
|
|
|
swscale-example: swscale-example.o $(LIB) -lm
|
2006-10-04 14:02:42 +00:00
|
|
|
|
|
|
|
clean::
|
|
|
|
rm -f cs_test swscale-example
|