Android.mk 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. LOCAL_PATH := $(call my-dir)
  2. include $(CLEAR_VARS)
  3. LOCAL_MODULE := ZeroTierOneJNI
  4. LOCAL_C_INCLUDES := $(ZT1)/include
  5. LOCAL_C_INCLUDES += $(ZT1)/node
  6. LOCAL_LDLIBS := -llog
  7. # LOCAL_CFLAGS := -g
  8. # ZeroTierOne SDK source files
  9. LOCAL_SRC_FILES := \
  10. $(ZT1)/ext/lz4/lz4.c \
  11. $(ZT1)/ext/json-parser/json.c \
  12. $(ZT1)/ext/http-parser/http_parser.c \
  13. $(ZT1)/node/C25519.cpp \
  14. $(ZT1)/node/CertificateOfMembership.cpp \
  15. $(ZT1)/node/DeferredPackets.cpp \
  16. $(ZT1)/node/Dictionary.cpp \
  17. $(ZT1)/node/Identity.cpp \
  18. $(ZT1)/node/IncomingPacket.cpp \
  19. $(ZT1)/node/InetAddress.cpp \
  20. $(ZT1)/node/Multicaster.cpp \
  21. $(ZT1)/node/Network.cpp \
  22. $(ZT1)/node/NetworkConfig.cpp \
  23. $(ZT1)/node/Node.cpp \
  24. $(ZT1)/node/OutboundMulticast.cpp \
  25. $(ZT1)/node/Packet.cpp \
  26. $(ZT1)/node/Path.cpp \
  27. $(ZT1)/node/Peer.cpp \
  28. $(ZT1)/node/Poly1305.cpp \
  29. $(ZT1)/node/Salsa20.cpp \
  30. $(ZT1)/node/SelfAwareness.cpp \
  31. $(ZT1)/node/SHA512.cpp \
  32. $(ZT1)/node/Switch.cpp \
  33. $(ZT1)/node/Topology.cpp \
  34. $(ZT1)/node/Utils.cpp \
  35. $(ZT1)/osdep/Http.cpp \
  36. $(ZT1)/osdep/OSUtils.cpp
  37. # JNI Files
  38. LOCAL_SRC_FILES += \
  39. com_zerotierone_sdk_Node.cpp \
  40. ZT_jniutils.cpp \
  41. ZT_jnilookup.cpp
  42. include $(BUILD_SHARED_LIBRARY)