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 | 0a6c027 | 2013-10-10 18:00:34 -0700 | [diff] [blame] | 17 | noinst_PROGRAMS = bin/test-encode-decode-forwarding-entry bin/test-encode-decode-interest bin/test-encode-decode-data \ |
Jeff Thompson | 990599b | 2013-08-27 15:14:25 -0700 | [diff] [blame] | 18 | 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. |
| 21 | ndn_cpp_c_headers = \ |
| 22 | include/ndn-cpp/ndn-cpp-config.h \ |
| 23 | include/ndn-cpp/c/common.h \ |
| 24 | include/ndn-cpp/c/data-types.h \ |
| 25 | include/ndn-cpp/c/forwarding-flags.h \ |
| 26 | include/ndn-cpp/c/interest-types.h \ |
| 27 | include/ndn-cpp/c/key-types.h \ |
| 28 | include/ndn-cpp/c/encoding/element-listener.h |
| 29 | |
| 30 | # Public C++ headers. |
| 31 | ndn_cpp_cpp_headers = \ |
| 32 | include/ndn-cpp/common.hpp \ |
| 33 | include/ndn-cpp/data.hpp \ |
| 34 | include/ndn-cpp/face.hpp \ |
| 35 | include/ndn-cpp/forwarding-entry.hpp \ |
| 36 | include/ndn-cpp/forwarding-flags.hpp \ |
| 37 | include/ndn-cpp/interest.hpp \ |
| 38 | include/ndn-cpp/key.hpp \ |
| 39 | include/ndn-cpp/name.hpp \ |
| 40 | include/ndn-cpp/node.hpp \ |
| 41 | include/ndn-cpp/publisher-public-key-digest.hpp \ |
| 42 | include/ndn-cpp/sha256-with-rsa-signature.hpp \ |
| 43 | include/ndn-cpp/encoding/element-listener.hpp \ |
| 44 | include/ndn-cpp/encoding/binary-xml-wire-format.hpp \ |
| 45 | include/ndn-cpp/encoding/wire-format.hpp \ |
| 46 | include/ndn-cpp/security/security-common.hpp \ |
| 47 | include/ndn-cpp/security/key-chain.hpp \ |
| 48 | include/ndn-cpp/security/security-exception.hpp \ |
Jeff Thompson | f39a536 | 2013-10-10 16:22:44 -0700 | [diff] [blame] | 49 | include/ndn-cpp/security/certificate/certificate.hpp \ |
Jeff Thompson | 25b4e61 | 2013-10-10 16:03:24 -0700 | [diff] [blame] | 50 | include/ndn-cpp/security/certificate/oid.hpp \ |
| 51 | include/ndn-cpp/security/certificate/public-key.hpp \ |
| 52 | include/ndn-cpp/security/encryption/encryption-manager.hpp \ |
| 53 | include/ndn-cpp/security/identity/basic-identity-storage.hpp \ |
| 54 | include/ndn-cpp/security/identity/identity-manager.hpp \ |
| 55 | include/ndn-cpp/security/identity/identity-storage.hpp \ |
| 56 | include/ndn-cpp/security/identity/memory-identity-storage.hpp \ |
| 57 | include/ndn-cpp/security/identity/memory-private-key-storage.hpp \ |
| 58 | include/ndn-cpp/security/identity/osx-private-key-storage.hpp \ |
| 59 | include/ndn-cpp/security/identity/private-key-storage.hpp \ |
| 60 | include/ndn-cpp/security/policy/no-verify-policy-manager.hpp \ |
| 61 | include/ndn-cpp/security/policy/policy-manager.hpp \ |
| 62 | include/ndn-cpp/transport/tcp-transport.hpp \ |
| 63 | include/ndn-cpp/transport/transport.hpp \ |
| 64 | include/ndn-cpp/transport/udp-transport.hpp \ |
| 65 | include/ndn-cpp/util/blob.hpp \ |
| 66 | include/ndn-cpp/util/signed-blob.hpp |
| 67 | |
Jeff Thompson | 2bf5cdf | 2013-10-02 16:55:23 -0700 | [diff] [blame] | 68 | # Just the C code. |
Jeff Thompson | 25b4e61 | 2013-10-10 16:03:24 -0700 | [diff] [blame] | 69 | libndn_c_la_SOURCES = $(ndn_cpp_c_headers) \ |
Jeff Thompson | 56ec9e2 | 2013-08-02 11:34:07 -0700 | [diff] [blame] | 70 | ndn-cpp/c/data.h \ |
Jeff Thompson | 990599b | 2013-08-27 15:14:25 -0700 | [diff] [blame] | 71 | ndn-cpp/c/errors.c ndn-cpp/c/errors.h \ |
| 72 | ndn-cpp/c/forwarding-entry.h \ |
Jeff Thompson | 25b4e61 | 2013-10-10 16:03:24 -0700 | [diff] [blame] | 73 | ndn-cpp/c/forwarding-flags.c \ |
Jeff Thompson | 2e0e088 | 2013-08-12 17:55:13 -0700 | [diff] [blame] | 74 | ndn-cpp/c/interest.c ndn-cpp/c/interest.h \ |
Jeff Thompson | f1ba9bd | 2013-08-12 17:43:08 -0700 | [diff] [blame] | 75 | ndn-cpp/c/name.c ndn-cpp/c/name.h \ |
Jeff Thompson | 5341219 | 2013-08-06 13:35:50 -0700 | [diff] [blame] | 76 | ndn-cpp/c/publisher-public-key-digest.h \ |
Jeff Thompson | 5341219 | 2013-08-06 13:35:50 -0700 | [diff] [blame] | 77 | ndn-cpp/c/encoding/binary-xml.h \ |
Jeff Thompson | 56ec9e2 | 2013-08-02 11:34:07 -0700 | [diff] [blame] | 78 | ndn-cpp/c/encoding/binary-xml-data.c ndn-cpp/c/encoding/binary-xml-data.h \ |
Jeff Thompson | 5341219 | 2013-08-06 13:35:50 -0700 | [diff] [blame] | 79 | ndn-cpp/c/encoding/binary-xml-decoder.c ndn-cpp/c/encoding/binary-xml-decoder.h \ |
| 80 | ndn-cpp/c/encoding/binary-xml-element-reader.c ndn-cpp/c/encoding/binary-xml-element-reader.h \ |
| 81 | ndn-cpp/c/encoding/binary-xml-encoder.c ndn-cpp/c/encoding/binary-xml-encoder.h \ |
Jeff Thompson | 990599b | 2013-08-27 15:14:25 -0700 | [diff] [blame] | 82 | ndn-cpp/c/encoding/binary-xml-forwarding-entry.c ndn-cpp/c/encoding/binary-xml-forwarding-entry.h \ |
Jeff Thompson | 5341219 | 2013-08-06 13:35:50 -0700 | [diff] [blame] | 83 | ndn-cpp/c/encoding/binary-xml-interest.c ndn-cpp/c/encoding/binary-xml-interest.h \ |
| 84 | ndn-cpp/c/encoding/binary-xml-key.c ndn-cpp/c/encoding/binary-xml-key.h \ |
| 85 | ndn-cpp/c/encoding/binary-xml-name.c ndn-cpp/c/encoding/binary-xml-name.h \ |
| 86 | ndn-cpp/c/encoding/binary-xml-publisher-public-key-digest.c ndn-cpp/c/encoding/binary-xml-publisher-public-key-digest.h \ |
| 87 | ndn-cpp/c/encoding/binary-xml-structure-decoder.c ndn-cpp/c/encoding/binary-xml-structure-decoder.h \ |
| 88 | ndn-cpp/c/transport/socket-transport.c ndn-cpp/c/transport/socket-transport.h \ |
| 89 | ndn-cpp/c/transport/tcp-transport.h \ |
| 90 | ndn-cpp/c/transport/udp-transport.h \ |
Jeff Thompson | 8dc775b | 2013-08-29 17:16:42 -0700 | [diff] [blame] | 91 | ndn-cpp/c/util/blob.h \ |
Jeff Thompson | 3af7e79 | 2013-08-23 14:22:11 -0700 | [diff] [blame] | 92 | ndn-cpp/c/util/crypto.c ndn-cpp/c/util/crypto.h \ |
Jeff Thompson | 10ad12a | 2013-09-24 16:19:11 -0700 | [diff] [blame] | 93 | ndn-cpp/c/util/dynamic-uint8-array.c ndn-cpp/c/util/dynamic-uint8-array.h \ |
Jeff Thompson | 4554509 | 2013-07-16 18:36:26 -0700 | [diff] [blame] | 94 | ndn-cpp/c/util/ndn_memory.c ndn-cpp/c/util/ndn_memory.h \ |
| 95 | ndn-cpp/c/util/ndn_realloc.c ndn-cpp/c/util/ndn_realloc.h |
Jeff Thompson | ff092f5 | 2013-06-19 13:38:12 -0700 | [diff] [blame] | 96 | |
Jeff Thompson | 2bf5cdf | 2013-10-02 16:55:23 -0700 | [diff] [blame] | 97 | # C++ code and also the C code. |
Jeff Thompson | 25b4e61 | 2013-10-10 16:03:24 -0700 | [diff] [blame] | 98 | libndn_cpp_la_SOURCES = $(libndn_c_la_SOURCES) $(ndn_cpp_cpp_headers) \ |
| 99 | ndn-cpp/common.cpp \ |
| 100 | ndn-cpp/data.cpp \ |
| 101 | ndn-cpp/face.cpp \ |
| 102 | ndn-cpp/forwarding-entry.cpp \ |
| 103 | ndn-cpp/interest.cpp \ |
| 104 | ndn-cpp/key.cpp \ |
| 105 | ndn-cpp/name.cpp \ |
| 106 | ndn-cpp/node.cpp \ |
| 107 | ndn-cpp/publisher-public-key-digest.cpp \ |
| 108 | ndn-cpp/sha256-with-rsa-signature.cpp \ |
| 109 | ndn-cpp/encoding/binary-xml-decoder.hpp \ |
| 110 | ndn-cpp/encoding/binary-xml-encoder.hpp \ |
| 111 | ndn-cpp/encoding/binary-xml-structure-decoder.hpp \ |
| 112 | ndn-cpp/encoding/binary-xml-wire-format.cpp \ |
| 113 | ndn-cpp/encoding/element-listener.cpp \ |
| 114 | ndn-cpp/encoding/wire-format.cpp \ |
| 115 | ndn-cpp/security/key-chain.cpp \ |
| 116 | ndn-cpp/security/security-exception.cpp \ |
| 117 | ndn-cpp/security/certificate/oid.cpp \ |
| 118 | ndn-cpp/security/certificate/public-key.cpp \ |
| 119 | ndn-cpp/security/identity/basic-identity-storage.cpp \ |
| 120 | ndn-cpp/security/identity/identity-manager.cpp \ |
| 121 | ndn-cpp/security/identity/memory-identity-storage.cpp \ |
| 122 | ndn-cpp/security/identity/memory-private-key-storage.cpp \ |
| 123 | ndn-cpp/security/identity/osx-private-key-storage.cpp \ |
| 124 | ndn-cpp/security/policy/no-verify-policy-manager.cpp \ |
| 125 | ndn-cpp/transport/tcp-transport.cpp \ |
| 126 | ndn-cpp/transport/transport.cpp \ |
| 127 | ndn-cpp/transport/udp-transport.cpp \ |
| 128 | ndn-cpp/util/blob.cpp \ |
Jeff Thompson | a04f23c | 2013-09-16 17:48:38 -0700 | [diff] [blame] | 129 | ndn-cpp/util/changed-event.cpp ndn-cpp/util/changed-event.hpp \ |
Jeff Thompson | 10ad12a | 2013-09-24 16:19:11 -0700 | [diff] [blame] | 130 | ndn-cpp/util/dynamic-uint8-vector.cpp ndn-cpp/util/dynamic-uint8-vector.hpp \ |
Jeff Thompson | 25b4e61 | 2013-10-10 16:03:24 -0700 | [diff] [blame] | 131 | ndn-cpp/util/logging.cpp ndn-cpp/util/logging.hpp |
Jeff Thompson | 27e2feb | 2013-07-01 15:09:57 -0700 | [diff] [blame] | 132 | |
Jeff Thompson | 990599b | 2013-08-27 15:14:25 -0700 | [diff] [blame] | 133 | 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] | 134 | bin_test_encode_decode_forwarding_entry_LDADD = libndn-cpp.la |
Jeff Thompson | 990599b | 2013-08-27 15:14:25 -0700 | [diff] [blame] | 135 | |
Jeff Thompson | e32adb6 | 2013-08-02 13:18:36 -0700 | [diff] [blame] | 136 | bin_test_encode_decode_interest_SOURCES = tests/test-encode-decode-interest.cpp |
Jeff Thompson | 2bf5cdf | 2013-10-02 16:55:23 -0700 | [diff] [blame] | 137 | bin_test_encode_decode_interest_LDADD = libndn-cpp.la |
Jeff Thompson | 5cae5e5 | 2013-07-10 19:41:20 -0700 | [diff] [blame] | 138 | |
Jeff Thompson | 56ec9e2 | 2013-08-02 11:34:07 -0700 | [diff] [blame] | 139 | bin_test_encode_decode_data_SOURCES = tests/test-encode-decode-data.cpp |
Jeff Thompson | 2bf5cdf | 2013-10-02 16:55:23 -0700 | [diff] [blame] | 140 | bin_test_encode_decode_data_LDADD = libndn-cpp.la |
Jeff Thompson | 3617406 | 2013-06-21 16:03:44 -0700 | [diff] [blame] | 141 | |
Jeff Thompson | c98be1a | 2013-07-14 22:44:43 -0700 | [diff] [blame] | 142 | bin_test_get_async_SOURCES = tests/test-get-async.cpp |
Jeff Thompson | 2bf5cdf | 2013-10-02 16:55:23 -0700 | [diff] [blame] | 143 | bin_test_get_async_LDADD = libndn-cpp.la |
Jeff Thompson | c98be1a | 2013-07-14 22:44:43 -0700 | [diff] [blame] | 144 | |
Jeff Thompson | cf624b9 | 2013-08-23 20:51:06 -0700 | [diff] [blame] | 145 | bin_test_publish_async_SOURCES = tests/test-publish-async.cpp |
Jeff Thompson | 2bf5cdf | 2013-10-02 16:55:23 -0700 | [diff] [blame] | 146 | bin_test_publish_async_LDADD = libndn-cpp.la |
Jeff Thompson | cf624b9 | 2013-08-23 20:51:06 -0700 | [diff] [blame] | 147 | |
Jeff Thompson | ff092f5 | 2013-06-19 13:38:12 -0700 | [diff] [blame] | 148 | dist_noinst_SCRIPTS = autogen.sh |