+CFLAGS += -I../..
+
+LDFLAGS += -L../../framework -lmlt
+
include ../../../config.mak
TARGET = ../libmltvmfx$(LIBSUF)
OBJS = factory.o \
filter_chroma.o \
filter_chroma_hold.o \
+ filter_mono.o \
filter_shape.o \
producer_pgm.o
-CFLAGS += -I../..
-
-LDFLAGS+=-L../../framework -lmlt
-
SRCS := $(OBJS:.o=.c)
all: $(TARGET)
depend: $(SRCS)
$(CC) -MM $(CFLAGS) $^ 1>.depend
-dist-clean: clean
+distclean: clean
rm -f .depend
clean:
rm -f $(OBJS) $(TARGET)
install: all
- install -m 755 $(TARGET) "$(prefix)/share/mlt/modules"
+ install -m 755 $(TARGET) "$(DESTDIR)$(moduledir)"
+ install -d "$(DESTDIR)$(mltdatadir)/vmfx"
+ install -m 644 *.yml "$(DESTDIR)$(mltdatadir)/vmfx"
ifneq ($(wildcard .depend),)
include .depend