This repository was archived by the owner on May 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
145 lines (121 loc) · 4.08 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
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
136
137
138
139
140
141
142
143
144
PWD=$(shell pwd)
TARGET_MAKEFILE=Makefile
all: build
init:
git submodule update --init --recursive aap-juce
git submodule update --init --recursive android-audio-plugin-framework
git submodule update --init --recursive JUCE
cd apps/aap-juce-adlplug && git submodule update --init --recursive external/ADLplug
cd apps/aap-juce-dexed && git submodule update --init --recursive external/dexed
cd apps/aap-juce-obxd && git submodule update --init --recursive external/OB-Xd
cd apps/aap-juce-ports && git submodule update --init --recursive external/andes
cd apps/aap-juce-ports && git submodule update --init --recursive external/SARAH
cd apps/aap-juce-ports && git submodule update --init --recursive external/Magical8bitPlug2
cd apps/aap-juce-frequalizer && git submodule update --init --recursive external/Frequalizer
cd apps/aap-juce-odin2 && git submodule update --init --recursive external/odin2
cd apps/aap-juce-witte-eq && git submodule update --init --recursive external/Eq
cd apps/aap-juce-chow-phaser && git submodule update --init --recursive external/ChowPhaser
cd apps/aap-juce-hera && git submodule update --init --recursive external/Hera
dist:
mkdir -p release-builds
make TARGET=aap-juce-plugin-host distone
make TARGET=aap-juce-ports distone
make TARGET=aap-juce-adlplug distone
make TARGET=aap-juce-dexed distone
make TARGET=aap-juce-obxd distone
make TARGET=aap-juce-frequalizer distone
make TARGET=aap-juce-odin2 distone
make TARGET=aap-juce-witte-eq distone
make TARGET=aap-juce-chow-phaser distone
make TARGET=aap-juce-hera distone
distone:
make -C apps/$(TARGET) AAP_JUCE_DIR=$(PWD)/aap-juce DIST_DIR=$(PWD)/release-builds dist
build: build-apps
build-aap:
make -C $(PWD)/android-audio-plugin-framework
build-apps: \
build-pluginhost \
build-other-ports \
build-adlplug \
build-dexed \
build-obxd \
build-frequalizer \
build-odin2 \
build-witte-eq \
build-chow-phaser \
build-hera
build-other-ports: build-andes build-sarah build-magical8bitplug2
# arguments:
# - APP_TARGET
# - APP_SRC_DIR
# - TARGET_MAKEFILE
build-single-app:
cd $(APP_TARGET) && make \
APP_SRC_DIR=$(APP_SRC_DIR) \
AAP_JUCE_DIR=$(PWD)/aap-juce \
JUCE_DIR=$(PWD)/JUCE \
AAP_DIR=$(PWD)/android-audio-plugin-framework \
-f $(TARGET_MAKEFILE)
build-pluginhost:
make \
APP_TARGET=$(PWD)/apps/aap-juce-plugin-host \
APP_SRC_DIR=$(PWD)/JUCE/extras/AudioPluginHost \
build-single-app
build-adlplug:
make \
APP_TARGET=$(PWD)/apps/aap-juce-adlplug \
APP_SRC_DIR=$(PWD)/apps/aap-juce-adlplug/external/ADLplug \
build-single-app
build-dexed:
make \
APP_TARGET=$(PWD)/apps/aap-juce-dexed \
APP_SRC_DIR=$(PWD)/apps/aap-juce-dexed/external/dexed \
build-single-app
build-obxd:
make \
APP_TARGET=$(PWD)/apps/aap-juce-obxd \
APP_SRC_DIR=$(PWD)/apps/aap-juce-obxd/external/OB-Xd \
build-single-app
build-frequalizer:
make \
APP_TARGET=$(PWD)/apps/aap-juce-frequalizer \
APP_SRC_DIR=$(PWD)/apps/aap-juce-frequalizer/external/Frequalizer \
build-single-app
build-odin2:
make \
APP_TARGET=$(PWD)/apps/aap-juce-odin2 \
APP_SRC_DIR=$(PWD)/apps/aap-juce-odin2/external/odin2 \
build-single-app
build-andes:
make \
APP_TARGET=$(PWD)/apps/aap-juce-ports \
APP_SRC_DIR=$(PWD)/apps/aap-juce-ports/external/andes \
TARGET_MAKEFILE=Makefile.andes \
build-single-app
build-sarah:
make \
APP_TARGET=$(PWD)/apps/aap-juce-ports \
APP_SRC_DIR=$(PWD)/apps/aap-juce-ports/external/SARAH \
TARGET_MAKEFILE=Makefile.sarah \
build-single-app
build-magical8bitplug2:
make \
APP_TARGET=$(PWD)/apps/aap-juce-ports \
APP_SRC_DIR=$(PWD)/apps/aap-juce-ports/external/Magical8bitPlug2 \
TARGET_MAKEFILE=Makefile.magical8bitplug2 \
build-single-app
build-witte-eq:
make \
APP_TARGET=$(PWD)/apps/aap-juce-witte-eq \
APP_SRC_DIR=$(PWD)/apps/aap-juce-witte-eq/external/Eq \
build-single-app
build-chow-phaser:
make \
APP_TARGET=$(PWD)/apps/aap-juce-chow-phaser \
APP_SRC_DIR=$(PWD)/apps/aap-juce-chow-phaser/external/ChowPhaser \
build-single-app
build-hera:
make \
APP_TARGET=$(PWD)/apps/aap-juce-hera \
APP_SRC_DIR=$(PWD)/apps/aap-juce-hera/external/Hera \
build-single-app