a28c67c8dc5612085b1ab4b5873ef2f5873d5cfe
[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 EXTRALIBS := -L../libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
9 endif
10
11 # NOTE: -I.. is needed to include config.h
12 CFLAGS=-I.. -I$(SRC_PATH) -I$(SRC_PATH)/libavutil $(OPTFLAGS) \
13        -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
14        -D_GNU_SOURCE
15
16 OBJS= swscale.o rgb2rgb.o yuv2rgb.o
17 ifeq ($(TARGET_ALTIVEC),yes)
18 OBJS+=  yuv2rgb_altivec.o
19 endif
20
21 HEADERS = swscale.h rgb2rgb.h
22
23 include $(SRC_PATH)/common.mak