1 include ../../../config.mak
4 TARGET=../libmltkino.so
6 OBJS=factory.o producer_kino.o
7 CPPOBJS=kino_wrapper.o avi.o error.o filehandler.o riff.o
9 LDFLAGS+=-L../../framework -lmlt -lstdc++
10 CXXFLAGS+=$(CFLAGS) -Wno-deprecated
12 ifdef HAVE_LIBQUICKTIME
13 CFLAGS+=`lqt-config --cflags`
14 CXXFLAGS+=`lqt-config --cflags`
15 LDFLAGS+=`lqt-config --libs`
19 CFLAGS += `pkg-config --cflags libdv`
20 LDFLAGS += `pkg-config --libs libdv`
24 SRCS := $(OBJS:.o=.c) $(CPPOBJS:.o=.cc)
28 $(TARGET): $(OBJS) $(CPPOBJS)
29 $(CC) -shared -o $@ $(OBJS) $(CPPOBJS) $(LDFLAGS)
32 $(CC) -MM $(CFLAGS) $^ 1>.depend
35 rm -f .depend config.h config.mak
38 rm -f $(OBJS) $(TARGET) $(CPPOBJS)
41 install -m 755 $(TARGET) "$(prefix)/share/mlt/modules"
43 ifneq ($(wildcard .depend),)