blob: 75cc28baca9e57eb208a7a6bcee70864985ccf0d [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.
Jeff Thompson23cb7422013-10-09 16:11:47 -070010ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS} -I m4
Jeff Thompsonff092f52013-06-19 13:38:12 -070011
Jeff Thompson6e229042013-10-10 11:09:49 -070012# "make install" will also install the include headers.
13SUBDIRS = include
14
Jeff Thompson4f031642013-08-05 11:03:16 -070015lib_LTLIBRARIES = libndn-c.la libndn-cpp.la
Jeff Thompson36174062013-06-21 16:03:44 -070016
Jeff Thompson0a6c0272013-10-10 18:00:34 -070017noinst_PROGRAMS = bin/test-encode-decode-forwarding-entry bin/test-encode-decode-interest bin/test-encode-decode-data \
Jeff Thompson990599b2013-08-27 15:14:25 -070018 bin/test-get-async bin/test-publish-async
Jeff Thompsonff092f52013-06-19 13:38:12 -070019
Jeff Thompson25b4e612013-10-10 16:03:24 -070020# Public C headers.
21ndn_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.
31ndn_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 \
Jeff Thompson25b4e612013-10-10 16:03:24 -070043 include/ndn-cpp/encoding/binary-xml-wire-format.hpp \
Jeff Thompson31b5c2f2013-10-12 15:13:16 -070044 include/ndn-cpp/encoding/element-listener.hpp \
45 include/ndn-cpp/encoding/oid.hpp \
Jeff Thompson25b4e612013-10-10 16:03:24 -070046 include/ndn-cpp/encoding/wire-format.hpp \
47 include/ndn-cpp/security/security-common.hpp \
48 include/ndn-cpp/security/key-chain.hpp \
49 include/ndn-cpp/security/security-exception.hpp \
Jeff Thompson958bf9b2013-10-12 17:20:51 -070050 include/ndn-cpp/security/certificate/certificate-extension.hpp \
51 include/ndn-cpp/security/certificate/certificate-subject-description.hpp \
Jeff Thompsonf39a5362013-10-10 16:22:44 -070052 include/ndn-cpp/security/certificate/certificate.hpp \
Jeff Thompsoncf0fdd92013-10-12 11:54:35 -070053 include/ndn-cpp/security/certificate/identity-certificate.hpp \
Jeff Thompson25b4e612013-10-10 16:03:24 -070054 include/ndn-cpp/security/certificate/public-key.hpp \
55 include/ndn-cpp/security/encryption/encryption-manager.hpp \
56 include/ndn-cpp/security/identity/basic-identity-storage.hpp \
57 include/ndn-cpp/security/identity/identity-manager.hpp \
58 include/ndn-cpp/security/identity/identity-storage.hpp \
59 include/ndn-cpp/security/identity/memory-identity-storage.hpp \
60 include/ndn-cpp/security/identity/memory-private-key-storage.hpp \
61 include/ndn-cpp/security/identity/osx-private-key-storage.hpp \
62 include/ndn-cpp/security/identity/private-key-storage.hpp \
63 include/ndn-cpp/security/policy/no-verify-policy-manager.hpp \
64 include/ndn-cpp/security/policy/policy-manager.hpp \
65 include/ndn-cpp/transport/tcp-transport.hpp \
66 include/ndn-cpp/transport/transport.hpp \
67 include/ndn-cpp/transport/udp-transport.hpp \
68 include/ndn-cpp/util/blob.hpp \
69 include/ndn-cpp/util/signed-blob.hpp
70
Jeff Thompson2bf5cdf2013-10-02 16:55:23 -070071# Just the C code.
Jeff Thompson25b4e612013-10-10 16:03:24 -070072libndn_c_la_SOURCES = $(ndn_cpp_c_headers) \
Jeff Thompson2db60372013-10-22 13:38:20 -070073 src/c/data.h \
74 src/c/errors.c src/c/errors.h \
75 src/c/forwarding-entry.h \
76 src/c/forwarding-flags.c \
77 src/c/interest.c src/c/interest.h \
78 src/c/name.c src/c/name.h \
79 src/c/publisher-public-key-digest.h \
80 src/c/encoding/binary-xml.h \
81 src/c/encoding/binary-xml-data.c src/c/encoding/binary-xml-data.h \
82 src/c/encoding/binary-xml-decoder.c src/c/encoding/binary-xml-decoder.h \
83 src/c/encoding/binary-xml-element-reader.c src/c/encoding/binary-xml-element-reader.h \
84 src/c/encoding/binary-xml-encoder.c src/c/encoding/binary-xml-encoder.h \
85 src/c/encoding/binary-xml-forwarding-entry.c src/c/encoding/binary-xml-forwarding-entry.h \
86 src/c/encoding/binary-xml-interest.c src/c/encoding/binary-xml-interest.h \
87 src/c/encoding/binary-xml-key.c src/c/encoding/binary-xml-key.h \
88 src/c/encoding/binary-xml-name.c src/c/encoding/binary-xml-name.h \
89 src/c/encoding/binary-xml-publisher-public-key-digest.c src/c/encoding/binary-xml-publisher-public-key-digest.h \
90 src/c/encoding/binary-xml-structure-decoder.c src/c/encoding/binary-xml-structure-decoder.h \
91 src/c/transport/socket-transport.c src/c/transport/socket-transport.h \
92 src/c/transport/tcp-transport.h \
93 src/c/transport/udp-transport.h \
94 src/c/util/blob.h \
95 src/c/util/crypto.c src/c/util/crypto.h \
96 src/c/util/dynamic-uint8-array.c src/c/util/dynamic-uint8-array.h \
97 src/c/util/ndn_memory.c src/c/util/ndn_memory.h \
98 src/c/util/ndn_realloc.c src/c/util/ndn_realloc.h \
99 src/c/util/time.c src/c/util/time.h
Jeff Thompsonff092f52013-06-19 13:38:12 -0700100
Jeff Thompson2bf5cdf2013-10-02 16:55:23 -0700101# C++ code and also the C code.
Jeff Thompson25b4e612013-10-10 16:03:24 -0700102libndn_cpp_la_SOURCES = $(libndn_c_la_SOURCES) $(ndn_cpp_cpp_headers) \
Jeff Thompson2db60372013-10-22 13:38:20 -0700103 src/common.cpp \
104 src/data.cpp \
105 src/face.cpp \
106 src/forwarding-entry.cpp \
107 src/interest.cpp \
108 src/key.cpp \
109 src/name.cpp \
110 src/node.cpp \
111 src/publisher-public-key-digest.cpp \
112 src/sha256-with-rsa-signature.cpp \
113 src/encoding/binary-xml-decoder.hpp \
114 src/encoding/binary-xml-encoder.hpp \
115 src/encoding/binary-xml-structure-decoder.hpp \
116 src/encoding/binary-xml-wire-format.cpp \
117 src/encoding/element-listener.cpp \
118 src/encoding/oid.cpp \
119 src/encoding/wire-format.cpp \
120 src/encoding/der/der-exception.cpp src/encoding/der/der-exception.hpp \
121 src/encoding/der/der.cpp src/encoding/der/der.hpp \
122 src/encoding/der/visitor/certificate-data-visitor.cpp src/encoding/der/visitor/certificate-data-visitor.hpp \
123 src/encoding/der/visitor/no-arguments-visitor.cpp src/encoding/der/visitor/no-arguments-visitor.hpp \
124 src/encoding/der/visitor/print-visitor.cpp src/encoding/der/visitor/print-visitor.hpp \
125 src/encoding/der/visitor/public-key-visitor.cpp src/encoding/der/visitor/public-key-visitor.hpp \
126 src/encoding/der/visitor/simple-visitor.cpp src/encoding/der/visitor/simple-visitor.hpp \
127 src/encoding/der/visitor/visitor.hpp \
128 src/encoding/der/visitor/void-no-arguments-visitor.hpp \
129 src/encoding/der/visitor/void-visitor.cpp src/encoding/der/visitor/void-visitor.hpp \
130 src/security/key-chain.cpp \
131 src/security/security-exception.cpp \
132 src/security/certificate/certificate-extension.cpp \
133 src/security/certificate/certificate-subject-description.cpp \
134 src/security/certificate/certificate.cpp \
135 src/security/certificate/identity-certificate.cpp \
136 src/security/certificate/public-key.cpp \
137 src/security/identity/basic-identity-storage.cpp \
138 src/security/identity/identity-manager.cpp \
Jeff Thompson22285ec2013-10-22 17:43:02 -0700139 src/security/identity/identity-storage.cpp \
Jeff Thompson2db60372013-10-22 13:38:20 -0700140 src/security/identity/memory-identity-storage.cpp \
141 src/security/identity/memory-private-key-storage.cpp \
142 src/security/identity/osx-private-key-storage.cpp \
143 src/security/policy/no-verify-policy-manager.cpp \
144 src/transport/tcp-transport.cpp \
145 src/transport/transport.cpp \
146 src/transport/udp-transport.cpp \
147 src/util/blob-stream.hpp \
148 src/util/blob.cpp \
149 src/util/changed-event.cpp src/util/changed-event.hpp \
150 src/util/dynamic-uint8-vector.cpp src/util/dynamic-uint8-vector.hpp \
151 src/util/logging.cpp src/util/logging.hpp
Jeff Thompson27e2feb2013-07-01 15:09:57 -0700152
Jeff Thompson990599b2013-08-27 15:14:25 -0700153bin_test_encode_decode_forwarding_entry_SOURCES = tests/test-encode-decode-forwarding-entry.cpp
Jeff Thompson2bf5cdf2013-10-02 16:55:23 -0700154bin_test_encode_decode_forwarding_entry_LDADD = libndn-cpp.la
Jeff Thompson990599b2013-08-27 15:14:25 -0700155
Jeff Thompsone32adb62013-08-02 13:18:36 -0700156bin_test_encode_decode_interest_SOURCES = tests/test-encode-decode-interest.cpp
Jeff Thompson2bf5cdf2013-10-02 16:55:23 -0700157bin_test_encode_decode_interest_LDADD = libndn-cpp.la
Jeff Thompson5cae5e52013-07-10 19:41:20 -0700158
Jeff Thompson56ec9e22013-08-02 11:34:07 -0700159bin_test_encode_decode_data_SOURCES = tests/test-encode-decode-data.cpp
Jeff Thompson2bf5cdf2013-10-02 16:55:23 -0700160bin_test_encode_decode_data_LDADD = libndn-cpp.la
Jeff Thompson36174062013-06-21 16:03:44 -0700161
Jeff Thompsonc98be1a2013-07-14 22:44:43 -0700162bin_test_get_async_SOURCES = tests/test-get-async.cpp
Jeff Thompson2bf5cdf2013-10-02 16:55:23 -0700163bin_test_get_async_LDADD = libndn-cpp.la
Jeff Thompsonc98be1a2013-07-14 22:44:43 -0700164
Jeff Thompsoncf624b92013-08-23 20:51:06 -0700165bin_test_publish_async_SOURCES = tests/test-publish-async.cpp
Jeff Thompson2bf5cdf2013-10-02 16:55:23 -0700166bin_test_publish_async_LDADD = libndn-cpp.la
Jeff Thompsoncf624b92013-08-23 20:51:06 -0700167
Jeff Thompsonff092f52013-06-19 13:38:12 -0700168dist_noinst_SCRIPTS = autogen.sh