added EXEEXT.
[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
10
11 videoreader_avifile.o: videoreader_avifile.cc
12         $(CC) $(VIDEO_CFLAGS) $< -o $@
13
14 videoreader_vfw.o: videoreader_vfw.cc
15         $(CC) $(VIDEO_CFLAGS) $< -o $@
16
17 avi2swf.o: avi2swf.cc
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/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)
25         $(STRIP) avi2swf
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 *.lo *.a *.la avi2swf gmon.out
37
38 doc:
39         perl ../parsedoc.pl avi2swf.doc
40
41 .PHONY: all doc clean install uninstall