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 \
|
|
|
|
dump_mp4 \
|
|
|
|
mem2dump \
|
|
|
|
movinfo \
|
|
|
|
png2raw \
|
|
|
|
subrip \
|
|
|
|
vivodump \
|
2005-08-23 18:03:23 +00:00
|
|
|
302m_convert \
|
|
|
|
360m_convert \
|
2004-08-05 00:11:54 +00:00
|
|
|
|
2005-11-18 16:08:58 +00:00
|
|
|
ifeq ($(TARGET_ARCH_X86),yes)
|
|
|
|
OBJS += cpuinfo fastmemcpybench
|
|
|
|
endif
|
|
|
|
|
2004-08-05 00:11:54 +00:00
|
|
|
all: $(OBJS)
|
|
|
|
|
|
|
|
png2raw: png2raw.c
|
2006-03-25 10:18:18 +00:00
|
|
|
$(CC) $< -o $@ -lpng
|
2004-08-05 00:11:54 +00:00
|
|
|
|
|
|
|
subrip: subrip.c
|
2006-03-25 10:38:37 +00:00
|
|
|
$(CC) $(CFLAGS) -g -o $@ $< ../vobsub.o ../spudec.o ../mp_msg.o \
|
2006-06-30 12:40:05 +00:00
|
|
|
../unrarlib.o ../libswscale/swscale.o ../libswscale/rgb2rgb.o \
|
|
|
|
../libswscale/yuv2rgb.o ../libmpcodecs/img_format.o -lm
|
2004-08-05 00:11:54 +00:00
|
|
|
|
|
|
|
vivodump: vivodump.c
|
2006-03-25 10:18:18 +00:00
|
|
|
$(CC) $(CFLAGS) -o $@ $< ../mp_msg.o ../libmpdemux/libmpdemux.a
|
2004-08-05 00:11:54 +00:00
|
|
|
|
|
|
|
fastmemcpybench: fastmemcpybench.c
|
2006-03-25 10:18:18 +00:00
|
|
|
$(CC) $(CFLAGS) -g $< -o fastmem-mmx ../libvo/aclib.o -DNAME=\"mmx\" -DHAVE_MMX
|
|
|
|
$(CC) $(CFLAGS) -g $< -o fastmem-k6 ../libvo/aclib.o -DNAME=\"k6\ \" -DHAVE_MMX -DHAVE_3DNOW
|
|
|
|
$(CC) $(CFLAGS) -g $< -o fastmem-k7 ../libvo/aclib.o -DNAME=\"k7\ \" -DHAVE_MMX -DHAVE_3DNOW -DHAVE_MMX2
|
|
|
|
$(CC) $(CFLAGS) -g $< -o fastmem-sse ../libvo/aclib.o -DNAME=\"sse\" -DHAVE_MMX -DHAVE_SSE -DHAVE_MMX2
|
|
|
|
$(CC) $(CFLAGS) -g $< -o fastmem2-mmx ../libvo/aclib.o -DNAME=\"mga-mmx\" -DHAVE_MGA -DHAVE_MMX
|
|
|
|
$(CC) $(CFLAGS) -g $< -o fastmem2-k6 ../libvo/aclib.o -DNAME=\"mga-k6\ \" -DHAVE_MGA -DHAVE_MMX -DHAVE_3DNOW
|
|
|
|
$(CC) $(CFLAGS) -g $< -o fastmem2-k7 ../libvo/aclib.o -DNAME=\"mga-k7\ \" -DHAVE_MGA -DHAVE_MMX -DHAVE_3DNOW -DHAVE_MMX2
|
|
|
|
$(CC) $(CFLAGS) -g $< -o fastmem2-sse ../libvo/aclib.o -DNAME=\"mga-sse\" -DHAVE_MGA -DHAVE_MMX -DHAVE_SSE -DHAVE_MMX2
|
2004-08-05 00:11:54 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f $(OBJS)
|
2006-03-25 10:03:00 +00:00
|
|
|
rm -f fastmem-* fastmem2-*
|