aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/Makefile
blob: c65a3a9c86c467fd1d712d0a30ba13620d9414c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
include ../config.mak

NAME=swscale
ifeq ($(BUILD_SHARED),yes)
LIBVERSION=$(SWSVERSION)
LIBMAJOR=$(SWSMAJOR)
endif

EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)

OBJS= swscale.o rgb2rgb.o
ifeq ($(TARGET_ALTIVEC),yes)
OBJS+=  yuv2rgb_altivec.o
endif
ifeq ($(CONFIG_GPL),yes)
OBJS+=  yuv2rgb.o
endif

HEADERS = swscale.h rgb2rgb.h

include ../common.mak

cs_test: cs_test.c $(LIB)

swscale-example: swscale-example.o $(LIB)

clean::
	rm -f cs_test swscale-example