1
0
mirror of https://github.com/PurpleI2P/i2pd-android.git synced 2025-01-09 06:17:53 +00:00
i2pd-android/app/jni/Application.mk

24 lines
748 B
Makefile
Raw Normal View History

2020-06-06 00:51:41 +00:00
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 -D__ANDROID__ -DUSE_UPNP -Wno-deprecated-declarations -fstack-protector
2020-06-06 00:51:41 +00:00
ifeq ($(TARGET_ARCH_ABI),armeabi-v7a)
APP_CPPFLAGS += -DANDROID_ARM7A
endif
IFADDRS_PATH = $(NDK_MODULE_PATH)/android-ifaddrs
2020-06-06 02:27:29 +00:00
BOOST_PATH = $(NDK_MODULE_PATH)/boost
MINIUPNP_PATH = $(NDK_MODULE_PATH)/miniupnp
OPENSSL_PATH = $(NDK_MODULE_PATH)/openssl
2020-06-06 00:51:41 +00:00
# don't change me
2020-06-06 02:27:29 +00:00
I2PD_SRC_PATH = $(NDK_MODULE_PATH)/i2pd
2020-06-06 00:51:41 +00:00
LIB_SRC_PATH = $(I2PD_SRC_PATH)/libi2pd
2020-06-06 00:51:41 +00:00
LIB_CLIENT_SRC_PATH = $(I2PD_SRC_PATH)/libi2pd_client
LANG_SRC_PATH = $(I2PD_SRC_PATH)/i18n
DAEMON_SRC_PATH = $(I2PD_SRC_PATH)/daemon