annotate libswscale/Makefile @ 29061:76d3bebf4e45

Generalize example target rule in common.mak so that it sets a -example$(EXESUF) suffix for all example files instead of doing this in individual Makefiles.
author diego
date Sun, 29 Mar 2009 14:35:38 +0000
parents c198fbb7172e
children b188e15262b2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26314
67dbe3155ce5 non-recursive makefiles
mru
parents: 26169
diff changeset
1 include $(SUBDIR)../config.mak
18861
8579acff875e Move postproc ---> libswscale
lucabe
parents:
diff changeset
2
26168
11928ea84b90 cosmetics: Consistently move NAME and FFLIBS to the top of each Makefile.
diego
parents: 26161
diff changeset
3 NAME = swscale
26154
0bb26e5c076c consolidate CFLAGS, LDFLAGS, EXTRALIBS assignment
mru
parents: 24774
diff changeset
4 FFLIBS = avutil
20397
1685fb149c76 Properly set EXTRALIBS
lucabe
parents: 20148
diff changeset
5
27936
72fefc25df4b cosmetics: Consistently place HEADERS before OBJS in all Makefiles.
diego
parents: 27855
diff changeset
6 HEADERS = swscale.h
72fefc25df4b cosmetics: Consistently place HEADERS before OBJS in all Makefiles.
diego
parents: 27855
diff changeset
7
28688
0386e8c28782 Rename yuv2rgb2.c --> yuv2rgb.c.
diego
parents: 28665
diff changeset
8 OBJS = rgb2rgb.o swscale.o swscale_avoption.o yuv2rgb.o
21991
ba11e9a0880f Simplify conditional compilation handling.
diego
parents: 21714
diff changeset
9
29042
c198fbb7172e Move bfin specific code to its subdir.
ramiro
parents: 29032
diff changeset
10 OBJS-$(ARCH_BFIN) += bfin/internal_bfin.o \
c198fbb7172e Move bfin specific code to its subdir.
ramiro
parents: 29032
diff changeset
11 bfin/swscale_bfin.o \
c198fbb7172e Move bfin specific code to its subdir.
ramiro
parents: 29032
diff changeset
12 bfin/yuv2rgb_bfin.o
29028
f8db50af4035 Move yuv2rgb code to subdirs.
ramiro
parents: 29021
diff changeset
13 OBJS-$(CONFIG_MLIB) += mlib/yuv2rgb_mlib.o
f8db50af4035 Move yuv2rgb code to subdirs.
ramiro
parents: 29021
diff changeset
14 OBJS-$(HAVE_ALTIVEC) += ppc/yuv2rgb_altivec.o
f8db50af4035 Move yuv2rgb code to subdirs.
ramiro
parents: 29021
diff changeset
15 OBJS-$(HAVE_VIS) += sparc/yuv2rgb_vis.o
f8db50af4035 Move yuv2rgb code to subdirs.
ramiro
parents: 29021
diff changeset
16
f8db50af4035 Move yuv2rgb code to subdirs.
ramiro
parents: 29021
diff changeset
17 MMX-OBJS-$(CONFIG_GPL) += x86/yuv2rgb_mmx.o \
f8db50af4035 Move yuv2rgb code to subdirs.
ramiro
parents: 29021
diff changeset
18
f8db50af4035 Move yuv2rgb code to subdirs.
ramiro
parents: 29021
diff changeset
19 OBJS-$(HAVE_MMX) += $(MMX-OBJS-yes)
26638
e82c55f04149 Build sparc arch specific code using the Makefile
lu_zero
parents: 26637
diff changeset
20
29061
76d3bebf4e45 Generalize example target rule in common.mak so that it sets a -example$(EXESUF)
diego
parents: 29042
diff changeset
21 EXAMPLES = swscale
29032
15e1d6124a6b Rename cs_test.c --> colorspace-test.c. This is more consistent with the names
diego
parents: 29028
diff changeset
22 TESTPROGS = colorspace
27854
e5794cd5f4c9 Add tests target for libswscale test programs.
diego
parents: 27853
diff changeset
23
29028
f8db50af4035 Move yuv2rgb code to subdirs.
ramiro
parents: 29021
diff changeset
24 DIRS = bfin mlib ppc sparc x86
f8db50af4035 Move yuv2rgb code to subdirs.
ramiro
parents: 29021
diff changeset
25
26314
67dbe3155ce5 non-recursive makefiles
mru
parents: 26169
diff changeset
26 include $(SUBDIR)../subdir.mak
19470
b3939dba3c13 Allow to compile swscale tests
lucabe
parents: 19420
diff changeset
27
29032
15e1d6124a6b Rename cs_test.c --> colorspace-test.c. This is more consistent with the names
diego
parents: 29028
diff changeset
28 $(SUBDIR)colorspace-test: $(SUBDIR)colorspace-test.o $(SUBDIR)$(LIBNAME)
20034
534282370162 Remove cs_test and swscale-example on clean.
diego
parents: 20033
diff changeset
29
26314
67dbe3155ce5 non-recursive makefiles
mru
parents: 26169
diff changeset
30 $(SUBDIR)swscale-example: $(SUBDIR)swscale-example.o $(SUBDIR)$(LIBNAME)
67dbe3155ce5 non-recursive makefiles
mru
parents: 26169
diff changeset
31 $(SUBDIR)swscale-example: EXTRALIBS += -lm