2015-04-21 01:26:23 +00:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_MODULE := ZeroTierOneJNI
|
2015-04-21 03:32:29 +00:00
|
|
|
LOCAL_C_INCLUDES := $(ZT1)/include
|
2015-04-26 03:46:56 +00:00
|
|
|
LOCAL_LDLIBS := -llog
|
2015-04-21 03:32:29 +00:00
|
|
|
|
|
|
|
# ZeroTierOne SDK source files
|
2015-04-21 01:26:23 +00:00
|
|
|
LOCAL_SRC_FILES := \
|
|
|
|
$(ZT1)/ext/lz4/lz4.c \
|
|
|
|
$(ZT1)/ext/json-parser/json.c \
|
|
|
|
$(ZT1)/ext/http-parser/http_parser.c \
|
|
|
|
$(ZT1)/node/C25519.cpp \
|
|
|
|
$(ZT1)/node/CertificateOfMembership.cpp \
|
|
|
|
$(ZT1)/node/Defaults.cpp \
|
|
|
|
$(ZT1)/node/Dictionary.cpp \
|
|
|
|
$(ZT1)/node/Identity.cpp \
|
|
|
|
$(ZT1)/node/IncomingPacket.cpp \
|
|
|
|
$(ZT1)/node/InetAddress.cpp \
|
|
|
|
$(ZT1)/node/Multicaster.cpp \
|
|
|
|
$(ZT1)/node/Network.cpp \
|
|
|
|
$(ZT1)/node/NetworkConfig.cpp \
|
|
|
|
$(ZT1)/node/Node.cpp \
|
|
|
|
$(ZT1)/node/OutboundMulticast.cpp \
|
|
|
|
$(ZT1)/node/Packet.cpp \
|
|
|
|
$(ZT1)/node/Peer.cpp \
|
|
|
|
$(ZT1)/node/Poly1305.cpp \
|
|
|
|
$(ZT1)/node/Salsa20.cpp \
|
|
|
|
$(ZT1)/node/SelfAwareness.cpp \
|
|
|
|
$(ZT1)/node/SHA512.cpp \
|
|
|
|
$(ZT1)/node/Switch.cpp \
|
|
|
|
$(ZT1)/node/Topology.cpp \
|
|
|
|
$(ZT1)/node/Utils.cpp \
|
|
|
|
$(ZT1)/osdep/Http.cpp \
|
|
|
|
$(ZT1)/osdep/OSUtils.cpp
|
|
|
|
|
2015-04-21 03:32:29 +00:00
|
|
|
# JNI Files
|
|
|
|
LOCAL_SRC_FILES += \
|
2015-04-24 04:36:33 +00:00
|
|
|
com_zerotierone_sdk_Node.cpp \
|
2015-05-02 18:20:21 +00:00
|
|
|
ZT1_jniutils.cpp \
|
2015-06-11 03:16:13 +00:00
|
|
|
ZT1_jnilookup.cpp
|
2015-04-21 03:32:29 +00:00
|
|
|
|
2015-04-21 01:26:23 +00:00
|
|
|
include $(BUILD_SHARED_LIBRARY)
|