Extra "ports" of juce-based plugins using the distrho build system
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.2KB

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
5 years ago
7 years ago
7 years ago
5 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. # -----------------------------------------
  2. # Compile all the Plugins
  3. PREFIX = /usr
  4. # -----------------------------------------
  5. # all
  6. all:
  7. $(MAKE) -C ports
  8. $(MAKE) gen
  9. # -----------------------------------------
  10. # gen
  11. gen: gen_lv2 gen_vst
  12. gen_lv2:
  13. @./scripts/generate-cabbage-lv2.sh
  14. @./scripts/generate-ttl.sh
  15. gen_vst:
  16. @./scripts/generate-cabbage-vst.sh
  17. # -----------------------------------------
  18. # install
  19. install:
  20. # make dirs
  21. install -d $(DESTDIR)$(PREFIX)/lib/lv2/
  22. install -d $(DESTDIR)$(PREFIX)/lib/vst/
  23. install -d $(DESTDIR)$(PREFIX)/share/
  24. # install plugins
  25. ifneq (,$(wildcard $(CURDIR)/bin/lv2/argotlunar2.lv2))
  26. cp -r bin/lv2/*.lv2/ $(DESTDIR)$(PREFIX)/lib/lv2/
  27. endif
  28. ifneq (,$(wildcard $(CURDIR)/bin/vst/argotlunar2.so))
  29. cp -r bin/vst/* $(DESTDIR)$(PREFIX)/lib/vst/
  30. endif
  31. # install protoplug files
  32. cp -r ports/protoplug/ProtoplugFiles/ $(DESTDIR)$(PREFIX)/share/
  33. # -----------------------------------------
  34. # clean
  35. clean:
  36. $(MAKE) clean -C ports
  37. rm -rf bin/lv2/*.lv2/
  38. rm -rf bin/lv2-extra/
  39. rm -rf bin/vst-extra/
  40. distclean: clean
  41. $(MAKE) distclean -C ports
  42. # -----------------------------------------
  43. # Custom build types
  44. lv2:
  45. $(MAKE) -C ports lv2
  46. $(MAKE) gen_lv2
  47. vst:
  48. $(MAKE) -C ports vst
  49. $(MAKE) gen_vst