Commit b90a6beb authored by Philip Gladstone's avatar Philip Gladstone

Add Makefile entry for the drawtext filter

Originally committed as revision 1576 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 04511d53
...@@ -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