multiply overflow fixes
[swftools.git] / avi2swf / Makefile.in
1 top_builddir = ..
2 srcdir = @srcdir@
3 top_srcdir = @top_srcdir@
4 include ../Makefile.common
5
6 VIDEO_LIBS=@VIDEO_LIBS@
7 VIDEO_CFLAGS=@VIDEO_CFLAGS@
8
9 all: avi2swf$(E)
10
11 videoreader_avifile.$(O): videoreader_avifile.cc videoreader_avifile.hh
12         $(CC) $(VIDEO_CFLAGS) $< -o $@
13
14 videoreader_vfw.$(O): videoreader_vfw.cc videoreader_vfw.hh
15         $(CC) $(VIDEO_CFLAGS) $< -o $@
16
17 avi2swf.$(O): avi2swf.cc videoreader_vfw.hh videoreader_avifile.hh
18         $(CC) $< -o $@
19
20 v2swf.$(O): v2swf.c ../lib/q.h
21         $(C) $< -o $@
22
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)
25         $(STRIP) avi2swf$(E)
26
27 install:
28         $(mkinstalldirs) $(bindir)
29         $(mkinstalldirs) $(man1dir)
30         @file=avi2swf;$(INSTALL_BIN);$(INSTALL_MAN1)
31         
32 uninstall:
33         @file=avi2swf;$(UNINSTALL_BIN);$(UNINSTALL_MAN1)
34
35 clean: 
36         rm -f *.o *.obj *.lo *.a *.lib *.la avi2swf avi2swf.exe gmon.out
37
38 doc:
39         perl ../parsedoc.pl avi2swf.doc
40
41 .PHONY: all doc clean install uninstall