Clarify that yuv2rgb_init.c cannot be used under LGPL
[ffmpeg.git] / libswscale / Makefile
1
2 include ../config.mak
3
4 NAME=swscale
5 ifeq ($(BUILD_SHARED),yes)
6 LIBVERSION=$(SWSVERSION)
7 LIBMAJOR=$(SWSMAJOR)
8 endif
9
10 EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
11
12 OBJS= swscale.o rgb2rgb.o
13 ifeq ($(TARGET_ALTIVEC),yes)
14 OBJS+=  yuv2rgb_altivec.o
15 endif
16 ifeq ($(CONFIG_GPL),yes)
17 OBJS+=  yuv2rgb.o
18 endif
19
20 HEADERS = swscale.h rgb2rgb.h
21
22 include ../common.mak
23
24 cs_test: cs_test.c $(LIB)
25
26 swscale-example: swscale-example.o $(LIB)
27
28 clean::
29         rm -f cs_test swscale-example