Makefile 569 Bytes
Newer Older
1 2 3

include ../config.mak

4 5 6
NAME=swscale
LIBVERSION=$(SWSVERSION)
LIBMAJOR=$(SWSMAJOR)
7

Luca Abeni's avatar
Luca Abeni committed
8 9
EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)

10
OBJS= swscale.o rgb2rgb.o
11 12 13

OBJS-$(TARGET_ALTIVEC)     +=  yuv2rgb_altivec.o
OBJS-$(CONFIG_GPL)         +=  yuv2rgb.o
14

15 16 17
OBJS-$(TARGET_ARCH_BFIN)     +=  yuv2rgb_bfin.o
ASM_OBJS-$(TARGET_ARCH_BFIN) += internal_bfin.o

18
HEADERS = swscale.h rgb2rgb.h
19

20
include ../common.mak
21

22
cs_test: cs_test.o $(LIB)
23

24 25
swscale-example: swscale-example.o $(LIB)
swscale-example: EXTRALIBS += -lm
26 27 28

clean::
	rm -f cs_test swscale-example