Jeff Thompson | ca45e55 | 2013-06-26 17:40:06 -0700 | [diff] [blame] | 1 | include aminclude.am |
| 2 | |
Jeff Thompson | ff092f5 | 2013-06-19 13:38:12 -0700 | [diff] [blame] | 3 | ## Place generated object files (.o) into the same directory as their source |
| 4 | ## files, in order to avoid collisions when non-recursive make is used. |
| 5 | AUTOMAKE_OPTIONS = subdir-objects |
| 6 | |
| 7 | ## Additional flags to pass to aclocal when it is invoked automatically at |
| 8 | ## make time. The ${ACLOCAL_FLAGS} variable is picked up from the environment |
| 9 | ## to provide a way for the user to supply additional arguments. |
Jeff Thompson | 23cb742 | 2013-10-09 16:11:47 -0700 | [diff] [blame] | 10 | ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS} -I m4 |
Jeff Thompson | ff092f5 | 2013-06-19 13:38:12 -0700 | [diff] [blame] | 11 | |
Jeff Thompson | 6e22904 | 2013-10-10 11:09:49 -0700 | [diff] [blame] | 12 | # "make install" will also install the include headers. |
| 13 | SUBDIRS = include |
| 14 | |
Jeff Thompson | 4f03164 | 2013-08-05 11:03:16 -0700 | [diff] [blame] | 15 | lib_LTLIBRARIES = libndn-c.la libndn-cpp.la |
Jeff Thompson | 3617406 | 2013-06-21 16:03:44 -0700 | [diff] [blame] | 16 | |
Jeff Thompson | 687ea65 | 2013-12-06 11:28:23 -0800 | [diff] [blame] | 17 | noinst_PROGRAMS = bin/test-encode-decode-benchmark bin/test-encode-decode-data bin/test-encode-decode-forwarding-entry \ |
| 18 | bin/test-encode-decode-interest bin/test-get-async bin/test-publish-async |
Jeff Thompson | ff092f5 | 2013-06-19 13:38:12 -0700 | [diff] [blame] | 19 | |
Jeff Thompson | 25b4e61 | 2013-10-10 16:03:24 -0700 | [diff] [blame] | 20 | # Public C headers. |
Jeff Thompson | 5ae3c90 | 2013-11-22 17:36:36 -0800 | [diff] [blame] | 21 | # NOTE: If a new directory is added, then add it to ndn_cpp_c_headers in include/Makefile.am. |
Jeff Thompson | 25b4e61 | 2013-10-10 16:03:24 -0700 | [diff] [blame] | 22 | ndn_cpp_c_headers = \ |
| 23 | include/ndn-cpp/ndn-cpp-config.h \ |
| 24 | include/ndn-cpp/c/common.h \ |
| 25 | include/ndn-cpp/c/data-types.h \ |
| 26 | include/ndn-cpp/c/forwarding-flags.h \ |
| 27 | include/ndn-cpp/c/interest-types.h \ |
| 28 | include/ndn-cpp/c/key-types.h \ |
| 29 | include/ndn-cpp/c/encoding/element-listener.h |
| 30 | |
| 31 | # Public C++ headers. |
Jeff Thompson | 5ae3c90 | 2013-11-22 17:36:36 -0800 | [diff] [blame] | 32 | # NOTE: If a new directory is added, then add it to ndn_cpp_cpp_headers in include/Makefile.am. |
Jeff Thompson | 25b4e61 | 2013-10-10 16:03:24 -0700 | [diff] [blame] | 33 | ndn_cpp_cpp_headers = \ |
| 34 | include/ndn-cpp/common.hpp \ |
| 35 | include/ndn-cpp/data.hpp \ |
| 36 | include/ndn-cpp/face.hpp \ |
| 37 | include/ndn-cpp/forwarding-entry.hpp \ |
| 38 | include/ndn-cpp/forwarding-flags.hpp \ |
| 39 | include/ndn-cpp/interest.hpp \ |
Jeff Thompson | 71b2f87 | 2013-12-17 12:03:17 -0800 | [diff] [blame] | 40 | include/ndn-cpp/key-locator.hpp \ |
Jeff Thompson | 25b4e61 | 2013-10-10 16:03:24 -0700 | [diff] [blame] | 41 | include/ndn-cpp/name.hpp \ |
| 42 | include/ndn-cpp/node.hpp \ |
| 43 | include/ndn-cpp/publisher-public-key-digest.hpp \ |
| 44 | include/ndn-cpp/sha256-with-rsa-signature.hpp \ |
Jeff Thompson | 25b4e61 | 2013-10-10 16:03:24 -0700 | [diff] [blame] | 45 | include/ndn-cpp/encoding/binary-xml-wire-format.hpp \ |
Jeff Thompson | 31b5c2f | 2013-10-12 15:13:16 -0700 | [diff] [blame] | 46 | include/ndn-cpp/encoding/element-listener.hpp \ |
| 47 | include/ndn-cpp/encoding/oid.hpp \ |
Jeff Thompson | 25b4e61 | 2013-10-10 16:03:24 -0700 | [diff] [blame] | 48 | include/ndn-cpp/encoding/wire-format.hpp \ |
| 49 | include/ndn-cpp/security/security-common.hpp \ |
| 50 | include/ndn-cpp/security/key-chain.hpp \ |
| 51 | include/ndn-cpp/security/security-exception.hpp \ |
Jeff Thompson | 958bf9b | 2013-10-12 17:20:51 -0700 | [diff] [blame] | 52 | include/ndn-cpp/security/certificate/certificate-extension.hpp \ |
| 53 | include/ndn-cpp/security/certificate/certificate-subject-description.hpp \ |
Jeff Thompson | f39a536 | 2013-10-10 16:22:44 -0700 | [diff] [blame] | 54 | include/ndn-cpp/security/certificate/certificate.hpp \ |
Jeff Thompson | cf0fdd9 | 2013-10-12 11:54:35 -0700 | [diff] [blame] | 55 | include/ndn-cpp/security/certificate/identity-certificate.hpp \ |
Jeff Thompson | 25b4e61 | 2013-10-10 16:03:24 -0700 | [diff] [blame] | 56 | include/ndn-cpp/security/certificate/public-key.hpp \ |
| 57 | include/ndn-cpp/security/encryption/encryption-manager.hpp \ |
| 58 | include/ndn-cpp/security/identity/basic-identity-storage.hpp \ |
| 59 | include/ndn-cpp/security/identity/identity-manager.hpp \ |
| 60 | include/ndn-cpp/security/identity/identity-storage.hpp \ |
| 61 | include/ndn-cpp/security/identity/memory-identity-storage.hpp \ |
| 62 | include/ndn-cpp/security/identity/memory-private-key-storage.hpp \ |
| 63 | include/ndn-cpp/security/identity/osx-private-key-storage.hpp \ |
| 64 | include/ndn-cpp/security/identity/private-key-storage.hpp \ |
| 65 | include/ndn-cpp/security/policy/no-verify-policy-manager.hpp \ |
| 66 | include/ndn-cpp/security/policy/policy-manager.hpp \ |
Jeff Thompson | 3a2eb2f | 2013-12-11 11:00:27 -0800 | [diff] [blame] | 67 | include/ndn-cpp/security/policy/self-verify-policy-manager.hpp \ |
Jeff Thompson | ba16b8f | 2013-12-16 13:11:47 -0800 | [diff] [blame] | 68 | include/ndn-cpp/security/policy/validation-request.hpp \ |
| 69 | include/ndn-cpp/security/signature/sha256-with-rsa-handler.hpp \ |
Jeff Thompson | 25b4e61 | 2013-10-10 16:03:24 -0700 | [diff] [blame] | 70 | include/ndn-cpp/transport/tcp-transport.hpp \ |
| 71 | include/ndn-cpp/transport/transport.hpp \ |
| 72 | include/ndn-cpp/transport/udp-transport.hpp \ |
| 73 | include/ndn-cpp/util/blob.hpp \ |
| 74 | include/ndn-cpp/util/signed-blob.hpp |
| 75 | |
Jeff Thompson | 2bf5cdf | 2013-10-02 16:55:23 -0700 | [diff] [blame] | 76 | # Just the C code. |
Jeff Thompson | 25b4e61 | 2013-10-10 16:03:24 -0700 | [diff] [blame] | 77 | libndn_c_la_SOURCES = $(ndn_cpp_c_headers) \ |
Jeff Thompson | 2db6037 | 2013-10-22 13:38:20 -0700 | [diff] [blame] | 78 | src/c/data.h \ |
| 79 | src/c/errors.c src/c/errors.h \ |
| 80 | src/c/forwarding-entry.h \ |
| 81 | src/c/forwarding-flags.c \ |
| 82 | src/c/interest.c src/c/interest.h \ |
Jeff Thompson | 98ec85a | 2013-12-17 11:57:56 -0800 | [diff] [blame] | 83 | src/c/key-locator.h \ |
Jeff Thompson | 2db6037 | 2013-10-22 13:38:20 -0700 | [diff] [blame] | 84 | src/c/name.c src/c/name.h \ |
| 85 | src/c/publisher-public-key-digest.h \ |
| 86 | src/c/encoding/binary-xml.h \ |
| 87 | src/c/encoding/binary-xml-data.c src/c/encoding/binary-xml-data.h \ |
| 88 | src/c/encoding/binary-xml-decoder.c src/c/encoding/binary-xml-decoder.h \ |
| 89 | src/c/encoding/binary-xml-element-reader.c src/c/encoding/binary-xml-element-reader.h \ |
| 90 | src/c/encoding/binary-xml-encoder.c src/c/encoding/binary-xml-encoder.h \ |
| 91 | src/c/encoding/binary-xml-forwarding-entry.c src/c/encoding/binary-xml-forwarding-entry.h \ |
| 92 | src/c/encoding/binary-xml-interest.c src/c/encoding/binary-xml-interest.h \ |
| 93 | src/c/encoding/binary-xml-key.c src/c/encoding/binary-xml-key.h \ |
| 94 | src/c/encoding/binary-xml-name.c src/c/encoding/binary-xml-name.h \ |
| 95 | src/c/encoding/binary-xml-publisher-public-key-digest.c src/c/encoding/binary-xml-publisher-public-key-digest.h \ |
| 96 | src/c/encoding/binary-xml-structure-decoder.c src/c/encoding/binary-xml-structure-decoder.h \ |
| 97 | src/c/transport/socket-transport.c src/c/transport/socket-transport.h \ |
| 98 | src/c/transport/tcp-transport.h \ |
| 99 | src/c/transport/udp-transport.h \ |
| 100 | src/c/util/blob.h \ |
| 101 | src/c/util/crypto.c src/c/util/crypto.h \ |
| 102 | src/c/util/dynamic-uint8-array.c src/c/util/dynamic-uint8-array.h \ |
| 103 | src/c/util/ndn_memory.c src/c/util/ndn_memory.h \ |
| 104 | src/c/util/ndn_realloc.c src/c/util/ndn_realloc.h \ |
| 105 | src/c/util/time.c src/c/util/time.h |
Jeff Thompson | ff092f5 | 2013-06-19 13:38:12 -0700 | [diff] [blame] | 106 | |
Jeff Thompson | 2bf5cdf | 2013-10-02 16:55:23 -0700 | [diff] [blame] | 107 | # C++ code and also the C code. |
Jeff Thompson | 25b4e61 | 2013-10-10 16:03:24 -0700 | [diff] [blame] | 108 | libndn_cpp_la_SOURCES = $(libndn_c_la_SOURCES) $(ndn_cpp_cpp_headers) \ |
Jeff Thompson | 2db6037 | 2013-10-22 13:38:20 -0700 | [diff] [blame] | 109 | src/common.cpp \ |
| 110 | src/data.cpp \ |
| 111 | src/face.cpp \ |
| 112 | src/forwarding-entry.cpp \ |
| 113 | src/interest.cpp \ |
Jeff Thompson | 3bb843b | 2013-12-17 12:23:24 -0800 | [diff] [blame] | 114 | src/key-locator.cpp \ |
Jeff Thompson | 2db6037 | 2013-10-22 13:38:20 -0700 | [diff] [blame] | 115 | src/name.cpp \ |
| 116 | src/node.cpp \ |
| 117 | src/publisher-public-key-digest.cpp \ |
| 118 | src/sha256-with-rsa-signature.cpp \ |
| 119 | src/encoding/binary-xml-decoder.hpp \ |
| 120 | src/encoding/binary-xml-encoder.hpp \ |
| 121 | src/encoding/binary-xml-structure-decoder.hpp \ |
| 122 | src/encoding/binary-xml-wire-format.cpp \ |
| 123 | src/encoding/element-listener.cpp \ |
| 124 | src/encoding/oid.cpp \ |
| 125 | src/encoding/wire-format.cpp \ |
| 126 | src/encoding/der/der-exception.cpp src/encoding/der/der-exception.hpp \ |
| 127 | src/encoding/der/der.cpp src/encoding/der/der.hpp \ |
| 128 | src/encoding/der/visitor/certificate-data-visitor.cpp src/encoding/der/visitor/certificate-data-visitor.hpp \ |
| 129 | src/encoding/der/visitor/no-arguments-visitor.cpp src/encoding/der/visitor/no-arguments-visitor.hpp \ |
| 130 | src/encoding/der/visitor/print-visitor.cpp src/encoding/der/visitor/print-visitor.hpp \ |
| 131 | src/encoding/der/visitor/public-key-visitor.cpp src/encoding/der/visitor/public-key-visitor.hpp \ |
| 132 | src/encoding/der/visitor/simple-visitor.cpp src/encoding/der/visitor/simple-visitor.hpp \ |
| 133 | src/encoding/der/visitor/visitor.hpp \ |
| 134 | src/encoding/der/visitor/void-no-arguments-visitor.hpp \ |
| 135 | src/encoding/der/visitor/void-visitor.cpp src/encoding/der/visitor/void-visitor.hpp \ |
| 136 | src/security/key-chain.cpp \ |
| 137 | src/security/security-exception.cpp \ |
| 138 | src/security/certificate/certificate-extension.cpp \ |
| 139 | src/security/certificate/certificate-subject-description.cpp \ |
| 140 | src/security/certificate/certificate.cpp \ |
| 141 | src/security/certificate/identity-certificate.cpp \ |
| 142 | src/security/certificate/public-key.cpp \ |
| 143 | src/security/identity/basic-identity-storage.cpp \ |
| 144 | src/security/identity/identity-manager.cpp \ |
Jeff Thompson | 22285ec | 2013-10-22 17:43:02 -0700 | [diff] [blame] | 145 | src/security/identity/identity-storage.cpp \ |
Jeff Thompson | 2db6037 | 2013-10-22 13:38:20 -0700 | [diff] [blame] | 146 | src/security/identity/memory-identity-storage.cpp \ |
| 147 | src/security/identity/memory-private-key-storage.cpp \ |
| 148 | src/security/identity/osx-private-key-storage.cpp \ |
| 149 | src/security/policy/no-verify-policy-manager.cpp \ |
Jeff Thompson | 3a2eb2f | 2013-12-11 11:00:27 -0800 | [diff] [blame] | 150 | src/security/policy/self-verify-policy-manager.cpp \ |
Jeff Thompson | ba16b8f | 2013-12-16 13:11:47 -0800 | [diff] [blame] | 151 | src/security/signature/sha256-with-rsa-handler.cpp \ |
Jeff Thompson | 2db6037 | 2013-10-22 13:38:20 -0700 | [diff] [blame] | 152 | src/transport/tcp-transport.cpp \ |
| 153 | src/transport/transport.cpp \ |
| 154 | src/transport/udp-transport.cpp \ |
| 155 | src/util/blob-stream.hpp \ |
| 156 | src/util/blob.cpp \ |
| 157 | src/util/changed-event.cpp src/util/changed-event.hpp \ |
| 158 | src/util/dynamic-uint8-vector.cpp src/util/dynamic-uint8-vector.hpp \ |
| 159 | src/util/logging.cpp src/util/logging.hpp |
Jeff Thompson | 27e2feb | 2013-07-01 15:09:57 -0700 | [diff] [blame] | 160 | |
Jeff Thompson | 687ea65 | 2013-12-06 11:28:23 -0800 | [diff] [blame] | 161 | bin_test_encode_decode_benchmark_SOURCES = tests/test-encode-decode-benchmark.cpp |
| 162 | bin_test_encode_decode_benchmark_LDADD = libndn-cpp.la |
| 163 | |
| 164 | bin_test_encode_decode_data_SOURCES = tests/test-encode-decode-data.cpp |
| 165 | bin_test_encode_decode_data_LDADD = libndn-cpp.la |
| 166 | |
Jeff Thompson | 990599b | 2013-08-27 15:14:25 -0700 | [diff] [blame] | 167 | bin_test_encode_decode_forwarding_entry_SOURCES = tests/test-encode-decode-forwarding-entry.cpp |
Jeff Thompson | 2bf5cdf | 2013-10-02 16:55:23 -0700 | [diff] [blame] | 168 | bin_test_encode_decode_forwarding_entry_LDADD = libndn-cpp.la |
Jeff Thompson | 990599b | 2013-08-27 15:14:25 -0700 | [diff] [blame] | 169 | |
Jeff Thompson | e32adb6 | 2013-08-02 13:18:36 -0700 | [diff] [blame] | 170 | bin_test_encode_decode_interest_SOURCES = tests/test-encode-decode-interest.cpp |
Jeff Thompson | 2bf5cdf | 2013-10-02 16:55:23 -0700 | [diff] [blame] | 171 | bin_test_encode_decode_interest_LDADD = libndn-cpp.la |
Jeff Thompson | 5cae5e5 | 2013-07-10 19:41:20 -0700 | [diff] [blame] | 172 | |
Jeff Thompson | c98be1a | 2013-07-14 22:44:43 -0700 | [diff] [blame] | 173 | bin_test_get_async_SOURCES = tests/test-get-async.cpp |
Jeff Thompson | 2bf5cdf | 2013-10-02 16:55:23 -0700 | [diff] [blame] | 174 | bin_test_get_async_LDADD = libndn-cpp.la |
Jeff Thompson | c98be1a | 2013-07-14 22:44:43 -0700 | [diff] [blame] | 175 | |
Jeff Thompson | cf624b9 | 2013-08-23 20:51:06 -0700 | [diff] [blame] | 176 | bin_test_publish_async_SOURCES = tests/test-publish-async.cpp |
Jeff Thompson | 2bf5cdf | 2013-10-02 16:55:23 -0700 | [diff] [blame] | 177 | bin_test_publish_async_LDADD = libndn-cpp.la |
Jeff Thompson | cf624b9 | 2013-08-23 20:51:06 -0700 | [diff] [blame] | 178 | |
Jeff Thompson | ff092f5 | 2013-06-19 13:38:12 -0700 | [diff] [blame] | 179 | dist_noinst_SCRIPTS = autogen.sh |