Added three sample video hooks. See the (rudimentary) documentation on what
[ffmpeg.git] / vhook / Makefile
1 include ../config.mak
2
3 CFLAGS=-fPIC $(OPTFLAGS) -g -Wall -I.. -I../libav -I../libavcodec -DHAVE_AV_CONFIG_H
4
5 HOOKS=null.so fish.so
6
7 ifeq ($(HAVE_IMLIB2),yes)
8     HOOKS += imlib2.so
9 endif    
10
11 all: $(HOOKS) hooks.html
12
13 install:
14         install -s -m 755 $(HOOKS) $(INSTDIR)
15
16 imlib2.so: imlib2.o
17         $(CC) -g -o $@ -shared $< -lImlib2
18         rm $<
19
20 %.so: %.o
21         $(CC) -g -o $@ -shared $<
22
23 %.html: %.texi
24         texi2html -monolithic -number $<
25
26 clean:
27         rm -f *.o *.so *~