-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dependencies.mk
136 lines (120 loc) · 3.16 KB
/
dependencies.mk
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
#
# Copyright (C) 2024 Linux Studio Plugins Project <https://lsp-plug.in/>
# (C) 2024 Vladimir Sadovnikov <[email protected]>
#
# This file is part of lsp-plugins-mixer
#
# lsp-plugins-mixer is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# any later version.
#
# lsp-plugins-mixer is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with lsp-plugins-mixer. If not, see <https://www.gnu.org/licenses/>.
#
#------------------------------------------------------------------------------
# List of all dependencies
DEPENDENCIES = \
LSP_COMMON_LIB \
LSP_DSP_LIB \
LSP_DSP_UNITS \
LSP_LLTL_LIB \
LSP_RUNTIME_LIB \
LSP_PLUGINS_SHARED \
LSP_3RD_PARTY \
LSP_PLUGIN_FW \
LSP_R3D_IFACE \
LSP_WS_LIB \
LSP_TK_LIB \
LSP_R3D_BASE_LIB
TEST_DEPENDENCIES = \
LSP_TEST_FW
DEFAULT_FEATURES = clap doc ladspa lv2 ui vst2 vst3
#------------------------------------------------------------------------------
# Linux dependencies
LINUX_DEPENDENCIES = \
LIBPTHREAD \
LIBDL \
LIBRT \
LIBSNDFILE \
LIBCAIRO \
LIBFREETYPE \
LIBX11 \
LIBXRANDR \
LIBGL \
LIBGSTREAMER_AUDIO \
LIBJACK \
LSP_R3D_GLX_LIB
LINUX_TEST_DEPENDENCIES =
ifeq ($(PLATFORM),Linux)
DEPENDENCIES += $(LINUX_DEPENDENCIES)
TEST_DEPENDENCIES += $(LINUX_TEST_DEPENDENCIES)
DEFAULT_FEATURES += jack gst xdg
endif
#------------------------------------------------------------------------------
# BSD dependencies
BSD_DEPENDENCIES = \
LIBPTHREAD \
LIBDL \
LIBRT \
LIBSNDFILE \
LIBICONV \
LIBCAIRO \
LIBFREETYPE \
LIBX11 \
LIBXRANDR \
LIBGL \
LIBGSTREAMER_AUDIO \
LIBJACK \
LSP_R3D_GLX_LIB
BSD_TEST_DEPENDENCIES =
ifeq ($(PLATFORM),BSD)
DEPENDENCIES += $(BSD_DEPENDENCIES)
TEST_DEPENDENCIES += $(BSD_TEST_DEPENDENCIES)
DEFAULT_FEATURES += jack gst xdg
endif
ifeq ($(PLATFORM),Windows)
DEPENDENCIES += \
LIBSHLWAPI \
LIBWINMM \
LIBMSACM \
LIBD2D1 \
LIBOLE \
LIBWINCODEC
endif
#------------------------------------------------------------------------------
# Windows dependencies
WINDOWS_DEPENDENCIES = \
LIBSHLWAPI \
LIBWINMM \
LIBMSACM \
LIBMPR \
LIBGDI32 \
LIBD2D1 \
LIBOLE \
LIBWINCODEC \
LIBDWRITE \
LIBUUID \
LIBOPENGL32 \
LSP_R3D_WGL_LIB
WINDOWS_TEST_DEPENDENCIES =
ifeq ($(PLATFORM),Windows)
DEPENDENCIES += $(WINDOWS_DEPENDENCIES)
TEST_DEPENDENCIES += $(WINDOWS_TEST_DEPENDENCIES)
endif
#------------------------------------------------------------------------------
# All possible dependencies
ALL_DEPENDENCIES = \
$(DEPENDENCIES) \
$(LINUX_DEPENDENCIES) \
$(BSD_DEPENDENCIES) \
$(WINDOWS_DEPENDENCIES) \
$(TEST_DEPENDENCIES) \
$(LINUX_TEST_DEPENDENCIES) \
$(BSD_TEST_DEPENDENCIES) \
$(WINDOWS_TEST_DEPENDENCIES)