annotate TOOLS/Makefile @ 17492:3f420548c0ca

export custom mp_a52_framesize(), needed to parse ac3 frames when liba52 is not present; will be moved in a more appropriate place sometimes in the future
author nicodvb
date Fri, 27 Jan 2006 23:07:16 +0000
parents 91d141ec88bb
children d763ba702406
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13574
ae638e3c2808 Make Makefile conform to the general MPlayer style, alaw-gen added.
diego
parents: 12962
diff changeset
1 include ../config.mak
ae638e3c2808 Make Makefile conform to the general MPlayer style, alaw-gen added.
diego
parents: 12962
diff changeset
2
ae638e3c2808 Make Makefile conform to the general MPlayer style, alaw-gen added.
diego
parents: 12962
diff changeset
3 CFLAGS = -I..
ae638e3c2808 Make Makefile conform to the general MPlayer style, alaw-gen added.
diego
parents: 12962
diff changeset
4
15773
7bae32bc0ed7 Avoid overly long lines to conform with the new general Makefile style.
diego
parents: 13785
diff changeset
5 OBJS = alaw-gen \
7bae32bc0ed7 Avoid overly long lines to conform with the new general Makefile style.
diego
parents: 13785
diff changeset
6 asfinfo \
7bae32bc0ed7 Avoid overly long lines to conform with the new general Makefile style.
diego
parents: 13785
diff changeset
7 avi-fix \
15890
7b06396ac8b3 avisubdump
ranma
parents: 15773
diff changeset
8 avisubdump \
15773
7bae32bc0ed7 Avoid overly long lines to conform with the new general Makefile style.
diego
parents: 13785
diff changeset
9 bios2dump \
7bae32bc0ed7 Avoid overly long lines to conform with the new general Makefile style.
diego
parents: 13785
diff changeset
10 dump_mp4 \
7bae32bc0ed7 Avoid overly long lines to conform with the new general Makefile style.
diego
parents: 13785
diff changeset
11 mem2dump \
7bae32bc0ed7 Avoid overly long lines to conform with the new general Makefile style.
diego
parents: 13785
diff changeset
12 movinfo \
7bae32bc0ed7 Avoid overly long lines to conform with the new general Makefile style.
diego
parents: 13785
diff changeset
13 png2raw \
7bae32bc0ed7 Avoid overly long lines to conform with the new general Makefile style.
diego
parents: 13785
diff changeset
14 subrip \
7bae32bc0ed7 Avoid overly long lines to conform with the new general Makefile style.
diego
parents: 13785
diff changeset
15 vivodump \
16298
78f69659c797 Add D-Cinema Audio and Video conversion programs
reimar
parents: 15890
diff changeset
16 302m_convert \
78f69659c797 Add D-Cinema Audio and Video conversion programs
reimar
parents: 15890
diff changeset
17 360m_convert \
12962
789f9488bd0d Makefile replacement for compile script
diego
parents:
diff changeset
18
17015
91d141ec88bb fastmemcpybench and cpuinfo are x86-specific.
diego
parents: 16298
diff changeset
19 ifeq ($(TARGET_ARCH_X86),yes)
91d141ec88bb fastmemcpybench and cpuinfo are x86-specific.
diego
parents: 16298
diff changeset
20 OBJS += cpuinfo fastmemcpybench
91d141ec88bb fastmemcpybench and cpuinfo are x86-specific.
diego
parents: 16298
diff changeset
21 endif
91d141ec88bb fastmemcpybench and cpuinfo are x86-specific.
diego
parents: 16298
diff changeset
22
12962
789f9488bd0d Makefile replacement for compile script
diego
parents:
diff changeset
23 all: $(OBJS)
789f9488bd0d Makefile replacement for compile script
diego
parents:
diff changeset
24
789f9488bd0d Makefile replacement for compile script
diego
parents:
diff changeset
25 png2raw: png2raw.c
13574
ae638e3c2808 Make Makefile conform to the general MPlayer style, alaw-gen added.
diego
parents: 12962
diff changeset
26 $(CC) png2raw.c -o png2raw -lpng
12962
789f9488bd0d Makefile replacement for compile script
diego
parents:
diff changeset
27
789f9488bd0d Makefile replacement for compile script
diego
parents:
diff changeset
28 subrip: subrip.c
13574
ae638e3c2808 Make Makefile conform to the general MPlayer style, alaw-gen added.
diego
parents: 12962
diff changeset
29 $(CC) $(CFLAGS) -g -o subrip subrip.c ../vobsub.o ../spudec.o ../mp_msg.o ../unrarlib.o ../postproc/swscale.o ../postproc/rgb2rgb.o ../postproc/yuv2rgb.o ../libmpcodecs/img_format.o -lm
12962
789f9488bd0d Makefile replacement for compile script
diego
parents:
diff changeset
30
789f9488bd0d Makefile replacement for compile script
diego
parents:
diff changeset
31 vivodump: vivodump.c
13574
ae638e3c2808 Make Makefile conform to the general MPlayer style, alaw-gen added.
diego
parents: 12962
diff changeset
32 $(CC) $(CFLAGS) -o vivodump vivodump.c ../mp_msg.o ../libmpdemux/libmpdemux.a
12962
789f9488bd0d Makefile replacement for compile script
diego
parents:
diff changeset
33
789f9488bd0d Makefile replacement for compile script
diego
parents:
diff changeset
34 fastmemcpybench: fastmemcpybench.c
13574
ae638e3c2808 Make Makefile conform to the general MPlayer style, alaw-gen added.
diego
parents: 12962
diff changeset
35 $(CC) $(CFLAGS) -g ../libvo/aclib.o -DNAME=\"mmx\" -DHAVE_MMX fastmemcpybench.c -o fastmem-mmx
ae638e3c2808 Make Makefile conform to the general MPlayer style, alaw-gen added.
diego
parents: 12962
diff changeset
36 $(CC) $(CFLAGS) -g ../libvo/aclib.o -DNAME=\"k6\ \" -DHAVE_3DNOW -DHAVE_MMX fastmemcpybench.c -o fastmem-k6
ae638e3c2808 Make Makefile conform to the general MPlayer style, alaw-gen added.
diego
parents: 12962
diff changeset
37 $(CC) $(CFLAGS) -g ../libvo/aclib.o -DNAME=\"k7\ \" -DHAVE_MMX2 -DHAVE_3DNOW -DHAVE_MMX fastmemcpybench.c -o fastmem-k7
ae638e3c2808 Make Makefile conform to the general MPlayer style, alaw-gen added.
diego
parents: 12962
diff changeset
38 $(CC) $(CFLAGS) -g ../libvo/aclib.o -DNAME=\"sse\" -DHAVE_MMX2 -DHAVE_SSE -DHAVE_MMX fastmemcpybench.c -o fastmem-sse
ae638e3c2808 Make Makefile conform to the general MPlayer style, alaw-gen added.
diego
parents: 12962
diff changeset
39 $(CC) $(CFLAGS) -g ../libvo/aclib.o -DNAME=\"mga-mmx\" -DHAVE_MGA -DHAVE_MMX fastmemcpybench.c -o fastmem2-mmx
ae638e3c2808 Make Makefile conform to the general MPlayer style, alaw-gen added.
diego
parents: 12962
diff changeset
40 $(CC) $(CFLAGS) -g ../libvo/aclib.o -DNAME=\"mga-k6\ \" -DHAVE_MGA -DHAVE_3DNOW -DHAVE_MMX fastmemcpybench.c -o fastmem2-k6
ae638e3c2808 Make Makefile conform to the general MPlayer style, alaw-gen added.
diego
parents: 12962
diff changeset
41 $(CC) $(CFLAGS) -g ../libvo/aclib.o -DNAME=\"mga-k7\ \" -DHAVE_MGA -DHAVE_MMX2 -DHAVE_3DNOW -DHAVE_MMX fastmemcpybench.c -o fastmem2-k7
ae638e3c2808 Make Makefile conform to the general MPlayer style, alaw-gen added.
diego
parents: 12962
diff changeset
42 $(CC) $(CFLAGS) -g ../libvo/aclib.o -DNAME=\"mga-sse\" -DHAVE_MGA -DHAVE_MMX2 -DHAVE_SSE -DHAVE_MMX fastmemcpybench.c -o fastmem2-sse
12962
789f9488bd0d Makefile replacement for compile script
diego
parents:
diff changeset
43
789f9488bd0d Makefile replacement for compile script
diego
parents:
diff changeset
44 clean:
789f9488bd0d Makefile replacement for compile script
diego
parents:
diff changeset
45 rm -f $(OBJS)
789f9488bd0d Makefile replacement for compile script
diego
parents:
diff changeset
46 rm -f fastmem-mmx fastmem-k6 fastmem-k7 fastmem-sse fastmem2-mmx fastmem2-k6 fastmem2-k7 fastmem2-sse