Alexander Afanasyev | 087c7c1 | 2015-02-02 00:21:21 -0800 | [diff] [blame] | 1 | LOCAL_PATH := $(call my-dir) |
| 2 | LOCAL_PATH_SAVED := $(LOCAL_PATH) |
| 3 | |
| 4 | include $(CLEAR_VARS) |
| 5 | LOCAL_MODULE := ndn-cxx |
Ivan Yeo | db0052d | 2015-02-08 17:27:04 -0800 | [diff] [blame] | 6 | NDN_CXX_BOOST_LIBS = system filesystem date_time iostreams program_options chrono random |
Alexander Afanasyev | f381256 | 2016-01-21 16:28:33 -0800 | [diff] [blame] | 7 | LOCAL_SHARED_LIBRARIES := cryptopp_shared $(addsuffix _shared,$(addprefix boost_,$(NDN_CXX_BOOST_LIBS))) |
Alexander Afanasyev | 6ce3543 | 2015-12-02 18:48:59 -0800 | [diff] [blame] | 8 | LOCAL_STATIC_LIBRARIES := sqlite3_static boost_regex_static |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 9 | NDN_CXX_SRC_FILES := \ |
| 10 | data.cpp \ |
| 11 | encoding/block.cpp \ |
Alexander Afanasyev | aacd65b | 2015-09-04 14:07:07 -0700 | [diff] [blame] | 12 | encoding/block-helpers.cpp \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 13 | encoding/buffer.cpp \ |
| 14 | encoding/cryptopp/asn_ext.cpp \ |
| 15 | encoding/encoder.cpp \ |
| 16 | encoding/estimator.cpp \ |
| 17 | encoding/nfd-constants.cpp \ |
| 18 | encoding/oid.cpp \ |
| 19 | exclude.cpp \ |
| 20 | face.cpp \ |
| 21 | interest-filter.cpp \ |
| 22 | interest.cpp \ |
| 23 | key-locator.cpp \ |
Alexander Afanasyev | aacd65b | 2015-09-04 14:07:07 -0700 | [diff] [blame] | 24 | link.cpp \ |
| 25 | lp/cache-policy.cpp \ |
| 26 | lp/detail/field-info.cpp \ |
| 27 | lp/nack-header.cpp \ |
| 28 | lp/nack.cpp \ |
| 29 | lp/packet.cpp \ |
Alexander Afanasyev | 77a3009 | 2016-01-21 19:46:58 -0800 | [diff] [blame] | 30 | lp/tags.cpp \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 31 | management/nfd-channel-status.cpp \ |
| 32 | management/nfd-command-options.cpp \ |
| 33 | management/nfd-control-command.cpp \ |
| 34 | management/nfd-control-parameters.cpp \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 35 | management/nfd-controller.cpp \ |
| 36 | management/nfd-face-event-notification.cpp \ |
| 37 | management/nfd-face-query-filter.cpp \ |
| 38 | management/nfd-face-status.cpp \ |
| 39 | management/nfd-fib-entry.cpp \ |
| 40 | management/nfd-forwarder-status.cpp \ |
| 41 | management/nfd-rib-entry.cpp \ |
| 42 | management/nfd-strategy-choice.cpp \ |
| 43 | meta-info.cpp \ |
Alexander Afanasyev | aacd65b | 2015-09-04 14:07:07 -0700 | [diff] [blame] | 44 | mgmt/control-response.cpp \ |
| 45 | mgmt/dispatcher.cpp \ |
| 46 | mgmt/status-dataset-context.cpp \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 47 | name-component.cpp \ |
| 48 | name.cpp \ |
Alexander Afanasyev | aacd65b | 2015-09-04 14:07:07 -0700 | [diff] [blame] | 49 | security/additional-description.cpp \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 50 | security/certificate-cache-ttl.cpp \ |
Alexander Afanasyev | aacd65b | 2015-09-04 14:07:07 -0700 | [diff] [blame] | 51 | security/certificate-container.cpp \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 52 | security/certificate-extension.cpp \ |
| 53 | security/certificate-subject-description.cpp \ |
| 54 | security/certificate.cpp \ |
| 55 | security/digest-sha256.cpp \ |
| 56 | security/identity-certificate.cpp \ |
Alexander Afanasyev | aacd65b | 2015-09-04 14:07:07 -0700 | [diff] [blame] | 57 | security/identity-container.cpp \ |
| 58 | security/identity.cpp \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 59 | security/key-chain.cpp \ |
Alexander Afanasyev | aacd65b | 2015-09-04 14:07:07 -0700 | [diff] [blame] | 60 | security/key-container.cpp \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 61 | security/key-params.cpp \ |
Alexander Afanasyev | aacd65b | 2015-09-04 14:07:07 -0700 | [diff] [blame] | 62 | security/key.cpp \ |
| 63 | security/pib-memory.cpp \ |
| 64 | security/pib-sqlite3.cpp \ |
| 65 | security/pib.cpp \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 66 | security/public-key.cpp \ |
| 67 | security/sec-public-info-sqlite3.cpp \ |
| 68 | security/sec-public-info.cpp \ |
| 69 | security/sec-rule-relative.cpp \ |
| 70 | security/sec-rule-specific.cpp \ |
| 71 | security/sec-tpm-file.cpp \ |
| 72 | security/sec-tpm.cpp \ |
| 73 | security/secured-bag.cpp \ |
| 74 | security/signature-sha256-with-ecdsa.cpp \ |
| 75 | security/signature-sha256-with-rsa.cpp \ |
Alexander Afanasyev | aacd65b | 2015-09-04 14:07:07 -0700 | [diff] [blame] | 76 | security/signing-helpers.cpp \ |
| 77 | security/signing-info.cpp \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 78 | security/validator-config.cpp \ |
| 79 | security/validator-regex.cpp \ |
| 80 | security/validator.cpp \ |
Alexander Afanasyev | aacd65b | 2015-09-04 14:07:07 -0700 | [diff] [blame] | 81 | security/validity-period.cpp \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 82 | selectors.cpp \ |
| 83 | signature-info.cpp \ |
| 84 | signature.cpp \ |
| 85 | transport/tcp-transport.cpp \ |
| 86 | transport/unix-transport.cpp \ |
| 87 | util/config-file.cpp \ |
| 88 | util/crypto.cpp \ |
| 89 | util/digest.cpp \ |
| 90 | util/dns.cpp \ |
| 91 | util/dummy-client-face.cpp \ |
| 92 | util/ethernet.cpp \ |
| 93 | util/face-uri.cpp \ |
| 94 | util/in-memory-storage-entry.cpp \ |
| 95 | util/in-memory-storage-fifo.cpp \ |
| 96 | util/in-memory-storage-lfu.cpp \ |
| 97 | util/in-memory-storage-lru.cpp \ |
| 98 | util/in-memory-storage-persistent.cpp \ |
| 99 | util/in-memory-storage.cpp \ |
| 100 | util/indented-stream.cpp \ |
| 101 | util/network-monitor.cpp \ |
| 102 | util/random.cpp \ |
| 103 | util/regex/regex-top-matcher.cpp \ |
| 104 | util/scheduler-scoped-event-id.cpp \ |
| 105 | util/scheduler.cpp \ |
| 106 | util/segment-fetcher.cpp \ |
| 107 | util/signal-connection.cpp \ |
| 108 | util/signal-scoped-connection.cpp \ |
Alexander Afanasyev | aacd65b | 2015-09-04 14:07:07 -0700 | [diff] [blame] | 109 | util/sqlite3-statement.cpp \ |
| 110 | util/string-helper.cpp \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 111 | util/time-unit-test-clock.cpp \ |
| 112 | util/time.cpp |
Alexander Afanasyev | 087c7c1 | 2015-02-02 00:21:21 -0800 | [diff] [blame] | 113 | LOCAL_SRC_FILES := $(addprefix ndn-cxx/src/,$(NDN_CXX_SRC_FILES)) |
| 114 | LOCAL_CPPFLAGS := -I$(LOCAL_PATH)/ndn-cxx/src -I$(LOCAL_PATH)/ndn-cxx-android |
| 115 | LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/ndn-cxx-android |
| 116 | include $(BUILD_SHARED_LIBRARY) |
| 117 | |
Alexander Afanasyev | f381256 | 2016-01-21 16:28:33 -0800 | [diff] [blame] | 118 | include $(LOCAL_PATH_SAVED)/cryptopp/extras/jni/Android.mk |
Alexander Afanasyev | 087c7c1 | 2015-02-02 00:21:21 -0800 | [diff] [blame] | 119 | |
Alexander Afanasyev | f381256 | 2016-01-21 16:28:33 -0800 | [diff] [blame] | 120 | $(call import-module,boost/1.59.0) |
Alexander Afanasyev | 6ce3543 | 2015-12-02 18:48:59 -0800 | [diff] [blame] | 121 | $(call import-module,sqlite/3) |