MLT library
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile 1.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. SUBDIRS = src/framework \
  2. src/inigo \
  3. src/valerie \
  4. src/miracle \
  5. src/humperdink \
  6. src/albino \
  7. src/modules \
  8. profiles
  9. all clean:
  10. list='$(SUBDIRS)'; \
  11. for subdir in $$list; do \
  12. $(MAKE) -s -C $$subdir depend || exit 1; \
  13. $(MAKE) -C $$subdir $@ || exit 1; \
  14. done
  15. distclean:
  16. rm mlt-config packages.dat; \
  17. list='$(SUBDIRS)'; \
  18. for subdir in $$list; do \
  19. $(MAKE) -C $$subdir $@ || exit 1; \
  20. done; \
  21. rm config.mak;
  22. dist-clean: distclean
  23. include config.mak
  24. install:
  25. install -d "$(DESTDIR)$(prefix)/bin"
  26. install -d "$(DESTDIR)$(prefix)/include"
  27. install -d "$(DESTDIR)$(libdir)"
  28. install -d "$(DESTDIR)$(libdir)/pkgconfig"
  29. install -d "$(DESTDIR)$(prefix)/lib/mlt/modules"
  30. install -d "$(DESTDIR)$(prefix)/share/mlt/modules"
  31. install -c -m 755 mlt-config "$(DESTDIR)$(bindir)"
  32. install -c -m 644 *.pc "$(DESTDIR)$(libdir)/pkgconfig"
  33. install -m 644 packages.dat "$(DESTDIR)$(prefix)/share/mlt/"
  34. list='$(SUBDIRS)'; \
  35. for subdir in $$list; do \
  36. $(MAKE) DESTDIR=$(DESTDIR) -C $$subdir $@ || exit 1; \
  37. done; \
  38. # if test -z "$(DESTDIR)"; then \
  39. # /sbin/ldconfig || true; \
  40. # fi
  41. uninstall:
  42. rm -f "$(DESTDIR)$(bindir)"/mlt-config
  43. rm -f "$(DESTDIR)$(libdir)/pkgconfig/mlt-*.pc"
  44. list='$(SUBDIRS)'; \
  45. for subdir in $$list; do \
  46. $(MAKE) DESTDIR=$(DESTDIR) -C $$subdir $@ || exit 1; \
  47. done
  48. rm -rf "$(DESTDIR)$(prefix)/include/mlt"
  49. rm -rf "$(DESTDIR)$(prefix)/share/mlt"
  50. dist:
  51. [ -d "mlt-$(version)" ] && rm -rf "mlt-$(version)" || echo
  52. svn export . "mlt-$(version)"
  53. svn log > "mlt-$(version)/ChangeLog"
  54. tar -cvzf "mlt-$(version).tar.gz" "mlt-$(version)"