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.

62 lines
1.6KB

  1. #!/usr/bin/make -f
  2. # Makefile for DISTRHO Plugins #
  3. # ---------------------------- #
  4. # Created by falkTX
  5. #
  6. # --------------------------------------------------------------
  7. # Project name, used for binaries
  8. NAME = d_webmeters
  9. # --------------------------------------------------------------
  10. # Files to build
  11. FILES_DSP = \
  12. ExamplePluginWebMeters.cpp
  13. FILES_UI = \
  14. ExampleUIWebMeters.cpp
  15. # --------------------------------------------------------------
  16. # Do some magic
  17. CLAP_BUNDLE = true
  18. VST2_BUNDLE = true
  19. UI_TYPE = webview
  20. include ../../Makefile.plugins.mk
  21. # BUILD_CXX_FLAGS += $(shell pkg-config --cflags gtk+-3.0 webkit2gtk-4.0)
  22. # LINK_FLAGS += $(shell pkg-config --libs gtk+-3.0 webkit2gtk-4.0)
  23. BUILD_CXX_FLAGS += -Wno-unused-parameter -Wno-unused-result
  24. BUILD_CXX_FLAGS += -Wno-deprecated-declarations
  25. # --------------------------------------------------------------
  26. # Enable all possible plugin types
  27. TARGETS += jack
  28. TARGETS += lv2_sep
  29. TARGETS += vst2
  30. TARGETS += vst3
  31. TARGETS += clap
  32. TARGETS += au
  33. ifeq ($(MACOS_APP_BUNDLE),true)
  34. jackfiles += $(TARGET_DIR)/$(NAME).app/Contents/Resources/index.html
  35. else
  36. jackfiles += $(TARGET_DIR)/resources/index.html
  37. endif
  38. clapfiles += $(TARGET_DIR)/$(NAME).clap/resources/index.html
  39. vst2files += $(TARGET_DIR)/$(NAME).vst/resources/index.html
  40. vst3files += $(TARGET_DIR)/$(NAME).vst3/Contents/Resources/index.html
  41. all: $(TARGETS) $(jackfiles) $(clapfiles) $(vst2files) $(vst3files)
  42. %/index.html: index.html
  43. -$(SILENT)$(shell mkdir -p "$(shell dirname $(abspath $@))")
  44. install -m 644 $< $(abspath $@)
  45. # --------------------------------------------------------------