libquicktime prefers pkg-config now and latest lqt-config is broken with respect...
[melted] / src / modules / kino / Makefile
index dd51d4b..4905fd7 100644 (file)
@@ -10,10 +10,17 @@ 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)$(prefix)/share/mlt/modules"
 
 ifneq ($(wildcard .depend),)
 include .depend