DISTRHO Plugin Framework
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.

71 lines
1.7KB

  1. #!/usr/bin/make -f
  2. # Makefile for DPF #
  3. # ---------------- #
  4. # Created by falkTX
  5. #
  6. include Makefile.base.mk
  7. all: dgl examples gen
  8. # --------------------------------------------------------------
  9. dgl:
  10. $(MAKE) -C dgl
  11. examples: dgl
  12. $(MAKE) all -C examples/Info
  13. $(MAKE) all -C examples/Latency
  14. $(MAKE) all -C examples/Meters
  15. $(MAKE) all -C examples/MidiThrough
  16. $(MAKE) all -C examples/Parameters
  17. $(MAKE) all -C examples/States
  18. ifeq ($(HAVE_CAIRO),true)
  19. $(MAKE) all -C examples/CairoUI
  20. endif
  21. ifneq ($(MACOS_OR_WINDOWS),true)
  22. # ExternalUI is WIP
  23. $(MAKE) all -C examples/ExternalUI
  24. install -d bin/d_extui-dssi
  25. install -d bin/d_extui.lv2
  26. install -m 755 examples/ExternalUI/ExternalLauncher.sh bin/d_extui.sh
  27. install -m 755 examples/ExternalUI/ExternalLauncher.sh bin/d_extui-dssi/d_extui.sh
  28. install -m 755 examples/ExternalUI/ExternalLauncher.sh bin/d_extui.lv2/d_extui.sh
  29. endif
  30. ifneq ($(CROSS_COMPILING),true)
  31. gen: examples utils/lv2_ttl_generator
  32. @$(CURDIR)/utils/generate-ttl.sh
  33. ifeq ($(MACOS),true)
  34. @$(CURDIR)/utils/generate-vst-bundles.sh
  35. endif
  36. utils/lv2_ttl_generator:
  37. $(MAKE) -C utils/lv2-ttl-generator
  38. else
  39. gen:
  40. endif
  41. # --------------------------------------------------------------
  42. clean:
  43. $(MAKE) clean -C dgl
  44. $(MAKE) clean -C examples/CairoUI
  45. $(MAKE) clean -C examples/Info
  46. $(MAKE) clean -C examples/Latency
  47. $(MAKE) clean -C examples/Meters
  48. $(MAKE) clean -C examples/MidiThrough
  49. $(MAKE) clean -C examples/Parameters
  50. $(MAKE) clean -C examples/States
  51. $(MAKE) clean -C utils/lv2-ttl-generator
  52. ifneq ($(MACOS_OR_WINDOWS),true)
  53. $(MAKE) clean -C examples/ExternalUI
  54. endif
  55. rm -rf bin build
  56. # --------------------------------------------------------------
  57. .PHONY: dgl examples