Statistics
| Branch: | Revision:

ffmpeg / libswscale / Makefile @ 21423ad9

History | View | Annotate | Download (558 Bytes)

1

    
2
include ../config.mak
3

    
4
NAME=swscale
5
ifeq ($(BUILD_SHARED),yes)
6
LIBVERSION=$(SWSVERSION)
7
LIBMAJOR=$(SWSMAJOR)
8
endif
9

    
10
CFLAGS=-I$(BUILD_ROOT) -I$(SRC_PATH) -I$(SRC_PATH)/libavutil $(OPTFLAGS) \
11
       -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
12
       -D_ISOC9X_SOURCE
13

    
14
OBJS= swscale.o rgb2rgb.o yuv2rgb.o
15
ifeq ($(TARGET_ALTIVEC),yes)
16
OBJS+=  yuv2rgb_altivec.o
17
endif
18

    
19
HEADERS = swscale.h rgb2rgb.h
20

    
21
include $(SRC_PATH)/common.mak
22

    
23
cs_test: cs_test.c $(LIB)
24

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

    
27
clean::
28
	rm -f cs_test swscale-example