Alexandre Lision | 950e9d6 | 2013-12-02 15:09:01 -0500 | [diff] [blame^] | 1 | # |
| 2 | # Define and build the zrtpcpp static lib |
| 3 | # |
| 4 | include $(CLEAR_VARS) |
| 5 | |
| 6 | MY_LIBZRTPCPP = libzrtp |
| 7 | |
| 8 | LOCAL_MODULE := libzrtpcpp |
| 9 | LOCAL_CPP_FEATURES := exceptions |
| 10 | # |
| 11 | # set to false if testing/compiling new modules to catch undefined symbols (if build shared lib without TIVI_ENV) |
| 12 | # LOCAL_ALLOW_UNDEFINED_SYMBOLS := true |
| 13 | |
| 14 | # include paths for zrtpcpp modules |
| 15 | LOCAL_C_INCLUDES += $(MY_LIBZRTPCPP) \ |
| 16 | $(MY_LIBZRTPCPP)/srtp \ |
| 17 | $(MY_LIBZRTPCPP)/src \ |
| 18 | /ucommon/inc/ \ |
| 19 | $(APP_PROJECT_PATH)/jni/ucommon/inc \ |
| 20 | $(MY_LIBZRTPCPP)/src/libzrtpcpp \ |
| 21 | $(MY_OPENSSL)/include \ |
| 22 | |
| 23 | LOCAL_SRC_FILES += \ |
| 24 | $(MY_LIBZRTPCPP)/src/ZrtpCallbackWrapper.cpp \ |
| 25 | $(MY_LIBZRTPCPP)/src/Zrtp.cpp \ |
| 26 | $(MY_LIBZRTPCPP)/src/ZrtpCrc32.cpp \ |
| 27 | $(MY_LIBZRTPCPP)/src/ZrtpPacketCommit.cpp \ |
| 28 | $(MY_LIBZRTPCPP)/src/ZrtpPacketConf2Ack.cpp \ |
| 29 | $(MY_LIBZRTPCPP)/src/ZrtpPacketConfirm.cpp \ |
| 30 | $(MY_LIBZRTPCPP)/src/ZrtpPacketDHPart.cpp \ |
| 31 | $(MY_LIBZRTPCPP)/src/ZrtpPacketGoClear.cpp \ |
| 32 | $(MY_LIBZRTPCPP)/src/ZrtpPacketClearAck.cpp \ |
| 33 | $(MY_LIBZRTPCPP)/src/ZrtpPacketHelloAck.cpp \ |
| 34 | $(MY_LIBZRTPCPP)/src/ZrtpPacketHello.cpp \ |
| 35 | $(MY_LIBZRTPCPP)/src/ZrtpPacketError.cpp \ |
| 36 | $(MY_LIBZRTPCPP)/src/ZrtpPacketErrorAck.cpp \ |
| 37 | $(MY_LIBZRTPCPP)/src/ZrtpPacketPingAck.cpp \ |
| 38 | $(MY_LIBZRTPCPP)/src/ZrtpPacketPing.cpp \ |
| 39 | $(MY_LIBZRTPCPP)/src/ZrtpPacketSASrelay.cpp \ |
| 40 | $(MY_LIBZRTPCPP)/src/ZrtpPacketRelayAck.cpp \ |
| 41 | $(MY_LIBZRTPCPP)/src/ZrtpStateClass.cpp \ |
| 42 | $(MY_LIBZRTPCPP)/src/ZrtpTextData.cpp \ |
| 43 | $(MY_LIBZRTPCPP)/src/ZrtpConfigure.cpp \ |
| 44 | $(MY_LIBZRTPCPP)/src/ZrtpCWrapper.cpp \ |
| 45 | $(MY_LIBZRTPCPP)/src/Base32.cpp \ |
| 46 | $(MY_LIBZRTPCPP)/srtp/CryptoContext.cpp \ |
| 47 | $(MY_LIBZRTPCPP)/srtp/CryptoContextCtrl.cpp \ |
| 48 | $(MY_LIBZRTPCPP)/srtp/crypto/openssl/hmac.cpp \ |
| 49 | $(MY_LIBZRTPCPP)/srtp/crypto/openssl/SrtpSymCrypto.cpp \ |
| 50 | $(MY_LIBZRTPCPP)/srtp/crypto/skein_block.c \ |
| 51 | $(MY_LIBZRTPCPP)/srtp/crypto/macSkein.cpp \ |
| 52 | $(MY_LIBZRTPCPP)/srtp/crypto/skein.c \ |
| 53 | |
| 54 | |
| 55 | include $(BUILD_STATIC_LIBRARY) |
| 56 | |