2004-10-06 16:46:35 +00:00
|
|
|
include ../config.mak
|
|
|
|
|
|
|
|
CFLAGS = -I..
|
|
|
|
|
2005-06-19 23:39:08 +00:00
|
|
|
OBJS = alaw-gen \
|
|
|
|
asfinfo \
|
|
|
|
avi-fix \
|
2005-07-02 19:19:41 +00:00
|
|
|
avisubdump \
|
2005-06-19 23:39:08 +00:00
|
|
|
bios2dump \
|
|
|
|
cpuinfo \
|
|
|
|
dump_mp4 \
|
|
|
|
mem2dump \
|
|
|
|
movinfo \
|
|
|
|
png2raw \
|
|
|
|
subrip \
|
|
|
|
fastmemcpybench \
|
|
|
|
vivodump \
|
2004-08-05 00:11:54 +00:00
|
|
|
|
|
|
|
all: $(OBJS)
|
|
|
|
|
|
|
|
png2raw: png2raw.c
|
2004-10-06 16:46:35 +00:00
|
|
|
$(CC) png2raw.c -o png2raw -lpng
|
2004-08-05 00:11:54 +00:00
|
|
|
|
|
|
|
subrip: subrip.c
|
2004-10-06 16:46:35 +00:00
|
|
|
$(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
|
2004-08-05 00:11:54 +00:00
|
|
|
|
|
|
|
vivodump: vivodump.c
|
2004-10-06 16:46:35 +00:00
|
|
|
$(CC) $(CFLAGS) -o vivodump vivodump.c ../mp_msg.o ../libmpdemux/libmpdemux.a
|
2004-08-05 00:11:54 +00:00
|
|
|
|
|
|
|
fastmemcpybench: fastmemcpybench.c
|
2004-10-06 16:46:35 +00:00
|
|
|
$(CC) $(CFLAGS) -g ../libvo/aclib.o -DNAME=\"mmx\" -DHAVE_MMX fastmemcpybench.c -o fastmem-mmx
|
|
|
|
$(CC) $(CFLAGS) -g ../libvo/aclib.o -DNAME=\"k6\ \" -DHAVE_3DNOW -DHAVE_MMX fastmemcpybench.c -o fastmem-k6
|
|
|
|
$(CC) $(CFLAGS) -g ../libvo/aclib.o -DNAME=\"k7\ \" -DHAVE_MMX2 -DHAVE_3DNOW -DHAVE_MMX fastmemcpybench.c -o fastmem-k7
|
|
|
|
$(CC) $(CFLAGS) -g ../libvo/aclib.o -DNAME=\"sse\" -DHAVE_MMX2 -DHAVE_SSE -DHAVE_MMX fastmemcpybench.c -o fastmem-sse
|
|
|
|
$(CC) $(CFLAGS) -g ../libvo/aclib.o -DNAME=\"mga-mmx\" -DHAVE_MGA -DHAVE_MMX fastmemcpybench.c -o fastmem2-mmx
|
|
|
|
$(CC) $(CFLAGS) -g ../libvo/aclib.o -DNAME=\"mga-k6\ \" -DHAVE_MGA -DHAVE_3DNOW -DHAVE_MMX fastmemcpybench.c -o fastmem2-k6
|
|
|
|
$(CC) $(CFLAGS) -g ../libvo/aclib.o -DNAME=\"mga-k7\ \" -DHAVE_MGA -DHAVE_MMX2 -DHAVE_3DNOW -DHAVE_MMX fastmemcpybench.c -o fastmem2-k7
|
|
|
|
$(CC) $(CFLAGS) -g ../libvo/aclib.o -DNAME=\"mga-sse\" -DHAVE_MGA -DHAVE_MMX2 -DHAVE_SSE -DHAVE_MMX fastmemcpybench.c -o fastmem2-sse
|
2004-08-05 00:11:54 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f $(OBJS)
|
|
|
|
rm -f fastmem-mmx fastmem-k6 fastmem-k7 fastmem-sse fastmem2-mmx fastmem2-k6 fastmem2-k7 fastmem2-sse
|