-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
71 lines (49 loc) · 1.72 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#!/usr/bin/make -f
# Makefile for DISTRHO Plugins #
# ---------------------------- #
# Created by falkTX
#
# --------------------------------------------------------------
# Project name, used for binaries
NAME = consul
# --------------------------------------------------------------
# Project version, used for generating unique symbol names
DPF_WEBUI_PROJECT_VERSION = 1
# --------------------------------------------------------------
# Enable Web UI control from devices in the local network
DPF_WEBUI_NETWORK_UI = true
# --------------------------------------------------------------
# Enable ARM and Intel fat binary for macOS
DPF_WEBUI_MACOS_UNIVERSAL ?= true
# --------------------------------------------------------------
# Support macOS down to High Sierra
DPF_WEBUI_MACOS_OLD = true
# --------------------------------------------------------------
# Enable Web UI by setting web files location
DPF_WEBUI_WEB_UI_PATH = src/ui
# --------------------------------------------------------------
# Files to build
FILES_DSP = \
src/ConsulPlugin.cpp \
src/ring_buffer.cc
FILES_UI = \
src/ConsulUI.cpp \
src/ring_buffer.cc
# --------------------------------------------------------------
# Do some magic
include dpfwebui/Makefile.plugins.mk
# --------------------------------------------------------------
# Enable all possible plugin types
ifeq ($(PLUGIN_FORMAT),)
TARGETS += lv2_sep clap vst3 vst
else
TARGETS += $(PLUGIN_FORMAT)
ifeq ($(PLUGIN_FORMAT),vst3)
BASE_FLAGS += -DDISTRHO_PLUGIN_NUM_INPUTS=2 -DDISTRHO_PLUGIN_NUM_OUTPUTS=2
endif
endif
CXXFLAGS += -std=c++17
BASE_FLAGS += -Isrc
LXHELPER_CPPFLAGS += -Isrc
all: $(TARGETS) $(DPF_WEBUI_TARGET)
# --------------------------------------------------------------