mirror of
https://github.com/PurpleI2P/i2pd-android.git
synced 2025-01-09 14:28:03 +00:00
35 lines
922 B
Makefile
35 lines
922 B
Makefile
APP_ABI += all
|
|
#APP_ABI += arm64-v8a
|
|
#APP_ABI += armeabi-v7a
|
|
#APP_ABI += x86_64
|
|
#APP_ABI += x86
|
|
|
|
APP_PLATFORM := android-16
|
|
#APP_PLATFORM := android-21
|
|
|
|
NDK_TOOLCHAIN_VERSION := clang
|
|
APP_STL := c++_static
|
|
|
|
# Enable c++17 extensions in source code
|
|
APP_CPPFLAGS += -std=c++17 -fexceptions -frtti
|
|
|
|
APP_CPPFLAGS += -DANDROID_BINARY -DANDROID -D__ANDROID__ -DUSE_UPNP -Wno-deprecated-declarations
|
|
ifeq ($(TARGET_ARCH_ABI),armeabi-v7a)
|
|
APP_CPPFLAGS += -DANDROID_ARM7A
|
|
endif
|
|
|
|
APP_LDFLAGS += -fPIE
|
|
|
|
IFADDRS_PATH = $(NDK_MODULE_PATH)/android-ifaddrs
|
|
BOOST_PATH = $(NDK_MODULE_PATH)/boost
|
|
MINIUPNP_PATH = $(NDK_MODULE_PATH)/miniupnp
|
|
OPENSSL_PATH = $(NDK_MODULE_PATH)/openssl
|
|
|
|
# don't change me
|
|
I2PD_SRC_PATH = $(NDK_MODULE_PATH)/i2pd
|
|
|
|
LIB_SRC_PATH = $(I2PD_SRC_PATH)/libi2pd
|
|
LIB_CLIENT_SRC_PATH = $(I2PD_SRC_PATH)/libi2pd_client
|
|
LANG_SRC_PATH = $(I2PD_SRC_PATH)/i18n
|
|
DAEMON_SRC_PATH = $(I2PD_SRC_PATH)/daemon
|