mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-09 08:39:41 +00: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
|
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:
|
|||||||
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) $<
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user