view TOOLS/Makefile @ 21477:706ee13d09f1

help_mp-de.h: r21367: If a glyph is not found in the current font, switch to another one. r21476: Open embedded fonts directly from memory. [...] mplayer.1: r21357: Cycling through video tracks works with libavformat as well. r21398: improve description of lavf's i_certify_that_my_video_stream_does_not_use_b_frames r21399: fix suggested by Diego r21410: document new meaning of dia=-1 introduced by lavc r7192 r21413: mark lavc's uneven multi-hexagon search as slow, remove stray '.' r21430: documented -mpegopts :[va]buf_size r21441: Audio track switching works for AVI and libavformat as well. r21446: Remove long-deprecated -vop option. r21449: Merge dga/nodga suboption of vo_vesa, no short forms. r21452: document s3fb video out driver r21484: documented -mpegopts :tele_src and :tele_dest r21486: Improoving readability of pullup filter section r21487: document s3fb suboption, [...]
author kraymer
date Mon, 04 Dec 2006 19:06:19 +0000
parents 9725193f1530
children 0334e714d3fa
line wrap: on
line source

include ../config.mak

CFLAGS = -I..

OBJS = alaw-gen$(EXESUF) \
	asfinfo$(EXESUF) \
	avi-fix$(EXESUF) \
	avisubdump$(EXESUF) \
	bios2dump$(EXESUF) \
	dump_mp4$(EXESUF) \
	mem2dump$(EXESUF) \
	movinfo$(EXESUF) \
	png2raw$(EXESUF) \
	subrip$(EXESUF) \
	vivodump$(EXESUF) \
	302m_convert$(EXESUF) \
	360m_convert$(EXESUF) \

ifeq ($(TARGET_ARCH_X86),yes)
OBJS += cpuinfo$(EXESUF) fastmemcpybench
endif

all: $(OBJS)

png2raw: png2raw.c
	$(CC) $< -o $@ -lpng

subrip: subrip.c
	$(CC) $(CFLAGS) -g -o $@ $< ../vobsub.o ../spudec.o ../mp_msg.o \
          ../unrarlib.o ../libswscale/swscale.o ../libswscale/rgb2rgb.o \
          ../libswscale/yuv2rgb.o ../libmpcodecs/img_format.o -lm

vivodump: vivodump.c
	$(CC) $(CFLAGS) -o $@ $< ../mp_msg.o ../libmpdemux/libmpdemux.a ../stream/stream.a

fastmemcpybench: fastmemcpybench.c
	$(CC) $(CFLAGS) -g $< -o fastmem-mmx$(EXESUF)  ../libvo/aclib.o -DNAME=\"mmx\"      -DHAVE_MMX
	$(CC) $(CFLAGS) -g $< -o fastmem-k6$(EXESUF)   ../libvo/aclib.o -DNAME=\"k6\ \"     -DHAVE_MMX -DHAVE_3DNOW
	$(CC) $(CFLAGS) -g $< -o fastmem-k7$(EXESUF)   ../libvo/aclib.o -DNAME=\"k7\ \"     -DHAVE_MMX -DHAVE_3DNOW -DHAVE_MMX2
	$(CC) $(CFLAGS) -g $< -o fastmem-sse$(EXESUF)  ../libvo/aclib.o -DNAME=\"sse\"      -DHAVE_MMX -DHAVE_SSE   -DHAVE_MMX2
	$(CC) $(CFLAGS) -g $< -o fastmem2-mmx$(EXESUF) ../libvo/aclib.o -DNAME=\"mga-mmx\"  -DHAVE_MGA -DHAVE_MMX
	$(CC) $(CFLAGS) -g $< -o fastmem2-k6$(EXESUF)  ../libvo/aclib.o -DNAME=\"mga-k6\ \" -DHAVE_MGA -DHAVE_MMX -DHAVE_3DNOW
	$(CC) $(CFLAGS) -g $< -o fastmem2-k7$(EXESUF)  ../libvo/aclib.o -DNAME=\"mga-k7\ \" -DHAVE_MGA -DHAVE_MMX -DHAVE_3DNOW -DHAVE_MMX2
	$(CC) $(CFLAGS) -g $< -o fastmem2-sse$(EXESUF) ../libvo/aclib.o -DNAME=\"mga-sse\"  -DHAVE_MGA -DHAVE_MMX -DHAVE_SSE   -DHAVE_MMX2

clean distclean:
	rm -f $(OBJS)
	rm -f fastmem-* fastmem2-*
	rm -f cpuinfo$(EXESUF) fastmemcpybench