aboutsummaryrefslogtreecommitdiff
path: root/src/lib/container/include.am
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-21 15:39:36 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-22 09:49:13 -0400
commit77dff00b18fc70acdb2939dd20197a0044d41fe5 (patch)
tree10e6d35e4e59b0630fa3eb38482f6314554aa81a /src/lib/container/include.am
parentf95e3bf5fc4e2d5fef42b86d81f155c00b1983ac (diff)
downloadtor-77dff00b18fc70acdb2939dd20197a0044d41fe5.tar.gz
tor-77dff00b18fc70acdb2939dd20197a0044d41fe5.zip
Refactor container into a library.
Diffstat (limited to 'src/lib/container/include.am')
-rw-r--r--src/lib/container/include.am17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/lib/container/include.am b/src/lib/container/include.am
new file mode 100644
index 0000000000..d7648c80c0
--- /dev/null
+++ b/src/lib/container/include.am
@@ -0,0 +1,17 @@
+
+noinst_LIBRARIES += src/lib/libtor-container.a
+
+if UNITTESTS_ENABLED
+noinst_LIBRARIES += src/lib/libtor-container-testing.a
+endif
+
+src_lib_libtor_container_a_SOURCES = \
+ src/lib/container/container.c
+
+src_lib_libtor_container_testing_a_SOURCES = \
+ $(src_lib_libtor_container_a_SOURCES)
+src_lib_libtor_container_testing_a_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_CPPFLAGS)
+src_lib_libtor_container_testing_a_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS)
+
+noinst_HEADERS += \
+ src/lib/container/container.h