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.

82 lines
2.0KB

  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. # needed for some example plugins
  10. export USE_FILE_BROWSER = true
  11. ifneq ($(CROSS_COMPILING),true)
  12. CAN_GENERATE_TTL = true
  13. else ifneq ($(EXE_WRAPPER),)
  14. CAN_GENERATE_TTL = true
  15. endif
  16. dgl:
  17. ifeq ($(HAVE_DGL),true)
  18. $(MAKE) -C dgl
  19. endif
  20. examples: dgl
  21. $(MAKE) all -C examples/CVPort
  22. $(MAKE) all -C examples/FileHandling
  23. $(MAKE) all -C examples/Info
  24. $(MAKE) all -C examples/Latency
  25. $(MAKE) all -C examples/Meters
  26. $(MAKE) all -C examples/Metronome
  27. $(MAKE) all -C examples/MidiThrough
  28. $(MAKE) all -C examples/Parameters
  29. $(MAKE) all -C examples/SendNote
  30. $(MAKE) all -C examples/States
  31. ifeq ($(HAVE_CAIRO),true)
  32. $(MAKE) all -C examples/CairoUI
  33. endif
  34. ifeq ($(HAVE_DGL),true)
  35. $(MAKE) all -C examples/EmbedExternalUI
  36. $(MAKE) all -C examples/WebMeters
  37. endif
  38. ifeq ($(CAN_GENERATE_TTL),true)
  39. gen: examples utils/lv2_ttl_generator
  40. @$(CURDIR)/utils/generate-ttl.sh
  41. utils/lv2_ttl_generator:
  42. $(MAKE) -C utils/lv2-ttl-generator
  43. else
  44. gen:
  45. endif
  46. tests: dgl
  47. $(MAKE) -C tests
  48. # ---------------------------------------------------------------------------------------------------------------------
  49. clean:
  50. $(MAKE) clean -C dgl
  51. $(MAKE) clean -C examples/CVPort
  52. $(MAKE) clean -C examples/CairoUI
  53. $(MAKE) clean -C examples/EmbedExternalUI
  54. $(MAKE) clean -C examples/FileHandling
  55. $(MAKE) clean -C examples/Info
  56. $(MAKE) clean -C examples/Latency
  57. $(MAKE) clean -C examples/Meters
  58. $(MAKE) clean -C examples/Metronome
  59. $(MAKE) clean -C examples/MidiThrough
  60. $(MAKE) clean -C examples/Parameters
  61. $(MAKE) clean -C examples/SendNote
  62. $(MAKE) clean -C examples/States
  63. $(MAKE) clean -C examples/WebMeters
  64. $(MAKE) clean -C utils/lv2-ttl-generator
  65. rm -rf bin build
  66. # ---------------------------------------------------------------------------------------------------------------------
  67. .PHONY: dgl examples tests