mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
Add Makefile entry for the drawtext filter
Originally committed as revision 1576 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
04511d5326
commit
b90a6beb8a
@ -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) $<
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user