3 LDFLAGS += -L../../framework -lmlt -lpthread -lm
5 include ../../../config.mak
8 TARGET = ../libmltgtk2$(LIBSUF)
13 OBJS += consumer_gtk2.o
14 CFLAGS += $(shell pkg-config $(PKGCONFIG_PREFIX) --cflags gtk+-2.0)
15 LDFLAGS += $(shell pkg-config $(PKGCONFIG_PREFIX) --libs gtk+-2.0)
19 OBJS += producer_pixbuf.o pixops.o filter_rescale.o
20 CFLAGS += $(shell pkg-config $(PKGCONFIG_PREFIX) --cflags gdk-pixbuf-2.0)
21 LDFLAGS += $(shell pkg-config $(PKGCONFIG_PREFIX) --libs gdk-pixbuf-2.0)
25 CFLAGS += $(EXIFCXXFLAGS)
26 LDFLAGS += $(EXIFLIBS)
31 ASM_OBJS = have_mmx.o scale_line_22_yuv_mmx.o
36 OBJS += producer_pango.o
37 CFLAGS += $(shell pkg-config $(PKGCONFIG_PREFIX) --cflags pangoft2)
38 CFLAGS += $(shell pkg-config --cflags-only-I freetype2 | sed 's/ *$$//g')/freetype
39 LDFLAGS += $(shell pkg-config $(PKGCONFIG_PREFIX) --libs pangoft2)
40 ifeq ($(targetos),Darwin)
43 ifeq ($(targetos),FreeBSD)
46 ifeq ($(targetos), MinGW)
55 $(TARGET): $(OBJS) $(ASM_OBJS)
56 $(CC) $(SHFLAGS) -o $@ $(OBJS) $(ASM_OBJS) $(LDFLAGS)
59 $(CC) -o $@ -c have_mmx.S
61 scale_line_22_yuv_mmx.o: scale_line_22_yuv_mmx.S
62 $(CC) -o $@ -c scale_line_22_yuv_mmx.S
65 $(CC) -MM $(CFLAGS) $^ 1>.depend
71 rm -f $(OBJS) $(ASM_OBJS) $(TARGET)
74 install -m 755 $(TARGET) "$(DESTDIR)$(moduledir)"
75 install -d "$(DESTDIR)$(mltdatadir)/gtk2"
76 install -m 644 *.yml "$(DESTDIR)$(mltdatadir)/gtk2"
78 ifneq ($(wildcard .depend),)