blob: 9821775be5fa05ffb080f3981e7366232aaffe95 [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 Thompson4f031642013-08-05 11:03:16 -070012lib_LTLIBRARIES = libndn-c.la libndn-cpp.la
Jeff Thompson36174062013-06-21 16:03:44 -070013
Alexander Afanasyev7eb64f12014-01-02 18:39:49 -080014# "make install" will also install the include headers.
15SUBDIRS = include . tests
Jeff Thompson25b4e612013-10-10 16:03:24 -070016
Jeff Thompson2bf5cdf2013-10-02 16:55:23 -070017# Just the C code.
Alexander Afanasyev7eb64f12014-01-02 18:39:49 -080018## To regenerate:
19## for i in `find src/c -name '*.c' -or -name '*.h'`; do echo " $i \\"; done
20##
21## Note that public header files do not need to be included here (handled by include/Makefile.am)
22libndn_c_la_SOURCES = \
Jeff Thompson2db60372013-10-22 13:38:20 -070023 src/c/data.h \
Alexander Afanasyev7eb64f12014-01-02 18:39:49 -080024 src/c/encoding/binary-xml-data.c \
25 src/c/encoding/binary-xml-data.h \
26 src/c/encoding/binary-xml-decoder.c \
27 src/c/encoding/binary-xml-decoder.h \
28 src/c/encoding/binary-xml-element-reader.c \
29 src/c/encoding/binary-xml-element-reader.h \
30 src/c/encoding/binary-xml-encoder.c \
31 src/c/encoding/binary-xml-encoder.h \
32 src/c/encoding/binary-xml-forwarding-entry.c \
33 src/c/encoding/binary-xml-forwarding-entry.h \
34 src/c/encoding/binary-xml-interest.c \
35 src/c/encoding/binary-xml-interest.h \
36 src/c/encoding/binary-xml-key.c \
37 src/c/encoding/binary-xml-key.h \
38 src/c/encoding/binary-xml-name.c \
39 src/c/encoding/binary-xml-name.h \
40 src/c/encoding/binary-xml-publisher-public-key-digest.c \
41 src/c/encoding/binary-xml-publisher-public-key-digest.h \
42 src/c/encoding/binary-xml-structure-decoder.c \
43 src/c/encoding/binary-xml-structure-decoder.h \
44 src/c/encoding/binary-xml.h \
45 src/c/errors.c \
46 src/c/errors.h \
Jeff Thompson2db60372013-10-22 13:38:20 -070047 src/c/forwarding-entry.h \
48 src/c/forwarding-flags.c \
Alexander Afanasyev7eb64f12014-01-02 18:39:49 -080049 src/c/interest.c \
50 src/c/interest.h \
Jeff Thompson98ec85a2013-12-17 11:57:56 -080051 src/c/key-locator.h \
Alexander Afanasyev7eb64f12014-01-02 18:39:49 -080052 src/c/name.c \
53 src/c/name.h \
Jeff Thompson2db60372013-10-22 13:38:20 -070054 src/c/publisher-public-key-digest.h \
Alexander Afanasyev7eb64f12014-01-02 18:39:49 -080055 src/c/transport/socket-transport.c \
56 src/c/transport/socket-transport.h \
Jeff Thompson2db60372013-10-22 13:38:20 -070057 src/c/transport/tcp-transport.h \
58 src/c/transport/udp-transport.h \
59 src/c/util/blob.h \
Alexander Afanasyev7eb64f12014-01-02 18:39:49 -080060 src/c/util/crypto.c \
61 src/c/util/crypto.h \
62 src/c/util/dynamic-uint8-array.c \
63 src/c/util/dynamic-uint8-array.h \
64 src/c/util/ndn_memory.c \
65 src/c/util/ndn_memory.h \
66 src/c/util/ndn_realloc.c \
67 src/c/util/ndn_realloc.h \
68 src/c/util/time.c \
69 src/c/util/time.h
Jeff Thompsonff092f52013-06-19 13:38:12 -070070
Alexander Afanasyev0d3671a2014-01-02 20:09:59 -080071libndn_c_la_LIBADD = @OPENSSL_LIBS@
72libndn_c_la_LDFLAGS = @OPENSSL_LDFLAGS@
73libndn_c_la_CFLAGS = @OPENSSL_INCLUDES@
74
Jeff Thompson2bf5cdf2013-10-02 16:55:23 -070075# C++ code and also the C code.
Alexander Afanasyev7eb64f12014-01-02 18:39:49 -080076## To regenerate:
77## for i in `find src -name '*.cpp' -or -name '*.hpp' -or -name '*.h' -and -not -path 'src/c/*'`; do echo " $i \\"; done
78libndn_cpp_la_SOURCES = $(libndn_c_la_SOURCES) \
Jeff Thompson2db60372013-10-22 13:38:20 -070079 src/common.cpp \
80 src/data.cpp \
Alexander Afanasyev7eb64f12014-01-02 18:39:49 -080081 src/encoding/binary-xml-decoder.hpp \
82 src/encoding/binary-xml-encoder.hpp \
83 src/encoding/binary-xml-structure-decoder.hpp \
84 src/encoding/binary-xml-wire-format.cpp \
Alexander Afanasyev13bb51a2014-01-02 19:13:26 -080085 src/encoding/block.cpp \
Alexander Afanasyev7eb64f12014-01-02 18:39:49 -080086 src/encoding/der/der-exception.cpp \
87 src/encoding/der/der-exception.hpp \
88 src/encoding/der/der.cpp \
89 src/encoding/der/der.hpp \
90 src/encoding/der/visitor/certificate-data-visitor.cpp \
91 src/encoding/der/visitor/certificate-data-visitor.hpp \
92 src/encoding/der/visitor/no-arguments-visitor.cpp \
93 src/encoding/der/visitor/no-arguments-visitor.hpp \
94 src/encoding/der/visitor/print-visitor.cpp \
95 src/encoding/der/visitor/print-visitor.hpp \
96 src/encoding/der/visitor/public-key-visitor.cpp \
97 src/encoding/der/visitor/public-key-visitor.hpp \
98 src/encoding/der/visitor/simple-visitor.cpp \
99 src/encoding/der/visitor/simple-visitor.hpp \
100 src/encoding/der/visitor/visitor.hpp \
101 src/encoding/der/visitor/void-no-arguments-visitor.hpp \
102 src/encoding/der/visitor/void-visitor.cpp \
103 src/encoding/der/visitor/void-visitor.hpp \
104 src/encoding/element-listener.cpp \
105 src/encoding/oid.cpp \
106 src/encoding/wire-format.cpp \
Alexander Afanasyevb3a6af42014-01-03 13:08:28 -0800107 src/exclude.cpp \
Jeff Thompson2db60372013-10-22 13:38:20 -0700108 src/face.cpp \
109 src/forwarding-entry.cpp \
110 src/interest.cpp \
Jeff Thompson2db60372013-10-22 13:38:20 -0700111 src/name.cpp \
112 src/node.cpp \
Jeff Thompson2db60372013-10-22 13:38:20 -0700113 src/security/certificate/certificate-extension.cpp \
114 src/security/certificate/certificate-subject-description.cpp \
115 src/security/certificate/certificate.cpp \
116 src/security/certificate/identity-certificate.cpp \
117 src/security/certificate/public-key.cpp \
118 src/security/identity/basic-identity-storage.cpp \
119 src/security/identity/identity-manager.cpp \
Jeff Thompson22285ec2013-10-22 17:43:02 -0700120 src/security/identity/identity-storage.cpp \
Jeff Thompson2db60372013-10-22 13:38:20 -0700121 src/security/identity/memory-identity-storage.cpp \
122 src/security/identity/memory-private-key-storage.cpp \
123 src/security/identity/osx-private-key-storage.cpp \
Alexander Afanasyev7eb64f12014-01-02 18:39:49 -0800124 src/security/key-chain.cpp \
Jeff Thompson2db60372013-10-22 13:38:20 -0700125 src/security/policy/no-verify-policy-manager.cpp \
Jeff Thompson3a2eb2f2013-12-11 11:00:27 -0800126 src/security/policy/self-verify-policy-manager.cpp \
Alexander Afanasyev7eb64f12014-01-02 18:39:49 -0800127 src/security/security-exception.cpp \
Jeff Thompsonba16b8f2013-12-16 13:11:47 -0800128 src/security/signature/sha256-with-rsa-handler.cpp \
Jeff Thompson2db60372013-10-22 13:38:20 -0700129 src/transport/tcp-transport.cpp \
130 src/transport/transport.cpp \
131 src/transport/udp-transport.cpp \
132 src/util/blob-stream.hpp \
133 src/util/blob.cpp \
Alexander Afanasyev7eb64f12014-01-02 18:39:49 -0800134 src/util/changed-event.cpp \
135 src/util/changed-event.hpp \
136 src/util/dynamic-uint8-vector.cpp \
137 src/util/dynamic-uint8-vector.hpp \
138 src/util/logging.cpp \
Alexander Afanasyevaf283d82014-01-03 13:23:34 -0800139 src/util/logging.hpp \
140 src/util/string-helper.hpp
Jeff Thompsoncf624b92013-08-23 20:51:06 -0700141
Alexander Afanasyev0d3671a2014-01-02 20:09:59 -0800142libndn_cpp_la_LIBADD = @OPENSSL_LIBS@ @OSX_SECURITY_LIBS@
143libndn_cpp_la_LDFLAGS = @OPENSSL_LDFLAGS@ @SQLITE3_LDFLAGS@ @BOOST_LDFLAGS@
144libndn_cpp_la_CFLAGS = @OPENSSL_INCLUDES@ @SQLITE3_CFLAGS@ @BOOST_CPPFLAGS@
145
Jeff Thompsonff092f52013-06-19 13:38:12 -0700146dist_noinst_SCRIPTS = autogen.sh