Added three sample video hooks. See the (rudimentary) documentation on what
[libav.git] / vhook / Makefile
CommitLineData
26b4bb70
PG
1include ../config.mak
2
3CFLAGS=-fPIC $(OPTFLAGS) -g -Wall -I.. -I../libav -I../libavcodec -DHAVE_AV_CONFIG_H
4
5HOOKS=null.so fish.so
6
7ifeq ($(HAVE_IMLIB2),yes)
8 HOOKS += imlib2.so
9endif
10
11all: $(HOOKS) hooks.html
12
13install:
14 install -s -m 755 $(HOOKS) $(INSTDIR)
15
16imlib2.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
26clean:
27 rm -f *.o *.so *~