annotate libswscale/Makefile @ 20088:36436a54bc4f

Replace -I.. by -I$(BUILD_ROOT).
author diego
date Sat, 07 Oct 2006 09:23:09 +0000
parents c13f577b8cf8
children 73cd6b74c538
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
20088
36436a54bc4f Replace -I.. by -I$(BUILD_ROOT).
diego
parents: 20067
diff changeset
10 CFLAGS=-I$(BUILD_ROOT) -I$(SRC_PATH) -I$(SRC_PATH)/libavutil $(OPTFLAGS) \
18989
f0e9de2b3780 make libswscale build system similar to the libav* one
lucabe
parents: 18861
diff changeset
11 -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
20051
4b066db32976 FFmpeg uses -D_ISOC9X_SOURCE and not -D_GNU_SOURCE in CFLAGS.
diego
parents: 20034
diff changeset
12 -D_ISOC9X_SOURCE
18861
8579acff875e Move postproc ---> libswscale
lucabe
parents:
diff changeset
13
18989
f0e9de2b3780 make libswscale build system similar to the libav* one
lucabe
parents: 18861
diff changeset
14 OBJS= swscale.o rgb2rgb.o yuv2rgb.o
f0e9de2b3780 make libswscale build system similar to the libav* one
lucabe
parents: 18861
diff changeset
15 ifeq ($(TARGET_ALTIVEC),yes)
f0e9de2b3780 make libswscale build system similar to the libav* one
lucabe
parents: 18861
diff changeset
16 OBJS+= yuv2rgb_altivec.o
18861
8579acff875e Move postproc ---> libswscale
lucabe
parents:
diff changeset
17 endif
8579acff875e Move postproc ---> libswscale
lucabe
parents:
diff changeset
18
18989
f0e9de2b3780 make libswscale build system similar to the libav* one
lucabe
parents: 18861
diff changeset
19 HEADERS = swscale.h rgb2rgb.h
f0e9de2b3780 make libswscale build system similar to the libav* one
lucabe
parents: 18861
diff changeset
20
f0e9de2b3780 make libswscale build system similar to the libav* one
lucabe
parents: 18861
diff changeset
21 include $(SRC_PATH)/common.mak
19470
b3939dba3c13 Allow to compile swscale tests
lucabe
parents: 19420
diff changeset
22
20053
63979c96cca5 Test programs depend on $(LIB).
diego
parents: 20051
diff changeset
23 cs_test: cs_test.c $(LIB)
19470
b3939dba3c13 Allow to compile swscale tests
lucabe
parents: 19420
diff changeset
24
20067
c13f577b8cf8 Simplify test program build.
diego
parents: 20053
diff changeset
25 swscale-example: swscale-example.o $(LIB)
20034
534282370162 Remove cs_test and swscale-example on clean.
diego
parents: 20033
diff changeset
26
534282370162 Remove cs_test and swscale-example on clean.
diego
parents: 20033
diff changeset
27 clean::
534282370162 Remove cs_test and swscale-example on clean.
diego
parents: 20033
diff changeset
28 rm -f cs_test swscale-example