X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fkino%2FMakefile;h=46326c759a15821ec36a1b7d9097eecad6ff0254;hb=f4d4669b66a9f23be85527f65dec19a566db561c;hp=b595b914bb9f9de0c1f059fed8ced08900619848;hpb=815c458e95c73c39433fa7913afb4a830d7fd376;p=melted diff --git a/src/modules/kino/Makefile b/src/modules/kino/Makefile index b595b91..46326c7 100644 --- a/src/modules/kino/Makefile +++ b/src/modules/kino/Makefile @@ -6,14 +6,21 @@ TARGET=../libmltkino.so OBJS=factory.o producer_kino.o CPPOBJS=kino_wrapper.o avi.o error.o filehandler.o riff.o CFLAGS+=-I../../ -LDFLAGS+=-lmlt -lstdc++ +LDFLAGS+=-L../../framework -lmlt -lstdc++ CXXFLAGS+=$(CFLAGS) -Wno-deprecated ifdef HAVE_LIBQUICKTIME -CXXFLAGS+=`lqt-config --cflags` -LDFLAGS+=`lqt-config --libs` +CFLAGS+=`pkg-config --cflags libquicktime` +CXXFLAGS+=`pkg-config --cflags libquicktime` +LDFLAGS+=`pkg-config --libs libquicktime` endif +ifdef HAVE_LIBDV +CFLAGS += `pkg-config --cflags libdv` +LDFLAGS += `pkg-config --libs libdv` +endif + + SRCS := $(OBJS:.o=.c) $(CPPOBJS:.o=.cc) all: $(TARGET) @@ -24,14 +31,14 @@ $(TARGET): $(OBJS) $(CPPOBJS) depend: $(SRCS) $(CC) -MM $(CFLAGS) $^ 1>.depend -dist-clean: clean +distclean: clean rm -f .depend config.h config.mak clean: rm -f $(OBJS) $(TARGET) $(CPPOBJS) install: all - install -m 755 $(TARGET) "$(prefix)/share/mlt/modules" + install -m 755 $(TARGET) "$(DESTDIR)$(libdir)/mlt" ifneq ($(wildcard .depend),) include .depend