Brought up to date
[swftools.git] / avi2swf / Makefile.in
1 top_builddir = ..
2 srcdir = @srcdir@
3 top_srcdir = @top_srcdir@
4 include ../Makefile.common
5
6 all: avi2swf
7
8 videoreader_avifile.o: videoreader_avifile.cc
9         $(CC) `avifile-config --cflags` $< -o $@
10
11 avi2swf.o: avi2swf.cc
12         $(CC) $< -o $@
13
14 v2swf.o: v2swf.c ../lib/q.h
15         $(C) $< -o $@
16
17 avi2swf: avi2swf.o v2swf.o videoreader_avifile.o ../lib/q.o
18         $(LL) avi2swf.o v2swf.o videoreader_avifile.o ../lib/q.o -o avi2swf ../lib/librfxswf.a $(LIBS) `avifile-config --libs`
19         $(STRIP) avi2swf
20
21 install:
22         $(mkinstalldirs) $(bindir)
23         $(mkinstalldirs) $(man1dir)
24         @file=avi2swf;$(INSTALL_BIN);$(INSTALL_MAN1)
25         
26 uninstall:
27         @file=avi2swf;$(UNINSTALL_BIN);$(UNINSTALL_MAN1)
28
29 clean: 
30         rm -f *.o *.lo *.a *.la avi2swf gmon.out
31
32 doc:
33         perl ../parsedoc.pl avi2swf.doc
34
35 .PHONY: all doc clean install uninstall