git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04511d5
)
Add Makefile entry for the drawtext filter
author
Philip Gladstone
<philipjsg@users.sourceforge.net>
Tue, 11 Feb 2003 04:01:07 +0000
(
04:01
+0000)
committer
Philip Gladstone
<philipjsg@users.sourceforge.net>
Tue, 11 Feb 2003 04:01:07 +0000
(
04:01
+0000)
Originally committed as revision 1576 to svn://svn.ffmpeg.org/ffmpeg/trunk
vhook/Makefile
patch
|
blob
|
history
diff --git
a/vhook/Makefile
b/vhook/Makefile
index
cf8bdc8
..
2e40945
100644
(file)
--- a/
vhook/Makefile
+++ b/
vhook/Makefile
@@
-13,6
+13,11
@@
ifeq ($(HAVE_IMLIB2),yes)
HOOKS += imlib2.so
endif
+ifeq ($(HAVE_FREETYPE2),yes)
+ HOOKS += drawtext.so
+ CFLAGS += `freetype-config --cflags`
+endif
+
all: $(HOOKS)
SRCS := $(HOOKS:.so=.c)
@@
-26,6
+31,9
@@
install:
imlib2.so: imlib2.o
$(CC) -g -o $@ $(SHFLAGS) $< -lImlib2
+drawtext.so: drawtext.o
+ $(CC) -g -o $@ $(SHFLAGS) $< `freetype-config --libs`
+
%.so: %.o
$(CC) -g -o $@ $(SHFLAGS) $<