3 top_srcdir = @top_srcdir@
4 include ../Makefile.common
6 VIDEO_LIBS=@VIDEO_LIBS@
7 VIDEO_CFLAGS=@VIDEO_CFLAGS@
11 videoreader_avifile.o: videoreader_avifile.cc
12 $(CC) $(VIDEO_CFLAGS) $< -o $@
14 videoreader_vfw.o: videoreader_vfw.cc
15 $(CC) $(VIDEO_CFLAGS) $< -o $@
20 v2swf.o: v2swf.c ../lib/q.h
23 avi2swf$(E): avi2swf.o v2swf.o videoreader_avifile.o videoreader_vfw.o ../lib/q.o
24 $(LL) avi2swf.o v2swf.o videoreader_avifile.o videoreader_vfw.o ../lib/q.o -o avi2swf ../lib/librfxswf.a $(LIBS) $(VIDEO_LIBS)
28 $(mkinstalldirs) $(bindir)
29 $(mkinstalldirs) $(man1dir)
30 @file=avi2swf;$(INSTALL_BIN);$(INSTALL_MAN1)
33 @file=avi2swf;$(UNINSTALL_BIN);$(UNINSTALL_MAN1)
36 rm -f *.o *.lo *.a *.la avi2swf gmon.out
39 perl ../parsedoc.pl avi2swf.doc
41 .PHONY: all doc clean install uninstall