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 videoreader_avifile.hh
12 $(CC) $(VIDEO_CFLAGS) $< -o $@
14 videoreader_vfw.$(O): videoreader_vfw.cc videoreader_vfw.hh
15 $(CC) $(VIDEO_CFLAGS) $< -o $@
17 avi2swf.$(O): avi2swf.cc videoreader_vfw.hh videoreader_avifile.hh
20 v2swf.$(O): v2swf.c ../lib/q.h
23 avi2swf$(E): avi2swf.$(O) v2swf.$(O) videoreader_avifile.$(O) videoreader_vfw.$(O) ../lib/libbase$(A)
24 $(LL) avi2swf.$(O) v2swf.$(O) videoreader_avifile.$(O) videoreader_vfw.$(O) -o avi2swf$(E) ../lib/librfxswf$(A) ../lib/libbase$(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 *.obj *.lo *.a *.lib *.la avi2swf avi2swf.exe gmon.out
39 perl ../parsedoc.pl avi2swf.doc
41 .PHONY: all doc clean install uninstall