annotate libswscale/Makefile @ 25661:293aeec83153

Replace the persistent CODECS_FLAG_SELECTED by a local "stringset" with an almost-trivial implementation. This allows making the builtin codec structs const, and it also makes clearer that this "selected" status is not used outside the init functions.
author reimar
date Sat, 12 Jan 2008 14:05:46 +0000
parents 13b688cd5038
children 0bb26e5c076c
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
24285
0770f1d5b781 cosmetics: Sort some lines, whitespace changes.
diego
parents: 23585
diff changeset
10 OBJS = rgb2rgb.o swscale.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-$(CONFIG_GPL) += yuv2rgb.o
24285
0770f1d5b781 cosmetics: Sort some lines, whitespace changes.
diego
parents: 23585
diff changeset
13 OBJS-$(HAVE_ALTIVEC) += yuv2rgb_altivec.o
18861
8579acff875e Move postproc ---> libswscale
lucabe
parents:
diff changeset
14
24285
0770f1d5b781 cosmetics: Sort some lines, whitespace changes.
diego
parents: 23585
diff changeset
15 OBJS-$(ARCH_BFIN) += swscale_bfin.o \
0770f1d5b781 cosmetics: Sort some lines, whitespace changes.
diego
parents: 23585
diff changeset
16 yuv2rgb_bfin.o \
23585
d3ae6979d3df integrating ff_bfin_get_unscaled_swscale into the system
mhoffman
parents: 23544
diff changeset
17
23542
2e13eea875a3 Copile fix: missing libswscale part of ffmpeg r9322 TARGET_ARCH -> ARCH change.
reimar
parents: 23289
diff changeset
18 ASM_OBJS-$(ARCH_BFIN) += internal_bfin.o
23289
786823779b67 Blackfin optimized YUV420 to RGB CSC Color Space Converters.
gpoirier
parents: 23122
diff changeset
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
b3939dba3c13 Allow to compile swscale tests
lucabe
parents: 19420
diff changeset
23
24774
13b688cd5038 Rename LIB to LIBNAME for consistency.
diego
parents: 24285
diff changeset
24 cs_test: cs_test.o $(LIBNAME)
19470
b3939dba3c13 Allow to compile swscale tests
lucabe
parents: 19420
diff changeset
25
24774
13b688cd5038 Rename LIB to LIBNAME for consistency.
diego
parents: 24285
diff changeset
26 swscale-example: swscale-example.o $(LIBNAME)
23122
8e52146c056f Don't declare -lm as a dependency of swscale-example.
diego
parents: 22337
diff changeset
27 swscale-example: EXTRALIBS += -lm
20034
534282370162 Remove cs_test and swscale-example on clean.
diego
parents: 20033
diff changeset
28
534282370162 Remove cs_test and swscale-example on clean.
diego
parents: 20033
diff changeset
29 clean::
534282370162 Remove cs_test and swscale-example on clean.
diego
parents: 20033
diff changeset
30 rm -f cs_test swscale-example