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.

69 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_web
  9. # --------------------------------------------------------------
  10. # Files to build
  11. FILES_DSP = \
  12. ExamplePluginWebMeters.cpp
  13. FILES_UI = \
  14. ExampleUIWebMeters.cpp
  15. # --------------------------------------------------------------
  16. # Do some magic
  17. # MACOS_NO_DEAD_STRIP = true
  18. UI_TYPE = webview
  19. include ../../Makefile.plugins.mk
  20. # BUILD_CXX_FLAGS += $(shell pkg-config --cflags gtk+-3.0 webkit2gtk-4.0)
  21. BUILD_CXX_FLAGS += -Wno-unused-parameter -Wno-unused-result
  22. BUILD_CXX_FLAGS += -Wno-deprecated-declarations
  23. # LINK_FLAGS += $(shell pkg-config --libs gtk+-3.0 webkit2gtk-4.0)
  24. # --------------------------------------------------------------
  25. # Enable all possible plugin types
  26. ifeq ($(HAVE_OPENGL),true)
  27. TARGETS += jack
  28. ifneq ($(MACOS_OR_WINDOWS),true)
  29. ifeq ($(HAVE_LIBLO),true)
  30. TARGETS += dssi
  31. endif # HAVE_LIBLO
  32. endif # MACOS_OR_WINDOWS
  33. TARGETS += lv2_sep
  34. TARGETS += vst2
  35. TARGETS += vst3
  36. TARGETS += clap
  37. TARGETS += au
  38. endif # HAVE_OPENGL
  39. ifeq ($(MACOS_APP_BUNDLE),true)
  40. jackfiles += $(TARGET_DIR)/$(NAME).app/Contents/Resources/index.html
  41. else
  42. jackfiles += $(TARGET_DIR)/resources/index.html
  43. endif
  44. vst3files += $(TARGET_DIR)/$(NAME).vst3/Contents/Resources/index.html
  45. all: $(TARGETS) $(jackfiles) $(vst3files)
  46. %/index.html: index.html
  47. -$(SILENT)$(shell mkdir -p "$(shell dirname $(abspath $@))")
  48. install -m 644 $< $(abspath $@)
  49. # --------------------------------------------------------------