blob: d0f7b92c98830bee745d75f4a1c42f4ee0735b9a [file] [log] [blame]
Jeff Thompsonca45e552013-06-26 17:40:06 -07001include aminclude.am
2
Jeff Thompsonff092f52013-06-19 13:38:12 -07003## 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.
5AUTOMAKE_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.
10ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS}
11
Jeff Thompson4f031642013-08-05 11:03:16 -070012lib_LTLIBRARIES = libndn-c.la libndn-cpp.la
Jeff Thompson36174062013-06-21 16:03:44 -070013
Jeff Thompson990599b2013-08-27 15:14:25 -070014bin_PROGRAMS = bin/test-encode-decode-forwarding-entry bin/test-encode-decode-interest bin/test-encode-decode-data \
15 bin/test-get-async bin/test-publish-async
Jeff Thompsonff092f52013-06-19 13:38:12 -070016
Jeff Thompson2bf5cdf2013-10-02 16:55:23 -070017# Just the C code.
Jeff Thompson4f031642013-08-05 11:03:16 -070018libndn_c_la_SOURCES = \
Jeff Thompson6cb56f92013-07-01 15:38:09 -070019 config.h \
Jeff Thompsonc868dd02013-09-24 15:50:47 -070020 ndn-cpp/c/common.h \
Jeff Thompson56ec9e22013-08-02 11:34:07 -070021 ndn-cpp/c/data.h \
Jeff Thompson990599b2013-08-27 15:14:25 -070022 ndn-cpp/c/errors.c ndn-cpp/c/errors.h \
23 ndn-cpp/c/forwarding-entry.h \
Jeff Thompson1f8a31a2013-09-30 16:18:47 -070024 ndn-cpp/c/forwarding-flags.c ndn-cpp/c/forwarding-flags.h \
Jeff Thompson2e0e0882013-08-12 17:55:13 -070025 ndn-cpp/c/interest.c ndn-cpp/c/interest.h \
Jeff Thompson53412192013-08-06 13:35:50 -070026 ndn-cpp/c/key.h \
Jeff Thompsonf1ba9bd2013-08-12 17:43:08 -070027 ndn-cpp/c/name.c ndn-cpp/c/name.h \
Jeff Thompson53412192013-08-06 13:35:50 -070028 ndn-cpp/c/publisher-public-key-digest.h \
Jeff Thompson53412192013-08-06 13:35:50 -070029 ndn-cpp/c/encoding/binary-xml.h \
Jeff Thompson56ec9e22013-08-02 11:34:07 -070030 ndn-cpp/c/encoding/binary-xml-data.c ndn-cpp/c/encoding/binary-xml-data.h \
Jeff Thompson53412192013-08-06 13:35:50 -070031 ndn-cpp/c/encoding/binary-xml-decoder.c ndn-cpp/c/encoding/binary-xml-decoder.h \
32 ndn-cpp/c/encoding/binary-xml-element-reader.c ndn-cpp/c/encoding/binary-xml-element-reader.h \
33 ndn-cpp/c/encoding/binary-xml-encoder.c ndn-cpp/c/encoding/binary-xml-encoder.h \
Jeff Thompson990599b2013-08-27 15:14:25 -070034 ndn-cpp/c/encoding/binary-xml-forwarding-entry.c ndn-cpp/c/encoding/binary-xml-forwarding-entry.h \
Jeff Thompson53412192013-08-06 13:35:50 -070035 ndn-cpp/c/encoding/binary-xml-interest.c ndn-cpp/c/encoding/binary-xml-interest.h \
36 ndn-cpp/c/encoding/binary-xml-key.c ndn-cpp/c/encoding/binary-xml-key.h \
37 ndn-cpp/c/encoding/binary-xml-name.c ndn-cpp/c/encoding/binary-xml-name.h \
38 ndn-cpp/c/encoding/binary-xml-publisher-public-key-digest.c ndn-cpp/c/encoding/binary-xml-publisher-public-key-digest.h \
39 ndn-cpp/c/encoding/binary-xml-structure-decoder.c ndn-cpp/c/encoding/binary-xml-structure-decoder.h \
40 ndn-cpp/c/transport/socket-transport.c ndn-cpp/c/transport/socket-transport.h \
41 ndn-cpp/c/transport/tcp-transport.h \
42 ndn-cpp/c/transport/udp-transport.h \
Jeff Thompson8dc775b2013-08-29 17:16:42 -070043 ndn-cpp/c/util/blob.h \
Jeff Thompson3af7e792013-08-23 14:22:11 -070044 ndn-cpp/c/util/crypto.c ndn-cpp/c/util/crypto.h \
Jeff Thompson10ad12a2013-09-24 16:19:11 -070045 ndn-cpp/c/util/dynamic-uint8-array.c ndn-cpp/c/util/dynamic-uint8-array.h \
Jeff Thompson45545092013-07-16 18:36:26 -070046 ndn-cpp/c/util/ndn_memory.c ndn-cpp/c/util/ndn_memory.h \
47 ndn-cpp/c/util/ndn_realloc.c ndn-cpp/c/util/ndn_realloc.h
Jeff Thompsonff092f52013-06-19 13:38:12 -070048
Jeff Thompson2bf5cdf2013-10-02 16:55:23 -070049# C++ code and also the C code.
Jeff Thompson4f031642013-08-05 11:03:16 -070050libndn_cpp_la_SOURCES = \
Jeff Thompson2bf5cdf2013-10-02 16:55:23 -070051 $(libndn_c_la_SOURCES) \
Jeff Thompsona8d7b062013-08-08 15:56:35 -070052 config.h \
Jeff Thompsonc868dd02013-09-24 15:50:47 -070053 ndn-cpp/c/common.h \
Jeff Thompsona8d7b062013-08-08 15:56:35 -070054 ndn-cpp/common.hpp ndn-cpp/common.cpp \
Jeff Thompson56ec9e22013-08-02 11:34:07 -070055 ndn-cpp/data.cpp ndn-cpp/c/data.h ndn-cpp/data.hpp \
Jeff Thompsonb9e3c8e2013-08-02 11:42:51 -070056 ndn-cpp/face.cpp ndn-cpp/face.hpp \
Jeff Thompson990599b2013-08-27 15:14:25 -070057 ndn-cpp/forwarding-entry.cpp ndn-cpp/c/forwarding-entry.h ndn-cpp/forwarding-entry.hpp \
Jeff Thompson1f8a31a2013-09-30 16:18:47 -070058 ndn-cpp/c/forwarding-entry.h ndn-cpp/forwarding-entry.hpp \
Jeff Thompsone2cd5872013-09-19 15:53:29 -070059 ndn-cpp/interest.cpp ndn-cpp/c/interest.h ndn-cpp/interest.hpp \
60 ndn-cpp/key.cpp ndn-cpp/c/key.h ndn-cpp/key.hpp \
Jeff Thompson53412192013-08-06 13:35:50 -070061 ndn-cpp/name.cpp ndn-cpp/c/name.h ndn-cpp/name.hpp \
Jeff Thompson6cd59312013-08-21 17:56:13 -070062 ndn-cpp/node.cpp ndn-cpp/node.hpp \
Jeff Thompson53412192013-08-06 13:35:50 -070063 ndn-cpp/publisher-public-key-digest.hpp \
Jeff Thompson7b79eb62013-09-12 18:48:29 -070064 ndn-cpp/sha256-with-rsa-signature.cpp ndn-cpp/sha256-with-rsa-signature.hpp \
Jeff Thompson53412192013-08-06 13:35:50 -070065 ndn-cpp/c/encoding/binary-xml.h \
66 ndn-cpp/c/encoding/binary-xml-decoder.h ndn-cpp/encoding/binary-xml-decoder.hpp \
67 ndn-cpp/c/encoding/binary-xml-element-reader.h ndn-cpp/encoding/binary-xml-element-reader.cpp ndn-cpp/encoding/binary-xml-element-reader.hpp \
Jeff Thompson10ad12a2013-09-24 16:19:11 -070068 ndn-cpp/c/encoding/binary-xml-encoder.h ndn-cpp/encoding/binary-xml-encoder.hpp ndn-cpp/c/util/dynamic-uint8-array.h \
Jeff Thompson53412192013-08-06 13:35:50 -070069 ndn-cpp/c/encoding/binary-xml-structure-decoder.h ndn-cpp/encoding/binary-xml-structure-decoder.hpp \
70 ndn-cpp/encoding/binary-xml-wire-format.cpp ndn-cpp/c/encoding/binary-xml-name.h ndn-cpp/encoding/binary-xml-wire-format.hpp \
71 ndn-cpp/encoding/wire-format.cpp ndn-cpp/encoding/wire-format.hpp \
Jeff Thompson7b79eb62013-09-12 18:48:29 -070072 ndn-cpp/security/security-common.hpp \
Jeff Thompson41471912013-09-12 16:21:50 -070073 ndn-cpp/security/key-chain.cpp ndn-cpp/security/key-chain.hpp \
Jeff Thompsonc0573432013-09-19 17:41:36 -070074 ndn-cpp/security/security-exception.cpp ndn-cpp/security/security-exception.hpp \
75 ndn-cpp/security/certificate/oid.cpp ndn-cpp/security/certificate/oid.hpp \
76 ndn-cpp/security/certificate/public-key.cpp ndn-cpp/security/certificate/public-key.hpp \
Jeff Thompson79a2d5d2013-09-27 14:32:23 -070077 ndn-cpp/security/encryption/encryption-manager.hpp \
Jeff Thompson7b79eb62013-09-12 18:48:29 -070078 ndn-cpp/security/identity/identity-manager.cpp ndn-cpp/security/identity/identity-manager.hpp \
Jeff Thompson6c314bc2013-09-23 18:09:38 -070079 ndn-cpp/security/identity/identity-storage.hpp \
80 ndn-cpp/security/identity/memory-identity-storage.cpp ndn-cpp/security/identity/memory-identity-storage.hpp \
81 ndn-cpp/security/identity/memory-private-key-storage.cpp ndn-cpp/security/identity/memory-private-key-storage.hpp \
82 ndn-cpp/security/identity/private-key-storage.hpp \
Jeff Thompson3f3cfd32013-09-27 11:46:52 -070083 ndn-cpp/security/policy/no-verify-policy-manager.cpp ndn-cpp/security/policy/no-verify-policy-manager.hpp \
84 ndn-cpp/security/policy/policy-manager.hpp \
Jeff Thompson53412192013-08-06 13:35:50 -070085 ndn-cpp/c/transport/socket-transport.h ndn-cpp/c/transport/tcp-transport.h ndn-cpp/transport/tcp-transport.cpp ndn-cpp/transport/tcp-transport.hpp \
86 ndn-cpp/transport/transport.cpp ndn-cpp/transport/transport.hpp \
Jeff Thompson529779a2013-08-12 13:15:55 -070087 ndn-cpp/c/transport/socket-transport.h ndn-cpp/c/transport/udp-transport.h ndn-cpp/transport/udp-transport.cpp ndn-cpp/transport/udp-transport.hpp \
Jeff Thompson25e89382013-09-11 15:35:19 -070088 ndn-cpp/util/blob.hpp \
Jeff Thompsona04f23c2013-09-16 17:48:38 -070089 ndn-cpp/util/changed-event.cpp ndn-cpp/util/changed-event.hpp \
Jeff Thompson10ad12a2013-09-24 16:19:11 -070090 ndn-cpp/util/dynamic-uint8-vector.cpp ndn-cpp/util/dynamic-uint8-vector.hpp \
Jeff Thompsone2cd5872013-09-19 15:53:29 -070091 ndn-cpp/util/logging.cpp ndn-cpp/util/logging.hpp \
Jeff Thompsond56753e2013-09-13 16:46:17 -070092 ndn-cpp/util/signed-blob.hpp
Jeff Thompson27e2feb2013-07-01 15:09:57 -070093
Jeff Thompson990599b2013-08-27 15:14:25 -070094bin_test_encode_decode_forwarding_entry_SOURCES = tests/test-encode-decode-forwarding-entry.cpp
Jeff Thompson2bf5cdf2013-10-02 16:55:23 -070095bin_test_encode_decode_forwarding_entry_LDADD = libndn-cpp.la
Jeff Thompson990599b2013-08-27 15:14:25 -070096
Jeff Thompsone32adb62013-08-02 13:18:36 -070097bin_test_encode_decode_interest_SOURCES = tests/test-encode-decode-interest.cpp
Jeff Thompson2bf5cdf2013-10-02 16:55:23 -070098bin_test_encode_decode_interest_LDADD = libndn-cpp.la
Jeff Thompson5cae5e52013-07-10 19:41:20 -070099
Jeff Thompson56ec9e22013-08-02 11:34:07 -0700100bin_test_encode_decode_data_SOURCES = tests/test-encode-decode-data.cpp
Jeff Thompson2bf5cdf2013-10-02 16:55:23 -0700101bin_test_encode_decode_data_LDADD = libndn-cpp.la
Jeff Thompson36174062013-06-21 16:03:44 -0700102
Jeff Thompsonc98be1a2013-07-14 22:44:43 -0700103bin_test_get_async_SOURCES = tests/test-get-async.cpp
Jeff Thompson2bf5cdf2013-10-02 16:55:23 -0700104bin_test_get_async_LDADD = libndn-cpp.la
Jeff Thompsonc98be1a2013-07-14 22:44:43 -0700105
Jeff Thompsoncf624b92013-08-23 20:51:06 -0700106bin_test_publish_async_SOURCES = tests/test-publish-async.cpp
Jeff Thompson2bf5cdf2013-10-02 16:55:23 -0700107bin_test_publish_async_LDADD = libndn-cpp.la
Jeff Thompsoncf624b92013-08-23 20:51:06 -0700108
Jeff Thompsonff092f52013-06-19 13:38:12 -0700109dist_noinst_SCRIPTS = autogen.sh