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.

Makefile 3.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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_add_jack.py \
  23. ui_carla_database.py \
  24. ui_carla_edit.py \
  25. ui_carla_host.py \
  26. ui_carla_parameter.py \
  27. ui_carla_plugin_calf.py \
  28. ui_carla_plugin_classic.py \
  29. ui_carla_plugin_compact.py \
  30. ui_carla_plugin_default.py \
  31. ui_carla_plugin_presets.py \
  32. ui_carla_refresh.py \
  33. ui_carla_settings.py \
  34. ui_carla_settings_driver.py \
  35. ui_inputdialog_value.py \
  36. ui_midipattern.py
  37. # ---------------------------------------------------------------------------------------------------------------------
  38. # Resources
  39. RES = \
  40. resources_rc.py \
  41. $(BINDIR)/resources/patchcanvas \
  42. $(BINDIR)/resources/widgets \
  43. $(BINDIR)/resources/carla_app.py \
  44. $(BINDIR)/resources/carla_backend.py \
  45. $(BINDIR)/resources/carla_backend_qt.py \
  46. $(BINDIR)/resources/carla_control.py \
  47. $(BINDIR)/resources/carla_database.py \
  48. $(BINDIR)/resources/carla_host.py \
  49. $(BINDIR)/resources/carla_settings.py \
  50. $(BINDIR)/resources/carla_skin.py \
  51. $(BINDIR)/resources/carla_shared.py \
  52. $(BINDIR)/resources/carla_utils.py \
  53. $(BINDIR)/resources/carla_widgets.py \
  54. $(BINDIR)/resources/externalui.py \
  55. $(BINDIR)/resources/resources_rc.py \
  56. $(BINDIR)/resources/ui_carla_about.py \
  57. $(BINDIR)/resources/ui_carla_add_jack.py \
  58. $(BINDIR)/resources/ui_carla_database.py \
  59. $(BINDIR)/resources/ui_carla_edit.py \
  60. $(BINDIR)/resources/ui_carla_host.py \
  61. $(BINDIR)/resources/ui_carla_parameter.py \
  62. $(BINDIR)/resources/ui_carla_plugin_calf.py \
  63. $(BINDIR)/resources/ui_carla_plugin_classic.py \
  64. $(BINDIR)/resources/ui_carla_plugin_compact.py \
  65. $(BINDIR)/resources/ui_carla_plugin_default.py \
  66. $(BINDIR)/resources/ui_carla_plugin_presets.py \
  67. $(BINDIR)/resources/ui_carla_refresh.py \
  68. $(BINDIR)/resources/ui_carla_settings.py \
  69. $(BINDIR)/resources/ui_carla_settings_driver.py \
  70. $(BINDIR)/resources/ui_inputdialog_value.py \
  71. $(BINDIR)/resources/ui_midipattern.py
  72. # ----------------------------------------------------------------------------------------------------------------------
  73. all: $(UIs) $(RES)
  74. # ----------------------------------------------------------------------------------------------------------------------
  75. ui_%.py: $(RESDIR)/ui/%.ui
  76. $(PYUIC) $< -o $@
  77. resources_rc.py: $(RESDIR)/resources.qrc $(RESDIR)/*/*.png $(RESDIR)/*/*.svg
  78. $(PYRCC) $< -o $@
  79. $(BINDIR)/resources/%: %
  80. $(LINK) $(CURDIR)/$* $(BINDIR)/resources/
  81. # ----------------------------------------------------------------------------------------------------------------------
  82. clean:
  83. rm -rf $(UIs) $(RES) __pycache__ *.pyc
  84. debug:
  85. $(MAKE) DEBUG=true
  86. # ----------------------------------------------------------------------------------------------------------------------