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 | 087c7c1 | 2015-02-02 00:21:21 -0800 | [diff] [blame] | 7 | LOCAL_SHARED_LIBRARIES := cryptopp $(addsuffix _shared,$(addprefix boost_,$(NDN_CXX_BOOST_LIBS))) |
Ivan Yeo | db0052d | 2015-02-08 17:27:04 -0800 | [diff] [blame] | 8 | LOCAL_STATIC_LIBRARIES := sqlite3 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 \ |
| 12 | encoding/buffer.cpp \ |
| 13 | encoding/cryptopp/asn_ext.cpp \ |
| 14 | encoding/encoder.cpp \ |
| 15 | encoding/estimator.cpp \ |
| 16 | encoding/nfd-constants.cpp \ |
| 17 | encoding/oid.cpp \ |
| 18 | exclude.cpp \ |
| 19 | face.cpp \ |
| 20 | interest-filter.cpp \ |
| 21 | interest.cpp \ |
| 22 | key-locator.cpp \ |
| 23 | management/nfd-channel-status.cpp \ |
| 24 | management/nfd-command-options.cpp \ |
| 25 | management/nfd-control-command.cpp \ |
| 26 | management/nfd-control-parameters.cpp \ |
| 27 | management/nfd-control-response.cpp \ |
| 28 | management/nfd-controller.cpp \ |
| 29 | management/nfd-face-event-notification.cpp \ |
| 30 | management/nfd-face-query-filter.cpp \ |
| 31 | management/nfd-face-status.cpp \ |
| 32 | management/nfd-fib-entry.cpp \ |
| 33 | management/nfd-forwarder-status.cpp \ |
| 34 | management/nfd-rib-entry.cpp \ |
| 35 | management/nfd-strategy-choice.cpp \ |
| 36 | meta-info.cpp \ |
| 37 | name-component.cpp \ |
| 38 | name.cpp \ |
| 39 | security/certificate-cache-ttl.cpp \ |
| 40 | security/certificate-extension.cpp \ |
| 41 | security/certificate-subject-description.cpp \ |
| 42 | security/certificate.cpp \ |
| 43 | security/digest-sha256.cpp \ |
| 44 | security/identity-certificate.cpp \ |
| 45 | security/key-chain.cpp \ |
| 46 | security/key-params.cpp \ |
| 47 | security/public-key.cpp \ |
| 48 | security/sec-public-info-sqlite3.cpp \ |
| 49 | security/sec-public-info.cpp \ |
| 50 | security/sec-rule-relative.cpp \ |
| 51 | security/sec-rule-specific.cpp \ |
| 52 | security/sec-tpm-file.cpp \ |
| 53 | security/sec-tpm.cpp \ |
| 54 | security/secured-bag.cpp \ |
| 55 | security/signature-sha256-with-ecdsa.cpp \ |
| 56 | security/signature-sha256-with-rsa.cpp \ |
| 57 | security/validator-config.cpp \ |
| 58 | security/validator-regex.cpp \ |
| 59 | security/validator.cpp \ |
| 60 | selectors.cpp \ |
| 61 | signature-info.cpp \ |
| 62 | signature.cpp \ |
| 63 | transport/tcp-transport.cpp \ |
| 64 | transport/unix-transport.cpp \ |
| 65 | util/config-file.cpp \ |
| 66 | util/crypto.cpp \ |
| 67 | util/digest.cpp \ |
| 68 | util/dns.cpp \ |
| 69 | util/dummy-client-face.cpp \ |
| 70 | util/ethernet.cpp \ |
| 71 | util/face-uri.cpp \ |
| 72 | util/in-memory-storage-entry.cpp \ |
| 73 | util/in-memory-storage-fifo.cpp \ |
| 74 | util/in-memory-storage-lfu.cpp \ |
| 75 | util/in-memory-storage-lru.cpp \ |
| 76 | util/in-memory-storage-persistent.cpp \ |
| 77 | util/in-memory-storage.cpp \ |
| 78 | util/indented-stream.cpp \ |
| 79 | util/network-monitor.cpp \ |
| 80 | util/random.cpp \ |
| 81 | util/regex/regex-top-matcher.cpp \ |
| 82 | util/scheduler-scoped-event-id.cpp \ |
| 83 | util/scheduler.cpp \ |
| 84 | util/segment-fetcher.cpp \ |
| 85 | util/signal-connection.cpp \ |
| 86 | util/signal-scoped-connection.cpp \ |
| 87 | util/time-unit-test-clock.cpp \ |
| 88 | util/time.cpp |
Alexander Afanasyev | 087c7c1 | 2015-02-02 00:21:21 -0800 | [diff] [blame] | 89 | LOCAL_SRC_FILES := $(addprefix ndn-cxx/src/,$(NDN_CXX_SRC_FILES)) |
| 90 | LOCAL_CPPFLAGS := -I$(LOCAL_PATH)/ndn-cxx/src -I$(LOCAL_PATH)/ndn-cxx-android |
| 91 | LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/ndn-cxx-android |
| 92 | include $(BUILD_SHARED_LIBRARY) |
| 93 | |
| 94 | include $(LOCAL_PATH_SAVED)/sqlite3/Android.mk |
| 95 | include $(LOCAL_PATH_SAVED)/cryptopp/Android.mk |
| 96 | |
| 97 | $(call import-module,boost/1.57.0) |