summaryrefslogtreecommitdiffstats
path: root/vhook
diff options
context:
space:
mode:
authorPhilip Gladstone <philipjsg@users.sourceforge.net>2003-02-11 04:01:07 +0000
committerPhilip Gladstone <philipjsg@users.sourceforge.net>2003-02-11 04:01:07 +0000
commitb90a6beb8a904999711568b42880c1d467c067b8 (patch)
treed00f55575c9a9257304769750b5e31916f83a614 /vhook
parent04511d5326a8bab67537f09185691b58d01e656f (diff)
downloadffmpeg-streaming-b90a6beb8a904999711568b42880c1d467c067b8.zip
ffmpeg-streaming-b90a6beb8a904999711568b42880c1d467c067b8.tar.gz
Add Makefile entry for the drawtext filter
Originally committed as revision 1576 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'vhook')
-rw-r--r--vhook/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/vhook/Makefile b/vhook/Makefile
index cf8bdc8..2e40945 100644
--- 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) $<
OpenPOWER on IntegriCloud