Commit dbde8453 authored by philipjsg's avatar philipjsg

Add Makefile entry for the drawtext filter


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1576 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ff69c661
...@@ -13,6 +13,11 @@ ifeq ($(HAVE_IMLIB2),yes) ...@@ -13,6 +13,11 @@ ifeq ($(HAVE_IMLIB2),yes)
HOOKS += imlib2.so HOOKS += imlib2.so
endif endif
ifeq ($(HAVE_FREETYPE2),yes)
HOOKS += drawtext.so
CFLAGS += `freetype-config --cflags`
endif
all: $(HOOKS) all: $(HOOKS)
SRCS := $(HOOKS:.so=.c) SRCS := $(HOOKS:.so=.c)
...@@ -26,6 +31,9 @@ install: ...@@ -26,6 +31,9 @@ install:
imlib2.so: imlib2.o imlib2.so: imlib2.o
$(CC) -g -o $@ $(SHFLAGS) $< -lImlib2 $(CC) -g -o $@ $(SHFLAGS) $< -lImlib2
drawtext.so: drawtext.o
$(CC) -g -o $@ $(SHFLAGS) $< `freetype-config --libs`
%.so: %.o %.so: %.o
$(CC) -g -o $@ $(SHFLAGS) $< $(CC) -g -o $@ $(SHFLAGS) $<
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment