X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmodules%2Fgtk2%2FMakefile;h=b286dbe46b4d2d4a4d147806c97a874c9b2e1d86;hb=c026ef0db41800cb00a0040a97ca7f339cc9a6c4;hp=d8d20aeaedbc5ca628ff51f25835a50ce621ecf0;hpb=9af7b50c31a654ea422e7204e0c9224de6572c87;p=mlt diff --git a/src/modules/gtk2/Makefile b/src/modules/gtk2/Makefile index d8d20aea..b286dbe4 100644 --- a/src/modules/gtk2/Makefile +++ b/src/modules/gtk2/Makefile @@ -34,8 +34,12 @@ endif ifdef USE_PANGO OBJS += producer_pango.o +OBJS += filter_dynamictext.o CFLAGS += `pkg-config pangoft2 --cflags` LDFLAGS += `pkg-config pangoft2 --libs` +ifeq ($(targetos),Darwin) +LDFLAGS += -liconv +endif ifeq ($(targetos),FreeBSD) LDFLAGS += -liconv endif @@ -46,11 +50,6 @@ endif SRCS := $(OBJS:.o=.c) -ifeq ($(targetos), MinGW) -OBJS += ../../win32/win32.o -SRCS += ../../win32/win32.c -endif - all: $(TARGET) $(TARGET): $(OBJS) $(ASM_OBJS) @@ -73,6 +72,8 @@ clean: install: all install -m 755 $(TARGET) "$(DESTDIR)$(libdir)/mlt" + install -d "$(DESTDIR)$(datadir)/mlt/gtk2" + install -m 644 *.yml "$(DESTDIR)$(datadir)/mlt/gtk2" ifneq ($(wildcard .depend),) include .depend