]> git.sesse.net Git - ffmpeg/blob - libswscale/Makefile
29abaeb0fc0c20fa436e9501611cea9542d578c8
[ffmpeg] / 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 # NOTE: -I.. is needed to include config.h
11 CFLAGS=-I.. -I$(SRC_PATH) -I$(SRC_PATH)/libavutil $(OPTFLAGS) \
12        -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
13        -D_ISOC9X_SOURCE
14
15 OBJS= swscale.o rgb2rgb.o yuv2rgb.o
16 ifeq ($(TARGET_ALTIVEC),yes)
17 OBJS+=  yuv2rgb_altivec.o
18 endif
19
20 HEADERS = swscale.h rgb2rgb.h
21
22 include $(SRC_PATH)/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