dont put flies in the stdout soup patch by (Agent Smith <asmith at wgz dot com>)
[libav.git] / vhook / Makefile
CommitLineData
26b4bb70
PG
1include ../config.mak
2
abac6175 3CFLAGS=-fPIC $(OPTFLAGS) -g -Wall -I.. -I../libavformat -I../libavcodec -DHAVE_AV_CONFIG_H
26b4bb70 4
47930f09
PG
5ifeq ($(CONFIG_DARWIN),yes)
6LDFLAGS+=-bundle -flat_namespace -undefined suppress
7else
8LDFLAGS+=-shared
9endif
26b4bb70
PG
10HOOKS=null.so fish.so
11
12ifeq ($(HAVE_IMLIB2),yes)
13 HOOKS += imlib2.so
14endif
15
16all: $(HOOKS) hooks.html
17
18install:
19 install -s -m 755 $(HOOKS) $(INSTDIR)
20
21imlib2.so: imlib2.o
47930f09 22 $(CC) -g -o $@ $(LDFLAGS) $< -lImlib2
26b4bb70
PG
23 rm $<
24
25%.so: %.o
47930f09 26 $(CC) -g -o $@ $(LDFLAGS) $<
26b4bb70
PG
27
28%.html: %.texi
29 texi2html -monolithic -number $<
30
31clean:
32 rm -f *.o *.so *~