Add mvsp mlt module.
[melted] / src / modules / mvsp / Makefile
diff --git a/src/modules/mvsp/Makefile b/src/modules/mvsp/Makefile
new file mode 100644 (file)
index 0000000..3e5cdaf
--- /dev/null
@@ -0,0 +1,34 @@
+include ../../../config.mak
+
+TARGET = ../libmltmvsp$(LIBSUF)
+
+OBJS = factory.o \
+          consumer_mvsp.o
+
+CFLAGS += -I../.. 
+
+LDFLAGS += -L../../mvsp -lmvsp
+LDFLAGS += -L../../framework -lmlt
+
+SRCS := $(OBJS:.o=.c)
+
+all:   $(TARGET)
+
+$(TARGET): $(OBJS)
+               $(CC) $(SHFLAGS) -o $@ $(OBJS) $(LDFLAGS)
+
+depend:        $(SRCS)
+               $(CC) -MM $(CFLAGS) $^ 1>.depend
+
+distclean:     clean
+               rm -f .depend
+
+clean: 
+               rm -f $(OBJS) $(TARGET) 
+
+install: all
+       install -m 755 $(TARGET) "$(DESTDIR)$(libdir)/mlt"
+
+ifneq ($(wildcard .depend),)
+include .depend
+endif