Audio plugin host https://kx.studio/carla
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.

107 lines
3.3KB

  1. #!/usr/bin/make -f
  2. # Makefile for carla-frontend #
  3. # --------------------------- #
  4. # Created by falkTX
  5. #
  6. CWD=..
  7. include $(CWD)/Makefile.mk
  8. # ----------------------------------------------------------------------------------------------------------------------
  9. BINDIR := $(CWD)/../bin
  10. RESDIR := $(CWD)/../resources
  11. ifeq ($(DEBUG),true)
  12. OBJDIR := $(CWD)/../build/frontend/Debug
  13. MODULEDIR := $(CWD)/../build/modules/Debug
  14. else
  15. OBJDIR := $(CWD)/../build/frontend/Release
  16. MODULEDIR := $(CWD)/../build/modules/Release
  17. endif
  18. # ---------------------------------------------------------------------------------------------------------------------
  19. # UI code
  20. UIs = \
  21. ui_carla_about.py \
  22. ui_carla_about_juce.py \
  23. ui_carla_add_jack.py \
  24. ui_carla_database.py \
  25. ui_carla_edit.py \
  26. ui_carla_host.py \
  27. ui_carla_parameter.py \
  28. ui_carla_plugin_calf.py \
  29. ui_carla_plugin_classic.py \
  30. ui_carla_plugin_compact.py \
  31. ui_carla_plugin_default.py \
  32. ui_carla_plugin_presets.py \
  33. ui_carla_refresh.py \
  34. ui_carla_settings.py \
  35. ui_carla_settings_driver.py \
  36. ui_inputdialog_value.py \
  37. ui_midipattern.py
  38. # ---------------------------------------------------------------------------------------------------------------------
  39. # Resources
  40. RES = \
  41. resources_rc.py \
  42. $(BINDIR)/resources/patchcanvas \
  43. $(BINDIR)/resources/widgets \
  44. $(BINDIR)/resources/carla_app.py \
  45. $(BINDIR)/resources/carla_backend.py \
  46. $(BINDIR)/resources/carla_backend_qt.py \
  47. $(BINDIR)/resources/carla_control.py \
  48. $(BINDIR)/resources/carla_database.py \
  49. $(BINDIR)/resources/carla_host.py \
  50. $(BINDIR)/resources/carla_settings.py \
  51. $(BINDIR)/resources/carla_skin.py \
  52. $(BINDIR)/resources/carla_shared.py \
  53. $(BINDIR)/resources/carla_utils.py \
  54. $(BINDIR)/resources/carla_widgets.py \
  55. $(BINDIR)/resources/externalui.py \
  56. $(BINDIR)/resources/resources_rc.py \
  57. $(BINDIR)/resources/ui_carla_about.py \
  58. $(BINDIR)/resources/ui_carla_about_juce.py \
  59. $(BINDIR)/resources/ui_carla_add_jack.py \
  60. $(BINDIR)/resources/ui_carla_database.py \
  61. $(BINDIR)/resources/ui_carla_edit.py \
  62. $(BINDIR)/resources/ui_carla_host.py \
  63. $(BINDIR)/resources/ui_carla_parameter.py \
  64. $(BINDIR)/resources/ui_carla_plugin_calf.py \
  65. $(BINDIR)/resources/ui_carla_plugin_classic.py \
  66. $(BINDIR)/resources/ui_carla_plugin_compact.py \
  67. $(BINDIR)/resources/ui_carla_plugin_default.py \
  68. $(BINDIR)/resources/ui_carla_plugin_presets.py \
  69. $(BINDIR)/resources/ui_carla_refresh.py \
  70. $(BINDIR)/resources/ui_carla_settings.py \
  71. $(BINDIR)/resources/ui_carla_settings_driver.py \
  72. $(BINDIR)/resources/ui_inputdialog_value.py \
  73. $(BINDIR)/resources/ui_midipattern.py
  74. # ----------------------------------------------------------------------------------------------------------------------
  75. all: $(UIs) $(RES)
  76. # ----------------------------------------------------------------------------------------------------------------------
  77. ui_%.py: $(RESDIR)/ui/%.ui
  78. $(PYUIC) $< -o $@
  79. resources_rc.py: $(RESDIR)/resources.qrc $(RESDIR)/*/*.png $(RESDIR)/*/*.svg
  80. $(PYRCC) $< -o $@
  81. $(BINDIR)/resources/%: %
  82. $(LINK) $(CURDIR)/$* $(BINDIR)/resources/
  83. # ----------------------------------------------------------------------------------------------------------------------
  84. clean:
  85. rm -rf $(UIs) $(RES) __pycache__ *.pyc
  86. debug:
  87. $(MAKE) DEBUG=true
  88. # ----------------------------------------------------------------------------------------------------------------------