From b90a6beb8a904999711568b42880c1d467c067b8 Mon Sep 17 00:00:00 2001 From: Philip Gladstone Date: Tue, 11 Feb 2003 04:01:07 +0000 Subject: [PATCH] Add Makefile entry for the drawtext filter Originally committed as revision 1576 to svn://svn.ffmpeg.org/ffmpeg/trunk --- vhook/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/vhook/Makefile b/vhook/Makefile index cf8bdc8460..2e40945087 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) $<