added doc target
[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 avi2swf.o: avi2swf.cc
9         $(CC) `avifile-config --cflags` $< -o $@
10
11 v2swf.o: v2swf.c ../lib/q.h
12         $(C) $< -o $@
13
14 avi2swf: avi2swf.o v2swf.o ../lib/q.o
15         $(LL) avi2swf.o v2swf.o ../lib/q.o -o avi2swf ../lib/librfxswf.a $(LIBS) `avifile-config --libs`
16         $(STRIP) avi2swf
17
18 install:
19         $(mkinstalldirs) $(bindir)
20         $(mkinstalldirs) $(man1dir)
21         @file=avi2swf;$(INSTALL_BIN);$(INSTALL_MAN1)
22         
23 uninstall:
24         @file=avi2swf;$(UNINSTALL_BIN);$(UNINSTALL_MAN1)
25
26 clean: 
27         rm -f *.o *.lo *.a *.la avi2swf gmon.out
28
29 doc:
30         perl ../parsedoc.pl avi2swf.doc
31
32 .PHONY: all doc clean install uninstall