forked from cuinjune/Ofelia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
addon_config.mk
executable file
·194 lines (181 loc) · 8.36 KB
/
addon_config.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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
# All variables and this file are optional, if they are not present the PG and the
# makefiles will try to parse the correct values from the file system.
#
# Variables that specify exclusions can use % as a wildcard to specify that anything in
# that position will match. A partial path can also be specified to, for example, exclude
# a whole folder from the parsed paths from the file system
#
# Variables can be specified using = or +=
# = will clear the contents of that variable both specified from the file or the ones parsed
# from the file system
# += will add the values to the previous ones in the file or the ones parsed from the file
# system
#
# The PG can be used to detect errors in this file, just create a new project with this addon
# and the PG will write to the console the kind of error and in which line it is
meta:
ADDON_NAME = ofxOfelia
ADDON_DESCRIPTION = Addon for running the ofelia patch in an OF app
ADDON_AUTHOR = Zack Lee
ADDON_TAGS = "ofelia" "pd" "lua"
ADDON_URL = http://github.com/cuinjune/ofxOfelia
common:
ADDON_CFLAGS = -DHAVE_UNISTD_H
ADDON_CFLAGS += -DUSEAPI_DUMMY
ADDON_CFLAGS += -DPD
ADDON_CFLAGS += -DLIBPD_EXTRA
ADDON_CFLAGS += -DLIBPD_USE_STD_MUTEX
ADDON_CPPFLAGS += -DTARGET_STANDALONE
ADDON_SOURCES_EXCLUDE += libs/ofxLua/swig/%
ADDON_INCLUDES_EXCLUDE += libs/ofxLua/swig/%
linux64:
ADDON_PKG_CONFIG_LIBRARIES = alsa
ADDON_PKG_CONFIG_LIBRARIES += jack
ADDON_SOURCES_EXCLUDE += libs/ofxLua/src/bindings/ios/%
ADDON_SOURCES_EXCLUDE += libs/ofxLua/src/bindings/linuxarm/%
ADDON_SOURCES_EXCLUDE += libs/ofxMidi/libs/pgmidi/%
ADDON_SOURCES_EXCLUDE += libs/ofxMidi/src/ios/%
ADDON_SOURCES_EXCLUDE += libs/ofxPd/libs/libpd/lib/%
ADDON_INCLUDES_EXCLUDE += libs/ofxLua/src/bindings/ios/%
ADDON_INCLUDES_EXCLUDE += libs/ofxLua/src/bindings/linuxarm/%
ADDON_INCLUDES_EXCLUDE += libs/ofxMidi/libs/pgmidi/%
ADDON_INCLUDES_EXCLUDE += libs/ofxMidi/src/ios/%
ADDON_INCLUDES_EXCLUDE += libs/ofxPd/libs/libpd/lib/%
ADDON_CFLAGS += -DLUA_USE_LINUX
ADDON_CFLAGS += -DHAVE_LIBDL
linux:
ADDON_PKG_CONFIG_LIBRARIES = alsa
ADDON_PKG_CONFIG_LIBRARIES += jack
ADDON_SOURCES_EXCLUDE += libs/ofxLua/src/bindings/ios/%
ADDON_SOURCES_EXCLUDE += libs/ofxLua/src/bindings/linuxarm/%
ADDON_SOURCES_EXCLUDE += libs/ofxMidi/libs/pgmidi/%
ADDON_SOURCES_EXCLUDE += libs/ofxMidi/src/ios/%
ADDON_SOURCES_EXCLUDE += libs/ofxPd/libs/libpd/lib/%
ADDON_INCLUDES_EXCLUDE += libs/ofxLua/src/bindings/ios/%
ADDON_INCLUDES_EXCLUDE += libs/ofxLua/src/bindings/linuxarm/%
ADDON_INCLUDES_EXCLUDE += libs/ofxMidi/libs/pgmidi/%
ADDON_INCLUDES_EXCLUDE += libs/ofxMidi/src/ios/%
ADDON_INCLUDES_EXCLUDE += libs/ofxPd/libs/libpd/lib/%
ADDON_CFLAGS += -DLUA_USE_LINUX
ADDON_CFLAGS += -DHAVE_LIBDL
linuxarmv6l:
ADDON_PKG_CONFIG_LIBRARIES = alsa
ADDON_SOURCES_EXCLUDE += libs/ofxLua/src/bindings/desktop/%
ADDON_SOURCES_EXCLUDE += libs/ofxLua/src/bindings/ios/%
ADDON_SOURCES_EXCLUDE += libs/ofxMidi/libs/pgmidi/%
ADDON_SOURCES_EXCLUDE += libs/ofxMidi/src/ios/%
ADDON_SOURCES_EXCLUDE += libs/ofxPd/libs/libpd/lib/%
ADDON_INCLUDES_EXCLUDE += libs/ofxLua/src/bindings/desktop/%
ADDON_INCLUDES_EXCLUDE += libs/ofxLua/src/bindings/ios/%
ADDON_INCLUDES_EXCLUDE += libs/ofxMidi/libs/pgmidi/%
ADDON_INCLUDES_EXCLUDE += libs/ofxMidi/src/ios/%
ADDON_INCLUDES_EXCLUDE += libs/ofxPd/libs/libpd/lib/%
ADDON_CFLAGS += -DLUA_USE_LINUX
ADDON_CFLAGS += -DHAVE_LIBDL
linuxarmv7l:
ADDON_PKG_CONFIG_LIBRARIES = alsa
ADDON_SOURCES_EXCLUDE += libs/ofxLua/src/bindings/desktop/%
ADDON_SOURCES_EXCLUDE += libs/ofxLua/src/bindings/ios/%
ADDON_SOURCES_EXCLUDE += libs/ofxMidi/libs/pgmidi/%
ADDON_SOURCES_EXCLUDE += libs/ofxMidi/src/ios/%
ADDON_SOURCES_EXCLUDE += libs/ofxPd/libs/libpd/lib/%
ADDON_INCLUDES_EXCLUDE += libs/ofxLua/src/bindings/desktop/%
ADDON_INCLUDES_EXCLUDE += libs/ofxLua/src/bindings/ios/%
ADDON_INCLUDES_EXCLUDE += libs/ofxMidi/libs/pgmidi/%
ADDON_INCLUDES_EXCLUDE += libs/ofxMidi/src/ios/%
ADDON_INCLUDES_EXCLUDE += libs/ofxPd/libs/libpd/lib/%
ADDON_CFLAGS += -DLUA_USE_LINUX
ADDON_CFLAGS += -DHAVE_LIBDL
msys2:
ADDON_SOURCES_EXCLUDE += libs/ofxLua/src/bindings/ios/%
ADDON_SOURCES_EXCLUDE += libs/ofxLua/src/bindings/linuxarm/%
ADDON_SOURCES_EXCLUDE += libs/ofxMidi/libs/pgmidi/%
ADDON_SOURCES_EXCLUDE += libs/ofxMidi/src/ios/%
ADDON_INCLUDES_EXCLUDE += libs/ofxLua/src/bindings/ios/%
ADDON_INCLUDES_EXCLUDE += libs/ofxLua/src/bindings/linuxarm/%
ADDON_INCLUDES_EXCLUDE += libs/ofxMidi/libs/pgmidi/%
ADDON_INCLUDES_EXCLUDE += libs/ofxMidi/src/ios/%
ADDON_CFLAGS += -DLUA_USE_WINDOWS
ADDON_CFLAGS += -DPD_INTERNAL
ADDON_CFLAGS += -DHAVE_STRUCT_TIMESPEC
vs:
ADDON_SOURCES_EXCLUDE += libs/ofxLua/src/bindings/ios/%
ADDON_SOURCES_EXCLUDE += libs/ofxLua/src/bindings/linuxarm/%
ADDON_SOURCES_EXCLUDE += libs/ofxMidi/libs/pgmidi/%
ADDON_SOURCES_EXCLUDE += libs/ofxMidi/src/ios/%
ADDON_INCLUDES_EXCLUDE += libs/ofxLua/src/bindings/ios/%
ADDON_INCLUDES_EXCLUDE += libs/ofxLua/src/bindings/linuxarm/%
ADDON_INCLUDES_EXCLUDE += libs/ofxMidi/libs/pgmidi/%
ADDON_INCLUDES_EXCLUDE += libs/ofxMidi/src/ios/%
ADDON_CFLAGS += -DLUA_USE_WINDOWS
ADDON_CFLAGS += -DPD_INTERNAL
ADDON_CFLAGS += -DHAVE_STRUCT_TIMESPEC
android/armeabi:
ADDON_SOURCES_EXCLUDE += libs/ofxLua/src/bindings/desktop/%
ADDON_SOURCES_EXCLUDE += libs/ofxLua/src/bindings/linuxarm/%
ADDON_SOURCES_EXCLUDE += libs/ofxMidi/libs/pgmidi/%
ADDON_SOURCES_EXCLUDE += libs/ofxMidi/src/ios/%
ADDON_SOURCES_EXCLUDE += libs/ofxPd/libs/libpd/lib/%
ADDON_INCLUDES_EXCLUDE += libs/ofxLua/src/bindings/desktop/%
ADDON_INCLUDES_EXCLUDE += libs/ofxLua/src/bindings/linuxarm/%
ADDON_INCLUDES_EXCLUDE += libs/ofxMidi/libs/pgmidi/%
ADDON_INCLUDES_EXCLUDE += libs/ofxMidi/src/ios/%
ADDON_INCLUDES_EXCLUDE += libs/ofxPd/libs/libpd/lib/%
ADDON_CFLAGS += -DLUA_USE_ANDROID
ADDON_CFLAGS += -DHAVE_LIBDL
android/armeabi-v7a:
ADDON_SOURCES_EXCLUDE += libs/ofxLua/src/bindings/desktop/%
ADDON_SOURCES_EXCLUDE += libs/ofxLua/src/bindings/linuxarm/%
ADDON_SOURCES_EXCLUDE += libs/ofxMidi/libs/pgmidi/%
ADDON_SOURCES_EXCLUDE += libs/ofxMidi/src/ios/%
ADDON_SOURCES_EXCLUDE += libs/ofxPd/libs/libpd/lib/%
ADDON_INCLUDES_EXCLUDE += libs/ofxLua/src/bindings/desktop/%
ADDON_INCLUDES_EXCLUDE += libs/ofxLua/src/bindings/linuxarm/%
ADDON_INCLUDES_EXCLUDE += libs/ofxMidi/libs/pgmidi/%
ADDON_INCLUDES_EXCLUDE += libs/ofxMidi/src/ios/%
ADDON_INCLUDES_EXCLUDE += libs/ofxPd/libs/libpd/lib/%
ADDON_CFLAGS += -DLUA_USE_ANDROID
ADDON_CFLAGS += -DHAVE_LIBDL
osx:
ADDON_FRAMEWORKS = CoreMIDI
ADDON_SOURCES_EXCLUDE += libs/ofxLua/src/bindings/ios/%
ADDON_SOURCES_EXCLUDE += libs/ofxLua/src/bindings/linuxarm/%
ADDON_SOURCES_EXCLUDE += libs/ofxMidi/libs/pgmidi/%
ADDON_SOURCES_EXCLUDE += libs/ofxMidi/src/ios/%
ADDON_SOURCES_EXCLUDE += libs/ofxPd/libs/libpd/lib/%
ADDON_INCLUDES_EXCLUDE += libs/ofxLua/src/bindings/ios/%
ADDON_INCLUDES_EXCLUDE += libs/ofxLua/src/bindings/linuxarm/%
ADDON_INCLUDES_EXCLUDE += libs/ofxMidi/libs/pgmidi/%
ADDON_INCLUDES_EXCLUDE += libs/ofxMidi/src/ios/%
ADDON_INCLUDES_EXCLUDE += libs/ofxPd/libs/libpd/lib/%
ADDON_CFLAGS += -DLUA_USE_MACOSX
ADDON_CFLAGS += -DHAVE_LIBDL
ADDON_CPPFLAGS += -DHAVE_UNISTD_H=1
ios:
ADDON_FRAMEWORKS = CoreMIDI
ADDON_SOURCES_EXCLUDE += libs/ofxLua/src/bindings/desktop/%
ADDON_SOURCES_EXCLUDE += libs/ofxLua/src/bindings/linuxarm/%
ADDON_SOURCES_EXCLUDE += libs/ofxMidi/libs/rtmidi/%
ADDON_SOURCES_EXCLUDE += libs/ofxMidi/libs/portmidi/%
ADDON_SOURCES_EXCLUDE += libs/ofxMidi/src/desktop/%
ADDON_SOURCES_EXCLUDE += libs/ofxPd/libs/libpd/lib/%
ADDON_INCLUDES_EXCLUDE += libs/ofxLua/src/bindings/desktop/%
ADDON_INCLUDES_EXCLUDE += libs/ofxLua/src/bindings/linuxarm/%
ADDON_INCLUDES_EXCLUDE += libs/ofxMidi/libs/rtmidi/%
ADDON_INCLUDES_EXCLUDE += libs/ofxMidi/libs/portmidi/%
ADDON_INCLUDES_EXCLUDE += libs/ofxMidi/src/desktop/%
ADDON_INCLUDES_EXCLUDE += libs/ofxPd/libs/libpd/lib/%
ADDON_CFLAGS += -fcommon
ADDON_CPPFLAGS += -DHAVE_UNISTD_H=1
emscripten:
ADDON_SOURCES_EXCLUDE += libs/ofxLua/src/bindings/desktop/%
ADDON_SOURCES_EXCLUDE += libs/ofxLua/src/bindings/linuxarm/%
ADDON_SOURCES_EXCLUDE += libs/ofxMidi/libs/pgmidi/%
ADDON_SOURCES_EXCLUDE += libs/ofxMidi/src/ios/%
ADDON_SOURCES_EXCLUDE += libs/ofxPd/libs/libpd/lib/%
ADDON_INCLUDES_EXCLUDE += libs/ofxLua/src/bindings/desktop/%
ADDON_INCLUDES_EXCLUDE += libs/ofxLua/src/bindings/linuxarm/%
ADDON_INCLUDES_EXCLUDE += libs/ofxMidi/libs/pgmidi/%
ADDON_INCLUDES_EXCLUDE += libs/ofxMidi/src/ios/%
ADDON_INCLUDES_EXCLUDE += libs/ofxPd/libs/libpd/lib/%
ADDON_CFLAGS += -DHAVE_LIBDL