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-07 09:23:09 +00:00
|
|
|
CFLAGS=-I$(BUILD_ROOT) -I$(SRC_PATH) -I$(SRC_PATH)/libavutil $(OPTFLAGS) \
|
2006-07-10 12:35:52 +00:00
|
|
|
-DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
|
2006-10-04 22:18:40 +00:00
|
|
|
-D_ISOC9X_SOURCE
|
2001-10-24 07:34:41 +00:00
|
|
|
|
2006-07-10 12:35:52 +00:00
|
|
|
OBJS= swscale.o rgb2rgb.o yuv2rgb.o
|
2004-06-27 00:07:15 +00:00
|
|
|
ifeq ($(TARGET_ALTIVEC),yes)
|
2006-07-10 12:35:52 +00:00
|
|
|
OBJS+= yuv2rgb_altivec.o
|
2004-06-27 00:07:15 +00:00
|
|
|
endif
|
|
|
|
|
2006-07-10 12:35:52 +00:00
|
|
|
HEADERS = swscale.h rgb2rgb.h
|
2004-06-27 00:07:15 +00:00
|
|
|
|
2006-07-10 12:35:52 +00:00
|
|
|
include $(SRC_PATH)/common.mak
|
2006-08-21 12:15:29 +00:00
|
|
|
|
2006-10-05 00:57:48 +00:00
|
|
|
cs_test: cs_test.c $(LIB)
|
2006-08-21 12:15:29 +00:00
|
|
|
|
2006-10-05 17:11:05 +00:00
|
|
|
swscale-example: swscale-example.o $(LIB)
|
2006-10-04 14:02:42 +00:00
|
|
|
|
|
|
|
clean::
|
|
|
|
rm -f cs_test swscale-example
|