Mercurial > mplayer.hg
annotate libswscale/Makefile @ 21715:9d96f4df253a
sync with r21655, based on a file conversion of help_mp-zh_CN.h
file provided by Eric Wang, eric7wang gmail com
author | kraymer |
---|---|
date | Fri, 22 Dec 2006 22:56:07 +0000 |
parents | 72e44326407e |
children | ba11e9a0880f |
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 | |
20397 | 10 EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS) |
11 | |
21683
befebdb3ebaa
Allow to compile swscale's non-SIMD code under the LGPL license.
lucabe
parents:
20800
diff
changeset
|
12 OBJS= swscale.o rgb2rgb.o |
18989
f0e9de2b3780
make libswscale build system similar to the libav* one
lucabe
parents:
18861
diff
changeset
|
13 ifeq ($(TARGET_ALTIVEC),yes) |
f0e9de2b3780
make libswscale build system similar to the libav* one
lucabe
parents:
18861
diff
changeset
|
14 OBJS+= yuv2rgb_altivec.o |
18861 | 15 endif |
21683
befebdb3ebaa
Allow to compile swscale's non-SIMD code under the LGPL license.
lucabe
parents:
20800
diff
changeset
|
16 ifeq ($(CONFIG_GPL),yes) |
befebdb3ebaa
Allow to compile swscale's non-SIMD code under the LGPL license.
lucabe
parents:
20800
diff
changeset
|
17 OBJS+= yuv2rgb.o |
befebdb3ebaa
Allow to compile swscale's non-SIMD code under the LGPL license.
lucabe
parents:
20800
diff
changeset
|
18 endif |
18861 | 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 |
20800
5298f5174a8b
Synch with ffmpeg's r6938 "allow spaces in source and build directory names..."
lucabe
parents:
20397
diff
changeset
|
22 include ../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 |