aboutsummaryrefslogtreecommitdiff
path: root/src/lib/confmgt/include.am
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-06-13 11:59:17 -0400
committerNick Mathewson <nickm@torproject.org>2019-06-24 15:11:57 -0400
commit458da8a80d356a0c8015f025828cd1523838ecac (patch)
tree9045b6848c8584580b717a8539feefa35e65caaa /src/lib/confmgt/include.am
parent246599abb4dbfdb2f8ac073fc5b2059f602e8ed7 (diff)
downloadtor-458da8a80d356a0c8015f025828cd1523838ecac.tar.gz
tor-458da8a80d356a0c8015f025828cd1523838ecac.zip
Move unit-parsing code to src/lib/confmgt
lib/confmgt is at a higher level than lib/conf, since it needs to call down to logging and similar modules.
Diffstat (limited to 'src/lib/confmgt/include.am')
-rw-r--r--src/lib/confmgt/include.am18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/lib/confmgt/include.am b/src/lib/confmgt/include.am
new file mode 100644
index 0000000000..729e6147ff
--- /dev/null
+++ b/src/lib/confmgt/include.am
@@ -0,0 +1,18 @@
+noinst_LIBRARIES += src/lib/libtor-confmgt.a
+
+if UNITTESTS_ENABLED
+noinst_LIBRARIES += src/lib/libtor-confmgt-testing.a
+endif
+
+# ADD_C_FILE: INSERT SOURCES HERE.
+src_lib_libtor_confmgt_a_SOURCES = \
+ src/lib/confmgt/unitparse.c
+
+src_lib_libtor_confmgt_testing_a_SOURCES = \
+ $(src_lib_libtor_confmgt_a_SOURCES)
+src_lib_libtor_confmgt_testing_a_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_CPPFLAGS)
+src_lib_libtor_confmgt_testing_a_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS)
+
+# ADD_C_FILE: INSERT HEADERS HERE.
+noinst_HEADERS += \
+ src/lib/confmgt/unitparse.h