aboutsummaryrefslogtreecommitdiff
path: root/src/lib/meminfo/include.am
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-29 09:44:39 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-29 12:21:52 -0400
commit0362cdc169a785a386d3c60d354cd34fafde5770 (patch)
treeb0a8a876f4b6996ce73e351dc36884f348286b00 /src/lib/meminfo/include.am
parent973afcc40b52d71bfb1a1285806977fee9b843f6 (diff)
downloadtor-0362cdc169a785a386d3c60d354cd34fafde5770.tar.gz
tor-0362cdc169a785a386d3c60d354cd34fafde5770.zip
Move fd and memory-info functions.
Diffstat (limited to 'src/lib/meminfo/include.am')
-rw-r--r--src/lib/meminfo/include.am17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/lib/meminfo/include.am b/src/lib/meminfo/include.am
new file mode 100644
index 0000000000..d1fdde6313
--- /dev/null
+++ b/src/lib/meminfo/include.am
@@ -0,0 +1,17 @@
+
+noinst_LIBRARIES += src/lib/libtor-meminfo.a
+
+if UNITTESTS_ENABLED
+noinst_LIBRARIES += src/lib/libtor-meminfo-testing.a
+endif
+
+src_lib_libtor_meminfo_a_SOURCES = \
+ src/lib/meminfo/meminfo.c
+
+src_lib_libtor_meminfo_testing_a_SOURCES = \
+ $(src_lib_libtor_meminfo_a_SOURCES)
+src_lib_libtor_meminfo_testing_a_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_CPPFLAGS)
+src_lib_libtor_meminfo_testing_a_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS)
+
+noinst_HEADERS += \
+ src/lib/meminfo/meminfo.h