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
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 LIBVERSION=$(SWSVERSION)
f0e9de2b3780 make libswscale build system similar to the libav* one
lucabe
parents: 18861
diff changeset
6 LIBMAJOR=$(SWSMAJOR)
18861
8579acff875e Move postproc ---> libswscale
lucabe
parents:
diff changeset
7
20397
1685fb149c76 Properly set EXTRALIBS
lucabe
parents: 20148
diff changeset
8 EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
1685fb149c76 Properly set EXTRALIBS
lucabe
parents: 20148
diff changeset
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
ba11e9a0880f Simplify conditional compilation handling.
diego
parents: 21714
diff changeset
11
ba11e9a0880f Simplify conditional compilation handling.
diego
parents: 21714
diff changeset
12 OBJS-$(TARGET_ALTIVEC) += yuv2rgb_altivec.o
ba11e9a0880f Simplify conditional compilation handling.
diego
parents: 21714
diff changeset
13 OBJS-$(CONFIG_GPL) += yuv2rgb.o
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 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
b3939dba3c13 Allow to compile swscale tests
lucabe
parents: 19420
diff changeset
18
22030
3f0dc86dde93 Make example and test build and link correctly
lu_zero
parents: 21991
diff changeset
19 cs_test: cs_test.o $(LIB)
19470
b3939dba3c13 Allow to compile swscale tests
lucabe
parents: 19420
diff changeset
20
22030
3f0dc86dde93 Make example and test build and link correctly
lu_zero
parents: 21991
diff changeset
21 swscale-example: swscale-example.o $(LIB) -lm
20034
534282370162 Remove cs_test and swscale-example on clean.
diego
parents: 20033
diff changeset
22
534282370162 Remove cs_test and swscale-example on clean.
diego
parents: 20033
diff changeset
23 clean::
534282370162 Remove cs_test and swscale-example on clean.
diego
parents: 20033
diff changeset
24 rm -f cs_test swscale-example