Debian Codegraph @

plugins/dragonfly-hall-reverb/Makefile

raw
1 #!/usr/bin/make -f
2 # Makefile for DISTRHO Plugins #
3 # ---------------------------- #
4 # Created by falkTX
5 #
6
7 # --------------------------------------------------------------
8 # Project name, used for binaries
9
10 NAME = DragonflyHallReverb
11
12 # --------------------------------------------------------------
13 # Files to build
14
15 FILES_COMMON = DSP.cpp \
16 ../../common/kiss_fft/kiss_fft.c \
17 ../../common/kiss_fft/kiss_fftr.c
18
19 ifneq ($(SYSTEM_FREEVERB3),true)
20 FILES_COMMON += \
21 ../../common/freeverb/allpass.cpp \
22 ../../common/freeverb/biquad.cpp \
23 ../../common/freeverb/comb.cpp \
24 ../../common/freeverb/delay.cpp \
25 ../../common/freeverb/delayline.cpp \
26 ../../common/freeverb/earlyref.cpp \
27 ../../common/freeverb/efilter.cpp \
28 ../../common/freeverb/nrev.cpp \
29 ../../common/freeverb/nrevb.cpp \
30 ../../common/freeverb/progenitor.cpp \
31 ../../common/freeverb/progenitor2.cpp \
32 ../../common/freeverb/revbase.cpp \
33 ../../common/freeverb/slot.cpp \
34 ../../common/freeverb/strev.cpp \
35 ../../common/freeverb/utils.cpp \
36 ../../common/freeverb/zrev.cpp \
37 ../../common/freeverb/zrev2.cpp
38 endif
39
40 FILES_DSP = $(FILES_COMMON) \
41 Plugin.cpp
42
43 FILES_UI = $(FILES_COMMON) \
44 Artwork.cpp \
45 UI.cpp \
46 AbstractUI.cpp \
47 ../../common/LabelledKnob.cpp \
48 ../../common/Selection.cpp \
49 ../../common/Spectrogram.cpp \
50 ../../common/Bitstream_Vera_Sans_Regular.cpp
51
52 # --------------------------------------------------------------
53 # Do some magic
54
55 FILE_BROWSER_DISABLED = true
56 SKIP_RTAUDIO_FALLBACK = true
57 include ../../dpf/Makefile.plugins.mk
58
59 # --------------------------------------------------------------
60 # Build dependencies
61
62 BUILD_CXX_FLAGS += -I../../common -DLIBFV3_FLOAT
63 ifeq ($(SYSTEM_FREEVERB3),true)
64 BUILD_CXX_FLAGS += -DLIBSRATE1
65 BUILD_CXX_FLAGS += $(shell $(PKG_CONFIG) --cflags freeverb3-3)
66 endif
67
68 # TODO handle throw deprecation for freeverb
69 BUILD_CXX_FLAGS += -Wno-deprecated
70
71 # --------------------------------------------------------------
72 # Link dependencies
73
74 ifeq ($(SYSTEM_FREEVERB3),true)
75 LINK_OPTS += $(shell $(PKG_CONFIG) --libs freeverb3-3) -lsamplerate
76 endif
77
78 LINK_OPTS += -lm
79
80 # --------------------------------------------------------------
81 # Enable all possible plugin types
82
83 TARGETS = jack lv2_sep vst2 vst3 clap
84
85 all: $(TARGETS)
86
87 # --------------------------------------------------------------