Mercurial > mplayer.hg
annotate libswscale/Makefile @ 20087:3996919d4aa8
print bits/s, not bytes/s
author | ivo |
---|---|
date | Fri, 06 Oct 2006 21:56:15 +0000 |
parents | c13f577b8cf8 |
children | 36436a54bc4f |
rev | line source |
---|---|
18861 | 1 |
2 include ../config.mak | |
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 | 8 endif |
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 |
19420
4f71ed7cb512
Move all internal -I parameters to the front of CFLAGS to avoid using external
diego
parents:
19410
diff
changeset
|
11 CFLAGS=-I.. -I$(SRC_PATH) -I$(SRC_PATH)/libavutil $(OPTFLAGS) \ |
18989
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 \ |
20051
4b066db32976
FFmpeg uses -D_ISOC9X_SOURCE and not -D_GNU_SOURCE in CFLAGS.
diego
parents:
20034
diff
changeset
|
13 -D_ISOC9X_SOURCE |
18861 | 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 | 18 endif |
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 |
19470 | 23 |
20053 | 24 cs_test: cs_test.c $(LIB) |
19470 | 25 |
20067 | 26 swscale-example: swscale-example.o $(LIB) |
20034 | 27 |
28 clean:: | |
29 rm -f cs_test swscale-example |