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