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 | 4f03164 | 2013-08-05 11:03:16 -0700 | [diff] [blame] | 12 | lib_LTLIBRARIES = libndn-c.la libndn-cpp.la |
Jeff Thompson | 3617406 | 2013-06-21 16:03:44 -0700 | [diff] [blame] | 13 | |
Alexander Afanasyev | 7eb64f1 | 2014-01-02 18:39:49 -0800 | [diff] [blame] | 14 | # "make install" will also install the include headers. |
Alexander Afanasyev | c4b7598 | 2014-01-09 14:51:45 -0800 | [diff] [blame] | 15 | SUBDIRS = include . tools examples |
Alexander Afanasyev | fad679c | 2014-01-06 18:09:26 -0800 | [diff] [blame] | 16 | |
| 17 | if COMPILE_TESTS |
| 18 | SUBDIRS += tests |
| 19 | if HAVE_BOOST_UNIT_TEST_FRAMEWORK |
| 20 | SUBDIRS += tests_boost |
| 21 | endif |
| 22 | endif |
Jeff Thompson | 25b4e61 | 2013-10-10 16:03:24 -0700 | [diff] [blame] | 23 | |
Jeff Thompson | 2bf5cdf | 2013-10-02 16:55:23 -0700 | [diff] [blame] | 24 | # Just the C code. |
Alexander Afanasyev | 7eb64f1 | 2014-01-02 18:39:49 -0800 | [diff] [blame] | 25 | ## To regenerate: |
| 26 | ## for i in `find src/c -name '*.c' -or -name '*.h'`; do echo " $i \\"; done |
| 27 | ## |
| 28 | ## Note that public header files do not need to be included here (handled by include/Makefile.am) |
| 29 | libndn_c_la_SOURCES = \ |
Jeff Thompson | 2db6037 | 2013-10-22 13:38:20 -0700 | [diff] [blame] | 30 | src/c/data.h \ |
Alexander Afanasyev | 7eb64f1 | 2014-01-02 18:39:49 -0800 | [diff] [blame] | 31 | src/c/encoding/binary-xml-data.c \ |
| 32 | src/c/encoding/binary-xml-data.h \ |
| 33 | src/c/encoding/binary-xml-decoder.c \ |
| 34 | src/c/encoding/binary-xml-decoder.h \ |
| 35 | src/c/encoding/binary-xml-element-reader.c \ |
| 36 | src/c/encoding/binary-xml-element-reader.h \ |
| 37 | src/c/encoding/binary-xml-encoder.c \ |
| 38 | src/c/encoding/binary-xml-encoder.h \ |
| 39 | src/c/encoding/binary-xml-forwarding-entry.c \ |
| 40 | src/c/encoding/binary-xml-forwarding-entry.h \ |
| 41 | src/c/encoding/binary-xml-interest.c \ |
| 42 | src/c/encoding/binary-xml-interest.h \ |
| 43 | src/c/encoding/binary-xml-key.c \ |
| 44 | src/c/encoding/binary-xml-key.h \ |
| 45 | src/c/encoding/binary-xml-name.c \ |
| 46 | src/c/encoding/binary-xml-name.h \ |
| 47 | src/c/encoding/binary-xml-publisher-public-key-digest.c \ |
| 48 | src/c/encoding/binary-xml-publisher-public-key-digest.h \ |
| 49 | src/c/encoding/binary-xml-structure-decoder.c \ |
| 50 | src/c/encoding/binary-xml-structure-decoder.h \ |
| 51 | src/c/encoding/binary-xml.h \ |
| 52 | src/c/errors.c \ |
| 53 | src/c/errors.h \ |
Jeff Thompson | 2db6037 | 2013-10-22 13:38:20 -0700 | [diff] [blame] | 54 | src/c/forwarding-entry.h \ |
| 55 | src/c/forwarding-flags.c \ |
Alexander Afanasyev | 7eb64f1 | 2014-01-02 18:39:49 -0800 | [diff] [blame] | 56 | src/c/interest.c \ |
| 57 | src/c/interest.h \ |
Jeff Thompson | 98ec85a | 2013-12-17 11:57:56 -0800 | [diff] [blame] | 58 | src/c/key-locator.h \ |
Alexander Afanasyev | 7eb64f1 | 2014-01-02 18:39:49 -0800 | [diff] [blame] | 59 | src/c/name.c \ |
| 60 | src/c/name.h \ |
Jeff Thompson | 2db6037 | 2013-10-22 13:38:20 -0700 | [diff] [blame] | 61 | src/c/publisher-public-key-digest.h \ |
Alexander Afanasyev | 7eb64f1 | 2014-01-02 18:39:49 -0800 | [diff] [blame] | 62 | src/c/transport/socket-transport.c \ |
| 63 | src/c/transport/socket-transport.h \ |
Jeff Thompson | 2db6037 | 2013-10-22 13:38:20 -0700 | [diff] [blame] | 64 | src/c/transport/tcp-transport.h \ |
| 65 | src/c/transport/udp-transport.h \ |
| 66 | src/c/util/blob.h \ |
Alexander Afanasyev | 7eb64f1 | 2014-01-02 18:39:49 -0800 | [diff] [blame] | 67 | src/c/util/crypto.c \ |
Alexander Afanasyev | 7eb64f1 | 2014-01-02 18:39:49 -0800 | [diff] [blame] | 68 | src/c/util/dynamic-uint8-array.c \ |
| 69 | src/c/util/dynamic-uint8-array.h \ |
| 70 | src/c/util/ndn_memory.c \ |
| 71 | src/c/util/ndn_memory.h \ |
| 72 | src/c/util/ndn_realloc.c \ |
| 73 | src/c/util/ndn_realloc.h \ |
| 74 | src/c/util/time.c \ |
| 75 | src/c/util/time.h |
Jeff Thompson | ff092f5 | 2013-06-19 13:38:12 -0700 | [diff] [blame] | 76 | |
Alexander Afanasyev | 0d3671a | 2014-01-02 20:09:59 -0800 | [diff] [blame] | 77 | libndn_c_la_LIBADD = @OPENSSL_LIBS@ |
| 78 | libndn_c_la_LDFLAGS = @OPENSSL_LDFLAGS@ |
| 79 | libndn_c_la_CFLAGS = @OPENSSL_INCLUDES@ |
| 80 | |
Jeff Thompson | 2bf5cdf | 2013-10-02 16:55:23 -0700 | [diff] [blame] | 81 | # C++ code and also the C code. |
Alexander Afanasyev | 7eb64f1 | 2014-01-02 18:39:49 -0800 | [diff] [blame] | 82 | ## To regenerate: |
| 83 | ## for i in `find src -name '*.cpp' -or -name '*.hpp' -or -name '*.h' -and -not -path 'src/c/*'`; do echo " $i \\"; done |
| 84 | libndn_cpp_la_SOURCES = $(libndn_c_la_SOURCES) \ |
Jeff Thompson | 2db6037 | 2013-10-22 13:38:20 -0700 | [diff] [blame] | 85 | src/common.cpp \ |
| 86 | src/data.cpp \ |
Alexander Afanasyev | 7eb64f1 | 2014-01-02 18:39:49 -0800 | [diff] [blame] | 87 | src/encoding/binary-xml-decoder.hpp \ |
| 88 | src/encoding/binary-xml-encoder.hpp \ |
| 89 | src/encoding/binary-xml-structure-decoder.hpp \ |
Alexander Afanasyev | 8548084 | 2014-01-06 14:46:54 -0800 | [diff] [blame] | 90 | src/encoding/binary-xml-wire-format.cpp \ |
Alexander Afanasyev | 13bb51a | 2014-01-02 19:13:26 -0800 | [diff] [blame] | 91 | src/encoding/block.cpp \ |
Alexander Afanasyev | 0ea6e08 | 2013-12-26 15:16:37 -0800 | [diff] [blame] | 92 | src/encoding/cryptopp/asn_ext.cpp \ |
| 93 | src/encoding/cryptopp/asn_ext.hpp \ |
Alexander Afanasyev | 7eb64f1 | 2014-01-02 18:39:49 -0800 | [diff] [blame] | 94 | src/encoding/element-listener.cpp \ |
| 95 | src/encoding/oid.cpp \ |
| 96 | src/encoding/wire-format.cpp \ |
Alexander Afanasyev | b3a6af4 | 2014-01-03 13:08:28 -0800 | [diff] [blame] | 97 | src/exclude.cpp \ |
Jeff Thompson | 2db6037 | 2013-10-22 13:38:20 -0700 | [diff] [blame] | 98 | src/face.cpp \ |
Jeff Thompson | 2db6037 | 2013-10-22 13:38:20 -0700 | [diff] [blame] | 99 | src/interest.cpp \ |
Jeff Thompson | 2db6037 | 2013-10-22 13:38:20 -0700 | [diff] [blame] | 100 | src/name.cpp \ |
| 101 | src/node.cpp \ |
Jeff Thompson | 2db6037 | 2013-10-22 13:38:20 -0700 | [diff] [blame] | 102 | src/security/certificate/certificate-extension.cpp \ |
| 103 | src/security/certificate/certificate-subject-description.cpp \ |
| 104 | src/security/certificate/certificate.cpp \ |
| 105 | src/security/certificate/identity-certificate.cpp \ |
| 106 | src/security/certificate/public-key.cpp \ |
| 107 | src/security/identity/basic-identity-storage.cpp \ |
Jeff Thompson | 22285ec | 2013-10-22 17:43:02 -0700 | [diff] [blame] | 108 | src/security/identity/identity-storage.cpp \ |
Jeff Thompson | 2db6037 | 2013-10-22 13:38:20 -0700 | [diff] [blame] | 109 | src/security/identity/memory-identity-storage.cpp \ |
| 110 | src/security/identity/memory-private-key-storage.cpp \ |
Alexander Afanasyev | 7eb64f1 | 2014-01-02 18:39:49 -0800 | [diff] [blame] | 111 | src/security/key-chain.cpp \ |
Yingdi Yu | 2abd73f | 2014-01-08 23:34:11 -0800 | [diff] [blame] | 112 | src/security/verifier.cpp \ |
Jeff Thompson | 2db6037 | 2013-10-22 13:38:20 -0700 | [diff] [blame] | 113 | src/security/policy/no-verify-policy-manager.cpp \ |
Jeff Thompson | 3a2eb2f | 2013-12-11 11:00:27 -0800 | [diff] [blame] | 114 | src/security/policy/self-verify-policy-manager.cpp \ |
Alexander Afanasyev | fe3b150 | 2013-12-18 16:45:03 -0800 | [diff] [blame] | 115 | src/transport/unix-transport.cpp \ |
Jeff Thompson | 2db6037 | 2013-10-22 13:38:20 -0700 | [diff] [blame] | 116 | src/util/blob-stream.hpp \ |
| 117 | src/util/blob.cpp \ |
Alexander Afanasyev | 7eb64f1 | 2014-01-02 18:39:49 -0800 | [diff] [blame] | 118 | src/util/changed-event.cpp \ |
| 119 | src/util/changed-event.hpp \ |
| 120 | src/util/dynamic-uint8-vector.cpp \ |
| 121 | src/util/dynamic-uint8-vector.hpp \ |
| 122 | src/util/logging.cpp \ |
Alexander Afanasyev | af283d8 | 2014-01-03 13:23:34 -0800 | [diff] [blame] | 123 | src/util/logging.hpp \ |
Alexander Afanasyev | e2e0d75 | 2014-01-03 13:30:30 -0800 | [diff] [blame] | 124 | src/util/ndnd-id-fetcher.hpp \ |
Alexander Afanasyev | e2e3ca5 | 2014-01-03 13:59:07 -0800 | [diff] [blame] | 125 | src/util/string-helper.hpp \ |
| 126 | src/util/time.hpp |
Jeff Thompson | cf624b9 | 2013-08-23 20:51:06 -0700 | [diff] [blame] | 127 | |
Alexander Afanasyev | d155da4 | 2014-01-06 16:03:47 -0800 | [diff] [blame] | 128 | if HAVE_OSX_SECURITY |
| 129 | libndn_cpp_la_SOURCES += src/security/identity/osx-private-key-storage.cpp |
| 130 | else |
| 131 | EXTRA_DIST = src/security/identity/osx-private-key-storage.cpp |
| 132 | endif |
| 133 | |
Alexander Afanasyev | 636e9f1 | 2014-01-07 12:01:03 -0800 | [diff] [blame] | 134 | libndn_cpp_la_LIBADD = @OPENSSL_LIBS@ @CRYPTOPP_LIBS@ @OSX_SECURITY_LIBS@ @BOOST_SYSTEM_LIB@ |
| 135 | libndn_cpp_la_LDFLAGS = @OPENSSL_LDFLAGS@ @CRYPTOPP_LDFLAGS@ @SQLITE3_LDFLAGS@ @BOOST_LDFLAGS@ |
| 136 | libndn_cpp_la_CFLAGS = @OPENSSL_INCLUDES@ @CRYPTOPP_INCLUDES@ @SQLITE3_CFLAGS@ @BOOST_CPPFLAGS@ |
Alexander Afanasyev | 0d3671a | 2014-01-02 20:09:59 -0800 | [diff] [blame] | 137 | |
Jeff Thompson | ff092f5 | 2013-06-19 13:38:12 -0700 | [diff] [blame] | 138 | dist_noinst_SCRIPTS = autogen.sh |