+ rm -f $(OBJS) $(TARGET) $(NAME) $(SONAME)
+
+install:
+ install -d $(DESTDIR)$(libdir)
+ if [ "$(targetos)" = "MinGW" ]; then \
+ install -m 755 $(TARGET) $(DESTDIR)$(prefix) ; \
+ install -m 755 $(TARGET) $(DESTDIR)$(libdir)/libmlt.dll ; \
+ install -m 644 libmlt.def $(DESTDIR)$(libdir) ; \
+ else \
+ install -m 755 $(TARGET) $(DESTDIR)$(libdir) ; \
+ ln -sf $(TARGET) $(DESTDIR)$(libdir)/$(SONAME) ; \
+ ln -sf $(TARGET) $(DESTDIR)$(libdir)/$(NAME) ; \
+ fi
+ install -d "$(DESTDIR)$(prefix)/include/mlt/framework"
+ install -m 644 $(INCS) "$(DESTDIR)$(prefix)/include/mlt/framework"
+ install -d "$(DESTDIR)$(mltdatadir)"
+ install -m 644 metaschema.yaml "$(DESTDIR)$(mltdatadir)"
+
+uninstall:
+ rm -f "$(DESTDIR)$(libdir)/$(TARGET)"
+ if [ "$(targetos)" != "MinGW" ]; then \
+ rm -f "$(DESTDIR)$(libdir)/$(SONAME)" ; \
+ rm -f "$(DESTDIR)$(libdir)/$(NAME)" ; \
+ fi
+ rm -rf "$(DESTDIR)$(prefix)/include/mlt/framework"
+ rm -f "$(DESTDIR)$(mltdatadir)/metaschema.yaml"