-
-
Notifications
You must be signed in to change notification settings - Fork 504
/
Makefile
411 lines (369 loc) · 16.4 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
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
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
SHELL := /bin/bash
.SHELLFLAGS = -ec
# Use `make VERBOSE=1` to print commands.
$(VERBOSE).SILENT:
# Prerequisite variables
SOURCEDIR := $(shell printf "%q\n" "$(shell pwd)")
OUTPUTDIR := $(SOURCEDIR)/artifacts
WORKINGDIR := $(SOURCEDIR)/Natives/build
DETECTPLAT := $(shell uname -s)
DETECTARCH := $(shell uname -m)
VERSION := 3.0
BRANCH := $(shell git branch --show-current)
COMMIT := $(shell git log --oneline | sed '2,10000000d' | cut -b 1-7)
PLATFORM ?= 2
# Release vs Debug
RELEASE ?= 0
# Check if running on github runner
RUNNER ?= 0
# Check if slimmed should be built
SLIMMED ?= 0
# Check if slimmed should be built, and additionally skip normal build
SLIMMED_ONLY ?= 0
# If not in a GitHub repository, default to these
# so that compiling doesn't fail
BRANCH ?= "unknown"
COMMIT ?= "unknown"
# Team IDs and provisioning profile for the codesign function
# Default to -1 for check
# Currently requires a paid Apple Developer account, will fix later
SIGNING_TEAMID ?= -1
TEAMID ?= -1
PROVISIONING ?= -1
ifeq (1,$(RELEASE))
CMAKE_BUILD_TYPE := Release
else
CMAKE_BUILD_TYPE := Debug
endif
# Distinguish iOS from macOS, and *OS from others
ifeq ($(DETECTPLAT),Darwin)
OSVER := $(shell sw_vers -productVersion | cut -b 1-2)
ifeq ($(shell sw_vers -productName),macOS)
IOS := 0
SDKPATH ?= $(shell xcrun --sdk iphoneos --show-sdk-path)
BOOTJDK ?= $(shell /usr/libexec/java_home -v 1.8)/bin
$(warning Building on macOS.)
else
IOS := 1
SDKPATH ?= /usr/share/SDKs/iPhoneOS.sdk
BOOTJDK ?= /usr/lib/jvm/java-8-openjdk/bin
ifeq ($(shell test "$(OSVER)" -gt 14; echo $$?),0)
PREFIX ?= /var/jb/
else
PREFIX ?= /
endif
$(warning Building on iOS. Note that all targets may not compile or require external components.)
endif
else ifeq ($(DETECTPLAT),Linux)
IOS := 0
# SDKPATH presence is checked later
BOOTJDK ?= /usr/bin
$(warning Building on Linux. Note that all targets may not compile or require external components.)
else
$(error This platform is not currently supported for building PojavLauncher)
endif
# Define PLATFORM_NAME from PLATFORM
ifeq ($(PLATFORM),2)
PLATFORM_NAME := ios
$(warning Set PLATFORM to 2, which is equal to iOS.)
else ifeq ($(PLATFORM),3)
PLATFORM_NAME := tvos
$(warning Set PLATFORM to 3, which is equal to tvOS.)
else ifeq ($(PLATFORM),6)
PLATFORM_NAME := maccatalyst
$(warning Set PLATFORM to 6, which is equal to Mac Catalyst.)
else ifeq ($(PLATFORM),7)
PLATFORM_NAME := iossimulator
$(warning Set PLATFORM to 7, which is equal to iOS Simulator.)
else ifeq ($(PLATFORM),8)
PLATFORM_NAME := tvossimulator
$(warning Set PLATFORM to 8, which is equal to tvOS Simulator.)
else ifeq ($(PLATFORM),11)
PLATFORM_NAME := xros
$(warning Set PLATFORM to 11, which is equal to visionOS.)
else ifeq ($(PLATFORM),12)
PLATFORM_NAME := xrsimulator
$(warning Set PLATFORM to 12, which is equal to visionOS Simulator.)
else
$(error PLATFORM is not valid.)
endif
POJAV_BUNDLE_DIR ?= $(OUTPUTDIR)/PojavLauncher.app
POJAV_JRE8_DIR ?= $(SOURCEDIR)/depends/java-8-openjdk
POJAV_JRE17_DIR ?= $(SOURCEDIR)/depends/java-17-openjdk
POJAV_JRE21_DIR ?= $(SOURCEDIR)/depends/java-21-openjdk
# Function to use later for checking dependencies
METHOD_DEPCHECK = $(shell $(1) >/dev/null 2>&1 && echo 1)
# Function to modify Info.plist files
METHOD_INFOPLIST = \
if [ '$(4)' = '0' ]; then \
plutil -replace $(1) -string $(2) $(3); \
else \
plutil -value $(2) -key $(1) $(3); \
fi
# Function to check directories
METHOD_DIRCHECK = \
if [ ! -d '$(1)' ]; then \
mkdir -p $(1); \
else \
rm -rf $(1)/*; \
fi
# Function to change the platform on Mach-O files.
# iOS = 2, tvOS = 3, iOS Simulator = 7, tvOS Simulator = 8, visionOS = 11, visionOS Simulator = 12
# https://github.com/apple-oss-distributions/xnu/blob/main/EXTERNAL_HEADERS/mach-o/loader.h
# TODO: Change Info.plist for visionOS 1.0
METHOD_CHANGE_PLAT = \
if [ '$(1)' != '11' ] && [ '$(1)' != '12' ]; then \
vtool -arch arm64 -set-build-version $(1) 14.0 16.0 -replace -output $(2) $(2); \
else \
vtool -arch arm64 -set-build-version $(1) 1.0 1.0 -replace -output $(2) $(2); \
fi
# Function to package the application
METHOD_PACKAGE = \
if [ '$(TROLLSTORE_JIT_ENT)' == '1' ]; then \
IPA_SUFFIX="-trollstore.tipa"; \
else \
IPA_SUFFIX=".ipa"; \
fi; \
if [ '$(SLIMMED_ONLY)' = '0' ]; then \
zip --symlinks -r $(OUTPUTDIR)/net.kdt.pojavlauncher-$(VERSION)-$(PLATFORM_NAME)$$IPA_SUFFIX Payload; \
fi; \
if [ '$(SLIMMED)' = '1' ] || [ '$(SLIMMED_ONLY)' = '1' ]; then \
zip --symlinks -r $(OUTPUTDIR)/net.kdt.pojavlauncher.slimmed-$(VERSION)-$(PLATFORM_NAME)$$IPA_SUFFIX Payload --exclude='Payload/PojavLauncher.app/java_runtimes/*'; \
fi
# Function to download and unpack Java runtimes.
METHOD_JAVA_UNPACK = \
cd $(SOURCEDIR)/depends; \
if [ ! -f "java-$(1)-openjdk/release" ] && [ ! -f "$(ls jre$(1)-*.tar.xz)" ]; then \
if [ "$(RUNNER)" != "1" ]; then \
wget '$(2)' -q --show-progress; \
unzip jre*-ios-aarch64.zip && rm jre*-ios-aarch64.zip; \
fi; \
mkdir -p java-$(1)-openjdk; \
tar xvf jre$(1)-*.tar.xz -C java-$(1)-openjdk; \
fi
# Function to codesign binaries.
METHOD_CODESIGN = \
codesign --remove-signature $(2); \
codesign -f -s $(1) --generate-entitlement-der --entitlements entitlements.codesign.xml $(2); \
printf 'File: '; printf $(2); printf ', Codesigned with team: '; printf $(1); printf '\n'
# Function to run code when finding Mach-O files.
METHOD_MACHO = \
for file in $$(find $(1)); do \
if [[ "$$(file $$file)" == *"Mach-O"* ]]; then \
$(2); \
fi; \
done
# Make sure everything is already available for use. Error if they require something
ifneq ($(call METHOD_DEPCHECK,cmake --version),1)
$(error You need to install cmake)
endif
ifneq ($(call METHOD_DEPCHECK,$(BOOTJDK)/javac -version),1)
$(error You need to install JDK 8)
endif
ifeq ($(IOS),0)
ifeq ($(filter 1.8.0,$(shell $(BOOTJDK)/javac -version &> javaver.txt && cat javaver.txt | cut -b 7-11 && rm -rf javaver.txt)),)
$(error You need to install JDK 8)
endif
endif
ifneq ($(call METHOD_DEPCHECK,ldid),1)
$(error You need to install ldid)
endif
ifneq ($(call METHOD_DEPCHECK,wget --version),1)
$(error You need to install wget)
endif
ifeq ($(DETECTPLAT),Linux)
ifneq ($(call METHOD_DEPCHECK,lld),1)
$(error You need to install lld)
endif
endif
ifneq ($(call METHOD_DEPCHECK,nproc --version),1)
ifneq ($(call METHOD_DEPCHECK,gnproc --version),1)
$(warning Unable to determine number of threads, defaulting to 2.)
JOBS ?= 2
else
JOBS ?= $(shell gnproc)
endif
else
JOBS ?= $(shell nproc)
endif
ifndef SDKPATH
$(error You need to specify SDKPATH to the path of iPhoneOS.sdk. The SDK version should be 14.0 or newer.)
endif
all: clean native java jre assets payload package dsym
help:
echo 'Makefile to compile PojavLauncher'
echo ''
echo 'Usage:'
echo ' make Makes everything under all'
echo ' make help Displays this message'
echo ' make all Builds the entire app'
echo ' make native Builds the native app'
echo ' make java Builds the Java app'
echo ' make jre Downloads/unpacks the iOS JREs'
echo ' make assets Compiles Assets.xcassets'
echo ' make payload Makes Payload/PojavLauncher.app'
echo ' make package Builds ipa of PojavLauncher'
echo ' make deploy Copies files to local iDevice'
echo ' make dsym Generate debug symbol files'
echo ' make clean Cleans build directories'
echo ' make check Dump all variables for checking'
check:
$(foreach v, \
$(shell echo "$(filter-out METHOD_% .% MAKEFILE_LIST MAKEFLAGS CURDIR,$(.VARIABLES))" | tr ' ' '\n' | sort), \
$(if $(filter file,$(origin $(v))), \
$(info $(shell printf "%-20s" "$(v)") = $(value $(v)))) \
)
native:
echo '[PojavLauncher v$(VERSION)] native - start'
mkdir -p $(WORKINGDIR)
cd $(WORKINGDIR) && cmake . \
-DCMAKE_BUILD_TYPE=$(CMAKE_BUILD_TYPE) \
-DCMAKE_CROSSCOMPILING=true \
-DCMAKE_SYSTEM_NAME=Darwin \
-DCMAKE_SYSTEM_PROCESSOR=aarch64 \
-DCMAKE_OSX_SYSROOT="$(SDKPATH)" \
-DCMAKE_OSX_ARCHITECTURES=arm64 \
-DCMAKE_C_FLAGS="-arch arm64" \
-DCONFIG_BRANCH="$(BRANCH)" \
-DCONFIG_COMMIT="$(COMMIT)" \
-DCONFIG_RELEASE=$(RELEASE) \
..
cmake --build $(WORKINGDIR) --config $(CMAKE_BUILD_TYPE) -j$(JOBS)
# --target awt_headless awt_xawt libOSMesaOverride.dylib tinygl4angle PojavLauncher
rm $(WORKINGDIR)/libawt_headless.dylib
echo '[PojavLauncher v$(VERSION)] native - end'
java:
echo '[PojavLauncher v$(VERSION)] java - start'
cd $(SOURCEDIR)/JavaApp; \
rm -rf local_out/lwjgl; \
mkdir -p local_out/{classes,lwjgl}; \
$(BOOTJDK)/javac -cp "libs/*:libs_lwjgl/*:libs_caciocavallo/*" -d local_out/classes $$(find src -type f -name "*.java" -print) -XDignore.symbol.file || exit 1; \
cd local_out/classes; \
$(BOOTJDK)/jar -cf ../launcher.jar android com net || exit 1; \
cp $(SOURCEDIR)/JavaApp/libs_lwjgl/lwjgl.jar .. || exit 1; \
cd ../lwjgl; \
find $(SOURCEDIR)/JavaApp/libs_lwjgl -name 'lwjgl-*.jar' -exec $(BOOTJDK)/jar -xf {} \; || exit 1; \
rm -rf META-INF; \
cp -R ../classes/org ./; \
$(BOOTJDK)/jar -uf ../lwjgl.jar . || exit 1;
echo '[PojavLauncher v$(VERSION)] java - end'
jre: native
echo '[PojavLauncher v$(VERSION)] jre - start'
mkdir -p $(SOURCEDIR)/depends
cd $(SOURCEDIR)/depends; \
$(call METHOD_JAVA_UNPACK,8,'https://nightly.link/PojavLauncherTeam/android-openjdk-build-multiarch/workflows/build/jre8-ios-jitjailed/jre8-ios-aarch64.zip'); \
$(call METHOD_JAVA_UNPACK,17,'https://nightly.link/PojavLauncherTeam/android-openjdk-build-multiarch/workflows/build/buildjre17-21/jre17-ios-aarch64.zip'); \
$(call METHOD_JAVA_UNPACK,21,'https://nightly.link/PojavLauncherTeam/android-openjdk-build-multiarch/workflows/build/buildjre17-21/jre21-ios-aarch64.zip'); \
if [ -f "$(ls jre*.tar.xz)" ]; then rm $(SOURCEDIR)/depends/jre*.tar.xz; fi; \
cd $(SOURCEDIR); \
rm -rf $(SOURCEDIR)/depends/java-*-openjdk/{ASSEMBLY_EXCEPTION,bin,include,jre,legal,LICENSE,man,THIRD_PARTY_README,lib/{ct.sym,jspawnhelper,libjsig.dylib,src.zip,tools.jar}}; \
$(call METHOD_DIRCHECK,$(OUTPUTDIR)/java_runtimes); \
cp -R $(POJAV_JRE8_DIR) $(OUTPUTDIR)/java_runtimes; \
cp -R $(POJAV_JRE17_DIR) $(OUTPUTDIR)/java_runtimes; \
cp -R $(POJAV_JRE21_DIR) $(OUTPUTDIR)/java_runtimes; \
cp $(WORKINGDIR)/libawt_xawt.dylib $(OUTPUTDIR)/java_runtimes/java-8-openjdk/lib; \
cp $(WORKINGDIR)/libawt_xawt.dylib $(OUTPUTDIR)/java_runtimes/java-17-openjdk/lib;
cp $(WORKINGDIR)/libawt_xawt.dylib $(OUTPUTDIR)/java_runtimes/java-21-openjdk/lib
echo '[PojavLauncher v$(VERSION)] jre - end'
assets:
echo '[PojavLauncher v$(VERSION)] assets - start'
if [ '$(IOS)' = '0' ] && [ '$(DETECTPLAT)' = 'Darwin' ]; then \
mkdir -p $(WORKINGDIR)/PojavLauncher.app/Base.lproj; \
xcrun actool $(SOURCEDIR)/Natives/Assets.xcassets \
--compile $(SOURCEDIR)/Natives/resources \
--platform iphoneos \
--minimum-deployment-target 14.0 \
--app-icon AppIcon-Light \
--alternate-app-icon AppIcon-Dark \
--alternate-app-icon AppIcon-Development \
--output-partial-info-plist /dev/null || exit 1; \
else \
echo 'Due to the required tools not being available, you cannot compile the extras for PojavLauncher with an iOS device.'; \
fi
echo '[PojavLauncher v$(VERSION)] assets - end'
payload: native java jre assets
echo '[PojavLauncher v$(VERSION)] payload - start'
$(call METHOD_DIRCHECK,$(WORKINGDIR)/PojavLauncher.app/libs)
$(call METHOD_DIRCHECK,$(WORKINGDIR)/PojavLauncher.app/libs_caciocavallo)
$(call METHOD_DIRCHECK,$(WORKINGDIR)/PojavLauncher.app/libs_caciocavallo17)
cp -R $(SOURCEDIR)/Natives/resources/en.lproj/LaunchScreen.storyboardc $(WORKINGDIR)/PojavLauncher.app/Base.lproj/ || exit 1
cp -R $(SOURCEDIR)/Natives/resources/* $(WORKINGDIR)/PojavLauncher.app/ || exit 1
cp $(WORKINGDIR)/*.dylib $(WORKINGDIR)/PojavLauncher.app/Frameworks/ || exit 1
cp -R $(SOURCEDIR)/JavaApp/libs/* $(WORKINGDIR)/PojavLauncher.app/libs/ || exit 1
cp $(SOURCEDIR)/JavaApp/local_out/*.jar $(WORKINGDIR)/PojavLauncher.app/libs/ || exit 1
cp -R $(SOURCEDIR)/JavaApp/libs_caciocavallo* $(WORKINGDIR)/PojavLauncher.app/ || exit 1
$(call METHOD_DIRCHECK,$(OUTPUTDIR)/Payload)
cp -R $(WORKINGDIR)/PojavLauncher.app $(OUTPUTDIR)/Payload
if [ '$(SLIMMED_ONLY)' != '1' ]; then \
cp -R $(OUTPUTDIR)/java_runtimes $(OUTPUTDIR)/Payload/PojavLauncher.app; \
fi
ldid -S $(OUTPUTDIR)/Payload/PojavLauncher.app; \
if [ '$(TROLLSTORE_JIT_ENT)' == '1' ]; then \
ldid -S$(SOURCEDIR)/entitlements.trollstore.xml $(OUTPUTDIR)/Payload/PojavLauncher.app/PojavLauncher; \
else \
ldid -S$(SOURCEDIR)/entitlements.sideload.xml $(OUTPUTDIR)/Payload/PojavLauncher.app/PojavLauncher; \
fi
chmod -R 755 $(OUTPUTDIR)/Payload
if [ '$(PLATFORM)' != '2' ]; then \
$(call METHOD_MACHO,$(OUTPUTDIR)/Payload/PojavLauncher.app,$(call METHOD_CHANGE_PLAT,$(PLATFORM),$$file)); \
$(call METHOD_MACHO,$(OUTPUTDIR)/java_runtimes,$(call METHOD_CHANGE_PLAT,$(PLATFORM),$$file)); \
fi
echo '[PojavLauncher v$(VERSION)] payload - end'
deploy:
echo '[PojavLauncher v$(VERSION)] deploy - start'
cd $(OUTPUTDIR); \
if [ '$(IOS)' = '1' ]; then \
ldid -S $(WORKINGDIR)/PojavLauncher.app || exit 1; \
ldid -S$(SOURCEDIR)/entitlements.trollstore.xml $(WORKINGDIR)/PojavLauncher.app/PojavLauncher || exit 1; \
sudo mv $(WORKINGDIR)/*.dylib $(PREFIX)Applications/PojavLauncher.app/Frameworks/ || exit 1; \
sudo mv $(WORKINGDIR)/PojavLauncher.app/PojavLauncher $(PREFIX)Applications/PojavLauncher.app/PojavLauncher || exit 1; \
sudo mv $(SOURCEDIR)/JavaApp/local_out/*.jar $(PREFIX)Applications/PojavLauncher.app/libs/ || exit 1; \
cd $(PREFIX)Applications/PojavLauncher.app/Frameworks || exit 1; \
sudo chown -R 501:501 $(PREFIX)Applications/PojavLauncher.app/* || exit 1; \
elif [ '$(IOS)' = '0' ] && [ '$(DETECTPLAT)' = 'Darwin' ]; then \
if [ '$(PLATFORM)' != '2' ] || [ '$(TEAMID)' = '-1' ] || [ '$(SIGNING_TEAMID)' = '-1' ] || [ '$(PROVISIONING)' = '-1' ]; then \
echo 'Configuration not supported for deploy recipe.'; \
else \
$(call METHOD_PACKAGE); \
if [ '$(SLIMMED_ONLY)' = '0' ]; then \
open $(OUTPUTDIR)/net.kdt.pojavlauncher-$(VERSION)-$(PLATFORM_NAME).ipa; \
else \
open $(OUTPUTDIR)/net.kdt.pojavlauncher.slimmed-$(VERSION)-$(PLATFORM_NAME).ipa; \
fi; \
fi; \
else \
echo 'Device not supported for deploy recipe.'; \
fi
echo '[PojavLauncher v$(VERSION)] deploy - end'
package: payload
echo '[PojavLauncher v$(VERSION)] package - start'
if [ '$(TEAMID)' != '-1' ] && [ '$(SIGNING_TEAMID)' != '-1' ] && [ -f '$(PROVISIONING)' ] && [ '$(DETECTPLAT)' = 'Darwin' ]; then \
printf '<?xml version="1.0" encoding="UTF-8"?>\n<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">\n<plist version="1.0">\n<dict>\n <key>application-identifier</key>\n <string>$(TEAMID).net.kdt.pojavlauncher</string>\n <key>com.apple.developer.team-identifier</key>\n <string>$(TEAMID)</string>\n <key>get-task-allow</key>\n <true/>\n <key>keychain-access-groups</key>\n <array>\n <string>$(TEAMID).*</string>\n <string>com.apple.token</string>\n </array>\n</dict>\n</plist>' > entitlements.codesign.xml; \
$(MAKE) codesign; \
rm -rf entitlements.codesign.xml; \
else \
echo 'Skipped codesigning. If not intentional, check your variables.'; \
fi
cd $(OUTPUTDIR); \
$(call METHOD_PACKAGE); \
zip --symlinks -r $(OUTPUTDIR)/java_runtimes.zip java_runtimes; \
echo '[PojavLauncher v$(VERSION)] package - end'
dsym: payload
echo '[PojavLauncher v$(VERSION)] dsym - start'
dsymutil --arch arm64 $(OUTPUTDIR)/Payload/PojavLauncher.app/PojavLauncher; \
rm -rf $(OUTPUTDIR)/PojavLauncher.dSYM; \
mv $(OUTPUTDIR)/Payload/PojavLauncher.app/PojavLauncher.dSYM $(OUTPUTDIR)/PojavLauncher.dSYM
echo '[PojavLauncher v$(VERSION)] dsym - end'
codesign:
echo '[PojavLauncher v$(VERSION)] codesign - start'
cp '$(PROVISIONING)' $(OUTPUTDIR)/Payload/PojavLauncher.app/embedded.mobileprovision
$(call METHOD_MACHO,$(OUTPUTDIR)/Payload/PojavLauncher.app,$(call METHOD_CODESIGN,$(SIGNING_TEAMID),$$file))
$(call METHOD_MACHO,$(OUTPUTDIR)/java_runtimes,$(call METHOD_CODESIGN,$(SIGNING_TEAMID),$$file))
echo '[PojavLauncher v$(VERSION)] codesign - end'
clean:
echo '[PojavLauncher v$(VERSION)] clean - start'
rm -rf $(WORKINGDIR)
rm -rf JavaApp/build
rm -rf $(OUTPUTDIR)
echo '[PojavLauncher v$(VERSION)] clean - end'
.PHONY: all clean check native java jre package dsym deploy help