Mercurial > mplayer.hg
annotate libswscale/Makefile @ 22585:98a00e3b8a65
Reuse common parts of all Makefiles.
author | diego |
---|---|
date | Thu, 15 Mar 2007 09:19:30 +0000 |
parents | d79bd226342d |
children | 8e52146c056f |
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 LIBVERSION=$(SWSVERSION) |
f0e9de2b3780
make libswscale build system similar to the libav* one
lucabe
parents:
18861
diff
changeset
|
6 LIBMAJOR=$(SWSMAJOR) |
18861 | 7 |
20397 | 8 EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS) |
9 | |
21683
befebdb3ebaa
Allow to compile swscale's non-SIMD code under the LGPL license.
lucabe
parents:
20800
diff
changeset
|
10 OBJS= swscale.o rgb2rgb.o |
21991 | 11 |
12 OBJS-$(TARGET_ALTIVEC) += yuv2rgb_altivec.o | |
13 OBJS-$(CONFIG_GPL) += yuv2rgb.o | |
18861 | 14 |
18989
f0e9de2b3780
make libswscale build system similar to the libav* one
lucabe
parents:
18861
diff
changeset
|
15 HEADERS = swscale.h rgb2rgb.h |
f0e9de2b3780
make libswscale build system similar to the libav* one
lucabe
parents:
18861
diff
changeset
|
16 |
20800
5298f5174a8b
Synch with ffmpeg's r6938 "allow spaces in source and build directory names..."
lucabe
parents:
20397
diff
changeset
|
17 include ../common.mak |
19470 | 18 |
22030 | 19 cs_test: cs_test.o $(LIB) |
19470 | 20 |
22030 | 21 swscale-example: swscale-example.o $(LIB) -lm |
20034 | 22 |
23 clean:: | |
24 rm -f cs_test swscale-example |