Collection of DPF-based plugins for packaging
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.

131 lines
2.7KB

  1. #!/usr/bin/make -f
  2. # Makefile for DISTRHO Plugins #
  3. # ---------------------------- #
  4. # Created by falkTX
  5. #
  6. include dpf/Makefile.base.mk
  7. all: dgl plugins gen
  8. # --------------------------------------------------------------
  9. PREFIX ?= /usr/local
  10. DESTDIR ?=
  11. # --------------------------------------------------------------
  12. dgl:
  13. ifeq ($(HAVE_DGL),true)
  14. $(MAKE) -C dpf/dgl
  15. endif
  16. plugins: dgl
  17. # glBars (needs OpenGL)
  18. ifeq ($(HAVE_DGL),true)
  19. $(MAKE) all -C plugins/glBars
  20. endif
  21. # Kars
  22. $(MAKE) all -C plugins/Kars
  23. # Mini-Series
  24. $(MAKE) all -C plugins/3BandEQ
  25. $(MAKE) all -C plugins/3BandSplitter
  26. $(MAKE) all -C plugins/PingPongPan
  27. # ndc-Plugs
  28. $(MAKE) all -C plugins/AmplitudeImposer
  29. $(MAKE) all -C plugins/CycleShifter
  30. $(MAKE) all -C plugins/SoulForce
  31. # MVerb
  32. $(MAKE) all -C plugins/MVerb
  33. # Nekobi
  34. $(MAKE) all -C plugins/Nekobi
  35. # ProM (needs OpenGL + ProjectM)
  36. ifeq ($(HAVE_DGL),true)
  37. ifeq ($(HAVE_PROJM),true)
  38. $(MAKE) all -C plugins/ProM
  39. endif
  40. endif
  41. # Max-Gen stuff
  42. $(MAKE) all -C plugins/bitcrush
  43. $(MAKE) all -C plugins/freeverb
  44. $(MAKE) all -C plugins/gigaverb
  45. $(MAKE) all -C plugins/pitchshift
  46. ifneq ($(CROSS_COMPILING),true)
  47. gen: plugins dpf/utils/lv2_ttl_generator
  48. @$(CURDIR)/dpf/utils/generate-ttl.sh
  49. ifeq ($(MACOS),true)
  50. @$(CURDIR)/dpf/utils/generate-vst-bundles.sh
  51. endif
  52. dpf/utils/lv2_ttl_generator:
  53. $(MAKE) -C dpf/utils/lv2-ttl-generator
  54. else
  55. gen:
  56. endif
  57. # --------------------------------------------------------------
  58. clean:
  59. $(MAKE) clean -C dpf/dgl
  60. $(MAKE) clean -C dpf/utils/lv2-ttl-generator
  61. # glBars
  62. $(MAKE) clean -C plugins/glBars
  63. # Kars
  64. $(MAKE) clean -C plugins/Kars
  65. # Mini-Series
  66. $(MAKE) clean -C plugins/3BandEQ
  67. $(MAKE) clean -C plugins/3BandSplitter
  68. $(MAKE) clean -C plugins/PingPongPan
  69. # ndc-Plugs
  70. $(MAKE) clean -C plugins/AmplitudeImposer
  71. $(MAKE) clean -C plugins/CycleShifter
  72. $(MAKE) clean -C plugins/SoulForce
  73. # MVerb
  74. $(MAKE) clean -C plugins/MVerb
  75. # Nekobi
  76. $(MAKE) clean -C plugins/Nekobi
  77. # ProM
  78. $(MAKE) clean -C plugins/ProM
  79. # Max-Gen stuff
  80. $(MAKE) clean -C plugins/bitcrush
  81. $(MAKE) clean -C plugins/freeverb
  82. $(MAKE) clean -C plugins/gigaverb
  83. $(MAKE) clean -C plugins/pitchshift
  84. # --------------------------------------------------------------
  85. install:
  86. install -d $(DESTDIR)$(PREFIX)/lib/ladspa/
  87. install -d $(DESTDIR)$(PREFIX)/lib/dssi/
  88. install -d $(DESTDIR)$(PREFIX)/lib/lv2/
  89. install -d $(DESTDIR)$(PREFIX)/lib/vst/
  90. cp bin/*-ladspa.* $(DESTDIR)$(PREFIX)/lib/ladspa/
  91. cp bin/*-dssi.* $(DESTDIR)$(PREFIX)/lib/dssi/
  92. cp bin/*-vst.* $(DESTDIR)$(PREFIX)/lib/vst/
  93. ifeq ($(HAVE_DGL),true)
  94. cp -r bin/*-dssi $(DESTDIR)$(PREFIX)/lib/dssi/
  95. endif
  96. cp -r bin/*.lv2 $(DESTDIR)$(PREFIX)/lib/lv2/
  97. # --------------------------------------------------------------
  98. .PHONY: plugins