annotate libswscale/Makefile @ 18989:f0e9de2b3780

make libswscale build system similar to the libav* one
author lucabe
date Mon, 10 Jul 2006 12:35:52 +0000
parents 8579acff875e
children 0e37275ccbe5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
18861
8579acff875e Move postproc ---> libswscale
lucabe
parents:
diff changeset
1
8579acff875e Move postproc ---> libswscale
lucabe
parents:
diff changeset
2 include ../config.mak
8579acff875e Move postproc ---> libswscale
lucabe
parents:
diff changeset
3
18989
f0e9de2b3780 make libswscale build system similar to the libav* one
lucabe
parents: 18861
diff changeset
4 NAME=swscale
f0e9de2b3780 make libswscale build system similar to the libav* one
lucabe
parents: 18861
diff changeset
5 ifeq ($(BUILD_SHARED),yes)
f0e9de2b3780 make libswscale build system similar to the libav* one
lucabe
parents: 18861
diff changeset
6 LIBVERSION=$(SWSVERSION)
f0e9de2b3780 make libswscale build system similar to the libav* one
lucabe
parents: 18861
diff changeset
7 LIBMAJOR=$(SWSMAJOR)
18861
8579acff875e Move postproc ---> libswscale
lucabe
parents:
diff changeset
8 endif
8579acff875e Move postproc ---> libswscale
lucabe
parents:
diff changeset
9
18989
f0e9de2b3780 make libswscale build system similar to the libav* one
lucabe
parents: 18861
diff changeset
10 # NOTE: -I.. is needed to include config.h
f0e9de2b3780 make libswscale build system similar to the libav* one
lucabe
parents: 18861
diff changeset
11 CFLAGS=$(OPTFLAGS) -I.. -I$(SRC_PATH) -I$(SRC_PATH)/libavutil \
f0e9de2b3780 make libswscale build system similar to the libav* one
lucabe
parents: 18861
diff changeset
12 -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
f0e9de2b3780 make libswscale build system similar to the libav* one
lucabe
parents: 18861
diff changeset
13 -D_GNU_SOURCE
18861
8579acff875e Move postproc ---> libswscale
lucabe
parents:
diff changeset
14
18989
f0e9de2b3780 make libswscale build system similar to the libav* one
lucabe
parents: 18861
diff changeset
15 OBJS= swscale.o rgb2rgb.o yuv2rgb.o
f0e9de2b3780 make libswscale build system similar to the libav* one
lucabe
parents: 18861
diff changeset
16 ifeq ($(TARGET_ALTIVEC),yes)
f0e9de2b3780 make libswscale build system similar to the libav* one
lucabe
parents: 18861
diff changeset
17 OBJS+= yuv2rgb_altivec.o
18861
8579acff875e Move postproc ---> libswscale
lucabe
parents:
diff changeset
18 endif
8579acff875e Move postproc ---> libswscale
lucabe
parents:
diff changeset
19
18989
f0e9de2b3780 make libswscale build system similar to the libav* one
lucabe
parents: 18861
diff changeset
20 HEADERS = swscale.h rgb2rgb.h
f0e9de2b3780 make libswscale build system similar to the libav* one
lucabe
parents: 18861
diff changeset
21
f0e9de2b3780 make libswscale build system similar to the libav* one
lucabe
parents: 18861
diff changeset
22 include $(SRC_PATH)/common.mak