2020-09-06 11:40:32 +00:00
|
|
|
PLATFORM=android
|
2021-02-01 20:37:07 +00:00
|
|
|
ANDROID_SDK_VERSION=android26
|
|
|
|
ANDROID_NDK_VERSION=21.1.6352462
|
2022-03-04 15:23:57 +00:00
|
|
|
UNAME := $(shell uname)
|
|
|
|
|
|
|
|
ifeq ($(UNAME), Linux)
|
|
|
|
ANDROID_NDK=/opt/AndroidSDK/ndk/$(ANDROID_NDK_VERSION)
|
|
|
|
ANDROID_CC=$(ANDROID_NDK)/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-$(ANDROID_SDK_VERSION)-clang
|
|
|
|
ANDROID_CFLAGS=--target=aarch64-linux-$(ANDROID_SDK_VERSION)
|
|
|
|
ANDROID_RANLIB=$(ANDROID_NDK)/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android-ranlib
|
|
|
|
else
|
|
|
|
ANDROID_NDK=C:/Users/simon/AppData/Local/Android/Sdk/ndk/$(ANDROID_NDK_VERSION)
|
|
|
|
ANDROID_CC=$(ANDROID_NDK)/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe
|
|
|
|
ANDROID_CFLAGS=--target=aarch64-linux-$(ANDROID_SDK_VERSION)
|
|
|
|
ANDROID_RANLIB=$(ANDROID_NDK)/toolchains/llvm/prebuilt/windows-x86_64/bin/aarch64-linux-android-ranlib.exe
|
|
|
|
endif
|
2020-09-06 11:40:32 +00:00
|
|
|
BUILD_CLIENT=1
|
|
|
|
BUILD_CLIENT_SMP=0
|
|
|
|
BUILD_GAME_QVM=0
|
|
|
|
BUILD_GAME_SO=1
|
2022-02-13 15:00:32 +00:00
|
|
|
BUILD_MISSIONPACK=1
|
2020-09-06 11:40:32 +00:00
|
|
|
BUILD_SERVER=0
|
2022-02-08 23:22:43 +00:00
|
|
|
BUILD_STANDALONE=0
|
2020-09-06 11:40:32 +00:00
|
|
|
GENERATE_DEPENDENCIES=0
|
|
|
|
USE_CODEC_VORBIS=0
|
|
|
|
USE_CURL=0
|
|
|
|
USE_CURL_DLOPEN=0
|
|
|
|
USE_INTERNAL_SPEEX=0
|
|
|
|
USE_LOCAL_HEADERS=0
|
|
|
|
USE_MUMBLE=0
|
|
|
|
USE_OPENAL=0
|
|
|
|
USE_OPENAL_DLOPEN=0
|
|
|
|
USE_RENDERER_DLOPEN=0
|
|
|
|
USE_SVN=0
|
|
|
|
USE_VOIP=0
|