blob: 3f3fcd6bd30cef7034548144a5c953289d39409b [file] [log] [blame]
Alexander Afanasyev087c7c12015-02-02 00:21:21 -08001LOCAL_PATH := $(call my-dir)
2LOCAL_PATH_SAVED := $(LOCAL_PATH)
3
4include $(CLEAR_VARS)
5LOCAL_MODULE := ndn-cxx
Ivan Yeodb0052d2015-02-08 17:27:04 -08006NDN_CXX_BOOST_LIBS = system filesystem date_time iostreams program_options chrono random
Alexander Afanasyev087c7c12015-02-02 00:21:21 -08007LOCAL_SHARED_LIBRARIES := cryptopp $(addsuffix _shared,$(addprefix boost_,$(NDN_CXX_BOOST_LIBS)))
Alexander Afanasyev92bf1722015-09-04 13:45:00 -07008LOCAL_STATIC_LIBRARIES := sqlite3_static boost_regex_static
Alexander Afanasyev216df012015-02-10 17:35:46 -08009NDN_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 Afanasyev087c7c12015-02-02 00:21:21 -080089LOCAL_SRC_FILES := $(addprefix ndn-cxx/src/,$(NDN_CXX_SRC_FILES))
90LOCAL_CPPFLAGS := -I$(LOCAL_PATH)/ndn-cxx/src -I$(LOCAL_PATH)/ndn-cxx-android
91LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/ndn-cxx-android
92include $(BUILD_SHARED_LIBRARY)
93
Alexander Afanasyev087c7c12015-02-02 00:21:21 -080094include $(LOCAL_PATH_SAVED)/cryptopp/Android.mk
95
96$(call import-module,boost/1.57.0)
Alexander Afanasyev92bf1722015-09-04 13:45:00 -070097$(call import-module,sqlite/3)