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 | |
Alexander Afanasyev | c134b6f | 2015-02-12 17:01:44 -0800 | [diff] [blame] | 4 | NFD_BOOST_LIBS = system filesystem chrono program_options random thread |
Alexander Afanasyev | 087c7c1 | 2015-02-02 00:21:21 -0800 | [diff] [blame] | 5 | |
Alexander Afanasyev | 5473234 | 2015-12-02 16:34:25 -0800 | [diff] [blame] | 6 | # nfd itself |
Alexander Afanasyev | 087c7c1 | 2015-02-02 00:21:21 -0800 | [diff] [blame] | 7 | include $(CLEAR_VARS) |
Alexander Afanasyev | 5473234 | 2015-12-02 16:34:25 -0800 | [diff] [blame] | 8 | LOCAL_MODULE := nfd-daemon |
Alexander Afanasyev | f381256 | 2016-01-21 16:28:33 -0800 | [diff] [blame] | 9 | LOCAL_SHARED_LIBRARIES := cryptopp_shared ndn-cxx $(addsuffix _shared,$(addprefix boost_,$(NFD_BOOST_LIBS))) |
Alexander Afanasyev | 5473234 | 2015-12-02 16:34:25 -0800 | [diff] [blame] | 10 | NFD_DAEMON_SRC_FILES := \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 11 | core/city-hash.cpp \ |
| 12 | core/config-file.cpp \ |
| 13 | core/global-io.cpp \ |
| 14 | core/network-interface.cpp \ |
| 15 | core/network.cpp \ |
| 16 | core/privilege-helper.cpp \ |
| 17 | core/random.cpp \ |
Alexander Afanasyev | 5473234 | 2015-12-02 16:34:25 -0800 | [diff] [blame] | 18 | core/scheduler.cpp \ |
| 19 | ../nfd-android/custom-logger.cpp \ |
| 20 | ../nfd-android/custom-logger-factory.cpp \ |
| 21 | \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 22 | daemon/face/channel.cpp \ |
| 23 | daemon/face/face.cpp \ |
Alexander Afanasyev | 77a3009 | 2016-01-21 19:46:58 -0800 | [diff] [blame^] | 24 | daemon/face/face-counters.cpp \ |
| 25 | daemon/face/generic-link-service.cpp \ |
Alexander Afanasyev | 150c264 | 2015-09-11 01:10:55 -0700 | [diff] [blame] | 26 | daemon/face/internal-face.cpp \ |
Alexander Afanasyev | 77a3009 | 2016-01-21 19:46:58 -0800 | [diff] [blame^] | 27 | daemon/face/internal-transport.cpp \ |
| 28 | daemon/face/link-service.cpp \ |
| 29 | daemon/face/lp-fragmenter.cpp \ |
| 30 | daemon/face/lp-reassembler.cpp \ |
| 31 | daemon/face/multicast-udp-transport.cpp \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 32 | daemon/face/null-face.cpp \ |
| 33 | daemon/face/tcp-channel.cpp \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 34 | daemon/face/tcp-factory.cpp \ |
Alexander Afanasyev | 77a3009 | 2016-01-21 19:46:58 -0800 | [diff] [blame^] | 35 | daemon/face/tcp-transport.cpp \ |
| 36 | daemon/face/transport.cpp \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 37 | daemon/face/udp-channel.cpp \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 38 | daemon/face/udp-factory.cpp \ |
Alexander Afanasyev | 77a3009 | 2016-01-21 19:46:58 -0800 | [diff] [blame^] | 39 | daemon/face/udp-protocol.cpp \ |
| 40 | daemon/face/unicast-udp-transport.cpp \ |
Alexander Afanasyev | edf1e2b | 2015-04-19 19:31:17 -0700 | [diff] [blame] | 41 | daemon/face/websocket-channel.cpp \ |
Alexander Afanasyev | edf1e2b | 2015-04-19 19:31:17 -0700 | [diff] [blame] | 42 | daemon/face/websocket-factory.cpp \ |
Alexander Afanasyev | 77a3009 | 2016-01-21 19:46:58 -0800 | [diff] [blame^] | 43 | daemon/face/websocket-transport.cpp \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 44 | daemon/fw/access-strategy.cpp \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 45 | daemon/fw/best-route-strategy.cpp \ |
| 46 | daemon/fw/best-route-strategy2.cpp \ |
| 47 | daemon/fw/broadcast-strategy.cpp \ |
| 48 | daemon/fw/client-control-strategy.cpp \ |
| 49 | daemon/fw/face-table.cpp \ |
| 50 | daemon/fw/forwarder.cpp \ |
Alexander Afanasyev | aacd65b | 2015-09-04 14:07:07 -0700 | [diff] [blame] | 51 | daemon/fw/multicast-strategy.cpp \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 52 | daemon/fw/ncc-strategy.cpp \ |
Alexander Afanasyev | edf1e2b | 2015-04-19 19:31:17 -0700 | [diff] [blame] | 53 | daemon/fw/retx-suppression-exponential.cpp \ |
Alexander Afanasyev | aacd65b | 2015-09-04 14:07:07 -0700 | [diff] [blame] | 54 | daemon/fw/retx-suppression-fixed.cpp \ |
Alexander Afanasyev | edf1e2b | 2015-04-19 19:31:17 -0700 | [diff] [blame] | 55 | daemon/fw/retx-suppression.cpp \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 56 | daemon/fw/rtt-estimator.cpp \ |
Alexander Afanasyev | edf1e2b | 2015-04-19 19:31:17 -0700 | [diff] [blame] | 57 | daemon/fw/strategy-registry.cpp \ |
Alexander Afanasyev | aacd65b | 2015-09-04 14:07:07 -0700 | [diff] [blame] | 58 | daemon/fw/strategy.cpp \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 59 | daemon/mgmt/command-validator.cpp \ |
| 60 | daemon/mgmt/face-manager.cpp \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 61 | daemon/mgmt/fib-manager.cpp \ |
Alexander Afanasyev | 150c264 | 2015-09-11 01:10:55 -0700 | [diff] [blame] | 62 | daemon/mgmt/forwarder-status-manager.cpp \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 63 | daemon/mgmt/general-config-section.cpp \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 64 | daemon/mgmt/manager-base.cpp \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 65 | daemon/mgmt/strategy-choice-manager.cpp \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 66 | daemon/mgmt/tables-config-section.cpp \ |
Alexander Afanasyev | aacd65b | 2015-09-04 14:07:07 -0700 | [diff] [blame] | 67 | daemon/nfd.cpp \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 68 | daemon/table/cs-entry-impl.cpp \ |
| 69 | daemon/table/cs-entry.cpp \ |
Alexander Afanasyev | aacd65b | 2015-09-04 14:07:07 -0700 | [diff] [blame] | 70 | daemon/table/cs-policy-lru.cpp \ |
| 71 | daemon/table/cs-policy-priority-fifo.cpp \ |
| 72 | daemon/table/cs-policy.cpp \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 73 | daemon/table/cs.cpp \ |
| 74 | daemon/table/dead-nonce-list.cpp \ |
| 75 | daemon/table/fib-entry.cpp \ |
| 76 | daemon/table/fib-nexthop.cpp \ |
| 77 | daemon/table/fib.cpp \ |
| 78 | daemon/table/measurements-accessor.cpp \ |
| 79 | daemon/table/measurements-entry.cpp \ |
| 80 | daemon/table/measurements.cpp \ |
| 81 | daemon/table/name-tree-entry.cpp \ |
| 82 | daemon/table/name-tree.cpp \ |
Alexander Afanasyev | 150c264 | 2015-09-11 01:10:55 -0700 | [diff] [blame] | 83 | daemon/table/network-region-table.cpp \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 84 | daemon/table/pit-entry.cpp \ |
| 85 | daemon/table/pit-face-record.cpp \ |
| 86 | daemon/table/pit-in-record.cpp \ |
| 87 | daemon/table/pit-out-record.cpp \ |
| 88 | daemon/table/pit.cpp \ |
| 89 | daemon/table/strategy-choice-entry.cpp \ |
| 90 | daemon/table/strategy-choice.cpp \ |
| 91 | daemon/table/strategy-info-host.cpp \ |
| 92 | \ |
Alexander Afanasyev | 77a3009 | 2016-01-21 19:46:58 -0800 | [diff] [blame^] | 93 | rib/auto-prefix-propagator.cpp \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 94 | rib/fib-update.cpp \ |
Alexander Afanasyev | edf1e2b | 2015-04-19 19:31:17 -0700 | [diff] [blame] | 95 | rib/fib-updater.cpp \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 96 | rib/nrd.cpp \ |
Alexander Afanasyev | 77a3009 | 2016-01-21 19:46:58 -0800 | [diff] [blame^] | 97 | rib/propagated-entry.cpp \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 98 | rib/rib-entry.cpp \ |
| 99 | rib/rib-manager.cpp \ |
| 100 | rib/rib-status-publisher.cpp \ |
Alexander Afanasyev | edf1e2b | 2015-04-19 19:31:17 -0700 | [diff] [blame] | 101 | rib/rib-update-batch.cpp \ |
| 102 | rib/rib-update.cpp \ |
| 103 | rib/rib.cpp \ |
| 104 | rib/route.cpp |
Alexander Afanasyev | 087c7c1 | 2015-02-02 00:21:21 -0800 | [diff] [blame] | 105 | LOCAL_SRC_FILES := $(addprefix NFD/,$(NFD_DAEMON_SRC_FILES)) |
Alexander Afanasyev | 5473234 | 2015-12-02 16:34:25 -0800 | [diff] [blame] | 106 | LOCAL_CPPFLAGS := \ |
| 107 | -I$(LOCAL_PATH)/nfd-android \ |
| 108 | -I$(LOCAL_PATH)/NFD \ |
| 109 | -I$(LOCAL_PATH)/NFD/core \ |
| 110 | -I$(LOCAL_PATH)/NFD/daemon \ |
| 111 | -I$(LOCAL_PATH)/NFD/rib \ |
| 112 | -I$(LOCAL_PATH)/NFD/websocketpp |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 113 | LOCAL_LDLIBS := -llog |
Alexander Afanasyev | 5473234 | 2015-12-02 16:34:25 -0800 | [diff] [blame] | 114 | LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/nfd-android $(LOCAL_PATH)/NFD |
Alexander Afanasyev | 087c7c1 | 2015-02-02 00:21:21 -0800 | [diff] [blame] | 115 | include $(BUILD_SHARED_LIBRARY) |