summaryrefslogtreecommitdiff
path: root/vhook/Makefile
diff options
context:
space:
mode:
authorPhilip Gladstone <philipjsg@users.sourceforge.net>2002-11-21 03:50:36 +0000
committerPhilip Gladstone <philipjsg@users.sourceforge.net>2002-11-21 03:50:36 +0000
commit26b4bb70c20be6aa45211d8bde521662e232582e (patch)
treea8b58af860d52eb13f3881ca6367d64aace57875 /vhook/Makefile
parent65e70450de4bb3dc19474cf08573fe178bd56719 (diff)
Added three sample video hooks. See the (rudimentary) documentation on what
they do and their capabilities. Originally committed as revision 1265 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'vhook/Makefile')
-rw-r--r--vhook/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/vhook/Makefile b/vhook/Makefile
new file mode 100644
index 0000000000..5f198058f0
--- /dev/null
+++ b/vhook/Makefile
@@ -0,0 +1,27 @@
+include ../config.mak
+
+CFLAGS=-fPIC $(OPTFLAGS) -g -Wall -I.. -I../libav -I../libavcodec -DHAVE_AV_CONFIG_H
+
+HOOKS=null.so fish.so
+
+ifeq ($(HAVE_IMLIB2),yes)
+ HOOKS += imlib2.so
+endif
+
+all: $(HOOKS) hooks.html
+
+install:
+ install -s -m 755 $(HOOKS) $(INSTDIR)
+
+imlib2.so: imlib2.o
+ $(CC) -g -o $@ -shared $< -lImlib2
+ rm $<
+
+%.so: %.o
+ $(CC) -g -o $@ -shared $<
+
+%.html: %.texi
+ texi2html -monolithic -number $<
+
+clean:
+ rm -f *.o *.so *~