blob: 8c688ba85b6246e1f1711d345095cc33dca4c6ae [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 Thompsone32adb62013-08-02 13:18:36 -070014bin_PROGRAMS = bin/test-encode-decode-interest bin/test-encode-decode-data bin/test-get-async
Jeff Thompsonff092f52013-06-19 13:38:12 -070015
Jeff Thompson4f031642013-08-05 11:03:16 -070016libndn_c_la_SOURCES = \
Jeff Thompson6cb56f92013-07-01 15:38:09 -070017 config.h \
Jeff Thompson56ec9e22013-08-02 11:34:07 -070018 ndn-cpp/c/data.h \
Jeff Thompson53412192013-08-06 13:35:50 -070019 ndn-cpp/c/interest.h \
20 ndn-cpp/c/key.h \
21 ndn-cpp/c/name.h \
22 ndn-cpp/c/publisher-public-key-digest.h \
Jeff Thompson8b666002013-07-08 01:16:26 -070023 ndn-cpp/c/errors.c ndn-cpp/c/errors.h \
Jeff Thompson53412192013-08-06 13:35:50 -070024 ndn-cpp/c/encoding/binary-xml.h \
Jeff Thompson56ec9e22013-08-02 11:34:07 -070025 ndn-cpp/c/encoding/binary-xml-data.c ndn-cpp/c/encoding/binary-xml-data.h \
Jeff Thompson53412192013-08-06 13:35:50 -070026 ndn-cpp/c/encoding/binary-xml-decoder.c ndn-cpp/c/encoding/binary-xml-decoder.h \
27 ndn-cpp/c/encoding/binary-xml-element-reader.c ndn-cpp/c/encoding/binary-xml-element-reader.h \
28 ndn-cpp/c/encoding/binary-xml-encoder.c ndn-cpp/c/encoding/binary-xml-encoder.h \
29 ndn-cpp/c/encoding/binary-xml-interest.c ndn-cpp/c/encoding/binary-xml-interest.h \
30 ndn-cpp/c/encoding/binary-xml-key.c ndn-cpp/c/encoding/binary-xml-key.h \
31 ndn-cpp/c/encoding/binary-xml-name.c ndn-cpp/c/encoding/binary-xml-name.h \
32 ndn-cpp/c/encoding/binary-xml-publisher-public-key-digest.c ndn-cpp/c/encoding/binary-xml-publisher-public-key-digest.h \
33 ndn-cpp/c/encoding/binary-xml-structure-decoder.c ndn-cpp/c/encoding/binary-xml-structure-decoder.h \
34 ndn-cpp/c/transport/socket-transport.c ndn-cpp/c/transport/socket-transport.h \
35 ndn-cpp/c/transport/tcp-transport.h \
36 ndn-cpp/c/transport/udp-transport.h \
37 ndn-cpp/c/util/dynamic-uchar-array.c ndn-cpp/c/util/dynamic-uchar-array.h \
Jeff Thompson45545092013-07-16 18:36:26 -070038 ndn-cpp/c/util/ndn_memory.c ndn-cpp/c/util/ndn_memory.h \
39 ndn-cpp/c/util/ndn_realloc.c ndn-cpp/c/util/ndn_realloc.h
Jeff Thompsonff092f52013-06-19 13:38:12 -070040
Jeff Thompson4f031642013-08-05 11:03:16 -070041libndn_cpp_la_SOURCES = \
Jeff Thompsona8d7b062013-08-08 15:56:35 -070042 config.h \
Jeff Thompson53412192013-08-06 13:35:50 -070043 ndn-cpp/closure.hpp \
Jeff Thompsona8d7b062013-08-08 15:56:35 -070044 ndn-cpp/common.hpp ndn-cpp/common.cpp \
Jeff Thompson56ec9e22013-08-02 11:34:07 -070045 ndn-cpp/data.cpp ndn-cpp/c/data.h ndn-cpp/data.hpp \
Jeff Thompson53412192013-08-06 13:35:50 -070046 ndn-cpp/interest.cpp ndn-cpp/c/interest.h ndn-cpp/interest.hpp \
Jeff Thompsonb3768ae2013-08-08 21:22:45 -070047 ndn-cpp/key-chain.cpp ndn-cpp/key-chain.hpp \
Jeff Thompson53412192013-08-06 13:35:50 -070048 ndn-cpp/key.cpp ndn-cpp/c/key.h ndn-cpp/key.hpp \
Jeff Thompsonb9e3c8e2013-08-02 11:42:51 -070049 ndn-cpp/face.cpp ndn-cpp/face.hpp \
Jeff Thompson53412192013-08-06 13:35:50 -070050 ndn-cpp/name.cpp ndn-cpp/c/name.h ndn-cpp/name.hpp \
51 ndn-cpp/publisher-public-key-digest.hpp \
52 ndn-cpp/c/encoding/binary-xml.h \
53 ndn-cpp/c/encoding/binary-xml-decoder.h ndn-cpp/encoding/binary-xml-decoder.hpp \
54 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 \
55 ndn-cpp/c/encoding/binary-xml-encoder.h ndn-cpp/encoding/binary-xml-encoder.hpp ndn-cpp/c/util/dynamic-uchar-array.h \
56 ndn-cpp/c/encoding/binary-xml-structure-decoder.h ndn-cpp/encoding/binary-xml-structure-decoder.hpp \
57 ndn-cpp/encoding/binary-xml-wire-format.cpp ndn-cpp/c/encoding/binary-xml-name.h ndn-cpp/encoding/binary-xml-wire-format.hpp \
58 ndn-cpp/encoding/wire-format.cpp ndn-cpp/encoding/wire-format.hpp \
59 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 \
60 ndn-cpp/transport/transport.cpp ndn-cpp/transport/transport.hpp \
61 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 Thompson27e2feb2013-07-01 15:09:57 -070062
Jeff Thompsone32adb62013-08-02 13:18:36 -070063bin_test_encode_decode_interest_SOURCES = tests/test-encode-decode-interest.cpp
Jeff Thompson734671e2013-08-05 12:05:09 -070064bin_test_encode_decode_interest_LDADD = libndn-cpp.la libndn-c.la
Jeff Thompson5cae5e52013-07-10 19:41:20 -070065
Jeff Thompson56ec9e22013-08-02 11:34:07 -070066bin_test_encode_decode_data_SOURCES = tests/test-encode-decode-data.cpp
Jeff Thompsonb3768ae2013-08-08 21:22:45 -070067bin_test_encode_decode_data_LDADD = libndn-cpp.la libndn-c.la $(OPENSSL_LIBS)
Jeff Thompson36174062013-06-21 16:03:44 -070068
Jeff Thompsonc98be1a2013-07-14 22:44:43 -070069bin_test_get_async_SOURCES = tests/test-get-async.cpp
Jeff Thompson734671e2013-08-05 12:05:09 -070070bin_test_get_async_LDADD = libndn-cpp.la libndn-c.la
Jeff Thompsonc98be1a2013-07-14 22:44:43 -070071
Jeff Thompsonff092f52013-06-19 13:38:12 -070072dist_noinst_SCRIPTS = autogen.sh